1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/windows/global/inContentUI.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,154 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +/* 1.9 + * The default namespace for this file is XUL. Be sure to prefix rules that 1.10 + * are applicable to both XUL and HTML with '*|'. 1.11 + */ 1.12 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 1.13 +@namespace html url("http://www.w3.org/1999/xhtml"); 1.14 + 1.15 +/* Page background */ 1.16 +*|*:root { 1.17 + -moz-appearance: none; 1.18 + padding: 18px; 1.19 + background-repeat: repeat; 1.20 + color: -moz-dialogText; 1.21 + background-color: -moz-dialog; 1.22 + background-image: /* Texture */ 1.23 + url("chrome://global/skin/inContentUI/background-texture.png"); 1.24 +} 1.25 + 1.26 +html|html { 1.27 + font: message-box; 1.28 +} 1.29 + 1.30 +%ifdef WINDOWS_AERO 1.31 +@media (-moz-windows-default-theme) and (-moz-os-version: windows-vista), 1.32 + (-moz-windows-default-theme) and (-moz-os-version: windows-win7) { 1.33 + *|*:root { 1.34 + color: #000; 1.35 + background-color: #CCD9EA; 1.36 + } 1.37 +} 1.38 + 1.39 +@media (-moz-windows-glass) { 1.40 + *|*:root { 1.41 + /* Blame shorlander for this monstrosity. */ 1.42 + background-image: /* Side gradients */ 1.43 + linear-gradient(to right, 1.44 + rgba(255,255,255,0.2), rgba(255,255,255,0) 40%, 1.45 + rgba(255,255,255,0) 60%, rgba(255,255,255,0.2)), 1.46 + /* Aero-style light beams */ 1.47 + -moz-linear-gradient(left 32deg, 1.48 + /* First light beam */ 1.49 + rgba(255,255,255,0) 19.5%, rgba(255,255,255,0.1) 20%, 1.50 + rgba(255,255,255,0.1) 21.5%, rgba(255,255,255,0.2) 22%, 1.51 + rgba(255,255,255,0.2) 25.5%, rgba(255,255,255,0.1) 26%, 1.52 + rgba(255,255,255,0.1) 27.5%, rgba(255,255,255,0) 28%, 1.53 + /* Second light beam */ 1.54 + rgba(255,255,255,0) 49.5%, rgba(255,255,255,0.1) 50%, 1.55 + rgba(255,255,255,0.1) 52.5%, rgba(255,255,255,0.2) 53%, 1.56 + rgba(255,255,255,0.2) 54.5%, rgba(255,255,255,0.1) 55%, 1.57 + rgba(255,255,255,0.1) 57.5%, rgba(255,255,255,0) 58%, 1.58 + /* Third light beam */ 1.59 + rgba(255,255,255,0) 87%, rgba(255,255,255,0.2) 90%), 1.60 + /* Texture */ 1.61 + url("chrome://global/skin/inContentUI/background-texture.png"); 1.62 + } 1.63 +} 1.64 +%endif 1.65 + 1.66 +/* Content */ 1.67 +*|*.main-content { 1.68 + /* Needed to allow the radius to clip the inner content, see bug 595656 */ 1.69 + overflow: hidden; 1.70 + background-color: rgba(255, 255, 255, 0.35); 1.71 + background-image: linear-gradient(rgba(255, 255, 255, 0), 1.72 + rgba(255, 255, 255, 0.75)); 1.73 + border: 1px solid #C3CEDF; 1.74 +} 1.75 + 1.76 +%ifdef WINDOWS_AERO 1.77 +@media (-moz-os-version: windows-vista), 1.78 + (-moz-os-version: windows-win7) { 1.79 +%endif 1.80 + *|*.main-content { 1.81 + border-radius: 5px; 1.82 + } 1.83 +%ifdef WINDOWS_AERO 1.84 +} 1.85 + 1.86 +@media (-moz-windows-glass) { 1.87 + /* Buttons */ 1.88 + *|button, 1.89 + menulist, 1.90 + colorpicker[type="button"] { 1.91 + -moz-appearance: none; 1.92 + color: black; 1.93 + padding: 0 5px; 1.94 + background: linear-gradient(rgba(251, 252, 253, 0.95), rgba(246, 247, 248, 0) 49%, 1.95 + rgba(211, 212, 213, 0.45) 51%, rgba(225, 226, 229, 0.3)); 1.96 + background-clip: padding-box; 1.97 + border-radius: 3px; 1.98 + border: 1px solid rgba(31, 64, 100, 0.4); 1.99 + border-top-color: rgba(31, 64, 100, 0.3); 1.100 + box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 1.101 + 0 0 2px 1px rgba(255, 255, 255, 0.25) inset; 1.102 + } 1.103 + 1.104 + menulist { 1.105 + -moz-padding-end: 0; 1.106 + } 1.107 + 1.108 + colorpicker[type="button"]:-moz-focusring:not([open="true"]) > .colorpicker-button-colorbox { 1.109 + outline: 1px dotted ThreeDDarkShadow; 1.110 + } 1.111 + 1.112 + html|button[disabled], 1.113 + button[disabled="true"], 1.114 + menulist[disabled="true"], 1.115 + colorpicker[type="button"][disabled="true"] { 1.116 + -moz-border-top-colors: rgba(31, 64, 100, 0.3) !important; 1.117 + -moz-border-right-colors: rgba(31, 64, 100, 0.4) !important; 1.118 + -moz-border-bottom-colors: rgba(31, 64, 100, 0.4) !important; 1.119 + -moz-border-left-colors: rgba(31, 64, 100, 0.4) !important; 1.120 + opacity: 0.8; 1.121 + color: #505050; 1.122 + } 1.123 + 1.124 + html|button:not([disabled]):active:hover, 1.125 + button:not([disabled="true"]):active:hover, 1.126 + menulist[open="true"]:not([disabled="true"]), 1.127 + colorpicker[type="button"][open="true"]:not([disabled="true"]) { 1.128 + background-color: rgba(61, 76, 92, 0.2); 1.129 + border-color: rgba(39, 53, 68, 0.5); 1.130 + box-shadow: 0 0 3px 1px rgba(39, 53, 68, 0.2) inset; 1.131 + } 1.132 + 1.133 + button > .button-box { 1.134 + padding: 1px !important; 1.135 + } 1.136 + 1.137 + spinbuttons > .spinbuttons-box > .spinbuttons-button { 1.138 + border-radius: 0; 1.139 + padding: 0 4px; 1.140 + } 1.141 + 1.142 + spinbuttons > .spinbuttons-box > .spinbuttons-up { 1.143 + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); 1.144 + border-bottom-width: 0; 1.145 + } 1.146 + 1.147 + spinbuttons > .spinbuttons-box > .spinbuttons-down { 1.148 + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); 1.149 + } 1.150 +} 1.151 +%endif 1.152 + 1.153 +colorpicker[type="button"] { 1.154 + margin: 1px 5px 2px 5px; 1.155 + padding: 3px; 1.156 + height: 25px; 1.157 +}