Bug 1114344 - Add background-clip: content-box to the #dialogBox on in-content dialogs. r=jaws
authorRichard Marti <richard.marti@gmail.com>
Fri, 26 Dec 2014 18:25:07 +0100
changeset 247644 858f0c4f4bdf67be9f58fafca0e51af22f758ab8
parent 247643 0253e47deae727b01101adfcde3f557e57864bc5
child 247645 56c2e6eea92a14cfffa12e30c4f04b43c1a35a4e
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1114344
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 1114344 - Add background-clip: content-box to the #dialogBox on in-content dialogs. 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
@@ -228,23 +228,24 @@ description > html|a {
 
 #dialogOverlay {
   background-color: rgba(0,0,0,0.5);
   visibility: hidden;
 }
 
 #dialogBox {
   background-color: #fbfbfb;
+  background-clip: content-box;
   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);
+  border-radius: 3.5px;
+  box-shadow: 0 2px 6px 0 rgba(0,0,0,0.3);
   display: -moz-box;
   margin: 0;
   padding: 0;
 }
 
 #dialogBox[resizable="true"] {
   resize: both;
   overflow: hidden;