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