Bug 1320128 - [Captive Portal] Add bottom/top borders to info notifications on Linux. r=Gijs draft
authorNihanth Subramanya <nhnt11@gmail.com>
Thu, 01 Dec 2016 16:53:18 -0800
changeset 460059 765fbaff1ff65edf04da8a41051d686931089796
parent 459680 048240a074e841c425a4da4707cf8e353074ec1d
child 542017 be411accc03bb12393a34f094a154f1f3c2b8bc7
push id41355
push usernhnt11@gmail.com
push dateThu, 12 Jan 2017 22:11:04 +0000
reviewersGijs
bugs1320128
milestone53.0a1
Bug 1320128 - [Captive Portal] Add bottom/top borders to info notifications on Linux. r=Gijs MozReview-Commit-ID: 5G1cjpThRpZ
toolkit/themes/linux/global/notification.css
--- 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;
 }