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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 color: #42506c; | 161 color: #42506c; |
162 font-size: 15px; | 162 font-size: 15px; |
163 font-weight: bold; | 163 font-weight: bold; |
164 height: 32px; | 164 height: 32px; |
165 padding-top: 8px; | 165 padding-top: 8px; |
166 padding-bottom: 8px; | 166 padding-bottom: 8px; |
167 } | 167 } |
168 | 168 |
169 /* Main part of the dialog between header and footer. */ | 169 /* Main part of the dialog between header and footer. */ |
170 .dialog-container { | 170 .dialog-container { |
| 171 position: relative; |
171 display: -webkit-box; | 172 display: -webkit-box; |
172 -webkit-box-orient: horizontal; | 173 -webkit-box-orient: horizontal; |
173 -webkit-box-align: stretch; | 174 -webkit-box-align: stretch; |
174 overflow: hidden; | 175 overflow: hidden; |
175 -webkit-box-flex: 1; | 176 -webkit-box-flex: 1; |
176 } | 177 } |
177 | 178 |
178 /* List/grid and preview are inside this container. */ | 179 /* List/grid and preview are inside this container. */ |
179 .dialog-main { | 180 .dialog-main { |
180 -webkit-box-flex: 1; | 181 -webkit-box-flex: 1; |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 } | 409 } |
409 | 410 |
410 .dialog-container[sidebar] .dialog-body { | 411 .dialog-container[sidebar] .dialog-body { |
411 -webkit-border-top-left-radius: 0; | 412 -webkit-border-top-left-radius: 0; |
412 -webkit-border-bottom-left-radius: 0; | 413 -webkit-border-bottom-left-radius: 0; |
413 } | 414 } |
414 | 415 |
415 /* Container for the ok/cancel buttons. */ | 416 /* Container for the ok/cancel buttons. */ |
416 .dialog-footer { | 417 .dialog-footer { |
417 -webkit-box-orient: horizontal; | 418 -webkit-box-orient: horizontal; |
| 419 -webkit-box-align: center; |
418 display: -webkit-box; | 420 display: -webkit-box; |
419 margin: 15px; | 421 margin: 15px; |
420 margin-top: 0; | 422 margin-top: 0; |
421 } | 423 } |
422 | 424 |
| 425 .dialog-footer:not([progress]) .progress-bar, |
| 426 .dialog-footer:not([progress]) .preparing-label { |
| 427 display: none; |
| 428 } |
| 429 |
| 430 .dialog-footer[progress] .ok, |
| 431 .dialog-footer[progress] .filename-label, |
| 432 .dialog-footer[progress] .filename-input { |
| 433 display: none; |
| 434 } |
| 435 |
| 436 .dialog-footer .progress-bar { |
| 437 -webkit-margin-start: 20px; |
| 438 -webkit-margin-end: 20px; |
| 439 } |
| 440 |
423 /* The container for breadcrumb elements. */ | 441 /* The container for breadcrumb elements. */ |
424 .breadcrumbs { | 442 .breadcrumbs { |
425 -webkit-box-orient: horizontal; | 443 -webkit-box-orient: horizontal; |
426 -webkit-box-flex: 1; | 444 -webkit-box-flex: 1; |
427 -webkit-margin-end: 5px; | 445 -webkit-margin-end: 5px; |
428 display: -webkit-box; | 446 display: -webkit-box; |
429 -webkit-box-align: center; | 447 -webkit-box-align: center; |
430 line-height: 20px; | 448 line-height: 20px; |
431 padding-top: 1px; | 449 padding-top: 1px; |
432 overflow: hidden; | 450 overflow: hidden; |
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1107 | 1125 |
1108 div.offline { | 1126 div.offline { |
1109 -webkit-box-pack: center; | 1127 -webkit-box-pack: center; |
1110 display: -webkit-box; | 1128 display: -webkit-box; |
1111 } | 1129 } |
1112 | 1130 |
1113 div.offline > * { | 1131 div.offline > * { |
1114 -webkit-box-align: center; | 1132 -webkit-box-align: center; |
1115 display: -webkit-box; | 1133 display: -webkit-box; |
1116 } | 1134 } |
| 1135 |
| 1136 div.shade { |
| 1137 position: absolute; |
| 1138 left: 0; |
| 1139 right: 0; |
| 1140 top: 0; |
| 1141 bottom: 0; |
| 1142 background-color: rgba(255, 255, 255, 0.8); |
| 1143 opacity: 0; |
| 1144 webkit-transition: opacity 1000ms linear; |
| 1145 } |
| 1146 |
| 1147 div.shade[fadein] { |
| 1148 opacity: 1; |
| 1149 } |
OLD | NEW |