Skip to content

Commit

Permalink
#96 add gradient effect to segment view
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreezag committed Aug 6, 2024
1 parent 685caae commit b1f19ce
Showing 1 changed file with 18 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,17 +261,29 @@ const series = computed(() => {
.inspector-page-timeline__segment-view {
@apply flex items-center w-full;
background: repeating-linear-gradient(
-45deg,
rgba(177 177 177 / 10%),
rgba(177 177 177 / 10%) 20px,
rgba(177 177 177 / 17%) 20px,
rgba(177 177 177 / 17%) 40px
);
.dark & {
background: repeating-linear-gradient(
-45deg,
rgba(255, 255, 255, 0.05),
rgba(255, 255, 255, 0.05) 20px,
rgba(255, 255, 255, 0.04) 20px,
rgba(255, 255, 255, 0.04) 40px
);
}
}
.inspector-page-timeline__segment-start {
@apply flex items-center justify-end;
@apply h-4 md:h-5 lg:h-6;
background-color: rgba(177 177 177 / 17%);
.dark & {
background-color: rgba(255, 255, 255, 0.04);
}
}
.inspector-page-timeline__segment-time {
Expand Down Expand Up @@ -299,12 +311,6 @@ const series = computed(() => {
.inspector-page-timeline__segment-end {
@apply flex-1;
@apply h-4 md:h-5 lg:h-6;
background-color: rgba(177 177 177 / 17%);
.dark & {
background-color: rgba(255, 255, 255, 0.04);
}
}
.inspector-page-timeline__segment-start-label {
Expand Down

0 comments on commit b1f19ce

Please sign in to comment.