sixth part of syncing LCARStrek with Firefox 29 windows theme changes
[themes.git] / EarlyBlue / global / toolbar.css
CommitLineData
9099c61d
RK
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/. */
128000f4 4
74d14f90 5/* ===== toolbar.css ====================================================
6 == Styles used by XUL toolbar-related elements.
7 ======================================================================= */
f6e0a33f 8
e181d49e
RK
9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10
74d14f90 11/* ::::: toolbox ::::: */
f6e0a33f 12
74d14f90 13toolbox {
14 background-color: #CCD0DD;
15}
f6e0a33f 16
74d14f90 17/* ::::: toolbar & menubar ::::: */
f6e0a33f 18
74d14f90 19toolbar,
20menubar {
21 border-bottom: 1px solid #9999CC;
22 background-color: #CCD0DD;
e181d49e 23 min-width: 1px;
74d14f90 24}
f6e0a33f 25
e181d49e
RK
26/* in browser.xul, the menubar is inside a toolbar... */
27toolbaritem > menubar {
28 border-bottom-style: none;
29 background-color: transparent;
30}
31
3b1530c2
RK
32/* ::::: lightweight theme ::::: */
33
8a933f1e 34menubar:-moz-lwtheme,
3b1530c2
RK
35toolbox:-moz-lwtheme,
36toolbar:-moz-lwtheme {
37 -moz-appearance: none;
38 background: none;
39 border-style: none;
40}
41
e181d49e 42/* ::::: toolbar decorations ::::: */
f6e0a33f 43
e181d49e
RK
44toolbarseparator {
45 margin : 2px 0.2em;
46 border-right: 1px solid #666699;
47 width : 1px;
48}
4c66fa00 49
e181d49e
RK
50toolbarspacer {
51 width: 10px;
4c66fa00 52}
53
e181d49e
RK
54toolbar[mode="icons"] .toolbarbutton-text {
55 display: none;
4c66fa00 56}
57
e181d49e
RK
58toolbar[mode="text"] .toolbarbutton-icon {
59 display: none;
60}
4c66fa00 61
e181d49e
RK
62toolbar[mode="text"] .toolbarbutton-text {
63 padding: 0 !important;
64 margin: 1px 3px !important;
4c66fa00 65}
66
e181d49e
RK
67/* ::::: toolbarpaletteitem ::::: */
68
69toolbarpaletteitem {
2c225fcb 70 cursor: grab;
4c66fa00 71}
72
e181d49e
RK
73.toolbarpaletteitem-box[type="spacer"],
74.toolbarpaletteitem-box[type="spring"] {
75 border: 1px solid #666699;
76 background-color: #FFFFFF !important;
77}
128000f4 78
e181d49e
RK
79toolbarpaletteitem[place="toolbar"] > toolbarspacer {
80 width: 11px;
81}
82
83.toolbarpaletteitem-box[type="spacer"][place="toolbar"],
84.toolbarpaletteitem-box[type="spring"][place="toolbar"] {
85 margin-top: 2px;
86 margin-bottom: 2px;
87 -moz-margin-start: 0px;
88 -moz-margin-end: 2px;
89}
90
91.toolbarpaletteitem-box[type="separator"][place="palette"] {
92 width: 2px;
93 height: 50px;
94}
95
96.toolbarpaletteitem-box[type="spacer"][place="palette"],
97.toolbarpaletteitem-box[type="spring"][place="palette"] {
98 margin-bottom: 2px;
99 width: 50px;
100 height: 50px;
101}
102
103.toolbarpaletteitem-box[type="spring"][place="palette"] {
104 background: url("chrome://global/skin/toolbar/spring.gif") no-repeat center;
105}
106
107/* ..... drag and drop feedback ..... */
108
25fe5264
RK
109toolbarpaletteitem[place="toolbar"] {
110 -moz-margin-start: -2px;
111 -moz-margin-end: -2px;
112 border-left: 2px solid transparent;
113 border-right: 2px solid transparent;
114}
115
e181d49e
RK
116toolbarpaletteitem[dragover="left"] {
117 border-left-color: #000000;
118}
119
120toolbarpaletteitem[dragover="right"] {
121 border-right-color: #000000;
74d14f90 122}