| 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 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 6 | |
| 7 | /* ::::: sidebar container ::::: */ |
| 8 | |
| 9 | #sidebar-box { |
| 10 | border: none; |
| 11 | } |
| 12 | |
| 13 | /* ::::: sidebar splitter ::::: */ |
| 14 | |
| 15 | #sidebar-panels-splitter[state="collapsed"] { |
| 16 | margin-bottom: 0px; |
| 17 | } |
| 18 | |
| 19 | #sidebar-splitter { |
| 20 | -moz-margin-start: 0px; |
| 21 | } |
| 22 | |
| 23 | #sidebar-splitter:not([state="collapsed"]) { |
| 24 | border-radius: 0 5px 0 0; |
| 25 | } |
| 26 | |
| 27 | /* Get lower rounded corner right to connect to splitter. */ |
| 28 | #sidebar-panels-splitter-box { |
| 29 | background-color: #9C9CFF |
| 30 | } |
| 31 | |
| 32 | #sidebar-panels { |
| 33 | background-color: #000000; |
| 34 | border-radius: 0 5px 0 0; |
| 35 | -moz-padding-end: 3px; |
| 36 | } |
| 37 | |
| 38 | #sidebar-splitter:not([state="collapsed"]):-moz-locale-dir(rtl), |
| 39 | #sidebar-panels:-moz-locale-dir(rtl) { |
| 40 | border-radius: 5px 0 0 0; |
| 41 | } |
| 42 | |
| 43 | /* ::::: sidebar header ::::: */ |
| 44 | |
| 45 | .sidebarheader-main { |
| 46 | border: none; |
| 47 | color: #000000; |
| 48 | background-color: #9C9CFF; |
| 49 | padding: 0px 2px; |
| 50 | -moz-padding-start: 3px; |
| 51 | -moz-padding-end: 8px; |
| 52 | height: auto; |
| 53 | } |
| 54 | |
| 55 | .sidebar-header-text { |
| 56 | font-weight: bold; |
| 57 | } |
| 58 | |
| 59 | /* ..... close button ..... */ |
| 60 | |
| 61 | #sidebar-close-button { |
| 62 | -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image"); |
| 63 | padding: 3px; |
| 64 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 65 | border-radius: 0; |
| 66 | } |
| 67 | |
| 68 | #sidebar-close-button:hover, |
| 69 | #sidebar-close-button:hover:active { |
| 70 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 71 | } |
| 72 | |
| 73 | /* ..... panel picker button ..... */ |
| 74 | |
| 75 | #sidebar-panel-picker { |
| 76 | padding: 3px 1px; |
| 77 | border-radius: 0; |
| 78 | } |
| 79 | |
| 80 | /* ::::: sidebar panel ::::: */ |
| 81 | |
| 82 | .sidebar-iframe-no-panels, |
| 83 | .loadarea { |
| 84 | background-color: #000000; |
| 85 | color: #FF9F00; |
| 86 | } |
| 87 | |
| 88 | .iframe-panel, .browser-sidebar { |
| 89 | } |
| 90 | |
| 91 | /* ::::: loading info ::::: */ |
| 92 | |
| 93 | .text-panel-loading { |
| 94 | margin: 5px 0px; |
| 95 | } |
| 96 | |
| 97 | .text-panel-loading[loading="false"] { |
| 98 | -moz-margin-start: 11px; |
| 99 | } |
| 100 | |
| 101 | .image-panel-loading { |
| 102 | margin: 5px; |
| 103 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 104 | } |
| 105 | |
| 106 | /* ::::: sidebar tabs ::::: */ |
| 107 | |
| 108 | .box-texttab { |
| 109 | -moz-binding: url("chrome://communicator/skin/sidebar/sidebarBindings.xml#sbtab"); |
| 110 | cursor: pointer; |
| 111 | border-top: 3px solid black; |
| 112 | border-radius: 5px; |
| 113 | } |
| 114 | |
| 115 | .box-texttab > hbox { |
| 116 | border-radius: 300px; |
| 117 | -moz-box-align: stretch; |
| 118 | padding: 2px 3px; |
| 119 | background-color: #C09070; |
| 120 | color: #000000; |
| 121 | } |
| 122 | |
| 123 | .box-texttab[selected="true"] > hbox, |
| 124 | .box-texttab[selected="true"]:hover > hbox, |
| 125 | .box-texttab[selected="true"]:hover:active > hbox { |
| 126 | background-color: #008484; |
| 127 | color: #FFCF00; |
| 128 | font-weight: bold; |
| 129 | } |
| 130 | |
| 131 | .box-texttab[selected="true"], |
| 132 | .box-texttab[selected="true"]:hover, |
| 133 | .box-texttab[selected="true"]:hover:active { |
| 134 | border-bottom: 3px solid black; |
| 135 | } |
| 136 | |
| 137 | .box-texttab[last-panel="true"], |
| 138 | .box-texttab[last-panel="true"]:hover, |
| 139 | .box-texttab[last-panel="true"]:hover:active, |
| 140 | .box-texttab[last-panel="true"][selected="true"], |
| 141 | .box-texttab[last-panel="true"][selected="true"]:hover, |
| 142 | .box-texttab[last-panel="true"][selected="true"]:hover:active { |
| 143 | border-bottom: none; |
| 144 | } |
| 145 | |
| 146 | .sbtab-label { |
| 147 | margin: 0px !important; |
| 148 | } |
| 149 | |
| 150 | .sbtab-twisty { |
| 151 | margin: 2px 3px 0px; |
| 152 | list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); |
| 153 | } |
| 154 | |
| 155 | .box-texttab:hover > hbox, |
| 156 | .box-texttab:hover:active > hbox { |
| 157 | background-color: #FFCF00; |
| 158 | } |
| 159 | |
| 160 | .box-texttab[last-panel="true"], |
| 161 | .box-texttab[selected="true"] { |
| 162 | margin-bottom: 0px; |
| 163 | } |
| 164 | |
| 165 | .sbtab-twisty[selected="true"] { |
| 166 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); |
| 167 | } |
| 168 | |
| 169 | /* ::::: sidebar navigation buttons ::::: */ |
| 170 | |
| 171 | .sidebar-nav-button { |
| 172 | -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image"); |
| 173 | padding: 5px 0px; |
| 174 | } |
| 175 | |
| 176 | .tab-fwd { |
| 177 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); |
| 178 | } |
| 179 | |
| 180 | .tab-back { |
| 181 | list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); |
| 182 | } |