OLD | NEW |
1 /* | 1 /* |
2 * 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 | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 /* Outer frame of the dialog. */ | 7 /* Outer frame of the dialog. */ |
8 body { | 8 body { |
9 -webkit-box-flex: 1; | 9 -webkit-box-flex: 1; |
10 -webkit-box-orient: vertical; | 10 -webkit-box-orient: vertical; |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 color: #42506c; | 162 color: #42506c; |
163 font-size: 15px; | 163 font-size: 15px; |
164 font-weight: bold; | 164 font-weight: bold; |
165 height: 32px; | 165 height: 32px; |
166 padding-top: 8px; | 166 padding-top: 8px; |
167 padding-bottom: 8px; | 167 padding-bottom: 8px; |
168 } | 168 } |
169 | 169 |
170 /* Main part of the dialog between header and footer. */ | 170 /* Main part of the dialog between header and footer. */ |
171 .dialog-container { | 171 .dialog-container { |
| 172 position: relative; |
172 display: -webkit-box; | 173 display: -webkit-box; |
173 -webkit-box-orient: horizontal; | 174 -webkit-box-orient: horizontal; |
174 -webkit-box-align: stretch; | 175 -webkit-box-align: stretch; |
175 overflow: hidden; | 176 overflow: hidden; |
176 -webkit-box-flex: 1; | 177 -webkit-box-flex: 1; |
177 } | 178 } |
178 | 179 |
179 /* List/grid and preview are inside this container. */ | 180 /* List/grid and preview are inside this container. */ |
180 .dialog-main { | 181 .dialog-main { |
181 -webkit-box-flex: 1; | 182 -webkit-box-flex: 1; |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 } | 404 } |
404 | 405 |
405 .dialog-container[sidebar] .dialog-body { | 406 .dialog-container[sidebar] .dialog-body { |
406 -webkit-border-top-left-radius: 0; | 407 -webkit-border-top-left-radius: 0; |
407 -webkit-border-bottom-left-radius: 0; | 408 -webkit-border-bottom-left-radius: 0; |
408 } | 409 } |
409 | 410 |
410 /* Container for the ok/cancel buttons. */ | 411 /* Container for the ok/cancel buttons. */ |
411 .dialog-footer { | 412 .dialog-footer { |
412 -webkit-box-orient: horizontal; | 413 -webkit-box-orient: horizontal; |
| 414 -webkit-box-align: center; |
413 display: -webkit-box; | 415 display: -webkit-box; |
414 margin: 15px; | 416 margin: 15px; |
415 margin-top: 0; | 417 margin-top: 0; |
416 } | 418 } |
417 | 419 |
| 420 .dialog-footer:not([progress]) .progress-bar, |
| 421 .dialog-footer:not([progress]) .preparing-label { |
| 422 display: none; |
| 423 } |
| 424 |
| 425 .dialog-footer[progress] .ok, |
| 426 .dialog-footer[progress] .filename-label, |
| 427 .dialog-footer[progress] .filename-input { |
| 428 display: none; |
| 429 } |
| 430 |
| 431 .dialog-footer .progress-bar { |
| 432 -webkit-margin-start: 20px; |
| 433 -webkit-margin-end: 20px; |
| 434 } |
| 435 |
418 /* The container for breadcrumb elements. */ | 436 /* The container for breadcrumb elements. */ |
419 .breadcrumbs { | 437 .breadcrumbs { |
420 -webkit-box-orient: horizontal; | 438 -webkit-box-orient: horizontal; |
421 -webkit-box-flex: 1; | 439 -webkit-box-flex: 1; |
422 -webkit-margin-end: 5px; | 440 -webkit-margin-end: 5px; |
423 display: -webkit-box; | 441 display: -webkit-box; |
424 -webkit-box-align: center; | 442 -webkit-box-align: center; |
425 line-height: 20px; | 443 line-height: 20px; |
426 padding-top: 1px; | 444 padding-top: 1px; |
427 overflow: hidden; | 445 overflow: hidden; |
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1102 | 1120 |
1103 div.offline { | 1121 div.offline { |
1104 -webkit-box-pack: center; | 1122 -webkit-box-pack: center; |
1105 display: -webkit-box; | 1123 display: -webkit-box; |
1106 } | 1124 } |
1107 | 1125 |
1108 div.offline > * { | 1126 div.offline > * { |
1109 -webkit-box-align: center; | 1127 -webkit-box-align: center; |
1110 display: -webkit-box; | 1128 display: -webkit-box; |
1111 } | 1129 } |
| 1130 |
| 1131 div.shade { |
| 1132 position: absolute; |
| 1133 left: 0; |
| 1134 right: 0; |
| 1135 top: 0; |
| 1136 bottom: 0; |
| 1137 background-color: rgba(255, 255, 255, 0.8); |
| 1138 opacity: 0; |
| 1139 webkit-transition: opacity 1000ms linear; |
| 1140 } |
| 1141 |
| 1142 div.shade[fadein] { |
| 1143 opacity: 1; |
| 1144 } |
OLD | NEW |