This commit is contained in:
vinceliuice 2023-10-13 07:00:27 +08:00
parent 25b8cbc48f
commit a1b1bacc1f
2 changed files with 71 additions and 56 deletions

View File

@ -46,9 +46,8 @@ $list_shadow: if($variant == 'light',
color: $text_color; color: $text_color;
> separator { > separator {
min-height: 1px; min-height: 0;
background-color: $borders_color; background-color: transparent;
margin: $container_padding / 2 $container_padding * 2;
} }
} }
@ -114,11 +113,13 @@ $list_shadow: if($variant == 'light',
border-top-left-radius: $bt_radius; border-top-left-radius: $bt_radius;
border-bottom-left-radius: $bt_radius; border-bottom-left-radius: $bt_radius;
} }
&:last-child { &:last-child {
border-top-right-radius: $bt_radius; border-top-right-radius: $bt_radius;
border-bottom-right-radius: $bt_radius; border-bottom-right-radius: $bt_radius;
border-right-style: solid; border-right-style: solid;
} }
&:only-child { &:only-child {
border-radius: $bt_radius; border-radius: $bt_radius;
border-style: solid; border-style: solid;
@ -133,15 +134,18 @@ $list_shadow: if($variant == 'light',
%linked_vertical{ %linked_vertical{
border-radius: 0; border-radius: 0;
border-bottom-style: none; border-bottom-style: none;
&:first-child { &:first-child {
border-top-left-radius: $bt_radius; border-top-left-radius: $bt_radius;
border-top-right-radius: $bt_radius; border-top-right-radius: $bt_radius;
} }
&:last-child { &:last-child {
border-bottom-left-radius: $bt_radius; border-bottom-left-radius: $bt_radius;
border-bottom-right-radius: $bt_radius; border-bottom-right-radius: $bt_radius;
border-bottom-style: solid; border-bottom-style: solid;
} }
&:only-child { &:only-child {
border-radius: $bt_radius; border-radius: $bt_radius;
border-style: solid; border-style: solid;

View File

@ -262,52 +262,52 @@ window.background.csd {
> stack.background { background-color: $base_color; } > stack.background { background-color: $base_color; }
} }
}
}
preferencesgroup > box { preferencesgroup > box {
button.background-preview-button { button.background-preview-button {
padding: $container_padding / 2; padding: $container_padding / 2;
outline: 2px solid transparent; outline: 2px solid transparent;
outline-offset: 0; outline-offset: 0;
border-radius: $bt_radius + $container_padding / 2; border-radius: $bt_radius + $container_padding / 2;
&, &:hover, &:active, &:checked { &, &:hover, &:active, &:checked {
background: none; background: none;
border: none; border: none;
box-shadow: none; box-shadow: none;
} }
&:hover { &:hover {
outline-color: $alt_disabled_fg_color; outline-color: $alt_disabled_fg_color;
} }
&:active { &:active {
outline-color: $alt_fg_color; outline-color: $alt_fg_color;
} }
&:checked { &:checked {
outline-color: $selected_bg_color; outline-color: $selected_bg_color;
} }
} }
flowbox.background-flowbox > flowboxchild { flowbox.background-flowbox > flowboxchild {
outline: 2px solid transparent; outline: 2px solid transparent;
outline-offset: 0; outline-offset: 0;
border-radius: $bt_radius + 3px; border-radius: $bt_radius + 3px;
padding: 3px; padding: 3px;
&:hover { &:hover {
outline-color: $alt_disabled_fg_color; outline-color: $alt_disabled_fg_color;
} }
&:active { &:active {
outline-color: $alt_fg_color; outline-color: $alt_fg_color;
} }
&:selected { &:selected {
outline-color: $selected_bg_color; outline-color: $selected_bg_color;
background-color: transparent; background-color: transparent;
}
}
} }
} }
} }
@ -350,22 +350,6 @@ window.background {
} }
} }
} }
.current-week {
background-color: $fill_color;
}
button.circular.day {
border: none;
box-shadow: none;
@extend %flat_button;
}
datechooser navigator > button.flat.pill {
padding: 0 $container_padding * 2;
min-height: $menuitem_size;
min-width: $menuitem_size;
}
} }
&.maximized, &.tiled { &.maximized, &.tiled {
@ -382,6 +366,33 @@ window.background {
} }
} }
datechooser {
.current-week {
background-color: $fill_color;
}
button.circular.day {
border: none;
box-shadow: none;
@extend %flat_button;
&:selected {
background-color: $selected_bg_color;
color: $selected_fg_color;
}
}
navigator > button.flat {
padding: 0;
min-height: $menuitem_size;
min-width: $menuitem_size;
}
}
agenda-view list.background {
background-color: transparent;
}
menubutton.flat.popup.sources-button { menubutton.flat.popup.sources-button {
margin: 0; margin: 0;