Skip to content

Commit

Permalink
[TASK] Adjust the colors of the timeline for the dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
deoostfrees committed Dec 7, 2024
1 parent e2af635 commit 90fcb9b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
26 changes: 12 additions & 14 deletions Resources/Private/Sass/_Timeline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ $linewidth: 3px;

.timeline {
position: relative;
background: $white;

&:before {
content: '';
Expand Down Expand Up @@ -116,11 +115,15 @@ $linewidth: 3px;
}

&__item {
margin: 0 0 1rem 0;
margin: 0;
max-width: 300px;
padding: 0.5rem;
position: relative;

&:not(:last-child) {
margin: 0 0 1rem 0;
}

&:before {
content: '';
display: block;
Expand All @@ -134,23 +137,18 @@ $linewidth: 3px;
left: calc(-#{$bulletsize} - #{$bulletlinespacing});
}

&:first-child {

&:after {
content: '';
display: block;
background-color: $white;
position: absolute;
}
}

&:first-child,
&:last-child {

&:after {
&::after {
background-color: var(--typo3-component-bg);
content: '';
display: block;
background-color: $white;
position: absolute;

.luxletter--typo3-12 & {
background-color: var(--panel-bg);
}
}
}
}
Expand Down
Loading

0 comments on commit 90fcb9b

Please sign in to comment.