This commit is contained in:
vinceliuice 2023-06-30 23:05:50 +08:00
parent 1e21b8cdc8
commit ab3282919a
2 changed files with 11 additions and 7 deletions

View file

@ -49,14 +49,14 @@
} }
} }
& > StBoxLayout { spacing: $base_padding * 1.5; } & > StBoxLayout { spacing: $base_padding * 2; }
/* Move padding into the box; this is to allow menu arrows /* Move padding into the box; this is to allow menu arrows
to extend to the border */ to extend to the border */
&.button { padding: 0; } &.button { padding: 0; }
& > StBoxLayout { padding: 0 $base_padding * 2; } & > StBoxLayout { padding: 0 $base_padding * 2.5; }
&:ltr > StBoxLayout { padding-left: $base_padding * 2.5; } &:ltr > StBoxLayout { padding-left: $base_padding * 3; }
&:rtl > StBoxLayout { padding-right: $base_padding * 2.5; } &:rtl > StBoxLayout { padding-right: $base_padding * 3; }
.quick-toggle-title { font-weight: bold; } .quick-toggle-title { font-weight: bold; }
@ -74,16 +74,16 @@
max-width: auto; max-width: auto;
&:ltr { border-radius: $circular_radius 0 0 $circular_radius; } &:ltr { border-radius: $circular_radius 0 0 $circular_radius; }
&:ltr > StBoxLayout { padding-right: $base_padding * 1.5; } &:ltr > StBoxLayout { padding-right: $base_padding * 2; }
&:rtl { border-radius: 0 $circular_radius $circular_radius 0; } &:rtl { border-radius: 0 $circular_radius $circular_radius 0; }
&:rtr > StBoxLayout { padding-left: $base_padding * 1.5; } &:rtr > StBoxLayout { padding-left: $base_padding * 2; }
&:ltr:last-child { border-radius: $circular_radius; } &:ltr:last-child { border-radius: $circular_radius; }
&:rtl:last-child { border-radius: $circular_radius; } &:rtl:last-child { border-radius: $circular_radius; }
} }
& .quick-toggle-arrow { & .quick-toggle-arrow {
padding: $base_padding $base_padding * 2; padding: $base_padding $base_padding * 2.5;
border: none; border: none;
background-color: $fill_color !important; background-color: $fill_color !important;

View file

@ -226,11 +226,15 @@ $raven_padding: 8px;
&:disabled { &:disabled {
color: $alt_disabled_fg_color; color: $alt_disabled_fg_color;
background-color: transparent; background-color: transparent;
label { color: $alt_disabled_fg_color; }
} }
&:checked:disabled { &:checked:disabled {
color: $disabled_fg_color; color: $disabled_fg_color;
background-color: $fill_color; background-color: $fill_color;
label { color: $disabled_fg_color; }
} }
} }
} }