This commit is contained in:
Vince 2021-06-06 13:43:37 +08:00
parent cd3eb2f78a
commit d2a7ee82bc
2 changed files with 28 additions and 4 deletions

View file

@ -3572,13 +3572,28 @@ messagedialog { // Message Dialog styling
transition: $button_transition;
}
&:active {
&:active, &:checked {
@include button(active);
}
}
&.suggested-action, &.destructive-action {
border-radius: $bt_radius;
// Suggested and Destructive Action buttons
@each $b_type, $b_color, $b_fg in (suggested-action, $suggested_color, $light_fg_color),
(destructive-action, $destructive_color, $light_fg_color) {
&.#{$b_type} {
@include button(suggested_destructive, $b_color, $b_fg);
border-radius: $bt_radius;
&:hover {
@include button(suggested_destructive, lighten($b_color, 5%), $b_fg);
}
&:active, &:checked {
@include button(suggested_destructive, lighten($b_color, 10%), $b_fg);
}
&:disabled { @include button(insensitive); }
}
}
}
}

View file

@ -3315,7 +3315,9 @@ frame,
.frame {
border: 1px solid $borders_color;
> list { border: none; }
> list {
border: none;
}
}
frame {
@ -3324,6 +3326,13 @@ frame {
> label {
margin: $container_padding - 2px;
}
> list {
border-radius: $wm_radius - 2px;
box-shadow: if($variant == 'light',
(inset 0 0 8px rgba(black, 0.02), inset 0 0 3px rgba(black, 0.01)),
(inset 0 0 8px rgba(white, 0.03), inset 0 0 3px rgba(white, 0.02)));
}
}
scrolledwindow {