Bug 1112294 - Add a border for HC themes and disabled page colors. r=jaws
authorRichard Marti <richard.marti@gmail.com>
Tue, 16 Dec 2014 21:36:13 +0100
changeset 220620 8da964932383c782de32e6779d4dea1d07e511f1
parent 220619 9a5c3a50b8ed10df47b2cbbcb59b23ad0824cb3c
child 220621 4b6433d988351caf29fe8bda43abef5dfe7a3f55
push id27991
push userkwierso@gmail.com
push dateFri, 19 Dec 2014 23:43:54 +0000
treeherdermozilla-central@b052018cf239 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1112294
milestone37.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 1112294 - Add a border for HC themes and disabled page colors. r=jaws
browser/themes/shared/incontentprefs/preferences.inc.css
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -230,16 +230,19 @@ description > html|a {
   background-color: rgba(0,0,0,0.5);
   visibility: hidden;
 }
 
 #dialogBox {
   background-color: #fbfbfb;
   color: #424e5a;
   font-size: 14px;
+  /* `transparent` will use the dialogText color in high-contrast themes and
+     when page colors are disabled */
+  border: 1px solid transparent;
   border-radius: 2.5px;
   box-shadow: 0 2px 4px 0 rgba(0,0,0,0.5);
   display: -moz-box;
   margin: 0;
   padding: 0;
 }
 
 #dialogBox[resizable="true"] {