Bug 1320128 - [Captive Portal] Add bottom/top borders to info notifications on Linux. r=Gijs, a=jcristau
authorNihanth Subramanya <nhnt11@gmail.com>
Thu, 01 Dec 2016 16:53:18 -0800
changeset 353630 b628307561a31b4e89721fab9b3577c77c9941b5
parent 353629 628947537e8580846ac24b32ec37aed903a77ed7
child 353631 ceb9f76f1313322a0d225551d46fd3ab91e4eb61
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, jcristau
bugs1320128
milestone52.0a2
Bug 1320128 - [Captive Portal] Add bottom/top borders to info notifications on Linux. r=Gijs, a=jcristau 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;
 }