toolkit/themes/windows/global/toolbar.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 /* ===== toolbar.css ====================================================
michael@0 6 == Styles used by XUL toolbar-related elements.
michael@0 7 ======================================================================= */
michael@0 8
michael@0 9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
michael@0 10
michael@0 11 /* ::::: toolbox ::::: */
michael@0 12
michael@0 13 toolbox {
michael@0 14 -moz-appearance: toolbox;
michael@0 15 background-color: -moz-Dialog;
michael@0 16 border-top: 2px solid;
michael@0 17 -moz-border-top-colors: ThreeDShadow ThreeDHighlight;
michael@0 18 }
michael@0 19
michael@0 20 /* ::::: toolbar & menubar ::::: */
michael@0 21
michael@0 22 toolbar, menubar {
michael@0 23 -moz-appearance: toolbar;
michael@0 24 }
michael@0 25
michael@0 26 toolbar {
michael@0 27 min-width: 1px;
michael@0 28 min-height: 19px;
michael@0 29 border-top: 1px solid ThreeDHighlight;
michael@0 30 border-bottom: 1px solid ThreeDShadow;
michael@0 31 }
michael@0 32
michael@0 33 toolbar:first-child, menubar {
michael@0 34 min-width: 1px;
michael@0 35 border-bottom: 1px solid ThreeDShadow;
michael@0 36 border-top: 0px !important;
michael@0 37 }
michael@0 38
michael@0 39 /* ::::: lightweight theme ::::: */
michael@0 40
michael@0 41 menubar:-moz-lwtheme,
michael@0 42 toolbox:-moz-lwtheme,
michael@0 43 toolbar:-moz-lwtheme {
michael@0 44 -moz-appearance: none;
michael@0 45 background: none;
michael@0 46 border-style: none;
michael@0 47 }
michael@0 48
michael@0 49 /* ::::: toolbar decorations ::::: */
michael@0 50
michael@0 51 toolbarseparator {
michael@0 52 -moz-appearance: separator;
michael@0 53 border-top: 2px solid transparent;
michael@0 54 border-bottom: 2px solid transparent;
michael@0 55 border-left: 3px solid transparent;
michael@0 56 border-right: 3px solid transparent;
michael@0 57 -moz-border-left-colors : transparent transparent ThreeDShadow;
michael@0 58 -moz-border-right-colors : transparent transparent ThreeDHighlight;
michael@0 59 }
michael@0 60
michael@0 61 toolbarspacer {
michael@0 62 width: 15px;
michael@0 63 }
michael@0 64
michael@0 65 /* ::::: toolbarpaletteitem ::::: */
michael@0 66
michael@0 67 toolbarpaletteitem {
michael@0 68 cursor: grab;
michael@0 69 }
michael@0 70
michael@0 71 .toolbarpaletteitem-box[type="spacer"],
michael@0 72 .toolbarpaletteitem-box[type="spring"] {
michael@0 73 border: 1px solid #808080;
michael@0 74 background-color: #FFF !important;
michael@0 75 }
michael@0 76
michael@0 77 toolbarpaletteitem[place="toolbar"] > toolbarspacer {
michael@0 78 width: 11px;
michael@0 79 }
michael@0 80
michael@0 81 .toolbarpaletteitem-box[type="spacer"][place="toolbar"],
michael@0 82 .toolbarpaletteitem-box[type="spring"][place="toolbar"] {
michael@0 83 margin-top: 2px;
michael@0 84 margin-bottom: 2px;
michael@0 85 -moz-margin-start: 0px;
michael@0 86 -moz-margin-end: 2px;
michael@0 87 }
michael@0 88
michael@0 89 .toolbarpaletteitem-box[type="separator"][place="palette"] {
michael@0 90 width: 2px;
michael@0 91 height: 50px;
michael@0 92 }
michael@0 93
michael@0 94 .toolbarpaletteitem-box[type="spacer"][place="palette"],
michael@0 95 .toolbarpaletteitem-box[type="spring"][place="palette"] {
michael@0 96 margin-bottom: 2px;
michael@0 97 width: 50px;
michael@0 98 height: 50px;
michael@0 99 }
michael@0 100
michael@0 101 .toolbarpaletteitem-box[type="spring"][place="palette"] {
michael@0 102 background: url("chrome://global/skin/toolbar/spring.png") no-repeat center;
michael@0 103 }
michael@0 104
michael@0 105 /* ..... drag and drop feedback ..... */
michael@0 106
michael@0 107 toolbarpaletteitem[place="toolbar"] {
michael@0 108 margin-left: -2px;
michael@0 109 margin-right: -2px;
michael@0 110 border-left: 2px solid transparent;
michael@0 111 border-right: 2px solid transparent;
michael@0 112 }
michael@0 113
michael@0 114 toolbarpaletteitem[dragover="left"] {
michael@0 115 border-left-color: #000000;
michael@0 116 }
michael@0 117
michael@0 118 toolbarpaletteitem[dragover="right"] {
michael@0 119 border-right-color: #000000;
michael@0 120 }

mercurial