toolbar.css (1826B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 /* ===== toolbar.css ==================================================== 6 == Styles used by XUL toolbar-related elements. 7 ======================================================================= */ 8 9 @import url("chrome://os/skin/toolbar.css"); 10 11 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 12 13 /* ::::: toolbarpaletteitem ::::: */ 14 15 toolbarpaletteitem { 16 cursor: -moz-grab; 17 } 18 19 .toolbarpaletteitem-box[type="spacer"], 20 .toolbarpaletteitem-box[type="spring"] { 21 border: 1px solid rgb(64,64,64); 22 background-color: #181411 !important; 23 } 24 25 toolbarpaletteitem[place="toolbar"] > toolbarspacer { 26 width: 11px; 27 } 28 29 .toolbarpaletteitem-box[type="spacer"][place="toolbar"], 30 .toolbarpaletteitem-box[type="spring"][place="toolbar"] { 31 margin-top: 2px; 32 margin-bottom: 2px; 33 margin-inline-start: 0px; 34 margin-inline-end: 2px; 35 } 36 37 .toolbarpaletteitem-box[type="separator"][place="palette"] { 38 width: 2px; 39 height: 50px; 40 } 41 42 .toolbarpaletteitem-box[type="spacer"][place="palette"], 43 .toolbarpaletteitem-box[type="spring"][place="palette"] { 44 margin-bottom: 2px; 45 width: 50px; 46 height: 50px; 47 } 48 49 .toolbarpaletteitem-box[type="spring"][place="palette"] { 50 background: url("chrome://global/skin/toolbar/spring.png") no-repeat center; 51 } 52 53 /* ..... drag and drop feedback ..... */ 54 55 toolbarpaletteitem[place="toolbar"] { 56 margin-left: -2px; 57 margin-right: -2px; 58 border-left: 2px solid transparent; 59 border-right: 2px solid transparent; 60 } 61 62 toolbarpaletteitem[dragover="left"] { 63 border-left-color: rgb(64,64,64); 64 } 65 66 toolbarpaletteitem[dragover="right"] { 67 border-right-color: rgb(64,64,64); 68 }