Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 3 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 5 */ | 4 */ |
| 6 | 5 |
| 7 /* Outer frame of the dialog. */ | 6 /* Outer frame of the dialog. */ |
| 8 body { | 7 body { |
| 9 -webkit-box-flex: 1; | 8 -webkit-box-flex: 1; |
| 10 -webkit-box-orient: vertical; | 9 -webkit-box-orient: vertical; |
| 11 -webkit-transition: opacity 70ms linear; | 10 -webkit-transition: opacity 70ms linear; |
| 12 -webkit-user-select: none; | 11 -webkit-user-select: none; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 57 button[disabled]:hover, | 56 button[disabled]:hover, |
| 58 input[type='button'][disabled]:hover, | 57 input[type='button'][disabled]:hover, |
| 59 input[type='submit'][disabled]:hover { | 58 input[type='submit'][disabled]:hover { |
| 60 -webkit-box-shadow: none; | 59 -webkit-box-shadow: none; |
| 61 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); | 60 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); |
| 62 border-color: #aaa; | 61 border-color: #aaa; |
| 63 color: #888; | 62 color: #888; |
| 64 } | 63 } |
| 65 | 64 |
| 66 /* Drop opacity of selected rows to give a visual feedback on copy/cut | 65 /* Drop opacity of selected rows to give a visual feedback on copy/cut |
| 67 * operation.*/ | 66 * operation. */ |
| 68 .blink{ | 67 .blink { |
| 69 opacity: 0.8; | 68 opacity: 0.8; |
| 70 } | 69 } |
| 71 | 70 |
| 72 .butter-bar { | 71 .butter-bar { |
| 73 -webkit-box-align: end; | 72 -webkit-box-align: end; |
| 74 -webkit-box-orient: horizontal; | 73 -webkit-box-orient: horizontal; |
| 75 -webkit-transform: translate3d(0, 1px, 0); | 74 -webkit-transform: translate3d(0, 1px, 0); |
| 75 -webkit-transition-duration: 300ms; | |
| 76 -webkit-transition-property: opacity, -webkit-transform; | 76 -webkit-transition-property: opacity, -webkit-transform; |
| 77 -webkit-transition-duration: 300ms; | |
| 78 background-color: rgba(95, 95, 95, 0.17); | 77 background-color: rgba(95, 95, 95, 0.17); |
| 79 color: #222; | 78 color: #222; |
| 80 display: -webkit-box; | 79 display: -webkit-box; |
| 81 padding-left: 1em; | 80 padding-left: 1em; |
| 82 padding-right: 1em; | 81 padding-right: 1em; |
| 83 padding-top: 2px; | 82 padding-top: 2px; |
| 84 position: absolute; | 83 position: absolute; |
| 85 top: 0; | 84 top: 0; |
| 86 } | 85 } |
| 87 | 86 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 127 } | 126 } |
| 128 | 127 |
| 129 .progress-bar { | 128 .progress-bar { |
| 130 border: 1px solid #999; | 129 border: 1px solid #999; |
| 131 margin-top: 3px; | 130 margin-top: 3px; |
| 132 padding: 1px; | 131 padding: 1px; |
| 133 width: 320px; | 132 width: 320px; |
| 134 } | 133 } |
| 135 | 134 |
| 136 .progress-track { | 135 .progress-track { |
| 136 -webkit-animation-duration: 800ms; | |
| 137 -webkit-animation-iteration-count: infinite; | |
| 137 -webkit-animation-name: bg; | 138 -webkit-animation-name: bg; |
| 138 -webkit-animation-duration: 0.8s; | |
| 139 -webkit-animation-iteration-count: infinite; | |
| 140 -webkit-animation-timing-function: linear; | 139 -webkit-animation-timing-function: linear; |
| 141 background-color:#ccc; | 140 background-color: #ccc; |
| 142 background-image: -webkit-linear-gradient(315deg, transparent, | 141 background-image: -webkit-linear-gradient(315deg, transparent, |
| 143 transparent 33%, rgba(0,0,0,0.12) 33%, rgba(0,0,0,0.12) 66%, | 142 transparent 33%, rgba(0,0,0,0.12) 33%, rgba(0,0,0,0.12) 66%, |
| 144 transparent 66%, transparent); | 143 transparent 66%, transparent); |
| 145 background-position: 0 0; | 144 background-position: 0 0; |
| 146 background-repeat: repeat-x; | 145 background-repeat: repeat-x; |
| 147 background-size: 16px 8px; | 146 background-size: 16px 8px; |
| 148 height: 5px; | 147 height: 5px; |
| 149 } | 148 } |
| 150 | 149 |
| 151 @-webkit-keyframes bg { | 150 @-webkit-keyframes bg { |
| 152 0% { background-position:0 0; } | 151 0% { background-position: 0 0; } |
| 153 100% { background-position:-16px 0; } | 152 100% { background-position: -16px 0; } |
| 154 } | 153 } |
| 155 | 154 |
| 156 /* The top title of the dialog. */ | 155 /* The top title of the dialog. */ |
| 157 .dialog-title { | 156 .dialog-title { |
| 158 -webkit-box-sizing: border-box; | 157 -webkit-box-sizing: border-box; |
| 159 -webkit-padding-start: 15px; | 158 -webkit-padding-start: 15px; |
| 160 background-image: -webkit-linear-gradient(top, #fff,#f6f6f6); | 159 background-image: -webkit-linear-gradient(top, #fff,#f6f6f6); |
|
SeRya
2012/04/02 09:50:22
space after comma
Dan Beam
2012/04/02 16:47:10
Done.
| |
| 161 border-bottom: 1px #d6d9e3 solid; | 160 border-bottom: 1px rgb(214, 217, 227) solid; |
| 162 color: #42506c; | 161 color: rgb(66, 80, 108); |
| 163 font-size: 15px; | 162 font-size: 15px; |
| 164 font-weight: bold; | 163 font-weight: bold; |
| 165 height: 32px; | 164 height: 32px; |
| 165 padding-bottom: 8px; | |
| 166 padding-top: 8px; | 166 padding-top: 8px; |
| 167 padding-bottom: 8px; | |
| 168 } | 167 } |
| 169 | 168 |
| 170 /* Main part of the dialog between header and footer. */ | 169 /* Main part of the dialog between header and footer. */ |
| 171 .dialog-container { | 170 .dialog-container { |
| 171 -webkit-box-align: stretch; | |
| 172 -webkit-box-flex: 1; | |
| 173 -webkit-box-orient: horizontal; | |
| 174 display: -webkit-box; | |
| 175 overflow: hidden; | |
| 172 position: relative; | 176 position: relative; |
| 173 display: -webkit-box; | |
| 174 -webkit-box-orient: horizontal; | |
| 175 -webkit-box-align: stretch; | |
| 176 overflow: hidden; | |
| 177 -webkit-box-flex: 1; | |
| 178 } | 177 } |
| 179 | 178 |
| 180 /* List/grid and preview are inside this container. */ | 179 /* List/grid and preview are inside this container. */ |
| 181 .dialog-main { | 180 .dialog-main { |
| 181 -webkit-box-align: stretch; | |
| 182 -webkit-box-flex: 1; | 182 -webkit-box-flex: 1; |
| 183 display:-webkit-box; | |
| 184 -webkit-box-orient: vertical; | 183 -webkit-box-orient: vertical; |
| 185 -webkit-box-align: stretch; | 184 display: -webkit-box; |
| 186 } | 185 } |
| 187 | 186 |
| 188 /* Roots list at the left. */ | 187 /* Roots list at the left. */ |
| 189 .dialog-sidebar { | 188 .dialog-sidebar { |
| 189 -webkit-box-flex: 0; | |
| 190 -webkit-transition: margin-left 180ms ease; | |
| 191 background-color: #e6e6e6; | |
| 192 margin-left: -168px; | |
| 193 overflow: hidden; | |
| 190 position: relative; | 194 position: relative; |
| 191 -webkit-box-flex: 0; | |
| 192 width: 168px; | 195 width: 168px; |
| 193 margin-left: -168px; | |
| 194 background-color: #e6e6e6; | |
| 195 -webkit-transition: margin-left 180ms ease; | |
| 196 overflow: hidden; | |
| 197 } | 196 } |
| 198 | 197 |
| 199 .dialog-container[sidebar] .dialog-sidebar { | 198 .dialog-container[sidebar] .dialog-sidebar { |
| 200 margin-left: 0; | 199 margin-left: 0; |
| 201 } | 200 } |
| 202 | 201 |
| 203 /* Roots list at the left. */ | 202 /* Roots list at the left. */ |
| 204 list.roots-list { | 203 list.roots-list { |
| 205 border-right: 1px solid #d2d2d2; | 204 border-right: 1px solid #d2d2d2; |
| 206 } | 205 } |
| 207 | 206 |
| 208 list.roots-list > * { | 207 list.roots-list > * { |
| 208 background-color: #e6e6e6; | |
| 209 border: none; | 209 border: none; |
| 210 border-radius: 0; | 210 border-radius: 0; |
| 211 height: 39px; | 211 height: 39px; |
| 212 margin: 0; | 212 margin: 0; |
| 213 padding: 0 5px; | 213 padding: 0 5px; |
| 214 background-color: #e6e6e6; | |
| 215 } | 214 } |
| 216 | 215 |
| 217 list.roots-list > [lead][selected], | 216 list.roots-list > [lead][selected], |
| 218 list.roots-list > [lead], | 217 list.roots-list > [lead], |
| 219 list.roots-list > [selected], | 218 list.roots-list > [selected], |
| 220 list.roots-list > [anchor] { | 219 list.roots-list > [anchor] { |
| 221 background-color: #ccdbf3; | 220 background-color: rgb(204, 219, 243); |
| 222 background-image: none; | 221 background-image: none; |
| 222 border-bottom: 1px solid rgb(195, 210, 233); | |
| 223 border-top: 1px solid rgb(195, 210, 233); | |
| 223 height: 37px; | 224 height: 37px; |
| 224 border-top: 1px solid #c3d2e9; | |
| 225 border-bottom: 1px solid #c3d2e9; | |
| 226 } | 225 } |
| 227 | 226 |
| 228 list.roots-list > [lead]:hover, | 227 list.roots-list > [lead]:hover, |
| 229 list.roots-list > [lead][selected]:hover, | 228 list.roots-list > [lead][selected]:hover, |
| 230 list.roots-list > [selected]:hover, | 229 list.roots-list > [selected]:hover, |
| 231 list.roots-list > [anchor]:hover { | 230 list.roots-list > [anchor]:hover { |
| 231 background-color: rgb(193, 211, 236) !important; | |
| 232 border-bottom: 1px solid transparent !important; | |
| 233 border-top: 1px solid transparent !important; | |
| 232 height: 37px !important; | 234 height: 37px !important; |
| 233 background-color: #c1d3ec !important; | |
| 234 border-top: 1px solid transparent !important; | |
| 235 border-bottom: 1px solid transparent !important; | |
| 236 } | 235 } |
| 237 | 236 |
| 238 | |
| 239 | |
| 240 list.roots-list li.root-item { | 237 list.roots-list li.root-item { |
| 238 -webkit-box-align: center; | |
| 241 display: -webkit-box; | 239 display: -webkit-box; |
| 242 -webkit-box-align: center; | |
| 243 padding-left: 11px; | 240 padding-left: 11px; |
| 244 } | 241 } |
| 245 | 242 |
| 246 li.root-item > * { | 243 li.root-item > * { |
| 247 display: block; | 244 display: block; |
| 248 margin-right: 5px; | 245 margin-right: 5px; |
| 249 } | 246 } |
| 250 | 247 |
| 251 li.root-item > .root-label { | 248 li.root-item > .root-label { |
| 252 max-width: 90px; | 249 max-width: 90px; |
| 253 overflow: hidden; | 250 overflow: hidden; |
| 254 text-overflow: ellipsis; | 251 text-overflow: ellipsis; |
| 255 white-space: nowrap; | 252 white-space: nowrap; |
| 256 } | 253 } |
| 257 | 254 |
| 258 li.root-item > .spacer { | 255 li.root-item > .spacer { |
| 259 -webkit-box-flex: 1; | 256 -webkit-box-flex: 1; |
| 260 } | 257 } |
| 261 | 258 |
| 262 .root-label { | 259 .root-label { |
| 263 -webkit-padding-start: 38px; | 260 -webkit-padding-start: 38px; |
| 261 background-position: left center; | |
| 264 background-repeat: no-repeat; | 262 background-repeat: no-repeat; |
| 263 } | |
| 264 | |
| 265 .breadcrumbs .root-label { | |
| 266 -webkit-padding-start: 34px; | |
| 265 background-position: left center; | 267 background-position: left center; |
| 266 } | 268 } |
| 267 | 269 |
| 268 .breadcrumbs .root-label { | |
| 269 background-position: left center; | |
| 270 -webkit-padding-start: 34px; | |
| 271 } | |
| 272 | |
| 273 .root-label[icon=downloads] { | 270 .root-label[icon=downloads] { |
| 274 background-image: url('../images/downloads_28x28.png'); | 271 background-image: url('../images/downloads_28x28.png'); |
| 275 } | 272 } |
| 276 | 273 |
| 277 .breadcrumbs .root-label[icon=downloads] { | 274 .breadcrumbs .root-label[icon=downloads] { |
| 278 background-image: url('../images/downloads_24x24.png'); | 275 background-image: url('../images/downloads_24x24.png'); |
| 279 } | 276 } |
| 280 | 277 |
| 281 .root-label[icon=gdata] { | 278 .root-label[icon=gdata] { |
| 282 background-image: url('../images/gdata_28x28.png'); | 279 background-image: url('../images/gdata_28x28.png'); |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 303 .breadcrumbs .root-label[icon=removable] { | 300 .breadcrumbs .root-label[icon=removable] { |
| 304 background-image: url('../images/usb_source_24x24.png'); | 301 background-image: url('../images/usb_source_24x24.png'); |
| 305 } | 302 } |
| 306 | 303 |
| 307 .dialog-container[sidebar] .breadcrumbs .root-label { | 304 .dialog-container[sidebar] .breadcrumbs .root-label { |
| 308 -webkit-padding-start: 0; | 305 -webkit-padding-start: 0; |
| 309 background-image: none; | 306 background-image: none; |
| 310 } | 307 } |
| 311 | 308 |
| 312 div.root-eject { | 309 div.root-eject { |
| 313 opacity: 0.5; | 310 -webkit-transition: opacity 70ms linear; |
| 314 cursor: pointer; | |
| 315 width: 20px; | |
| 316 height: 20px; | |
| 317 margin-right: 3px; | |
| 318 margin-bottom: 2px; | |
| 319 background-image: url('../images/eject.png'); | 311 background-image: url('../images/eject.png'); |
| 320 background-position: center center; | 312 background-position: center center; |
| 321 background-repeat: no-repeat; | 313 background-repeat: no-repeat; |
| 322 background-size: 10px 8px; | 314 background-size: 10px 8px; |
| 323 -webkit-transition: opacity 70ms linear; | 315 cursor: pointer; |
| 316 height: 20px; | |
| 317 margin-bottom: 2px; | |
| 318 margin-right: 3px; | |
| 319 opacity: 0.5; | |
| 320 width: 20px; | |
| 324 } | 321 } |
| 325 | 322 |
| 326 div.root-eject:hover { | 323 div.root-eject:hover { |
| 327 opacity: 1; | 324 opacity: 1; |
| 328 } | 325 } |
| 329 | 326 |
| 330 /* Breadcrumbs and things under the title but above the list view. */ | 327 /* Breadcrumbs and things under the title but above the list view. */ |
| 331 .dialog-header { | 328 .dialog-header { |
| 329 -webkit-box-align: center; | |
| 332 -webkit-box-orient: horizontal; | 330 -webkit-box-orient: horizontal; |
| 333 -webkit-box-align: center; | 331 -webkit-transition: all 180ms ease; |
| 334 display: -webkit-box; | 332 display: -webkit-box; |
| 333 margin-bottom: 7px; | |
| 335 margin-right: 10px; | 334 margin-right: 10px; |
| 336 margin-bottom: 7px; | |
| 337 margin-top: 5px; | 335 margin-top: 5px; |
| 338 -webkit-transition: all 180ms ease; | |
| 339 } | 336 } |
| 340 | 337 |
| 341 /* Container for the detail and thumbnail (not implemented yet) list views. */ | 338 /* Container for the detail and thumbnail (not implemented yet) list views. */ |
| 342 .dialog-container[sidebar] .dialog-header { | 339 .dialog-container[sidebar] .dialog-header { |
| 343 margin-left: 0; | 340 margin-left: 0; |
| 344 } | 341 } |
| 345 | 342 |
| 346 /* Close sidebar button. */ | 343 /* Close sidebar button. */ |
| 347 div.close-sidebar { | 344 div.close-sidebar { |
| 345 background-color: white; | |
| 346 background-image: url('../images/close_sidebar.png'); | |
| 347 background-position: center center; | |
| 348 background-repeat: no-repeat; | |
| 349 border: 1px solid #d2d2d2; | |
| 350 border-right: none; | |
| 348 cursor: pointer; | 351 cursor: pointer; |
| 352 display: none; | |
| 353 height: 26px; | |
| 349 position: absolute; | 354 position: absolute; |
| 350 right: 0; | 355 right: 0; |
| 351 top: 6px; | 356 top: 6px; |
| 352 display: none; | 357 width: 14px; |
| 353 z-index: 10; | 358 z-index: 10; |
| 354 background-color: white; | |
| 355 border: 1px solid #d2d2d2; | |
| 356 border-right: none; | |
| 357 width: 14px; | |
| 358 height: 26px; | |
| 359 background-image: url('../images/close_sidebar.png'); | |
| 360 background-position: center center; | |
| 361 background-repeat: no-repeat; | |
| 362 } | 359 } |
| 363 | 360 |
| 364 div.close-sidebar:hover { | 361 div.close-sidebar:hover { |
| 365 background-color: rgba(240,240,240,1); | 362 background-color: rgba(240,240,240,1); |
| 366 } | 363 } |
| 367 | 364 |
| 368 /* Open sidebar button. */ | 365 /* Open sidebar button. */ |
| 369 div.open-sidebar { | 366 div.open-sidebar { |
| 370 cursor: pointer; | |
| 371 margin-right: 10px; | |
| 372 background-color: white; | 367 background-color: white; |
| 373 margin-top: 1px; | |
| 374 width: 15px; | |
| 375 height: 28px; | |
| 376 background-image: url('../images/open_sidebar.png'); | 368 background-image: url('../images/open_sidebar.png'); |
| 377 background-position: center center; | 369 background-position: center center; |
| 378 background-repeat: no-repeat; | 370 background-repeat: no-repeat; |
| 371 cursor: pointer; | |
| 372 height: 28px; | |
| 373 margin-right: 10px; | |
| 374 margin-top: 1px; | |
| 375 width: 15px; | |
| 379 } | 376 } |
| 380 | 377 |
| 381 div.open-sidebar:hover { | 378 div.open-sidebar:hover { |
| 382 background-color: rgba(240,240,240,1); | 379 background-color: rgba(240,240,240,1); |
| 383 } | 380 } |
| 384 | 381 |
| 385 .dialog-container[sidebar] div.open-sidebar { | 382 .dialog-container[sidebar] div.open-sidebar { |
| 386 display: none; | 383 display: none; |
| 387 } | 384 } |
| 388 | 385 |
| 389 .dialog-container[sidebar] div.close-sidebar { | 386 .dialog-container[sidebar] div.close-sidebar { |
| 390 display: block; | 387 display: block; |
| 391 } | 388 } |
| 392 | 389 |
| 393 /* Container for the detail and thumbnail list views. */ | 390 /* Container for the detail and thumbnail list views. */ |
| 394 .dialog-body { | 391 .dialog-body { |
| 392 -webkit-box-flex: 1; | |
| 395 -webkit-box-orient: vertical; | 393 -webkit-box-orient: vertical; |
| 396 -webkit-box-flex: 1; | 394 -webkit-transition: all 180ms ease; |
| 397 border-top: 1px solid #d4d4d4; | 395 border-top: 1px solid #d4d4d4; |
| 398 display: -webkit-box; | 396 display: -webkit-box; |
| 399 overflow: hidden; | 397 overflow: hidden; |
| 400 -webkit-transition: all 180ms ease; | |
| 401 } | 398 } |
| 402 | 399 |
| 403 .dialog-container[sidebar] .dialog-body { | 400 .dialog-container[sidebar] .dialog-body { |
| 401 -webkit-border-bottom-left-radius: 0; | |
| 404 -webkit-border-top-left-radius: 0; | 402 -webkit-border-top-left-radius: 0; |
| 405 -webkit-border-bottom-left-radius: 0; | |
| 406 } | 403 } |
| 407 | 404 |
| 408 /* Container for the ok/cancel buttons. */ | 405 /* Container for the ok/cancel buttons. */ |
| 409 .dialog-footer { | 406 .dialog-footer { |
| 407 -webkit-box-align: center; | |
| 410 -webkit-box-orient: horizontal; | 408 -webkit-box-orient: horizontal; |
| 411 -webkit-box-align: center; | |
| 412 display: -webkit-box; | 409 display: -webkit-box; |
| 413 margin: 15px; | 410 margin: 0 15px 15px; |
|
SeRya
2012/04/02 09:50:22
"0 15px 15px 15px;" (one more 15px)?
Dan Beam
2012/04/02 16:47:10
I can add a 4th value if you'd like, but 3 values
| |
| 414 margin-top: 0; | |
| 415 } | 411 } |
| 416 | 412 |
| 417 .dialog-footer:not([progress]) .progress-bar, | 413 .dialog-footer:not([progress]) .progress-bar, |
| 418 .dialog-footer:not([progress]) .preparing-label { | 414 .dialog-footer:not([progress]) .preparing-label { |
| 419 display: none; | 415 display: none; |
| 420 } | 416 } |
| 421 | 417 |
| 422 .dialog-footer[progress] .ok, | 418 .dialog-footer[progress] .ok, |
| 423 .dialog-footer[progress] .filename-label, | 419 .dialog-footer[progress] .filename-label, |
| 424 .dialog-footer[progress] .filename-input { | 420 .dialog-footer[progress] .filename-input { |
| 425 display: none; | 421 display: none; |
| 426 } | 422 } |
| 427 | 423 |
| 428 .dialog-footer .progress-bar { | 424 .dialog-footer .progress-bar { |
| 425 -webkit-margin-end: 20px; | |
| 429 -webkit-margin-start: 20px; | 426 -webkit-margin-start: 20px; |
| 430 -webkit-margin-end: 20px; | |
| 431 } | 427 } |
| 432 | 428 |
| 433 /* The container for breadcrumb elements. */ | 429 /* The container for breadcrumb elements. */ |
| 434 .breadcrumbs { | 430 .breadcrumbs { |
| 431 -webkit-box-align: center; | |
| 432 -webkit-box-flex: 1; | |
| 435 -webkit-box-orient: horizontal; | 433 -webkit-box-orient: horizontal; |
| 436 -webkit-box-flex: 1; | |
| 437 -webkit-margin-end: 5px; | 434 -webkit-margin-end: 5px; |
| 438 display: -webkit-box; | 435 display: -webkit-box; |
| 439 -webkit-box-align: center; | |
| 440 line-height: 20px; | 436 line-height: 20px; |
| 437 overflow: hidden; | |
| 441 padding-top: 1px; | 438 padding-top: 1px; |
| 442 overflow: hidden; | |
| 443 } | 439 } |
| 444 | 440 |
| 445 .breadcrumbs > [collapsed]:before { | 441 .breadcrumbs > [collapsed]:before { |
| 446 content: '...'; | 442 content: '...'; |
| 447 } | 443 } |
| 448 | 444 |
| 449 .breadcrumbs > [collapsed] { | 445 .breadcrumbs > [collapsed] { |
| 450 width: 1em; | 446 width: 1em; |
| 451 } | 447 } |
| 452 | 448 |
| 453 .dialog-container[sidebar] .breadcrumbs { | 449 .dialog-container[sidebar] .breadcrumbs { |
| 454 margin-left: 10px; | 450 margin-left: 10px; |
| 455 } | 451 } |
| 456 | 452 |
| 457 /* A single directory name in the list of path breadcrumbs. */ | 453 /* A single directory name in the list of path breadcrumbs. */ |
| 458 .breadcrumb-path { | 454 .breadcrumb-path { |
| 459 color: #265692; | 455 color: rgb(38, 86, 146); |
| 460 cursor: pointer; | 456 cursor: pointer; |
| 457 overflow: hidden; | |
| 461 text-overflow: ellipsis; | 458 text-overflow: ellipsis; |
| 462 white-space: nowrap; | 459 white-space: nowrap; |
| 463 overflow: hidden; | |
| 464 } | 460 } |
| 465 | 461 |
| 466 /* The final breadcrumb, representing the current directory. */ | 462 /* The final breadcrumb, representing the current directory. */ |
| 467 .breadcrumb-last { | 463 .breadcrumb-last { |
| 468 color: black; | 464 color: black; |
| 469 cursor: default; | 465 cursor: default; |
| 470 } | 466 } |
| 471 | 467 |
| 472 /* The > arrow between breadcrumbs. */ | 468 /* The > arrow between breadcrumbs. */ |
| 473 | 469 |
| 474 .breadcrumbs .separator { | 470 .breadcrumbs .separator { |
| 475 overflow: hidden; | |
| 476 width: 25px; | |
| 477 background-image: url('../images/breadcrumb-separator.png'); | 471 background-image: url('../images/breadcrumb-separator.png'); |
| 478 background-position: center center; | 472 background-position: center center; |
| 479 background-repeat: no-repeat; | 473 background-repeat: no-repeat; |
| 480 height: 10px; | 474 height: 10px; |
| 475 overflow: hidden; | |
| 476 width: 25px; | |
| 481 } | 477 } |
| 482 | 478 |
| 483 .dialog-header button { | 479 .dialog-header button { |
| 484 -webkit-border-radius: 0; | 480 -webkit-border-radius: 0; |
| 481 background-position: left top; | |
| 482 background-repeat: no-repeat; | |
| 485 border: none; | 483 border: none; |
| 486 height: 28px; | 484 height: 28px; |
| 487 min-width: 0; | 485 min-width: 0; |
| 488 padding: 0; | 486 padding: 0; |
| 489 background-position: left top; | |
| 490 background-repeat: no-repeat; | |
| 491 } | 487 } |
| 492 | 488 |
| 493 /* button:hover and button[disabled]:hover rules must be override by placing | 489 /* button:hover and button[disabled]:hover rules must be override by placing |
| 494 * the following four rules after them. | 490 * the following four rules after them. |
| 495 */ | 491 */ |
| 496 button.detail-view { | 492 button.detail-view { |
| 497 background-image: url('../images/icon_list_view_off.png'); | 493 background-image: url('../images/icon_list_view_off.png'); |
| 494 border-right: 1px solid #9d9d9d; | |
| 498 width: 29px; | 495 width: 29px; |
| 499 border-right: 1px solid #9d9d9d; | |
| 500 } | 496 } |
| 501 | 497 |
| 502 button.thumbnail-view { | 498 button.thumbnail-view { |
| 503 background-image: url('../images/icon_thumb_view_off.png'); | 499 background-image: url('../images/icon_thumb_view_off.png'); |
| 504 width: 28px; | 500 width: 28px; |
| 505 } | 501 } |
| 506 | 502 |
| 507 button.detail-view[disabled] { | 503 button.detail-view[disabled] { |
| 508 background-image: url('../images/icon_list_view_on.png'); | 504 background-image: url('../images/icon_list_view_on.png'); |
| 509 } | 505 } |
| 510 | 506 |
| 511 button.thumbnail-view[disabled] { | 507 button.thumbnail-view[disabled] { |
| 512 background-image: url('../images/icon_thumb_view_on.png'); | 508 background-image: url('../images/icon_thumb_view_on.png'); |
| 513 } | 509 } |
| 514 | 510 |
| 515 .filelist-panel { | 511 .filelist-panel { |
| 512 -webkit-box-flex: 1; | |
| 513 -webkit-box-orient: vertical; | |
| 516 display: -webkit-box; | 514 display: -webkit-box; |
| 517 -webkit-box-orient: vertical; | |
| 518 -webkit-box-flex: 1; | |
| 519 } | 515 } |
| 520 | 516 |
| 521 .list-container { | 517 .list-container { |
| 518 -webkit-box-flex: 1; | |
| 522 display: -webkit-box; | 519 display: -webkit-box; |
| 523 -webkit-box-flex: 1; | |
| 524 position: relative; | 520 position: relative; |
| 525 } | 521 } |
| 526 | 522 |
| 527 .spinner { | 523 .spinner { |
| 528 width: 22px; | 524 background-image: url(../images/spinner.svg); |
| 525 background-size: 100%; | |
| 529 height: 22px; | 526 height: 22px; |
| 530 position: absolute; | |
| 531 left: 50%; | 527 left: 50%; |
| 532 top: 50%; | |
| 533 margin-left: -11px; | 528 margin-left: -11px; |
| 534 margin-top: -11px; | 529 margin-top: -11px; |
| 535 background-image: url(../images/spinner.svg); | |
| 536 background-size: 100%; | |
| 537 opacity: 0.5; | 530 opacity: 0.5; |
| 531 position: absolute; | |
| 532 top: 50%; | |
| 533 width: 22px; | |
| 538 } | 534 } |
| 539 | 535 |
| 540 .downloads-warning { | 536 .downloads-warning { |
| 537 -webkit-box-align: center; | |
| 538 -webkit-box-orient: horizontal; | |
| 539 -webkit-transition: height 70ms linear; | |
| 540 background-color: #f0f0f0; | |
| 541 color: #666; | |
| 541 display: -webkit-box; | 542 display: -webkit-box; |
| 542 -webkit-box-orient: horizontal; | 543 font-size: 13px; |
| 543 height: 57px; | 544 height: 57px; |
| 544 background-color: #f0f0f0; | |
| 545 font-size: 13px; | |
| 546 color: #666; | |
| 547 -webkit-box-align: center; | |
| 548 overflow: hidden; | 545 overflow: hidden; |
| 549 -webkit-transition: height 70ms linear; | |
| 550 } | 546 } |
| 551 | 547 |
| 552 .downloads-warning[hidden] { | 548 .downloads-warning[hidden] { |
| 553 height: 0; | 549 height: 0; |
| 554 } | 550 } |
| 555 | 551 |
| 556 .downloads-warning img { | 552 .downloads-warning img { |
| 557 display: -webkit-box; | 553 display: -webkit-box; |
| 558 padding: 15px; | 554 padding: 15px; |
| 559 } | 555 } |
| 560 | 556 |
| 561 .downloads-warning div { | 557 .downloads-warning div { |
| 558 -webkit-box-flex: 1; | |
| 562 display: -webkit-box; | 559 display: -webkit-box; |
| 563 -webkit-box-flex: 1; | |
| 564 } | 560 } |
| 565 | 561 |
| 566 /* The cr.ui.Grid representing the detailed file list. */ | 562 /* The cr.ui.Grid representing the detailed file list. */ |
| 567 .thumbnail-grid { | 563 .thumbnail-grid { |
| 564 overflow-y: auto; | |
| 568 width: 100%; | 565 width: 100%; |
| 569 overflow-y: auto; | |
| 570 } | 566 } |
| 571 | 567 |
| 572 /* An item in the thumbnail view. */ | 568 /* An item in the thumbnail view. */ |
| 573 .thumbnail-item { | 569 .thumbnail-item { |
| 574 margin-top: 10px; | 570 height: 145px; |
| 575 margin-left: 5px; | 571 margin-left: 5px; |
| 576 margin-right: 5px; | 572 margin-right: 5px; |
| 573 margin-top: 10px; | |
| 574 text-align: center; | |
| 577 width: 120px; | 575 width: 120px; |
| 578 height: 145px; | |
| 579 text-align: center; | |
| 580 } | 576 } |
| 581 | 577 |
| 582 .thumbnail-item > input[type="checkbox"] { | 578 .thumbnail-item > input[type='checkbox'] { |
| 579 left: 0; | |
| 583 position: absolute; | 580 position: absolute; |
| 584 top: 0; | 581 top: 0; |
| 585 left: 0; | |
| 586 } | 582 } |
| 587 | 583 |
| 588 /* When changing these properties please preserve these conditions: | 584 /* When changing these properties please preserve these conditions: |
| 589 1. width == height (so that the rotated thumbnail does not look off-center) | 585 1. width == height (so that the rotated thumbnail does not look off-center) |
| 590 2. width % 8 == 0 (to minimize rounding errors in the centering code) */ | 586 2. width % 8 == 0 (to minimize rounding errors in the centering code) */ |
| 591 div.img-container { | 587 div.img-container { |
| 588 height: 112px; | |
| 589 margin: 4px; | |
| 590 overflow: hidden; | |
| 592 position: relative; | 591 position: relative; |
| 593 overflow: hidden; | |
| 594 margin: 4px; | |
| 595 width: 112px; | 592 width: 112px; |
| 596 height: 112px; | |
| 597 } | 593 } |
| 598 | 594 |
| 599 div.img-container > img { | 595 div.img-container > img { |
| 596 -webkit-user-drag: none; | |
| 600 position: absolute; | 597 position: absolute; |
| 601 -webkit-user-drag: none; | |
| 602 } | 598 } |
| 603 | 599 |
| 604 .list-container list > *, | 600 .list-container list > *, |
| 605 .list-container grid > * { | 601 .list-container grid > * { |
| 606 background-image: none; | 602 background-image: none; |
| 607 border-radius: 0; | 603 border-radius: 0; |
| 608 line-height: 30px; | 604 line-height: 30px; |
| 609 } | 605 } |
| 610 | 606 |
| 611 .list-container list > [selected], | 607 .list-container list > [selected], |
| 612 .list-container grid > [selected] { | 608 .list-container grid > [selected] { |
| 613 background-color: #cbdbf1; | 609 background-color: rgb(203, 219, 241); |
| 614 border-color: #e0e9f7; | 610 border-color: rgb(224, 233, 247); |
| 615 } | 611 } |
| 616 | 612 |
| 617 .list-container list > [selected]:hover, | 613 .list-container list > [selected]:hover, |
| 618 .list-container grid > [selected]:hover { | 614 .list-container grid > [selected]:hover { |
| 619 background-color: #c1d3ec; | 615 background-color: rgb(193, 211, 236); |
| 620 } | 616 } |
| 621 | 617 |
| 622 .list-container list > :hover, | 618 .list-container list > :hover, |
| 623 .list-container grid > :hover { | 619 .list-container grid > :hover { |
| 624 background-color: #f2f6fa; | 620 background-color: rgb(242, 246, 250); |
| 625 border-color: #f2f6fa; | 621 border-color: rgb(242, 246, 250); |
| 626 } | 622 } |
| 627 | 623 |
| 628 .table-row-cell .filename-label, | 624 .table-row-cell .filename-label, |
| 629 .thumbnail-item .filename-label, | 625 .thumbnail-item .filename-label, |
| 630 /* Show ellipsis in cells. The name column has different structure and overrides | 626 /* Show ellipsis in cells. The name column has different structure and overrides |
| 631 this rule. */ | 627 this rule. */ |
| 632 .table-row-cell > div { | 628 .table-row-cell > div { |
| 629 display: block; | |
| 633 overflow: hidden; | 630 overflow: hidden; |
| 634 text-overflow: ellipsis; | 631 text-overflow: ellipsis; |
| 635 white-space: nowrap; | 632 white-space: nowrap; |
| 636 display: block; | |
| 637 } | 633 } |
| 638 | 634 |
| 639 /* Text box used for renaming in the detail list. */ | 635 /* Text box used for renaming in the detail list. */ |
| 640 .table-row-cell input.rename { | 636 .table-row-cell input.rename { |
| 637 -webkit-margin-start: -3px; | |
| 641 line-height: 20px; | 638 line-height: 20px; |
| 642 -webkit-margin-start: -3px; | |
| 643 } | 639 } |
| 644 | 640 |
| 645 /* Elements that need to be LTR even in an RTL context, but should align | 641 /* Elements that need to be LTR even in an RTL context, but should align |
| 646 * left. Display size in Hebrew is such a case. | 642 * left. Display size in Hebrew is such a case. |
| 647 */ | 643 */ |
| 648 html[dir='rtl'] .align-end-weakrtl { | 644 html[dir='rtl'] .align-end-weakrtl { |
| 649 direction: ltr; | 645 direction: ltr; |
| 650 text-align: left; | 646 text-align: left; |
| 651 } | 647 } |
| 652 | 648 |
| 653 input.rename { | 649 input.rename { |
| 654 font: inherit; | 650 font: inherit; |
| 651 line-height: 1; | |
| 655 text-align: inherit; | 652 text-align: inherit; |
| 656 line-height: 1; | |
| 657 } | 653 } |
| 658 | 654 |
| 659 .table-row-cell .filename-label, | 655 .table-row-cell .filename-label, |
| 660 .table-row-cell input.rename { | 656 .table-row-cell input.rename { |
| 661 -webkit-box-flex: 1; | 657 -webkit-box-flex: 1; |
| 662 } | 658 } |
| 663 | 659 |
| 664 [renaming] > .filename-label { | 660 [renaming] > .filename-label { |
| 665 display: none; | 661 display: none; |
| 666 } | 662 } |
| 667 | 663 |
| 668 /* Text box used for renaming in the thumbnail list. */ | 664 /* Text box used for renaming in the thumbnail list. */ |
| 669 .thumbnail-grid input.rename { | 665 .thumbnail-grid input.rename { |
| 666 -webkit-box-sizing: border-box; | |
| 670 -webkit-margin-start: -1px; | 667 -webkit-margin-start: -1px; |
| 668 height: 20px; | |
| 671 width: 114px; | 669 width: 114px; |
| 672 height: 20px; | |
| 673 -webkit-box-sizing: border-box; | |
| 674 } | 670 } |
| 675 | 671 |
| 676 .thumbnail-grid li, | 672 .thumbnail-grid li, |
| 677 .detail-table list li { | 673 .detail-table list li { |
| 678 -webkit-user-drag: element; | 674 -webkit-user-drag: element; |
| 679 } | 675 } |
| 680 | 676 |
| 681 /* The cr.ui.Table representing the detailed file list. */ | 677 /* The cr.ui.Table representing the detailed file list. */ |
| 682 .detail-table { | 678 .detail-table { |
| 679 border: 0; | |
| 683 width: 100%; | 680 width: 100%; |
| 684 border: 0; | |
| 685 } | 681 } |
| 686 | 682 |
| 687 /* Bottom pane describing current selection. */ | 683 /* Bottom pane describing current selection. */ |
| 688 .preview-panel { | 684 .preview-panel { |
| 685 -webkit-box-align: center; | |
| 689 -webkit-box-orient: horizontal; | 686 -webkit-box-orient: horizontal; |
| 687 -webkit-transform: translate(0, 0); | |
| 688 background-color: #F0F0F0; | |
| 690 display: -webkit-box; | 689 display: -webkit-box; |
| 691 -webkit-box-align: center; | |
| 692 height: 61px; | 690 height: 61px; |
| 693 background-color: #F0F0F0; | 691 opacity: 1; |
| 694 padding: 0 14px; | 692 padding: 0 14px; |
| 695 position: relative; | 693 position: relative; |
| 696 z-index: 3; | 694 z-index: 3; |
| 697 | |
| 698 opacity: 1; | |
| 699 -webkit-transform: translate(0, 0); | |
| 700 } | 695 } |
| 701 | 696 |
| 702 .preview-panel[visibility=hiding] { | 697 .preview-panel[visibility=hiding] { |
| 703 /* Using all seems to cause preview panel and checkbox flicking issue. */ | 698 /* Using all seems to cause preview panel and checkbox flicking issue. */ |
| 699 -webkit-transform: translate(0, 5px); | |
| 704 -webkit-transition: opacity 220ms ease; | 700 -webkit-transition: opacity 220ms ease; |
| 705 -webkit-transform: translate(0, 5px); | |
| 706 opacity: 0; | 701 opacity: 0; |
| 707 } | 702 } |
| 708 | 703 |
| 709 .preview-panel[visibility=hidden] { | 704 .preview-panel[visibility=hidden] { |
| 710 display: none; | 705 display: none; |
| 711 opacity: 0; | 706 opacity: 0; |
| 712 } | 707 } |
| 713 | 708 |
| 714 .preview-thumbnails { | 709 .preview-thumbnails { |
| 710 -webkit-box-orient: horizontal; | |
| 715 display: -webkit-box; | 711 display: -webkit-box; |
| 716 -webkit-box-orient: horizontal; | |
| 717 padding-left: 39px; | 712 padding-left: 39px; |
| 718 } | 713 } |
| 719 | 714 |
| 720 .preview-thumbnails > div { | 715 .preview-thumbnails > div { |
| 716 height: 45px; | |
| 717 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */ | |
| 718 position: relative; | |
| 721 width: 45px; | 719 width: 45px; |
| 722 height: 45px; | |
| 723 position: relative; | |
| 724 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */ | |
| 725 } | 720 } |
| 726 | 721 |
| 727 .preview-thumbnails > div > div.img-container { | 722 .preview-thumbnails > div > div.img-container { |
| 723 height: 45px; | |
| 728 margin: 0; | 724 margin: 0; |
| 729 width: 45px; | 725 width: 45px; |
| 730 height: 45px; | |
| 731 } | 726 } |
| 732 | 727 |
| 733 .preview-thumbnails > div { | 728 .preview-thumbnails > div { |
| 734 border: 1px solid #fff; | |
| 735 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); | 729 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); |
| 736 background-color: #F2F2F2; | 730 background-color: #F2F2F2; |
| 731 border: 1px solid #fff; | |
| 737 } | 732 } |
| 738 | 733 |
| 739 .preview-thumbnails > div > div.popup { | 734 .preview-thumbnails > div > div.popup { |
| 735 -webkit-transform: translate(0, 3px) scale(0.95); | |
| 736 -webkit-transition: all 180ms ease-in; | |
| 737 -webkit-transition-delay: 300ms; | |
| 738 background-color: #F2F2F2; | |
| 740 border: 2px solid #fff; | 739 border: 2px solid #fff; |
| 741 box-shadow: 0 0 0 1px #F0F0F0, | 740 box-shadow: 0 0 0 1px #F0F0F0, |
| 742 0 0 0 2px #D0D0D0, | 741 0 0 0 2px #D0D0D0, |
| 743 2px 2px 6px rgba(0, 0, 0, 0.2); | 742 2px 2px 6px rgba(0, 0, 0, 0.2); |
| 744 background-color: #F2F2F2; | |
| 745 margin: 0; | 743 margin: 0; |
| 746 z-index: 1; | 744 opacity: 0; |
| 747 pointer-events: none; | 745 pointer-events: none; |
| 748 position: absolute; | 746 position: absolute; |
| 749 | 747 z-index: 1; |
| 750 -webkit-transition: all 180ms ease-in; | |
| 751 -webkit-transition-delay: 300ms; | |
| 752 | |
| 753 -webkit-transform: translate(0, 3px) scale(0.95); | |
| 754 opacity: 0; | |
| 755 } | 748 } |
| 756 | 749 |
| 757 .preview-thumbnails > div:hover > div.popup { | 750 .preview-thumbnails > div:hover > div.popup { |
| 758 -webkit-transform: translate(0, 0) scale(1.0); | 751 -webkit-transform: translate(0, 0) scale(1.0); |
| 759 opacity: 1; | 752 opacity: 1; |
| 760 pointer-events: auto; | 753 pointer-events: auto; |
| 761 } | 754 } |
| 762 | 755 |
| 763 /* cr.ui.Table has a black focus border by default, which we don't want. */ | 756 /* cr.ui.Table has a black focus border by default, which we don't want. */ |
| 764 .detail-table:focus { | 757 .detail-table:focus { |
| 765 border: 0; | 758 border: 0; |
| 766 } | 759 } |
| 767 | 760 |
| 768 /* Table splitter element */ | 761 /* Table splitter element */ |
| 769 .table-header-splitter { | 762 .table-header-splitter { |
| 770 -webkit-border-start: 1px #aaa solid; | 763 -webkit-border-start: 1px #aaa solid; |
| 771 background-color: inherit; | 764 background-color: inherit; |
| 772 height: 27px; | 765 height: 27px; |
| 773 } | 766 } |
| 774 | 767 |
| 775 /* Container for a table header. */ | 768 /* Container for a table header. */ |
| 776 .table-header { | 769 .table-header { |
| 777 -webkit-box-sizing: border-box; | 770 -webkit-box-sizing: border-box; |
| 771 background-image: -webkit-linear-gradient(top, #f9f9f9, #e8e8e8); | |
| 778 border-bottom: 1px #d2d2d2 solid; | 772 border-bottom: 1px #d2d2d2 solid; |
| 779 background-image: -webkit-linear-gradient(top, #f9f9f9, #e8e8e8); | |
| 780 height: 27px; | 773 height: 27px; |
| 781 } | 774 } |
| 782 | 775 |
| 783 .table-header-sort-image-desc::after { | 776 .table-header-sort-image-desc::after { |
| 784 -webkit-padding-start: 13px; | 777 -webkit-padding-start: 13px; |
| 785 color: #888; | |
| 786 background-image: url(../images/sort_desc.png); | 778 background-image: url(../images/sort_desc.png); |
| 787 background-position: center center; | 779 background-position: center center; |
| 788 background-repeat: no-repeat; | 780 background-repeat: no-repeat; |
| 781 color: #888; | |
| 789 content: '\00a0'; | 782 content: '\00a0'; |
| 790 position: relative; | 783 position: relative; |
| 791 top: 0px; | 784 top: 0; |
| 792 } | 785 } |
| 793 | 786 |
| 794 .table-header-sort-image-asc::after { | 787 .table-header-sort-image-asc::after { |
| 795 -webkit-padding-start: 13px; | 788 -webkit-padding-start: 13px; |
| 796 color: #888; | |
| 797 background-image: url(../images/sort_asc.png); | 789 background-image: url(../images/sort_asc.png); |
| 798 background-position: center center; | 790 background-position: center center; |
| 799 background-repeat: no-repeat; | 791 background-repeat: no-repeat; |
| 792 color: #888; | |
| 800 content: '\00a0'; | 793 content: '\00a0'; |
| 801 position: relative; | 794 position: relative; |
| 802 top: 0px; | 795 top: 0; |
| 803 } | 796 } |
| 804 | 797 |
| 805 | 798 |
| 806 .preview-container .table-header { | 799 .preview-container .table-header { |
| 807 border-radius: 0 4px 0 0; | 800 border-radius: 0 4px 0 0; |
| 808 } | 801 } |
| 809 | 802 |
| 810 /* Text label in a table header. */ | 803 /* Text label in a table header. */ |
| 811 .table-header-label { | 804 .table-header-label { |
| 812 margin: 5px 10px 0 10px; | 805 margin: 5px 10px 0 10px; |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 830 position: relative; | 823 position: relative; |
| 831 z-index: 2; | 824 z-index: 2; |
| 832 } | 825 } |
| 833 | 826 |
| 834 .file-checkbox, | 827 .file-checkbox, |
| 835 .pin { | 828 .pin { |
| 836 opacity: 0.3; | 829 opacity: 0.3; |
| 837 } | 830 } |
| 838 | 831 |
| 839 #select-all-checkbox { | 832 #select-all-checkbox { |
| 833 -webkit-margin-end: 6px; | |
| 840 -webkit-margin-start: 0; | 834 -webkit-margin-start: 0; |
| 841 -webkit-margin-end: 6px; | 835 margin-bottom: 0; |
| 842 margin-top: 0; | 836 margin-top: 0; |
| 843 margin-bottom: 0; | |
| 844 | |
| 845 /* 1px below text */ | 837 /* 1px below text */ |
| 846 position: relative; | 838 position: relative; |
| 847 top: 1px; | 839 top: 1px; |
| 848 } | 840 } |
| 849 | 841 |
| 850 li.thumbnail-item .file-checkbox { | 842 li.thumbnail-item .file-checkbox { |
| 851 -webkit-margin-start: 7px; | 843 -webkit-margin-start: 7px; |
| 852 margin-top: 6px; | 844 margin-top: 6px; |
| 853 opacity: 0; | 845 opacity: 0; |
| 854 } | 846 } |
| 855 | 847 |
| 856 li.table-row:hover .file-checkbox, | 848 li.table-row:hover .file-checkbox, |
| 857 li.table-row:hover .pin, | 849 li.table-row:hover .pin, |
| 858 li.thumbnail-item:hover .file-checkbox { | 850 li.thumbnail-item:hover .file-checkbox { |
| 859 opacity: 0.5; | 851 opacity: 0.5; |
| 860 } | 852 } |
| 861 | 853 |
| 862 .file-checkbox:hover, | 854 .file-checkbox:hover, |
| 863 .pin:hover, | 855 .pin:hover, |
| 864 li.table-row[selected] .file-checkbox, | 856 li.table-row[selected] .file-checkbox, |
| 865 li.table-row[selected] .pin, | 857 li.table-row[selected] .pin, |
| 866 li.table-row .pin:checked, | 858 li.table-row .pin:checked, |
| 867 li.thumbnail-item[selected] .file-checkbox { | 859 li.thumbnail-item[selected] .file-checkbox { |
| 868 opacity: 1 !important; | 860 opacity: 1 !important; |
| 869 } | 861 } |
| 870 | 862 |
| 871 li.table-row { | 863 li.table-row { |
| 872 line-height: 38px; | 864 line-height: 38px; |
| 865 padding-bottom: 1px; | |
| 873 padding-top: 1px; | 866 padding-top: 1px; |
| 874 padding-bottom: 1px; | |
| 875 } | 867 } |
| 876 | 868 |
| 877 /* The icon in the name column. */ | 869 /* The icon in the name column. */ |
| 878 .detail-icon { | 870 .detail-icon { |
| 879 background-image: url(../images/filetype_generic.png); | 871 background-image: url(../images/filetype_generic.png); |
| 880 background-position: center; | 872 background-position: center; |
| 881 background-repeat: no-repeat; | 873 background-repeat: no-repeat; |
| 882 height: 24px; | 874 height: 24px; |
| 883 width: 24px; | 875 width: 24px; |
| 884 } | 876 } |
| 885 | 877 |
| 886 /* Icon for files in the detail list. */ | 878 /* Icon for files in the detail list. */ |
| 887 .detail-icon[iconType="archive"] { | 879 .detail-icon[iconType='archive'] { |
| 888 background-image: url(../images/filetype_archive.png); | 880 background-image: url(../images/filetype_archive.png); |
| 889 } | 881 } |
| 890 | 882 |
| 891 .detail-icon[iconType="audio"] { | 883 .detail-icon[iconType='audio'] { |
| 892 background-image: url(../images/filetype_audio.png); | 884 background-image: url(../images/filetype_audio.png); |
| 893 } | 885 } |
| 894 | 886 |
| 895 .detail-icon[iconType="device"] { | 887 .detail-icon[iconType='device'] { |
| 896 background-image: url(../images/filetype_device.png); | 888 background-image: url(../images/filetype_device.png); |
| 897 } | 889 } |
| 898 | 890 |
| 899 .detail-icon[iconType="doc"] { | 891 .detail-icon[iconType='doc'] { |
| 900 background-image: url(../images/filetype_doc.png); | 892 background-image: url(../images/filetype_doc.png); |
| 901 } | 893 } |
| 902 | 894 |
| 903 .detail-icon[iconType="excel"] { | 895 .detail-icon[iconType='excel'] { |
| 904 background-image: url(../images/filetype_excel.png); | 896 background-image: url(../images/filetype_excel.png); |
| 905 } | 897 } |
| 906 | 898 |
| 907 .detail-icon[iconType="folder"] { | 899 .detail-icon[iconType='folder'] { |
| 908 background-image: url(../images/filetype_folder.png); | 900 background-image: url(../images/filetype_folder.png); |
| 909 } | 901 } |
| 910 | 902 |
| 911 .detail-icon[iconType="html"] { | 903 .detail-icon[iconType='html'] { |
| 912 background-image: url(../images/filetype_html.png); | 904 background-image: url(../images/filetype_html.png); |
| 913 } | 905 } |
| 914 | 906 |
| 915 .detail-icon[iconType="image"] { | 907 .detail-icon[iconType='image'] { |
| 916 background-image: url(../images/filetype_image.png); | 908 background-image: url(../images/filetype_image.png); |
| 917 } | 909 } |
| 918 | 910 |
| 919 .detail-icon[iconType="pdf"] { | 911 .detail-icon[iconType='pdf'] { |
| 920 background-image: url(../images/filetype_pdf.png); | 912 background-image: url(../images/filetype_pdf.png); |
| 921 } | 913 } |
| 922 | 914 |
| 923 .detail-icon[iconType="ppt"] { | 915 .detail-icon[iconType='ppt'] { |
| 924 background-image: url(../images/filetype_ppt.png); | 916 background-image: url(../images/filetype_ppt.png); |
| 925 } | 917 } |
| 926 | 918 |
| 927 .detail-icon[iconType="presentation"] { | 919 .detail-icon[iconType='presentation'] { |
| 928 background-image: url(../images/filetype_presentation.png); | 920 background-image: url(../images/filetype_presentation.png); |
| 929 } | 921 } |
| 930 | 922 |
| 931 .detail-icon[iconType="spreadsheet"] { | 923 .detail-icon[iconType='spreadsheet'] { |
| 932 background-image: url(../images/filetype_spreadsheet.png); | 924 background-image: url(../images/filetype_spreadsheet.png); |
| 933 } | 925 } |
| 934 | 926 |
| 935 .detail-icon[iconType="text"] { | 927 .detail-icon[iconType='text'] { |
| 936 background-image: url(../images/filetype_text.png); | 928 background-image: url(../images/filetype_text.png); |
| 937 } | 929 } |
| 938 | 930 |
| 939 .detail-icon[iconType="unreadable"] { | 931 .detail-icon[iconType='unreadable'] { |
| 940 background-image: url(../images/filetype_unreadable_device.png); | 932 background-image: url(../images/filetype_unreadable_device.png); |
| 941 } | 933 } |
| 942 | 934 |
| 943 .detail-icon[iconType="video"] { | 935 .detail-icon[iconType='video'] { |
| 944 background-image: url(../images/filetype_video.png); | 936 background-image: url(../images/filetype_video.png); |
| 945 } | 937 } |
| 946 | 938 |
| 947 .detail-icon[iconType="word"] { | 939 .detail-icon[iconType='word'] { |
| 948 background-image: url(../images/filetype_word.png); | 940 background-image: url(../images/filetype_word.png); |
| 949 } | 941 } |
| 950 | 942 |
| 951 .detail-icon[iconType="gdoc"] { | 943 .detail-icon[iconType='gdoc'] { |
| 952 background-image: url(../images/filetype_doc.png); | 944 background-image: url(../images/filetype_doc.png); |
| 953 } | 945 } |
| 954 | 946 |
| 955 .detail-icon[iconType="gsheet"] { | 947 .detail-icon[iconType='gsheet'] { |
| 956 background-image: url(../images/filetype_spreadsheet.png); | 948 background-image: url(../images/filetype_spreadsheet.png); |
| 957 } | 949 } |
| 958 | 950 |
| 959 .detail-icon[iconType="gslides"] { | 951 .detail-icon[iconType='gslides'] { |
| 960 background-image: url(../images/filetype_presentation.png); | 952 background-image: url(../images/filetype_presentation.png); |
| 961 } | 953 } |
| 962 | 954 |
| 963 .detail-icon[iconType="gdraw"] { | 955 .detail-icon[iconType='gdraw'] { |
| 964 background-image: url(../images/filetype_drawing.png); | 956 background-image: url(../images/filetype_drawing.png); |
| 965 } | 957 } |
| 966 | 958 |
| 967 .detail-icon[iconType="gtable"] { | 959 .detail-icon[iconType='gtable'] { |
| 968 background-image: url(../images/filetype_table.png); | 960 background-image: url(../images/filetype_table.png); |
| 969 } | 961 } |
| 970 | 962 |
| 971 /* The filename text in the preview pane. */ | 963 /* The filename text in the preview pane. */ |
| 972 .preview-filename { | 964 .preview-filename { |
| 973 -webkit-margin-start: 8px; | 965 -webkit-margin-start: 8px; |
| 974 color: #666; | 966 color: #666; |
| 975 font-weight: bold; | 967 font-weight: bold; |
| 976 margin-top: 10px; | 968 margin-top: 10px; |
| 977 overflow: hidden; | 969 overflow: hidden; |
| 978 text-overflow: ellipsis; | 970 text-overflow: ellipsis; |
| 979 white-space: nowrap; | 971 white-space: nowrap; |
| 980 } | 972 } |
| 981 | 973 |
| 982 /* The preview image. */ | 974 /* The preview image. */ |
| 983 .preview-img { | 975 .preview-img { |
| 984 margin-top: 10px; | 976 margin-top: 10px; |
| 985 max-height: 300px; | 977 max-height: 300px; |
| 986 max-width: 190px; | 978 max-width: 190px; |
| 987 } | 979 } |
| 988 | 980 |
| 989 .preview-img.thumbnail { | 981 .preview-img.thumbnail { |
| 990 padding: 1px; | |
| 991 border: 1px #666 solid; | |
| 992 -webkit-background-clip: content-box; | 982 -webkit-background-clip: content-box; |
| 993 | |
| 994 /* Checkboard background to distinguish images with alpha channels, from | 983 /* Checkboard background to distinguish images with alpha channels, from |
| 995 * ../images/preview-background.png | 984 * ../images/preview-background.png |
| 996 */ | 985 */ |
| 997 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCA YAAABzenr0AAAAAXNSR0IArs4c6QAAAAlwSFlzAAAOTQAADiYBwNzaZQAAAAd0SU1FB9sDExUSAaQ/5T MAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAQ0lEQVRYw+3VsQkAMQwDQOfJRt 7r9/FQ3ilDuAiBUy84UKFVVX8M0t2TenxxOQAAAAAAAAB7+ueZaQIAAAAAAIC3AQceAAfi8EmRSgAAAA BJRU5ErkJggg==); | 986 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCA YAAABzenr0AAAAAXNSR0IArs4c6QAAAAlwSFlzAAAOTQAADiYBwNzaZQAAAAd0SU1FB9sDExUSAaQ/5T MAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAQ0lEQVRYw+3VsQkAMQwDQOfJRt 7r9/FQ3ilDuAiBUy84UKFVVX8M0t2TenxxOQAAAAAAAAB7+ueZaQIAAAAAAIC3AQceAAfi8EmRSgAAAA BJRU5ErkJggg==); |
| 987 border: 1px #666 solid; | |
| 988 padding: 1px; | |
| 998 } | 989 } |
| 999 | 990 |
| 1000 .preview-img[src=''] { | 991 .preview-img[src=''] { |
| 1001 visibility: hidden; | 992 visibility: hidden; |
| 1002 } | 993 } |
| 1003 | 994 |
| 1004 /* Decoration when multiple images are selected. */ | 995 /* Decoration when multiple images are selected. */ |
| 1005 .preview-img.multiple-selected { | 996 .preview-img.multiple-selected { |
| 1006 -webkit-box-shadow: 5px 5px 0 #aaa; | 997 -webkit-box-shadow: 5px 5px 0 #aaa; |
| 1007 } | 998 } |
| 1008 | 999 |
| 1009 .metadata-item { | 1000 .metadata-item { |
| 1001 -webkit-box-flex: 1; | |
| 1010 -webkit-box-orient: horizontal; | 1002 -webkit-box-orient: horizontal; |
| 1011 -webkit-box-flex: 1; | 1003 -webkit-padding-start: 8px; |
| 1012 display: -webkit-box; | 1004 display: -webkit-box; |
| 1013 -webkit-padding-start: 8px; | |
| 1014 } | 1005 } |
| 1015 | 1006 |
| 1016 .metadata-label { | 1007 .metadata-label { |
| 1017 -webkit-margin-end: 6px; | 1008 -webkit-margin-end: 6px; |
| 1018 } | 1009 } |
| 1019 | 1010 |
| 1020 .preview-panel .spacer { | 1011 .preview-panel .spacer { |
| 1021 -webkit-box-flex: 1; | 1012 -webkit-box-flex: 1; |
| 1022 } | 1013 } |
| 1023 | 1014 |
| 1024 .delete-button { | 1015 .delete-button { |
| 1016 -webkit-margin-end: 8px; | |
| 1025 -webkit-margin-start: 8px; | 1017 -webkit-margin-start: 8px; |
| 1026 -webkit-margin-end: 8px; | |
| 1027 } | 1018 } |
| 1028 | 1019 |
| 1029 .task-item { | 1020 .task-item { |
| 1021 -webkit-box-align: center; | |
| 1022 -webkit-box-orient: horizontal; | |
| 1030 display: -webkit-box; | 1023 display: -webkit-box; |
| 1031 -webkit-box-orient: horizontal; | 1024 padding: 5px 10px; |
| 1032 -webkit-box-align: center; | |
| 1033 text-align: left; | 1025 text-align: left; |
| 1034 padding: 5px; | |
| 1035 -webkit-padding-end: 10px; | |
| 1036 -webkit-padding-start: 10px; | |
| 1037 } | 1026 } |
| 1038 | 1027 |
| 1039 .task-item > div { | 1028 .task-item > div { |
| 1040 overflow: hidden; | 1029 overflow: hidden; |
| 1030 padding-right: 5px; | |
| 1041 text-overflow: ellipsis; | 1031 text-overflow: ellipsis; |
| 1042 white-space: nowrap; | 1032 white-space: nowrap; |
| 1043 padding-right: 5px; | |
| 1044 } | 1033 } |
| 1045 | 1034 |
| 1046 .task-item > img { | 1035 .task-item > img { |
| 1047 -webkit-margin-end: 5px; | 1036 -webkit-margin-end: 5px; |
| 1048 } | 1037 } |
| 1049 | 1038 |
| 1050 /* The selection summary text at the bottom of the preview pane. */ | 1039 /* The selection summary text at the bottom of the preview pane. */ |
| 1051 .preview-summary { | 1040 .preview-summary { |
| 1052 -webkit-box-flex: 1; | 1041 -webkit-box-flex: 1; |
| 1053 color: #666666; | 1042 color: #666; |
| 1054 overflow: hidden; | 1043 overflow: hidden; |
| 1055 padding: 5px; | 1044 padding: 5px; |
| 1056 text-overflow: ellipsis; | 1045 text-overflow: ellipsis; |
| 1046 vertical-align: middle; | |
| 1057 white-space: nowrap; | 1047 white-space: nowrap; |
| 1058 vertical-align: middle; | |
| 1059 } | 1048 } |
| 1060 | 1049 |
| 1061 .dialog-footer .filename-label { | 1050 .dialog-footer .filename-label { |
| 1062 -webkit-box-orient: horizontal; | 1051 -webkit-box-orient: horizontal; |
| 1063 background-color: white; | 1052 background-color: white; |
| 1064 color: #666; | 1053 color: #666; |
| 1065 display: -webkit-box; | 1054 display: -webkit-box; |
| 1066 font-weight: bold; | 1055 font-weight: bold; |
| 1056 padding-right: 4px; | |
| 1067 padding-top: 4px; | 1057 padding-top: 4px; |
| 1068 padding-right: 4px; | |
| 1069 } | 1058 } |
| 1070 | 1059 |
| 1071 .detail-name > * { | 1060 .detail-name > * { |
| 1061 -webkit-box-align: center; | |
| 1072 display: -webkit-box; | 1062 display: -webkit-box; |
| 1073 -webkit-box-align: center; | |
| 1074 } | 1063 } |
| 1075 | 1064 |
| 1076 .filename-input { | 1065 .filename-input { |
| 1066 -webkit-box-flex: 1; | |
| 1077 -webkit-box-orient: horizontal; | 1067 -webkit-box-orient: horizontal; |
| 1078 -webkit-box-flex: 1; | |
| 1079 display: -webkit-box; | 1068 display: -webkit-box; |
| 1080 } | 1069 } |
| 1081 | 1070 |
| 1082 /* A horizontal spring. */ | 1071 /* A horizontal spring. */ |
| 1083 .horizontal-spacer { | 1072 .horizontal-spacer { |
| 1073 -webkit-box-flex: 1; | |
| 1084 -webkit-box-orient: horizontal; | 1074 -webkit-box-orient: horizontal; |
| 1085 -webkit-box-flex: 1; | |
| 1086 display: -webkit-box; | 1075 display: -webkit-box; |
| 1087 } | 1076 } |
| 1088 | 1077 |
| 1089 /* A vertical spring. */ | 1078 /* A vertical spring. */ |
| 1090 .vertical-spacer { | 1079 .vertical-spacer { |
| 1080 -webkit-box-flex: 1; | |
| 1091 -webkit-box-orient: vertical; | 1081 -webkit-box-orient: vertical; |
| 1092 -webkit-box-flex: 1; | |
| 1093 display: -webkit-box; | 1082 display: -webkit-box; |
| 1094 } | 1083 } |
| 1095 | 1084 |
| 1096 /* GData-specfic styles */ | 1085 /* GData-specfic styles */ |
| 1097 | 1086 |
| 1098 [gdata][offline] .table-row-cell > :not(.gdata-present), | 1087 [gdata][offline] .table-row-cell > :not(.gdata-present), |
| 1099 [gdata][offline] .thumbnail-item > :not(.gdata-present) { | 1088 [gdata][offline] .thumbnail-item > :not(.gdata-present) { |
| 1100 color: #808080; | 1089 color: #808080; |
| 1101 } | 1090 } |
| 1102 | 1091 |
| 1103 /* Overlay pane covering the entire file manager window (e.g. image editor)*/ | 1092 /* Overlay pane covering the entire file manager window (e.g. image editor)*/ |
| 1104 .overlay-pane { | 1093 .overlay-pane { |
| 1094 border: none; | |
| 1095 height: 100%; | |
| 1096 left: 0; | |
| 1105 position: absolute; | 1097 position: absolute; |
| 1106 top: 0; | 1098 top: 0; |
| 1107 left: 0; | |
| 1108 width: 100%; | 1099 width: 100%; |
| 1109 height: 100%; | |
| 1110 border: none; | |
| 1111 z-index: 100; | 1100 z-index: 100; |
| 1112 } | 1101 } |
| 1113 | 1102 |
| 1114 /* Invisible container for elements representing files while dragging. */ | 1103 /* Invisible container for elements representing files while dragging. */ |
| 1115 #drag-image-container { | 1104 #drag-image-container { |
| 1105 -webkit-box-orient: horizontal; | |
| 1106 display: -webkit-box; | |
| 1107 /* Only nodes in visible viewport will be rendered. */ | |
| 1108 left: 0; | |
| 1109 padding-left: 100px; | |
| 1116 position: fixed; | 1110 position: fixed; |
| 1117 /* Only nodes in visible viewport will be rendered. */ | |
| 1118 top: 0; | 1111 top: 0; |
| 1119 left: 0; | |
| 1120 display: -webkit-box; | |
| 1121 -webkit-box-orient: horizontal; | |
| 1122 padding-left: 100px; | |
| 1123 z-index: -1; /* below .dialog-container */ | 1112 z-index: -1; /* below .dialog-container */ |
| 1124 } | 1113 } |
| 1125 | 1114 |
| 1126 #drag-image-container > * { | 1115 #drag-image-container > * { |
| 1127 display: inline-block; | 1116 background-color: rgb(203, 219, 241); |
| 1128 background-color: #CBDBF1; | |
| 1129 border-color: #E0E9F7; | |
| 1130 border: 1px solid white; /* transparent white */ | 1117 border: 1px solid white; /* transparent white */ |
| 1131 cursor: default; | 1118 cursor: default; |
| 1119 display: inline-block; | |
| 1132 line-height: 20px; | 1120 line-height: 20px; |
| 1133 margin: 0 0 0 -100px; | 1121 margin: 0 0 0 -100px; |
| 1134 overflow: hidden; | 1122 overflow: hidden; |
| 1135 padding: 0 3px; | 1123 padding: 0 3px; |
| 1136 position: relative; /* to allow overlap */ | 1124 position: relative; /* to allow overlap */ |
| 1137 text-overflow: ellipsis; | 1125 text-overflow: ellipsis; |
| 1138 white-space: pre; | 1126 white-space: pre; |
| 1139 } | 1127 } |
| 1140 | 1128 |
| 1141 #drag-image-container > li input[type=checkbox] { | 1129 #drag-image-container > li input[type=checkbox] { |
| 1142 display: none; | 1130 display: none; |
| 1143 } | 1131 } |
| 1144 | 1132 |
| 1145 menu.file-context-menu { | 1133 menu.file-context-menu { |
| 1146 z-index: 4; | 1134 z-index: 4; |
| 1147 } | 1135 } |
| 1148 | 1136 |
| 1149 input.common.pin[type="checkbox"]:checked::after { | 1137 input.common.pin[type='checkbox']:checked::after { |
| 1150 position: relative; | |
| 1151 content: url('../images/pin.png'); | 1138 content: url('../images/pin.png'); |
| 1152 left: 3px; | 1139 left: 3px; |
| 1140 position: relative; | |
| 1153 top: -4px; | 1141 top: -4px; |
| 1154 } | 1142 } |
| 1155 | 1143 |
| 1156 div.offline { | 1144 div.offline { |
| 1157 -webkit-box-pack: center; | 1145 -webkit-box-pack: center; |
| 1158 display: -webkit-box; | 1146 display: -webkit-box; |
| 1159 } | 1147 } |
| 1160 | 1148 |
| 1161 div.offline > * { | 1149 div.offline > * { |
| 1162 -webkit-box-align: center; | 1150 -webkit-box-align: center; |
| 1163 display: -webkit-box; | 1151 display: -webkit-box; |
| 1164 } | 1152 } |
| 1165 | 1153 |
| 1166 div.shade { | 1154 div.shade { |
| 1155 /* -webkit-transition: opacity 1000ms linear; */ | |
| 1156 background-color: rgba(255, 255, 255, 0.8); | |
| 1157 bottom: 0; | |
| 1158 left: 0; | |
| 1159 opacity: 0; | |
| 1167 position: absolute; | 1160 position: absolute; |
| 1168 left: 0; | |
| 1169 right: 0; | 1161 right: 0; |
| 1170 top: 0; | 1162 top: 0; |
| 1171 bottom: 0; | |
| 1172 background-color: rgba(255, 255, 255, 0.8); | |
| 1173 opacity: 0; | |
| 1174 webkit-transition: opacity 1000ms linear; | |
| 1175 } | 1163 } |
| 1176 | 1164 |
| 1177 div.shade[fadein] { | 1165 div.shade[fadein] { |
| 1178 opacity: 1; | 1166 opacity: 1; |
| 1179 } | 1167 } |
| 1180 | 1168 |
| 1181 /* Message panel for unmounted GData */ | 1169 /* Message panel for unmounted GData */ |
| 1182 .dialog-container:not([unmounted]) .dialog-body > div.unmounted-panel, | 1170 .dialog-container:not([unmounted]) .dialog-body > div.unmounted-panel, |
| 1183 .dialog-container[unmounted] .dialog-body > div:not(.unmounted-panel) { | 1171 .dialog-container[unmounted] .dialog-body > div:not(.unmounted-panel) { |
| 1184 display: none; | 1172 display: none; |
| 1185 } | 1173 } |
| 1186 | 1174 |
| 1187 div.unmounted-panel { | 1175 div.unmounted-panel { |
| 1176 padding-left: 50px; | |
| 1188 padding-top: 20px; | 1177 padding-top: 20px; |
| 1189 padding-left: 50px; | |
| 1190 } | 1178 } |
| 1191 | 1179 |
| 1192 div.unmounted-panel > * { | 1180 div.unmounted-panel > * { |
| 1193 height: 22px; | 1181 height: 22px; |
| 1194 margin-bottom: 10px; | 1182 margin-bottom: 10px; |
| 1195 } | 1183 } |
| 1196 | 1184 |
| 1197 div.unmounted-panel > div { | 1185 div.unmounted-panel > div { |
| 1198 display: -webkit-box; | 1186 -webkit-box-align: center; |
| 1199 -webkit-box-orient: horizontal; | 1187 -webkit-box-orient: horizontal; |
| 1200 -webkit-box-pack: start; | 1188 -webkit-box-pack: start; |
| 1201 -webkit-box-align: center; | 1189 display: -webkit-box; |
| 1202 } | 1190 } |
| 1203 | 1191 |
| 1204 .unmounted-panel > .gdata.loading, | 1192 .unmounted-panel > .gdata.loading, |
| 1205 .unmounted-panel > .gdata.error { | 1193 .unmounted-panel > .gdata.error { |
| 1206 margin-left: -30px; /* Room for the spinner.*/ | 1194 margin-left: -30px; /* Room for the spinner.*/ |
| 1207 padding-left: 30px; | 1195 padding-left: 30px; |
| 1208 } | 1196 } |
| 1209 | 1197 |
| 1210 .unmounted-panel > .gdata.loading { | 1198 .unmounted-panel > .gdata.loading { |
| 1211 background-image: url(../images/spinner.svg); | 1199 background-image: url(../images/spinner.svg); |
| 1200 background-position: 0 center; | |
| 1212 background-repeat: no-repeat; | 1201 background-repeat: no-repeat; |
| 1213 background-position: 0 center; | |
| 1214 } | 1202 } |
| 1215 | 1203 |
| 1216 .unmounted-panel:not([loading]) > .gdata.loading, | 1204 .unmounted-panel:not([loading]) > .gdata.loading, |
| 1217 .unmounted-panel:not([error]) > .gdata.error, | 1205 .unmounted-panel:not([error]) > .gdata.error, |
| 1218 .unmounted-panel:not([retry]) > .gdata.retry, | 1206 .unmounted-panel:not([retry]) > .gdata.retry, |
| 1219 .unmounted-panel:not([retry]) > .gdata.learn-more { | 1207 .unmounted-panel:not([retry]) > .gdata.learn-more { |
| 1220 display: none; | 1208 display: none; |
| 1221 } | 1209 } |
| OLD | NEW |