Commit | Line | Data |
---|---|---|
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 | |
5 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
6 | ||
f2450795 | 7 | /* ::::: sidebar container ::::: */ |
8 | ||
d686d388 | 9 | #sidebar-box { |
10 | margin-top: 0px; | |
11 | border: none; | |
12 | background-color: #CCD0DD; | |
13 | } | |
f6e0a33f | 14 | |
74d14f90 | 15 | /* ::::: sidebar header ::::: */ |
f6e0a33f | 16 | |
d686d388 | 17 | .sidebarheader-main { |
18 | border: none; | |
19 | color: #CCD0DD; | |
20 | background-color: #666699; | |
dae45075 | 21 | padding-inline-start: 4px; |
3e7d9b4d | 22 | height: auto; |
f7d5404c | 23 | overflow-x: hidden; |
d686d388 | 24 | } |
f6e0a33f | 25 | |
26 | #sidebar-panel-picker { | |
f6e0a33f | 27 | color: inherit; |
28 | } | |
3e7d9b4d | 29 | |
d686d388 | 30 | .sidebar-header-text { |
31 | font-weight: bold; | |
32 | } | |
f6e0a33f | 33 | |
74d14f90 | 34 | /* ..... close button ..... */ |
f6e0a33f | 35 | |
74d14f90 | 36 | #sidebar-close-button { |
37 | -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image"); | |
02920d2b | 38 | padding: 1px 3px; |
dae45075 | 39 | padding-inline-start: 4px; |
74d14f90 | 40 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
41 | } | |
42 | ||
43 | /* ::::: sidebar panel ::::: */ | |
44 | ||
45 | .sidebar-iframe-no-panels, | |
46 | .loadarea { | |
47 | background-color: #FFFFFF; | |
48 | color: #666699; | |
49 | } | |
50 | ||
4c66fa00 | 51 | .iframe-panel, .browser-sidebar { |
74d14f90 | 52 | } |
53 | ||
54 | /* ::::: loading info ::::: */ | |
55 | ||
56 | .text-panel-loading { | |
57 | margin: 5px 0px; | |
58 | } | |
59 | ||
8da3cfd5 | 60 | .text-panel-loading[loading="false"] { |
dae45075 | 61 | margin-inline-start: 11px; |
8da3cfd5 | 62 | } |
63 | ||
74d14f90 | 64 | .image-panel-loading { |
65 | margin: 5px; | |
66 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
67 | } | |
68 | ||
69 | /* ::::: sidebar tabs ::::: */ | |
70 | ||
71 | .box-texttab { | |
72 | -moz-binding: url("chrome://communicator/skin/sidebar/sidebarBindings.xml#sbtab"); | |
02920d2b | 73 | padding: 2px 0px; |
74d14f90 | 74 | background-color: #CCD0DD; |
75 | color: #000000; | |
76 | cursor: pointer; | |
77 | border-top: 1px outset #CCD0DD; | |
78 | border-bottom: 1px outset #CCD0DD; | |
79 | } | |
80 | ||
81 | .box-texttab[selected="true"], | |
82 | .box-texttab[selected="true"]:hover, | |
83 | .box-texttab[selected="true"]:hover:active { | |
84 | background-color: #336699; | |
85 | border-top: 1px solid #336699; | |
02920d2b | 86 | padding: 1px; |
dae45075 | 87 | padding-inline-start: 0px; |
74d14f90 | 88 | } |
f6e0a33f | 89 | |
74d14f90 | 90 | .box-texttab[last-panel="true"], |
91 | .box-texttab[last-panel="true"]:hover, | |
92 | .box-texttab[last-panel="true"]:hover:active, | |
93 | .box-texttab[last-panel="true"][selected="true"], | |
94 | .box-texttab[last-panel="true"][selected="true"]:hover, | |
95 | .box-texttab[last-panel="true"][selected="true"]:hover:active { | |
96 | border-bottom: none; | |
97 | } | |
98 | ||
99 | .sbtab-label { | |
02920d2b | 100 | margin: 0px !important; |
74d14f90 | 101 | } |
102 | ||
103 | .sbtab-twisty { | |
02920d2b | 104 | margin: 2px 3px 0px; |
7729765c | 105 | list-style-image: url("chrome://global/skin/tree/twisty.svg#clsd"); |
74d14f90 | 106 | } |
f6e0a33f | 107 | |
108 | /* | |
74d14f90 | 109 | .sbtab-texture { |
110 | margin: 2px 0px; | |
f7d5404c | 111 | background: url("chrome://communicator/skin/toolbar/tbgrip-texture.gif") repeat-y; |
74d14f90 | 112 | width: 12px; |
113 | height: 12px; | |
114 | } | |
f6e0a33f | 115 | */ |
116 | ||
74d14f90 | 117 | .box-texttab:hover { |
c8120ee9 | 118 | background-color: #DDDDDD; |
74d14f90 | 119 | } |
f6e0a33f | 120 | |
74d14f90 | 121 | .box-texttab:hover:active { |
c8120ee9 | 122 | background-color: #6699FF; |
74d14f90 | 123 | } |
f6e0a33f | 124 | |
74d14f90 | 125 | .box-texttab[selected="true"], |
126 | .box-texttab[selected="true"]:hover { | |
c8120ee9 | 127 | font-weight: bold; |
128 | cursor: default; | |
74d14f90 | 129 | } |
130 | ||
131 | .box-texttab[last-panel="true"], | |
132 | .box-texttab[selected="true"] { | |
c8120ee9 | 133 | margin-bottom: 0px; |
74d14f90 | 134 | } |
135 | ||
136 | .sbtab-twisty[selected="true"] { | |
7729765c | 137 | list-style-image: url("chrome://global/skin/tree/twisty.svg#open"); |
74d14f90 | 138 | } |
c8120ee9 | 139 | |
140 | /* ::::: sidebar navigation buttons ::::: */ | |
141 | ||
142 | .sidebar-nav-button { | |
143 | -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image"); | |
02920d2b | 144 | padding: 5px 0px; |
c8120ee9 | 145 | } |
146 | ||
147 | .tab-fwd { | |
148 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); | |
149 | } | |
150 | ||
151 | .tab-back { | |
152 | list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); | |
f7d5404c | 153 | } |