[libadwaita/wip/exalm/stylesheet2: 24/103] stylesheet: Formatting fixes
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/stylesheet2: 24/103] stylesheet: Formatting fixes
- Date: Fri, 16 Apr 2021 22:38:44 +0000 (UTC)
commit 78166e1d88d317aa7c2287af25d5f60873d1b679
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Apr 8 15:08:27 2021 +0500
stylesheet: Formatting fixes
src/stylesheet/_common.scss | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 11fa3a1..6e0537b 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -556,7 +556,6 @@ button {
}
}
-
// big standalone buttons like in Documents pager
&.osd {
min-width: 26px;
@@ -668,7 +667,6 @@ button {
&:checked { &:backdrop, & { @include button(osd-active, $b_color); }}
&:disabled { &:backdrop, & { @include button(osd-insensitive, $b_color); }}
-
}
}
}
@@ -814,6 +812,7 @@ button {
}
/* menu buttons */
+
modelbutton.flat {
min-height: 26px;
padding-left: 5px;
@@ -887,12 +886,14 @@ button.color {
list > row button.image-button:not(.flat) {
@extend %undecorated_button;
border: 1px solid transparentize($borders_color, .5);
+
&:hover { @include button(hover); }
+
&:active,
&:checked { @include button(active); }
@each $b_type, $b_color in (suggested-action, $selected_bg_color),
- (destructive-action, $destructive_color) {
+ (destructive-action, $destructive_color) {
&.#{$b_type} { // allow colored buttons in lists #3643
@include button(normal, $b_color, white);
@include focus-ring($fc: $alt_focus_border_color);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]