Update xfce4-notifyd specific gtk3 style. Fixes #677.

* Separate #XfceNotifyWindow spesific style

* Move #XfceNotifyWindow code to apps/_xfce.scss
pull/693/merge
Renjaya Raga Zenta 2018-06-07 23:28:32 +07:00 committed by Khurshid Alam
parent 0b32082d46
commit 8083a96a14
4 changed files with 33 additions and 6 deletions

View File

@ -23,4 +23,17 @@
.menu { -gtk-image-effect: 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

@ -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;

View File

@ -27,4 +27,21 @@
text-shadow: none;
}
}
#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;
}
}
}
}
}

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;