Bug 1320128 - [Captive Portal] Add bottom/top borders to info notifications on Linux. r=Gijs
MozReview-Commit-ID: 5G1cjpThRpZ
--- a/toolkit/themes/linux/global/notification.css
+++ b/toolkit/themes/linux/global/notification.css
@@ -12,16 +12,26 @@ notification {
%endif
text-shadow: none;
}
notification[type="info"] {
color: -moz-DialogText;
background-color: -moz-Dialog;
-moz-appearance: none;
+ border-top: 1px solid ThreeDShadow;
+ border-bottom: 1px solid ThreeDShadow;
+}
+
+notificationbox[notificationside="top"] > notification[type="info"] {
+ border-top-style: none;
+}
+
+notificationbox[notificationside="bottom"] > notification[type="info"] {
+ border-bottom-style: none;
}
notification[type="critical"] {
color: white;
background-image: linear-gradient(rgb(212,0,0), rgb(152,0,0));
-moz-appearance: none;
}