1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/linux/global/toolbar.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,111 @@ 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 +/* ===== toolbar.css ==================================================== 1.9 + == Styles used by XUL toolbar-related elements. 1.10 + ======================================================================= */ 1.11 + 1.12 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 1.13 + 1.14 +/* ::::: toolbox ::::: */ 1.15 + 1.16 +toolbox { 1.17 + -moz-appearance: toolbox; 1.18 +} 1.19 + 1.20 +/* ::::: menubar & toolbar ::::: */ 1.21 + 1.22 +toolbar { 1.23 + -moz-appearance: toolbar; 1.24 + min-width: 1px; 1.25 + min-height: 20px; 1.26 + padding: 2px 0px; 1.27 +} 1.28 + 1.29 +menubar, toolbar[type="menubar"] { 1.30 + -moz-appearance: menubar; 1.31 + min-width: 1px; 1.32 + min-height: 20px; 1.33 + padding: 1px 0px; 1.34 +} 1.35 + 1.36 +menubar:-moz-lwtheme, 1.37 +toolbar:-moz-lwtheme { 1.38 + -moz-appearance: none; 1.39 +} 1.40 + 1.41 +/* in browser.xul, the menubar is inside a toolbar... */ 1.42 +toolbaritem > menubar { 1.43 + -moz-appearance: none; 1.44 +} 1.45 + 1.46 +/* ::::: toolbar decorations ::::: */ 1.47 + 1.48 +toolbarseparator { 1.49 + -moz-appearance: separator !important; 1.50 + margin : 0; 1.51 + border: 0; 1.52 + min-width: 2px; 1.53 +} 1.54 + 1.55 +toolbarspacer { 1.56 + width: 15px; 1.57 +} 1.58 + 1.59 +/* ::::: toolbarpaletteitem ::::: */ 1.60 + 1.61 +toolbarpaletteitem { 1.62 + cursor: grab; 1.63 +} 1.64 + 1.65 +.toolbarpaletteitem-box[type="spacer"], 1.66 +.toolbarpaletteitem-box[type="spring"] { 1.67 + border: 1px solid #808080; 1.68 + background-color: #FFF !important; 1.69 +} 1.70 + 1.71 +toolbarpaletteitem[place="toolbar"] > toolbarspacer { 1.72 + width: 11px; 1.73 +} 1.74 + 1.75 +.toolbarpaletteitem-box[type="spacer"][place="toolbar"], 1.76 +.toolbarpaletteitem-box[type="spring"][place="toolbar"] { 1.77 + margin-top: 2px; 1.78 + margin-bottom: 2px; 1.79 + -moz-margin-start: 0px; 1.80 + -moz-margin-end: 2px; 1.81 +} 1.82 + 1.83 +.toolbarpaletteitem-box[type="separator"][place="palette"] { 1.84 + width: 2px; 1.85 + height: 50px; 1.86 +} 1.87 + 1.88 +.toolbarpaletteitem-box[type="spacer"][place="palette"], 1.89 +.toolbarpaletteitem-box[type="spring"][place="palette"] { 1.90 + margin-bottom: 2px; 1.91 + width: 50px; 1.92 + height: 50px; 1.93 +} 1.94 + 1.95 +.toolbarpaletteitem-box[type="spring"][place="palette"] { 1.96 + background: url("chrome://global/skin/toolbar/spring.png") no-repeat center; 1.97 +} 1.98 + 1.99 +/* ..... drag and drop feedback ..... */ 1.100 + 1.101 +toolbarpaletteitem[place="toolbar"] { 1.102 + margin-left: -2px; 1.103 + margin-right: -2px; 1.104 + border-left: 2px solid transparent; 1.105 + border-right: 2px solid transparent; 1.106 +} 1.107 + 1.108 +toolbarpaletteitem[dragover="left"] { 1.109 + border-left-color: #000000; 1.110 +} 1.111 + 1.112 +toolbarpaletteitem[dragover="right"] { 1.113 + border-right-color: #000000; 1.114 +}