OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2011 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; |
11 -webkit-transition: opacity 0.07s linear; | 11 -webkit-transition: opacity 0.07s linear; |
| 12 -webkit-user-select: none; |
| 13 display: -webkit-box; |
| 14 height: 100%; |
| 15 margin: 0; |
| 16 opacity: 0; |
| 17 padding: 0; |
| 18 position: absolute; |
| 19 width: 100%; |
| 20 } |
| 21 |
| 22 button, |
| 23 input[type='button'], |
| 24 input[type='submit'] { |
| 25 -webkit-border-radius: 2px; |
| 26 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); |
12 -webkit-user-select: none; | 27 -webkit-user-select: none; |
13 display: -webkit-box; | 28 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); |
14 height: 100%; | 29 border: 1px solid #aaa; |
15 margin: 0; | 30 color: #444; |
16 opacity: 0; | 31 font-size: inherit; |
17 padding: 0; | 32 margin-bottom: 0px; |
18 position: absolute; | 33 min-width: 4em; |
19 width: 100%; | 34 padding: 3px 12px 3px 12px; |
| 35 } |
| 36 |
| 37 button:hover, |
| 38 input[type='button']:hover, |
| 39 input[type='submit']:hover { |
| 40 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2); |
| 41 background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9); |
| 42 border-color: #999; |
| 43 color: #222; |
| 44 } |
| 45 |
| 46 button:active, |
| 47 input[type='button']:active, |
| 48 input[type='submit']:active { |
| 49 -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2); |
| 50 background: #ebebeb -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc); |
| 51 color: #333; |
| 52 } |
| 53 |
| 54 button[disabled], |
| 55 input[type='button'][disabled], |
| 56 input[type='submit'][disabled], |
| 57 button[disabled]:hover, |
| 58 input[type='button'][disabled]:hover, |
| 59 input[type='submit'][disabled]:hover { |
| 60 -webkit-box-shadow: none; |
| 61 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); |
| 62 border-color: #aaa; |
| 63 color: #888; |
20 } | 64 } |
21 | 65 |
22 .butter-bar { | 66 .butter-bar { |
23 -webkit-transition-property: opacity, top; | 67 -webkit-transition-property: opacity, top; |
24 -webkit-transition-duration: 0.3s; | 68 -webkit-transition-duration: 0.3s; |
25 padding-top: 2px; | 69 padding-top: 2px; |
26 padding-bottom: 2px; | 70 padding-bottom: 2px; |
27 padding-left: 1em; | 71 padding-left: 1em; |
28 padding-right: 1em; | 72 padding-right: 1em; |
29 position: absolute; | 73 position: absolute; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 display: -webkit-box; | 107 display: -webkit-box; |
64 margin: 15px; | 108 margin: 15px; |
65 margin-bottom: 4px; | 109 margin-bottom: 4px; |
66 } | 110 } |
67 | 111 |
68 /* Container for the detail and thumbnail (not implemented yet) list views. */ | 112 /* Container for the detail and thumbnail (not implemented yet) list views. */ |
69 .dialog-body { | 113 .dialog-body { |
70 -webkit-box-orient: horizontal; | 114 -webkit-box-orient: horizontal; |
71 -webkit-box-flex: 1; | 115 -webkit-box-flex: 1; |
72 border: 1px #aaa solid; | 116 border: 1px #aaa solid; |
73 border-radius: 3px; | 117 border-radius: 4px; |
74 display: -webkit-box; | 118 display: -webkit-box; |
75 margin: 15px; | 119 margin: 15px; |
76 margin-top: 0; | 120 margin-top: 0; |
| 121 overflow: hidden; |
77 } | 122 } |
78 | 123 |
79 /* Container for the ok/cancel buttons. */ | 124 /* Container for the ok/cancel buttons. */ |
80 .dialog-footer { | 125 .dialog-footer { |
81 -webkit-box-orient: horizontal; | 126 -webkit-box-orient: horizontal; |
82 display: -webkit-box; | 127 display: -webkit-box; |
83 margin: 15px; | 128 margin: 15px; |
84 margin-top: 0; | 129 margin-top: 0; |
85 } | 130 } |
86 | 131 |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 } | 283 } |
239 | 284 |
240 /* Table splitter element */ | 285 /* Table splitter element */ |
241 .table-header-splitter { | 286 .table-header-splitter { |
242 -webkit-border-start: 1px #aaa solid; | 287 -webkit-border-start: 1px #aaa solid; |
243 background-color: inherit; | 288 background-color: inherit; |
244 height: 20px; | 289 height: 20px; |
245 margin-top: 4px; | 290 margin-top: 4px; |
246 } | 291 } |
247 | 292 |
248 /* Container for a table header. */ | 293 /* xxx Container for a table header. */ |
249 .table-header { | 294 .table-header { |
250 -webkit-box-sizing: border-box; | 295 -webkit-box-sizing: border-box; |
251 border-bottom: 1px #aaa solid; | 296 border-bottom: 1px #aaa solid; |
252 background-image: -webkit-linear-gradient(top, #f9f9f9, #e8e8e8); | 297 background-image: -webkit-linear-gradient(top, #f9f9f9, #e8e8e8); |
253 height: 28px; | 298 height: 28px; |
254 } | 299 } |
255 | 300 |
| 301 .list-container .table-header { |
| 302 border-radius: 4px 0 0 0; |
| 303 } |
| 304 |
| 305 .preview-container .table-header { |
| 306 border-radius: 0 4px 0 0; |
| 307 } |
| 308 |
256 /* Text label in a table header. */ | 309 /* Text label in a table header. */ |
257 .table-header-label { | 310 .table-header-label { |
258 margin-top: 6px; | 311 margin-top: 6px; |
259 } | 312 } |
260 | 313 |
261 /* First column has no label, so we want the sort indicator to take up the | 314 /* First column has no label, so we want the sort indicator to take up the |
262 * whole space. | 315 * whole space. |
263 */ | 316 */ |
264 .table-header-cell:first-child .table-header-sort-image-desc:after, | 317 .table-header-cell:first-child .table-header-sort-image-desc:after, |
265 .table-header-cell:first-child .table-header-sort-image-asc:after { | 318 .table-header-cell:first-child .table-header-sort-image-asc:after { |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 /* Overlay pane covering the entire file manager window (e.g. image editor)*/ | 575 /* Overlay pane covering the entire file manager window (e.g. image editor)*/ |
523 .overlay-pane { | 576 .overlay-pane { |
524 position: absolute; | 577 position: absolute; |
525 top: 0; | 578 top: 0; |
526 left: 0; | 579 left: 0; |
527 width: 100%; | 580 width: 100%; |
528 height: 100%; | 581 height: 100%; |
529 border: none; | 582 border: none; |
530 z-index: 100; | 583 z-index: 100; |
531 } | 584 } |
OLD | NEW |