update both themes for toolkit winstripe changes in Mozilla 15 cycle
[themes.git] / LCARStrek / communicator / communicator.css
... / ...
CommitLineData
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@import url("chrome://global/skin/");
6@import url("chrome://communicator/content/communicator.css");
7@import url("chrome://communicator/skin/brand.css");
8@import url("chrome://communicator/skin/button.css");
9@import url("chrome://communicator/skin/toolbar.css");
10
11@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
12
13/* ==== communicator.css ====================================================
14 == Styles shared everywhere throughout the Communicator suite.
15 ========================================================================== */
16
17toolbar {
18 -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar");
19}
20
21menubar,
22toolbar[type="menubar"] {
23 -moz-binding: url("chrome://global/skin/globalBindings.xml#grippymenubar");
24}
25
26.toolbar-primary {
27 -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar-primary");
28}
29
30toolbar[xpfe="false"] {
31 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
32}
33
34menubar[xpfe="false"] {
35 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
36}
37
38/* ::::: autocomplete ::::: */
39
40.autocomplete-history-popup {
41 max-height: 25em;
42}
43
44/* ::::: online/offline icons ::::: */
45
46#offline-status[offline="true"] {
47 list-style-image: url("chrome://communicator/skin/icons/offline.gif");
48}
49
50#offline-status {
51 list-style-image: url("chrome://communicator/skin/icons/online.gif");
52}
53
54/* ::::: spell checker ::::: */
55
56.spell-suggestion {
57 font-weight: bold;
58}
59
60/* ::::: directional button icons ::::: */
61
62.up {
63 list-style-image:url("chrome://global/skin/arrow/arrow-up.gif");
64 min-width: 0px;
65}
66
67.up[disabled="true"] {
68 list-style-image:url("chrome://global/skin/arrow/arrow-up-disabled.gif");
69}
70
71.down {
72 min-width: 0px;
73 list-style-image:url("chrome://global/skin/arrow/arrow-down.gif");
74}
75
76.down[disabled="true"] {
77 list-style-image:url("chrome://global/skin/arrow/arrow-down-disabled.gif");
78}
79
80.sidebarTree {
81 border: none;
82 margin: 0px !important;
83}
84
85/* ::::: iconic menus and menuitems ::::: */
86
87menu.menu-iconic > .menu-iconic-left,
88menuitem.menuitem-iconic > .menu-iconic-left {
89 display: -moz-box;
90}
91
92/* ::::: sync notification ::::: */
93
94#sync-notifications > notification {
95 margin-top: 3px;
96}
97
98#sync-notifications > notification > .notification-inner > hbox > button {
99 margin: 0;
100}
101
102/******* lightweight themes *******/
103
104toolbar button:-moz-lwtheme,
105toolbar menulist:-moz-lwtheme:not([open="true"]),
106toolbar textbox:-moz-lwtheme:not([focused="true"]) {
107 opacity: .8;
108}
109
110treecols:-moz-lwtheme {
111 text-shadow: none;
112 color: #000000;
113 background-color: #9C9CFF;
114}
115
116/* ::::: toolbar print button ::::: */
117#print-button {
118 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
119 -moz-image-region: rect(0px 25px 21px 0px);
120}
121
122#print-button[disabled="true"] {
123 -moz-image-region: rect(0px 50px 21px 25px);
124}
125
126#print-button:not([disabled="true"]):hover,
127#print-button:not([disabled="true"]):hover:active,
128#print-button[open="true"] {
129 -moz-image-region: rect(0px 75px 21px 50px);
130}
131
132toolbar[iconsize="small"] > toolbarpaletteitem > #print-button,
133toolbar[iconsize="small"] > #print-button {
134 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
135 -moz-image-region: rect(0 16px 16px 0);
136}
137
138toolbar[iconsize="small"] > #print-button[disabled="true"] {
139 -moz-image-region: rect(0 32px 16px 16px) !important;
140}
141
142toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover,
143toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active {
144 -moz-image-region: rect(0 48px 16px 32px);
145}