browser/components/tabview/tabview.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

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 /* Platform-independent structural styling for
michael@0 6 * <strike>Tab Candy</strike> Panorama
michael@0 7 ----------------------------------*/
michael@0 8
michael@0 9 html {
michael@0 10 overflow: hidden;
michael@0 11 /* image-rendering: -moz-crisp-edges; */
michael@0 12 }
michael@0 13
michael@0 14 body {
michael@0 15 padding: 0px;
michael@0 16 margin: 0 auto;
michael@0 17 }
michael@0 18
michael@0 19 #content {
michael@0 20 overflow: -moz-hidden-unscrollable;
michael@0 21 position: absolute;
michael@0 22 top: 0;
michael@0 23 left: 0;
michael@0 24 width: 100%;
michael@0 25 height: 100%;
michael@0 26 }
michael@0 27
michael@0 28 #bg {
michael@0 29 position: absolute;
michael@0 30 top: 0;
michael@0 31 left: 0;
michael@0 32 width: 100%;
michael@0 33 height: 100%;
michael@0 34 z-index: -999999;
michael@0 35 }
michael@0 36
michael@0 37 /* Tabs
michael@0 38 ----------------------------------*/
michael@0 39
michael@0 40 .tab {
michael@0 41 position: absolute;
michael@0 42 overflow: visible !important;
michael@0 43 }
michael@0 44
michael@0 45 .tab canvas,
michael@0 46 .cached-thumb {
michael@0 47 width: 100%;
michael@0 48 height: 100%;
michael@0 49 position: absolute;
michael@0 50 top: 0px;
michael@0 51 left: 0px;
michael@0 52 }
michael@0 53
michael@0 54 .tabHidden {
michael@0 55 display: none;
michael@0 56 }
michael@0 57
michael@0 58 .thumb {
michael@0 59 position: relative;
michael@0 60 width: 100%;
michael@0 61 height: 100%;
michael@0 62 }
michael@0 63
michael@0 64 .favicon {
michael@0 65 position: absolute;
michael@0 66 }
michael@0 67
michael@0 68 .close {
michael@0 69 position: absolute;
michael@0 70 cursor: pointer;
michael@0 71 }
michael@0 72
michael@0 73 .expander {
michael@0 74 position: absolute;
michael@0 75 }
michael@0 76
michael@0 77 .tab-title {
michael@0 78 position: absolute;
michael@0 79 overflow: hidden;
michael@0 80 text-overflow: ellipsis;
michael@0 81 white-space: nowrap;
michael@0 82 }
michael@0 83
michael@0 84 .stacked .tab-title {
michael@0 85 display: none;
michael@0 86 }
michael@0 87
michael@0 88 .stack-trayed .tab-title {
michael@0 89 display: block !important;
michael@0 90 }
michael@0 91
michael@0 92 /* Tab: Zooming
michael@0 93 ----------------------------------*/
michael@0 94
michael@0 95 .front {
michael@0 96 z-index: 999999 !important;
michael@0 97 image-rendering: -moz-crisp-edges;
michael@0 98 }
michael@0 99
michael@0 100 .front canvas {
michael@0 101 border: none !important;
michael@0 102 padding: 1px !important;
michael@0 103 }
michael@0 104
michael@0 105 /* Groups
michael@0 106 ----------------------------------*/
michael@0 107
michael@0 108 .groupItem {
michael@0 109 position: absolute;
michael@0 110 }
michael@0 111
michael@0 112 .appTabTrayContainer {
michael@0 113 position: absolute;
michael@0 114 }
michael@0 115
michael@0 116 .title-container {
michael@0 117 /* We want the title container to leave out width, position of the .close
michael@0 118 button and space between input and .close button. Keep an eye on LTR and
michael@0 119 RTL differences in .close. */
michael@0 120 width: calc(100% - 16px - 6px - 6px);
michael@0 121 }
michael@0 122
michael@0 123 input.name {
michael@0 124 text-overflow: ellipsis;
michael@0 125 width: -moz-available;
michael@0 126 }
michael@0 127
michael@0 128 input.name:focus {
michael@0 129 text-overflow: clip;
michael@0 130 }
michael@0 131
michael@0 132 /* Other Items
michael@0 133 ----------------------------------*/
michael@0 134
michael@0 135 .undo {
michael@0 136 position: absolute;
michael@0 137 }
michael@0 138
michael@0 139 /* Trenches
michael@0 140 ----------------------------------*/
michael@0 141
michael@0 142 .guideTrench,
michael@0 143 .visibleTrench,
michael@0 144 .activeVisibleTrench {
michael@0 145 position: absolute;
michael@0 146 }
michael@0 147
michael@0 148 .guideTrench {
michael@0 149 z-index: -101;
michael@0 150 }
michael@0 151
michael@0 152 .visibleTrench {
michael@0 153 z-index: -103;
michael@0 154 }
michael@0 155
michael@0 156 .activeVisibleTrench {
michael@0 157 z-index: -102;
michael@0 158 }
michael@0 159
michael@0 160 /* Other
michael@0 161 ----------------------------------*/
michael@0 162
michael@0 163 .titlebar {
michael@0 164 position: absolute;
michael@0 165 }
michael@0 166
michael@0 167 .title-shield {
michael@0 168 position: absolute;
michael@0 169 left: 0;
michael@0 170 top: 0;
michael@0 171 width: 100%;
michael@0 172 height: 100%;
michael@0 173 z-index: 10;
michael@0 174 }
michael@0 175
michael@0 176 .transparentBorder {
michael@0 177 border: 1px solid transparent !important;
michael@0 178 }
michael@0 179
michael@0 180 .stackExpander {
michael@0 181 position: absolute;
michael@0 182 }
michael@0 183
michael@0 184 .shield {
michael@0 185 left: 0;
michael@0 186 top: 0;
michael@0 187 width: 100%;
michael@0 188 height: 100%;
michael@0 189 position: absolute;
michael@0 190 }
michael@0 191
michael@0 192 .banner {
michael@0 193 left: 0;
michael@0 194 bottom: 0;
michael@0 195 right: 0;
michael@0 196 padding: 10px 0;
michael@0 197 position: absolute;
michael@0 198 z-index: 1000060;
michael@0 199 background: #000;
michael@0 200 color: #fff;
michael@0 201 opacity: 0;
michael@0 202 text-align: center;
michael@0 203 font-weight: 700;
michael@0 204 }
michael@0 205
michael@0 206 /* Resizable
michael@0 207 ----------------------------------*/
michael@0 208 .resizer {
michael@0 209 position: absolute;
michael@0 210 }
michael@0 211
michael@0 212 .iq-resizable-handle {
michael@0 213 position: absolute;
michael@0 214 z-index: 99999;
michael@0 215 display: block;
michael@0 216 }
michael@0 217
michael@0 218 .iq-resizable-disabled .iq-resizable-handle,
michael@0 219 .iq-resizable-autohide .iq-resizable-handle {
michael@0 220 display: none;
michael@0 221 }
michael@0 222
michael@0 223 /* Search
michael@0 224 ----------------------------------*/
michael@0 225 #searchshade{
michael@0 226 position: absolute;
michael@0 227 top: 0px;
michael@0 228 left: 0px;
michael@0 229 z-index: 1000001;
michael@0 230 }
michael@0 231
michael@0 232 #search{
michael@0 233 position: absolute;
michael@0 234 top: 0px;
michael@0 235 left: 0px;
michael@0 236 pointer-events: none;
michael@0 237 z-index: 1000050;
michael@0 238 }
michael@0 239
michael@0 240 html[dir=rtl] #search {
michael@0 241 left: auto;
michael@0 242 right: 0;
michael@0 243 }
michael@0 244
michael@0 245 #searchbox{
michael@0 246 position: absolute;
michael@0 247 right: 20px;
michael@0 248 top: 20px;
michael@0 249 pointer-events: auto;
michael@0 250 }
michael@0 251
michael@0 252 html[dir=rtl] #searchbox {
michael@0 253 right: auto;
michael@0 254 left: 20px;
michael@0 255 }
michael@0 256
michael@0 257 #actions{
michael@0 258 position: absolute;
michael@0 259 top: 0px;
michael@0 260 right: -3px;
michael@0 261 z-index: 1000000;
michael@0 262 }
michael@0 263
michael@0 264 html[dir=rtl] #actions {
michael@0 265 right: auto;
michael@0 266 left: -3px;
michael@0 267 }
michael@0 268
michael@0 269 #otherresults{
michael@0 270 position: absolute;
michael@0 271 opacity: 0;
michael@0 272 overflow: hidden;
michael@0 273 }
michael@0 274
michael@0 275 .onTop{
michael@0 276 z-index: 1000010 !important;
michael@0 277 }
michael@0 278
michael@0 279 .inlineMatch{
michael@0 280 display: inline-block;
michael@0 281 pointer-events: auto;
michael@0 282 }
michael@0 283
michael@0 284 .inlineMatch>span{
michael@0 285 display: inline-block;
michael@0 286 overflow: hidden;
michael@0 287 }

mercurial