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") {
GtkOverlay.osd { background-color: transparent; }
.osd,
#XfceNotifyWindow {
.osd {
&.background {
background-color: alpha($osd_bg, .8);
color: $osd_fg;
@ -129,4 +128,17 @@
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,
#XfceNotifyWindow button {
button.osd {
@include button($osd_bg, $osd_fg);
&.image-button {
@ -73,8 +72,7 @@
}
}
.osd,
#XfceNotifyWindow {
.osd {
background-color: $osd_bg;
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;
}
}
}
}
}