Bug 1320128 - [Captive Portal] Add bottom/top borders to info notifications on Linux. r=Gijs
authorNihanth Subramanya <nhnt11@gmail.com>
Thu, 01 Dec 2016 16:53:18 -0800
changeset 374189 19328c5e2109e4bf31b106ce5a3a88098f3d9906
parent 374188 1cd2d1992f8a31a3ce92040c725b0787dc336bc2
child 374190 f7af5ba471c730df4f0f466bad3cbdabc6aa1cb3
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1320128
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;
 }