Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | body { |
michael@0 | 6 | font: -moz-window; |
michael@0 | 7 | color: WindowText; |
michael@0 | 8 | font-size: 12px; |
michael@0 | 9 | } |
michael@0 | 10 | |
michael@0 | 11 | #bg { |
michael@0 | 12 | background-color: window; |
michael@0 | 13 | background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.2)); |
michael@0 | 14 | } |
michael@0 | 15 | |
michael@0 | 16 | /* Tabs |
michael@0 | 17 | ----------------------------------*/ |
michael@0 | 18 | |
michael@0 | 19 | .tab { |
michael@0 | 20 | margin: 4px; |
michael@0 | 21 | padding-top: 4px; |
michael@0 | 22 | -moz-padding-end: 6px; |
michael@0 | 23 | padding-bottom: 6px; |
michael@0 | 24 | -moz-padding-start: 4px; |
michael@0 | 25 | background-color: #D7D7D7; |
michael@0 | 26 | border-radius: 0.4em; |
michael@0 | 27 | cursor: pointer; |
michael@0 | 28 | } |
michael@0 | 29 | |
michael@0 | 30 | html[dir=rtl] .tab { |
michael@0 | 31 | box-shadow: 0 1px 0 #FFFFFF inset, |
michael@0 | 32 | 0 -1px 1px rgba(255, 255, 255, 0.4) inset, |
michael@0 | 33 | -1px 0 1px rgba(255, 255, 255, 0.4) inset, |
michael@0 | 34 | 1px 0 1px rgba(255, 255, 255, 0.4) inset, |
michael@0 | 35 | 0 1px 1.5px rgba(0, 0, 0, 0.4); |
michael@0 | 36 | } |
michael@0 | 37 | |
michael@0 | 38 | .tab canvas, |
michael@0 | 39 | .cached-thumb { |
michael@0 | 40 | border: 1px solid rgba(0,0,0,0.2); |
michael@0 | 41 | } |
michael@0 | 42 | |
michael@0 | 43 | .thumb { |
michael@0 | 44 | box-shadow: 1px 2px 0 rgba(0, 0, 0, 0.2); |
michael@0 | 45 | background-color: white; |
michael@0 | 46 | } |
michael@0 | 47 | |
michael@0 | 48 | html[dir=rtl] .thumb { |
michael@0 | 49 | box-shadow: -1px 2px 0 rgba(0, 0, 0, 0.2); |
michael@0 | 50 | } |
michael@0 | 51 | |
michael@0 | 52 | .favicon { |
michael@0 | 53 | background-color: #D7D7D7; |
michael@0 | 54 | box-shadow: |
michael@0 | 55 | 0 -1px 0 rgba(225, 225, 225, 0.8) inset, |
michael@0 | 56 | -1px 0 0 rgba(225, 225, 225, 0.8) inset; |
michael@0 | 57 | padding-top: 4px; |
michael@0 | 58 | -moz-padding-end: 6px; |
michael@0 | 59 | padding-bottom: 6px; |
michael@0 | 60 | -moz-padding-start: 4px; |
michael@0 | 61 | top: 4px; |
michael@0 | 62 | left: 4px; |
michael@0 | 63 | -moz-border-end: 1px solid rgba(0, 0, 0, 0.3); |
michael@0 | 64 | border-bottom: 1px solid rgba(0, 0, 0, 0.3); |
michael@0 | 65 | height: 16px; |
michael@0 | 66 | width: 16px; |
michael@0 | 67 | } |
michael@0 | 68 | |
michael@0 | 69 | html[dir=ltr] .favicon { |
michael@0 | 70 | border-bottom-right-radius: 0.4em; |
michael@0 | 71 | } |
michael@0 | 72 | |
michael@0 | 73 | html[dir=rtl] .favicon { |
michael@0 | 74 | border-bottom-left-radius: 0.4em; |
michael@0 | 75 | box-shadow: |
michael@0 | 76 | 0 -1px 0 rgba(225, 225, 225, 0.8) inset, |
michael@0 | 77 | 1px 0 0 rgba(225, 225, 225, 0.8) inset; |
michael@0 | 78 | left: auto; |
michael@0 | 79 | right: 2px; |
michael@0 | 80 | } |
michael@0 | 81 | |
michael@0 | 82 | .favicon img { |
michael@0 | 83 | border: none; |
michael@0 | 84 | width: 16px; |
michael@0 | 85 | height: 16px; |
michael@0 | 86 | } |
michael@0 | 87 | |
michael@0 | 88 | .close { |
michael@0 | 89 | top: 6px; |
michael@0 | 90 | right: 6px; |
michael@0 | 91 | width: 16px; |
michael@0 | 92 | height: 16px; |
michael@0 | 93 | opacity: 0.2; |
michael@0 | 94 | background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 16, 16, 0); |
michael@0 | 95 | background-position: center center; |
michael@0 | 96 | background-repeat: no-repeat; |
michael@0 | 97 | } |
michael@0 | 98 | |
michael@0 | 99 | .close:hover { |
michael@0 | 100 | background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 32, 16, 16); |
michael@0 | 101 | } |
michael@0 | 102 | |
michael@0 | 103 | .close:hover:active { |
michael@0 | 104 | background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 48, 16, 32); |
michael@0 | 105 | } |
michael@0 | 106 | |
michael@0 | 107 | html[dir=rtl] .close { |
michael@0 | 108 | right: auto; |
michael@0 | 109 | left: 6px; |
michael@0 | 110 | } |
michael@0 | 111 | |
michael@0 | 112 | .close:hover, |
michael@0 | 113 | .appTabIcon:hover { |
michael@0 | 114 | opacity: 1.0; |
michael@0 | 115 | } |
michael@0 | 116 | |
michael@0 | 117 | .expander { |
michael@0 | 118 | bottom: 8px; |
michael@0 | 119 | right: 6px; |
michael@0 | 120 | width: 16px; |
michael@0 | 121 | height: 16px; |
michael@0 | 122 | background: url(chrome://global/skin/icons/resizer.png) no-repeat; |
michael@0 | 123 | opacity: 0.2; |
michael@0 | 124 | } |
michael@0 | 125 | |
michael@0 | 126 | html[dir=rtl] .expander { |
michael@0 | 127 | right: auto; |
michael@0 | 128 | left: 6px; |
michael@0 | 129 | transform: scaleX(-1); |
michael@0 | 130 | } |
michael@0 | 131 | |
michael@0 | 132 | .expander:hover { |
michael@0 | 133 | opacity: 1.0; |
michael@0 | 134 | } |
michael@0 | 135 | |
michael@0 | 136 | .close:hover, |
michael@0 | 137 | .expander:hover, |
michael@0 | 138 | .appTabIcon:hover { |
michael@0 | 139 | transition-property: opacity; |
michael@0 | 140 | transition-duration: 0.5s; |
michael@0 | 141 | transition-timing-function: ease-out; |
michael@0 | 142 | } |
michael@0 | 143 | |
michael@0 | 144 | .favicon img:hover, |
michael@0 | 145 | .close img:hover, |
michael@0 | 146 | .expander img:hover { |
michael@0 | 147 | opacity: 1; |
michael@0 | 148 | border: none; |
michael@0 | 149 | } |
michael@0 | 150 | |
michael@0 | 151 | .tab-title { |
michael@0 | 152 | top: 100%; |
michael@0 | 153 | text-align: center; |
michael@0 | 154 | width: 94.5%; |
michael@0 | 155 | } |
michael@0 | 156 | |
michael@0 | 157 | .stacked { |
michael@0 | 158 | padding: 0; |
michael@0 | 159 | } |
michael@0 | 160 | |
michael@0 | 161 | .stacked .thumb { |
michael@0 | 162 | box-shadow: rgba(0,0,0,.2) 1px 1px 4px; |
michael@0 | 163 | } |
michael@0 | 164 | |
michael@0 | 165 | html[dir=rtl] .stacked .thumb { |
michael@0 | 166 | box-shadow: rgba(0,0,0,.2) -1px 1px 4px; |
michael@0 | 167 | } |
michael@0 | 168 | |
michael@0 | 169 | .stack-trayed .tab-title { |
michael@0 | 170 | text-shadow: rgba(0,0,0,1) 1px 1px 1.5px; |
michael@0 | 171 | color: #EEE; |
michael@0 | 172 | font-size: 11px; |
michael@0 | 173 | } |
michael@0 | 174 | |
michael@0 | 175 | html[dir=rtl] .stack-trayed .tab-title { |
michael@0 | 176 | text-shadow: rgba(0,0,0,1) -1px 1px 1.5px; |
michael@0 | 177 | } |
michael@0 | 178 | |
michael@0 | 179 | .stack-trayed .thumb { |
michael@0 | 180 | box-shadow: none !important; |
michael@0 | 181 | } |
michael@0 | 182 | |
michael@0 | 183 | .tab.focus { |
michael@0 | 184 | box-shadow: Highlight 0px 0px 5px 1px !important; |
michael@0 | 185 | border: 1px solid Highlight; |
michael@0 | 186 | } |
michael@0 | 187 | |
michael@0 | 188 | /* Tab: Zooming |
michael@0 | 189 | ----------------------------------*/ |
michael@0 | 190 | |
michael@0 | 191 | .front .tab-title, |
michael@0 | 192 | .front .close, |
michael@0 | 193 | .front .favicon, |
michael@0 | 194 | .front .expander, |
michael@0 | 195 | .front .thumb-shadow { |
michael@0 | 196 | display: none; |
michael@0 | 197 | } |
michael@0 | 198 | |
michael@0 | 199 | .front .focus { |
michael@0 | 200 | box-shadow: none !important; |
michael@0 | 201 | } |
michael@0 | 202 | |
michael@0 | 203 | /* Tab GroupItem |
michael@0 | 204 | ----------------------------------*/ |
michael@0 | 205 | |
michael@0 | 206 | .groupItem { |
michael@0 | 207 | cursor: pointer; |
michael@0 | 208 | border: 1px solid rgba(230,230,230,1); |
michael@0 | 209 | background-color: window; |
michael@0 | 210 | background-image: linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0.1)); |
michael@0 | 211 | border-radius: 0.4em; |
michael@0 | 212 | box-shadow: |
michael@0 | 213 | inset rgba(255, 255, 255, 0.6) 0 0 0 2px, |
michael@0 | 214 | rgba(0,0,0,0.2) 1px 1px 3px; |
michael@0 | 215 | } |
michael@0 | 216 | |
michael@0 | 217 | html[dir=rtl] .groupItem { |
michael@0 | 218 | box-shadow: |
michael@0 | 219 | inset rgba(255, 255, 255, 0.6) 0 0 0 2px, |
michael@0 | 220 | rgba(0,0,0,0.2) -1px 1px 3px; |
michael@0 | 221 | } |
michael@0 | 222 | |
michael@0 | 223 | .groupItem.activeGroupItem { |
michael@0 | 224 | box-shadow: |
michael@0 | 225 | rgba(0,0,0,0.8) 2px 2px 8px; |
michael@0 | 226 | } |
michael@0 | 227 | |
michael@0 | 228 | html[dir=rtl] .groupItem.activeGroupItem { |
michael@0 | 229 | box-shadow: |
michael@0 | 230 | rgba(0,0,0,0.8) -2px 2px 8px; |
michael@0 | 231 | } |
michael@0 | 232 | |
michael@0 | 233 | .groupItem .close { |
michael@0 | 234 | z-index: 10; |
michael@0 | 235 | top: 0px; |
michael@0 | 236 | right: 0px; |
michael@0 | 237 | width: 22px; |
michael@0 | 238 | height: 22px; |
michael@0 | 239 | background-position: bottom left; |
michael@0 | 240 | } |
michael@0 | 241 | |
michael@0 | 242 | html[dir=rtl] .groupItem .close { |
michael@0 | 243 | right: auto; |
michael@0 | 244 | left: 0px; |
michael@0 | 245 | background-position: bottom right; |
michael@0 | 246 | } |
michael@0 | 247 | |
michael@0 | 248 | .phantom { |
michael@0 | 249 | border: 1px solid rgba(190,190,190,1); |
michael@0 | 250 | } |
michael@0 | 251 | |
michael@0 | 252 | .dragRegion { |
michael@0 | 253 | background: rgba(248,248,248,0.4); |
michael@0 | 254 | } |
michael@0 | 255 | |
michael@0 | 256 | .overlay { |
michael@0 | 257 | background-color: rgba(0,0,0,.7) !important; |
michael@0 | 258 | box-shadow: 3px 3px 5.5px rgba(0,0,0,.5); |
michael@0 | 259 | border-radius: 0.4em; |
michael@0 | 260 | } |
michael@0 | 261 | |
michael@0 | 262 | html[dir=rtl] .overlay { |
michael@0 | 263 | box-shadow: -3px 3px 5.5px rgba(0,0,0,.5); |
michael@0 | 264 | } |
michael@0 | 265 | |
michael@0 | 266 | .appTabTrayContainer { |
michael@0 | 267 | top: 34px; |
michael@0 | 268 | right: 1px; |
michael@0 | 269 | -moz-border-start: 1px solid #E1E1E1; |
michael@0 | 270 | padding: 0 5px; |
michael@0 | 271 | overflow: -moz-hidden-unscrollable; |
michael@0 | 272 | text-align: start; |
michael@0 | 273 | line-height: 0; |
michael@0 | 274 | } |
michael@0 | 275 | |
michael@0 | 276 | html[dir=rtl] .appTabTrayContainer { |
michael@0 | 277 | right: auto; |
michael@0 | 278 | left: 1px; |
michael@0 | 279 | } |
michael@0 | 280 | |
michael@0 | 281 | .appTabTray { |
michael@0 | 282 | display: inline-block; |
michael@0 | 283 | -moz-column-width: 16px; |
michael@0 | 284 | -moz-column-gap: 5px; |
michael@0 | 285 | } |
michael@0 | 286 | |
michael@0 | 287 | .appTabTrayContainerTruncated { |
michael@0 | 288 | padding-bottom: 7px; |
michael@0 | 289 | } |
michael@0 | 290 | |
michael@0 | 291 | .appTabTrayContainerTruncated:after { |
michael@0 | 292 | content: "…"; |
michael@0 | 293 | position: absolute; |
michael@0 | 294 | bottom: 2px; |
michael@0 | 295 | left: 0; |
michael@0 | 296 | display: block; |
michael@0 | 297 | width: 100%; |
michael@0 | 298 | height: 15px; |
michael@0 | 299 | line-height: 15px; |
michael@0 | 300 | text-align: center; |
michael@0 | 301 | font-size: 15px; |
michael@0 | 302 | } |
michael@0 | 303 | |
michael@0 | 304 | .appTabIcon { |
michael@0 | 305 | width: 16px; |
michael@0 | 306 | height: 16px; |
michael@0 | 307 | cursor: pointer; |
michael@0 | 308 | opacity: 0.8; |
michael@0 | 309 | padding-bottom: 3px; |
michael@0 | 310 | display: block; |
michael@0 | 311 | } |
michael@0 | 312 | |
michael@0 | 313 | .undo { |
michael@0 | 314 | background-color: rgba(0,0,0,.2); |
michael@0 | 315 | padding-top: 3px; |
michael@0 | 316 | padding-bottom: 3px; |
michael@0 | 317 | -moz-padding-start: 5px; |
michael@0 | 318 | -moz-padding-end: 20px; |
michael@0 | 319 | width: 135px; |
michael@0 | 320 | line-height: 25px; |
michael@0 | 321 | box-shadow: 0 1px 0 rgba(255,255,255,.4), 0 1px 0 rgba(0,0,0,.3) inset; |
michael@0 | 322 | text-shadow: 0 1px 0 rgba(255,255,255,.2); |
michael@0 | 323 | color: WindowText; |
michael@0 | 324 | border-radius: 0.4em; |
michael@0 | 325 | text-align: center; |
michael@0 | 326 | border: none; |
michael@0 | 327 | cursor: pointer; |
michael@0 | 328 | } |
michael@0 | 329 | |
michael@0 | 330 | .undo:hover { |
michael@0 | 331 | background-color: rgba(0,0,0,.3); |
michael@0 | 332 | } |
michael@0 | 333 | |
michael@0 | 334 | .undo .close { |
michael@0 | 335 | top: 7px; |
michael@0 | 336 | right: 7px; |
michael@0 | 337 | opacity: 0.5; |
michael@0 | 338 | } |
michael@0 | 339 | |
michael@0 | 340 | html[dir=rtl] .undo .close { |
michael@0 | 341 | right: auto; |
michael@0 | 342 | left: 7px; |
michael@0 | 343 | } |
michael@0 | 344 | |
michael@0 | 345 | .undo .close:hover{ |
michael@0 | 346 | opacity: 1.0; |
michael@0 | 347 | } |
michael@0 | 348 | |
michael@0 | 349 | /* Trenches |
michael@0 | 350 | ----------------------------------*/ |
michael@0 | 351 | |
michael@0 | 352 | .guideTrench { |
michael@0 | 353 | opacity: 0.9; |
michael@0 | 354 | border: 1px dashed rgba(0,0,0,.12); |
michael@0 | 355 | border-bottom: none; |
michael@0 | 356 | -moz-border-end: none; |
michael@0 | 357 | box-shadow: 1px 1px 0 rgba(255,255,255,.15); |
michael@0 | 358 | } |
michael@0 | 359 | |
michael@0 | 360 | html[dir=rtl] .guideTrench { |
michael@0 | 361 | box-shadow: 1px 1px 0 rgba(255,255,255,.15); |
michael@0 | 362 | } |
michael@0 | 363 | |
michael@0 | 364 | .visibleTrench { |
michael@0 | 365 | opacity: 0.05; |
michael@0 | 366 | } |
michael@0 | 367 | |
michael@0 | 368 | .activeVisibleTrench { |
michael@0 | 369 | opacity: 0; |
michael@0 | 370 | } |
michael@0 | 371 | |
michael@0 | 372 | .activeVisibleTrench.activeTrench { |
michael@0 | 373 | opacity: 0.45; |
michael@0 | 374 | } |
michael@0 | 375 | |
michael@0 | 376 | .visibleTrench.border, |
michael@0 | 377 | .activeVisibleTrench.border { |
michael@0 | 378 | background-color: red; |
michael@0 | 379 | } |
michael@0 | 380 | |
michael@0 | 381 | .visibleTrench.guide, |
michael@0 | 382 | .activeVisibleTrench.guide { |
michael@0 | 383 | background-color: blue; |
michael@0 | 384 | } |
michael@0 | 385 | |
michael@0 | 386 | /* Other |
michael@0 | 387 | ----------------------------------*/ |
michael@0 | 388 | |
michael@0 | 389 | .active { |
michael@0 | 390 | box-shadow: 5px 5px 3px rgba(0,0,0,.5); |
michael@0 | 391 | } |
michael@0 | 392 | |
michael@0 | 393 | html[dir=rtl] .active { |
michael@0 | 394 | box-shadow: -5px 5px 3px rgba(0,0,0,.5); |
michael@0 | 395 | } |
michael@0 | 396 | |
michael@0 | 397 | .acceptsDrop { |
michael@0 | 398 | box-shadow: 2px 2px 7px -1px rgba(0,0,0,.6); |
michael@0 | 399 | } |
michael@0 | 400 | |
michael@0 | 401 | html[dir=rtl] .acceptsDrop { |
michael@0 | 402 | box-shadow: -2px 2px 7px -1px rgba(0,0,0,.6); |
michael@0 | 403 | } |
michael@0 | 404 | |
michael@0 | 405 | .titlebar { |
michael@0 | 406 | cursor: move; |
michael@0 | 407 | font-size: 12px; |
michael@0 | 408 | height: 18px; |
michael@0 | 409 | } |
michael@0 | 410 | |
michael@0 | 411 | input.name { |
michael@0 | 412 | background: transparent; |
michael@0 | 413 | border: 1px solid transparent; |
michael@0 | 414 | color: GrayText; |
michael@0 | 415 | margin-top: 3px; |
michael@0 | 416 | -moz-margin-end: 0; |
michael@0 | 417 | margin-bottom: 0; |
michael@0 | 418 | -moz-margin-start: 3px; |
michael@0 | 419 | padding: 1px; |
michael@0 | 420 | } |
michael@0 | 421 | |
michael@0 | 422 | html[dir=rtl] input.name { |
michael@0 | 423 | background-position: right top; |
michael@0 | 424 | } |
michael@0 | 425 | |
michael@0 | 426 | .title-container:hover input.name, |
michael@0 | 427 | .title-container input.name:focus { |
michael@0 | 428 | border: 1px solid #ddd; |
michael@0 | 429 | } |
michael@0 | 430 | |
michael@0 | 431 | .title-container:hover input.name-locked { |
michael@0 | 432 | border: 1px solid transparent !important; |
michael@0 | 433 | cursor: default; |
michael@0 | 434 | } |
michael@0 | 435 | |
michael@0 | 436 | input.name:focus { |
michael@0 | 437 | color: WindowText; |
michael@0 | 438 | } |
michael@0 | 439 | |
michael@0 | 440 | input.name::-moz-placeholder { |
michael@0 | 441 | opacity: 1.0; |
michael@0 | 442 | font-style: italic !important; |
michael@0 | 443 | color: transparent; |
michael@0 | 444 | background-image: url(chrome://browser/skin/tabview/edit-light.png); |
michael@0 | 445 | background-repeat: no-repeat; |
michael@0 | 446 | } |
michael@0 | 447 | |
michael@0 | 448 | .title-container:hover input.name::-moz-placeholder { |
michael@0 | 449 | color: GrayText; |
michael@0 | 450 | background-image: none; |
michael@0 | 451 | } |
michael@0 | 452 | |
michael@0 | 453 | input.name:focus::-moz-placeholder { |
michael@0 | 454 | background-image: none; |
michael@0 | 455 | } |
michael@0 | 456 | |
michael@0 | 457 | .title-shield { |
michael@0 | 458 | margin-top: 3px; |
michael@0 | 459 | -moz-margin-end: 0; |
michael@0 | 460 | margin-bottom: 0; |
michael@0 | 461 | -moz-margin-start: 3px; |
michael@0 | 462 | padding: 1px; |
michael@0 | 463 | left: 0; |
michael@0 | 464 | top: 0; |
michael@0 | 465 | height: 100%; |
michael@0 | 466 | width: -moz-available; |
michael@0 | 467 | cursor: text; |
michael@0 | 468 | } |
michael@0 | 469 | |
michael@0 | 470 | html[dir=rtl] .title-shield { |
michael@0 | 471 | left: auto; |
michael@0 | 472 | right: 0; |
michael@0 | 473 | } |
michael@0 | 474 | |
michael@0 | 475 | .transparentBorder { |
michael@0 | 476 | border: 1px solid transparent !important; |
michael@0 | 477 | } |
michael@0 | 478 | |
michael@0 | 479 | .stackExpander { |
michael@0 | 480 | cursor: pointer; |
michael@0 | 481 | bottom: 8px; |
michael@0 | 482 | background-image: -moz-image-rect(url(chrome://browser/skin/tabview/stack-expander.png), 0, 48, 24, 24); |
michael@0 | 483 | width: 24px; |
michael@0 | 484 | height: 24px; |
michael@0 | 485 | } |
michael@0 | 486 | |
michael@0 | 487 | .stackExpander:hover { |
michael@0 | 488 | background-image: -moz-image-rect(url(chrome://browser/skin/tabview/stack-expander.png), 0, 24, 24, 0); |
michael@0 | 489 | } |
michael@0 | 490 | |
michael@0 | 491 | /* Resizable |
michael@0 | 492 | ----------------------------------*/ |
michael@0 | 493 | .resizer { |
michael@0 | 494 | background-image: url(chrome://global/skin/icons/resizer.png); |
michael@0 | 495 | width: 16px; |
michael@0 | 496 | height: 16px; |
michael@0 | 497 | bottom: 0px; |
michael@0 | 498 | right: 0px; |
michael@0 | 499 | opacity: .2; |
michael@0 | 500 | } |
michael@0 | 501 | |
michael@0 | 502 | html[dir=rtl] .resizer { |
michael@0 | 503 | right: auto; |
michael@0 | 504 | left: 0; |
michael@0 | 505 | transform: scaleX(-1); |
michael@0 | 506 | } |
michael@0 | 507 | |
michael@0 | 508 | .iq-resizable-handle { |
michael@0 | 509 | font-size: 0.1px; |
michael@0 | 510 | } |
michael@0 | 511 | |
michael@0 | 512 | .iq-resizable-se { |
michael@0 | 513 | cursor: se-resize; |
michael@0 | 514 | width: 12px; |
michael@0 | 515 | height: 12px; |
michael@0 | 516 | padding-right: 3px; |
michael@0 | 517 | padding-bottom: 3px; |
michael@0 | 518 | right: -2px; |
michael@0 | 519 | bottom: -2px; |
michael@0 | 520 | } |
michael@0 | 521 | |
michael@0 | 522 | html[dir=rtl] .iq-resizable-se { |
michael@0 | 523 | cursor: sw-resize; |
michael@0 | 524 | right: auto; |
michael@0 | 525 | left: 1px; |
michael@0 | 526 | } |
michael@0 | 527 | |
michael@0 | 528 | /* Exit button |
michael@0 | 529 | +----------------------------------*/ |
michael@0 | 530 | #exit-button { |
michael@0 | 531 | width: 16px; |
michael@0 | 532 | height: 16px; |
michael@0 | 533 | -moz-margin-end: 8px; |
michael@0 | 534 | margin-top: 5px; |
michael@0 | 535 | background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 80, 16, 64); |
michael@0 | 536 | background-attachment: scroll; |
michael@0 | 537 | background-repeat: no-repeat; |
michael@0 | 538 | border: none; |
michael@0 | 539 | } |
michael@0 | 540 | |
michael@0 | 541 | #exit-button[groups="0"] { |
michael@0 | 542 | background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 16, 16, 0); |
michael@0 | 543 | } |
michael@0 | 544 | |
michael@0 | 545 | #exit-button[groups="1"] { |
michael@0 | 546 | background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 32, 16, 16); |
michael@0 | 547 | } |
michael@0 | 548 | |
michael@0 | 549 | #exit-button[groups="2"] { |
michael@0 | 550 | background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 48, 16, 32); |
michael@0 | 551 | } |
michael@0 | 552 | |
michael@0 | 553 | #exit-button[groups="3"] { |
michael@0 | 554 | background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 64, 16, 48); |
michael@0 | 555 | } |
michael@0 | 556 | |
michael@0 | 557 | /* Search |
michael@0 | 558 | ----------------------------------*/ |
michael@0 | 559 | #searchshade{ |
michael@0 | 560 | background-color: rgba(0,0,0,.42); |
michael@0 | 561 | width: 100%; |
michael@0 | 562 | height: 100%; |
michael@0 | 563 | } |
michael@0 | 564 | |
michael@0 | 565 | #search{ |
michael@0 | 566 | width: 100%; |
michael@0 | 567 | height: 100%; |
michael@0 | 568 | } |
michael@0 | 569 | |
michael@0 | 570 | #searchbox{ |
michael@0 | 571 | width: 270px; |
michael@0 | 572 | max-width: -moz-available; |
michael@0 | 573 | -moz-margin-start: 20px; |
michael@0 | 574 | height: 30px; |
michael@0 | 575 | box-shadow: 0px 1px 0px rgba(255,255,255,.5), 0px -1px 0px rgba(0,0,0,1), 0px 0px 9px rgba(0,0,0,.8); |
michael@0 | 576 | color: white; |
michael@0 | 577 | border: none; |
michael@0 | 578 | background-color: #272727; |
michael@0 | 579 | border-radius: 0.4em; |
michael@0 | 580 | -moz-padding-start: 5px; |
michael@0 | 581 | -moz-padding-end: 5px; |
michael@0 | 582 | font-size: 14px; |
michael@0 | 583 | } |
michael@0 | 584 | |
michael@0 | 585 | #actions{ |
michael@0 | 586 | top: -3px; |
michael@0 | 587 | padding-top: 3px; |
michael@0 | 588 | width: 29px; |
michael@0 | 589 | text-align: center; |
michael@0 | 590 | border: 1px solid rgba(230,230,230,1); |
michael@0 | 591 | background-color: rgba(248,248,248,1); |
michael@0 | 592 | border-radius: 0.4em; |
michael@0 | 593 | box-shadow: |
michael@0 | 594 | inset rgba(255, 255, 255, 0.6) 0 0 0 2px, |
michael@0 | 595 | rgba(0,0,0,0.2) 1px 1px 3px; |
michael@0 | 596 | } |
michael@0 | 597 | |
michael@0 | 598 | html[dir=rtl] #actions { |
michael@0 | 599 | box-shadow: |
michael@0 | 600 | inset rgba(255, 255, 255, 0.6) 0 0 0 2px, |
michael@0 | 601 | rgba(0,0,0,0.2) -1px 1px 3px; |
michael@0 | 602 | } |
michael@0 | 603 | |
michael@0 | 604 | #actions #searchbutton{ |
michael@0 | 605 | background: transparent url(chrome://browser/skin/tabview/search.png) no-repeat; |
michael@0 | 606 | border: none; |
michael@0 | 607 | width: 20px; |
michael@0 | 608 | height: 20px; |
michael@0 | 609 | margin-top: 3px; |
michael@0 | 610 | -moz-margin-end: 1px; |
michael@0 | 611 | } |
michael@0 | 612 | |
michael@0 | 613 | .notMainMatch{ |
michael@0 | 614 | opacity: .70; |
michael@0 | 615 | } |
michael@0 | 616 | |
michael@0 | 617 | #otherresults { |
michael@0 | 618 | left: 0px; |
michael@0 | 619 | bottom: 0px; |
michael@0 | 620 | width: 100%; |
michael@0 | 621 | height: 30px; |
michael@0 | 622 | background-color: rgba(0,0,0,.3); |
michael@0 | 623 | box-shadow: 0px -1px 0px rgba(255,255,255,.1), inset 0px 2px 5px rgba(0,0,0,.3); |
michael@0 | 624 | } |
michael@0 | 625 | |
michael@0 | 626 | html[dir=rtl] #otherresults { |
michael@0 | 627 | left: auto; |
michael@0 | 628 | right: 0; |
michael@0 | 629 | } |
michael@0 | 630 | |
michael@0 | 631 | #otherresults .label { |
michael@0 | 632 | color: #999; |
michael@0 | 633 | line-height: 30px; |
michael@0 | 634 | -moz-margin-start: 5px; |
michael@0 | 635 | -moz-margin-end: 5px; |
michael@0 | 636 | } |
michael@0 | 637 | |
michael@0 | 638 | .inlineMatch { |
michael@0 | 639 | background-color: #EBEBEB; |
michael@0 | 640 | border-radius: 0.4em; |
michael@0 | 641 | box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); |
michael@0 | 642 | border: 1px solid rgba(255, 255, 255, 0.5); |
michael@0 | 643 | -moz-padding-start: 3px; |
michael@0 | 644 | -moz-padding-end: 3px; |
michael@0 | 645 | height: 20px; |
michael@0 | 646 | -moz-margin-end: 5px; |
michael@0 | 647 | cursor: pointer; |
michael@0 | 648 | } |
michael@0 | 649 | |
michael@0 | 650 | .inlineMatch:hover { |
michael@0 | 651 | opacity: 1.0; |
michael@0 | 652 | } |
michael@0 | 653 | |
michael@0 | 654 | .inlineMatch > img { |
michael@0 | 655 | -moz-margin-end: 5px; |
michael@0 | 656 | position: relative; |
michael@0 | 657 | top: 2px; |
michael@0 | 658 | width: 16px; |
michael@0 | 659 | height: 16px; |
michael@0 | 660 | } |
michael@0 | 661 | |
michael@0 | 662 | .inlineMatch > span { |
michael@0 | 663 | max-width: 200px; |
michael@0 | 664 | height: 15px; |
michael@0 | 665 | } |
michael@0 | 666 |