Separate #XfceNotifyWindow spesific style

pull/709/head
Renjaya Raga Zenta 2018-04-27 16:05:00 +07:00
parent 49c3262b9f
commit c8d46c713d
2 changed files with 33 additions and 6 deletions
src
gtk-3.0/scss/widgets
gtk-3.20/scss/widgets

View File

@ -8,8 +8,7 @@
@include exports("osd") { @include exports("osd") {
GtkOverlay.osd { background-color: transparent; } GtkOverlay.osd { background-color: transparent; }
.osd, .osd {
#XfceNotifyWindow {
&.background { &.background {
background-color: alpha($osd_bg, .8); background-color: alpha($osd_bg, .8);
color: $osd_fg; color: $osd_fg;
@ -129,4 +128,17 @@
background-image: none; background-image: none;
} }
} }
#XfceNotifyWindow {
background-color: $osd_bg;
color: $osd_fg;
border-radius: $roundness;
border: 1px solid border_normal($osd_bg);
GtkLabel {
&#summary {
font-weight: bold;
}
}
}
} }

View File

@ -23,8 +23,7 @@
} }
} }
button.osd, button.osd {
#XfceNotifyWindow button {
@include button($osd_bg, $osd_fg); @include button($osd_bg, $osd_fg);
&.image-button { &.image-button {
@ -73,8 +72,7 @@
} }
} }
.osd, .osd {
#XfceNotifyWindow {
background-color: $osd_bg; background-color: $osd_bg;
color: $osd_fg; color: $osd_fg;
@ -265,4 +263,21 @@
} }
} }
} }
#XfceNotifyWindow {
.osd {
background-color: $osd_bg;
color: $osd_fg;
border-radius: $roundness;
border: 1px solid border_normal($osd_bg);
}
&.osd {
label {
&#summary {
font-weight: bold;
}
}
}
}
} }