theme: Reorder selectors in .message

The order was messed up when the recent Sass reorganization.
This reorders the selectors in .message to make sense again.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957
This commit is contained in:
nana-4 2020-02-05 01:08:20 +09:00 committed by Florian Müllner
parent 900d36d0ea
commit cbced1ce28

View File

@ -34,36 +34,6 @@
.message { .message {
@include notification_bubble; @include notification_bubble;
// title
.message-title {
color: $fg_color;
font-weight: bold;
margin-bottom:4px;
}
// content
.message-content {
color: darken($fg_color, 10%);
padding: $base_padding 0;
margin:$base_margin * 2;
&:ltr {
margin-left: $base_margin;
padding-right:$base_padding;
}
&:rtl {
margin-right: $base_margin;
padding-left:$base_padding;
}
}
// close button
.message-close-button {
color: lighten($fg_color, 15%);
&:hover { color: if($variant=='light', lighten($fg_color, 30%), darken($fg_color, 10%)); }
&:active { color: if($variant=='light', lighten($fg_color, 40%), darken($fg_color, 20%)); }
}
// icon container // icon container
.message-icon-bin { .message-icon-bin {
padding: $base_padding; padding: $base_padding;
@ -90,6 +60,28 @@
} }
} }
// content
.message-content {
color: darken($fg_color, 10%);
padding: $base_padding 0;
margin:$base_margin * 2;
&:ltr {
margin-left: $base_margin;
padding-right:$base_padding;
}
&:rtl {
margin-right: $base_margin;
padding-left:$base_padding;
}
}
// title
.message-title {
color: $fg_color;
font-weight: bold;
margin-bottom:4px;
}
// secondary container in title box // secondary container in title box
.message-secondary-bin { .message-secondary-bin {
padding: 0; padding: 0;
@ -105,6 +97,12 @@
} }
} }
// close button
.message-close-button {
color: lighten($fg_color, 15%);
&:hover { color: if($variant=='light', lighten($fg_color, 30%), darken($fg_color, 10%)); }
&:active { color: if($variant=='light', lighten($fg_color, 40%), darken($fg_color, 20%)); }
}
} }
/* Media Controls */ /* Media Controls */