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; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 .butter-bar a { | 79 .butter-bar a { |
80 -webkit-margin-start: 1em; | 80 -webkit-margin-start: 1em; |
81 } | 81 } |
82 | 82 |
83 .butter-error { | 83 .butter-error { |
84 color: rgb(100, 0, 0); | 84 color: rgb(100, 0, 0); |
85 background-color: rgba(255, 100, 100, 0.5); | 85 background-color: rgba(255, 100, 100, 0.5); |
86 border: 1px red solid; | 86 border: 1px red solid; |
87 } | 87 } |
88 | 88 |
| 89 /* Commands should not be visible on the screen. */ |
| 90 command { |
| 91 visibility: hidden; |
| 92 } |
| 93 |
89 /* The top title of the dialog. */ | 94 /* The top title of the dialog. */ |
90 .dialog-title { | 95 .dialog-title { |
91 -webkit-box-sizing: border-box; | 96 -webkit-box-sizing: border-box; |
92 -webkit-padding-start: 15px; | 97 -webkit-padding-start: 15px; |
93 background-image: -webkit-linear-gradient(top, #fff,#f6f6f6); | 98 background-image: -webkit-linear-gradient(top, #fff,#f6f6f6); |
94 border-bottom: 1px #d6d9e3 solid; | 99 border-bottom: 1px #d6d9e3 solid; |
95 color: #42506c; | 100 color: #42506c; |
96 font-size: 15px; | 101 font-size: 15px; |
97 font-weight: bold; | 102 font-weight: bold; |
98 height: 32px; | 103 height: 32px; |
99 padding-top: 8px; | 104 padding-top: 8px; |
100 padding-bottom: 8px; | 105 padding-bottom: 8px; |
101 } | 106 } |
102 | 107 |
| 108 .dialog-container { |
| 109 display: -webkit-box; |
| 110 -webkit-box-orient: horizontal; |
| 111 -webkit-box-align: stretch; |
| 112 overflow: hidden; |
| 113 -webkit-box-flex: 1; |
| 114 } |
| 115 |
| 116 .dialog-main { |
| 117 -webkit-box-flex: 1; |
| 118 display:-webkit-box; |
| 119 -webkit-box-orient: vertical; |
| 120 -webkit-box-align: stretch; |
| 121 } |
| 122 |
| 123 .dialog-sidebar { |
| 124 position: relative; |
| 125 -webkit-box-flex: 0; |
| 126 width: 200px; |
| 127 margin-left: -200px; |
| 128 background-color: rgba(240,240,240,1); |
| 129 margin-bottom: 15px; |
| 130 margin-top: 15px; |
| 131 -webkit-border-top-right-radius: 4px; |
| 132 -webkit-border-top-left-radius: 4px; |
| 133 -webkit-border-bottom-left-radius: 4px; |
| 134 -webkit-transition: margin-left 180ms ease; |
| 135 overflow: hidden; |
| 136 } |
| 137 |
| 138 .dialog-container[sidebar] .dialog-sidebar { |
| 139 margin-left: 15px; |
| 140 } |
| 141 |
| 142 list.roots-list { |
| 143 width: 100%; |
| 144 } |
| 145 |
| 146 list.roots-list > * { |
| 147 border: none; |
| 148 border-radius: 0; |
| 149 line-height: 35px; |
| 150 margin: 0; |
| 151 padding: 0 5px; |
| 152 background-color: rgba(240,240,240,1); |
| 153 } |
| 154 |
| 155 list.roots-list > [lead], |
| 156 list.roots-list > [selected], |
| 157 list.roots-list > [anchor] { |
| 158 background-color: hsl(214,91%,89%); |
| 159 } |
| 160 |
| 161 list.roots-list > [lead]:hover, |
| 162 list.roots-list > [selected]:hover, |
| 163 list.roots-list > [anchor]:hover { |
| 164 background-color: hsl(214,91%,87%); |
| 165 } |
| 166 |
| 167 list.roots-list li.root-item { |
| 168 display: -webkit-box; |
| 169 -webkit-box-align: center; |
| 170 -webkit-box-pack: start; |
| 171 } |
| 172 |
| 173 li.root-item > * { |
| 174 display: block; |
| 175 margin-right: 5px; |
| 176 } |
| 177 |
| 178 li.root-item > .spacer { |
| 179 -webkit-box-flex: 1; |
| 180 } |
| 181 |
| 182 img.root-eject { |
| 183 opacity: 0.5; |
| 184 cursor: pointer; |
| 185 width: 15px; |
| 186 height: 12px; |
| 187 } |
| 188 |
| 189 img.root-eject:hover { |
| 190 opacity: 1.0; |
| 191 } |
| 192 |
103 /* Breadcrumbs and things under the title but above the list view. */ | 193 /* Breadcrumbs and things under the title but above the list view. */ |
104 .dialog-header { | 194 .dialog-header { |
105 -webkit-box-orient: horizontal; | 195 -webkit-box-orient: horizontal; |
106 -webkit-box-align: center; | 196 -webkit-box-align: center; |
107 display: -webkit-box; | 197 display: -webkit-box; |
108 margin: 15px; | 198 margin-top: 15px; |
| 199 margin-right: 15px; |
109 margin-bottom: 4px; | 200 margin-bottom: 4px; |
| 201 margin-left: 15px; |
| 202 -webkit-transition: all 180ms ease; |
| 203 } |
| 204 |
| 205 /* Container for the detail and thumbnail (not implemented yet) list views. */ |
| 206 .dialog-container[sidebar] .dialog-header { |
| 207 margin-left: 0; |
110 } | 208 } |
111 | 209 |
112 /* Container for the detail and thumbnail (not implemented yet) list views. */ | 210 div.close-sidebar { |
| 211 cursor: pointer; |
| 212 position: absolute; |
| 213 right: 0; |
| 214 top: 2px; |
| 215 display: none; |
| 216 z-index: 10; |
| 217 background-color: white; |
| 218 border: 1px solid rgba(200,200,200,1); |
| 219 width: 13px; |
| 220 height: 24px; |
| 221 } |
| 222 |
| 223 div.close-sidebar:hover { |
| 224 background-color: rgba(240,240,240,1); |
| 225 } |
| 226 |
| 227 div.open-sidebar { |
| 228 cursor: pointer; |
| 229 margin-right: 10px; |
| 230 background-color: white; |
| 231 width: 13px; |
| 232 height: 24px; |
| 233 } |
| 234 |
| 235 div.open-sidebar:hover { |
| 236 background-color: rgba(240,240,240,1); |
| 237 } |
| 238 |
| 239 .dialog-container[sidebar] div.open-sidebar { |
| 240 display: none;; |
| 241 } |
| 242 |
| 243 .dialog-container[sidebar] div.close-sidebar { |
| 244 display: block; |
| 245 } |
| 246 |
| 247 /* Container for the detail and thumbnail list views. */ |
113 .dialog-body { | 248 .dialog-body { |
114 -webkit-box-orient: vertical; | 249 -webkit-box-orient: vertical; |
115 -webkit-box-flex: 1; | 250 -webkit-box-flex: 1; |
116 border: 1px #aaa solid; | 251 border: 1px #aaa solid; |
117 border-radius: 4px; | 252 border-radius: 4px; |
118 display: -webkit-box; | 253 display: -webkit-box; |
119 margin: 15px; | 254 margin-right: 15px; |
120 margin-top: 0; | 255 margin-bottom: 15px; |
| 256 margin-left: 15px; |
121 overflow: hidden; | 257 overflow: hidden; |
| 258 -webkit-transition: all 180ms ease; |
| 259 } |
| 260 |
| 261 .dialog-container[sidebar] .dialog-body { |
| 262 -webkit-border-top-left-radius: 0; |
| 263 -webkit-border-bottom-left-radius: 0; |
| 264 margin-left: 0; |
122 } | 265 } |
123 | 266 |
124 /* Container for the ok/cancel buttons. */ | 267 /* Container for the ok/cancel buttons. */ |
125 .dialog-footer { | 268 .dialog-footer { |
126 -webkit-box-orient: horizontal; | 269 -webkit-box-orient: horizontal; |
127 display: -webkit-box; | 270 display: -webkit-box; |
128 margin: 15px; | 271 margin: 15px; |
129 margin-top: 0; | 272 margin-top: 0; |
130 } | 273 } |
131 | 274 |
132 /* The container for breadcrumb elements. */ | 275 /* The container for breadcrumb elements. */ |
133 .breadcrumbs { | 276 .breadcrumbs { |
134 -webkit-box-orient: horizontal; | 277 -webkit-box-orient: horizontal; |
135 -webkit-box-flex: 1; | 278 -webkit-box-flex: 1; |
136 display: -webkit-box; | 279 display: -webkit-box; |
| 280 -webkit-box-align: center; |
137 font-size: 15px; | 281 font-size: 15px; |
138 line-height: 15px; | 282 line-height: 15px; |
139 height: 18px; | 283 height: 18px; |
140 overflow: hidden; | 284 overflow: hidden; |
141 text-overflow: ellipsis; | 285 text-overflow: ellipsis; |
142 white-space: nowrap; | 286 white-space: nowrap; |
143 } | 287 } |
144 | 288 |
| 289 .dialog-container[sidebar] .breadcrumbs { |
| 290 margin-left: 10px; |
| 291 } |
| 292 |
| 293 /* Icon at the start of breadcrumb path. Corresponds to the root. */ |
| 294 .breadcrumb-icon { |
| 295 margin-right: 5px; |
| 296 display: block; |
| 297 } |
| 298 |
| 299 .dialog-container[sidebar] .breadcrumb-icon { |
| 300 display: none; |
| 301 } |
| 302 |
145 /* A single directory name in the list of path breadcrumbs. */ | 303 /* A single directory name in the list of path breadcrumbs. */ |
146 .breadcrumb-path { | 304 .breadcrumb-path { |
147 color: #265692; | 305 color: #265692; |
148 cursor: pointer; | 306 cursor: pointer; |
149 font-size: 14px; | 307 font-size: 14px; |
150 } | 308 } |
151 | 309 |
152 /* The final breadcrumb, representing the current directory. */ | 310 /* The final breadcrumb, representing the current directory. */ |
153 .breadcrumb-last { | 311 .breadcrumb-last { |
154 color: #666; | 312 color: #666; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 padding: 15px; | 361 padding: 15px; |
204 } | 362 } |
205 | 363 |
206 .downloads-warning div { | 364 .downloads-warning div { |
207 display: -webkit-box; | 365 display: -webkit-box; |
208 -webkit-box-flex: 1; | 366 -webkit-box-flex: 1; |
209 } | 367 } |
210 | 368 |
211 /* The cr.ui.Grid representing the detailed file list. */ | 369 /* The cr.ui.Grid representing the detailed file list. */ |
212 .thumbnail-grid { | 370 .thumbnail-grid { |
213 position: absolute; | 371 width: 100%; |
214 top: 0; | |
215 left: 0; | |
216 border: 0; | |
217 overflow-y: scroll; | 372 overflow-y: scroll; |
218 } | 373 } |
219 | 374 |
220 /* An item in the thumbnail view. */ | 375 /* An item in the thumbnail view. */ |
221 .thumbnail-item { | 376 .thumbnail-item { |
222 margin-top: 10px; | 377 margin-top: 10px; |
223 margin-left: 10px; | 378 margin-left: 10px; |
224 width: 120px; | 379 width: 120px; |
225 height: 145px; | 380 height: 145px; |
226 text-align: center; | 381 text-align: center; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 } | 416 } |
262 | 417 |
263 /* Text box used for renaming in the thumbnail list. */ | 418 /* Text box used for renaming in the thumbnail list. */ |
264 .thumbnail-grid input.rename { | 419 .thumbnail-grid input.rename { |
265 -webkit-margin-start: -2px; | 420 -webkit-margin-start: -2px; |
266 position: absolute; | 421 position: absolute; |
267 } | 422 } |
268 | 423 |
269 /* The cr.ui.Table representing the detailed file list. */ | 424 /* The cr.ui.Table representing the detailed file list. */ |
270 .detail-table { | 425 .detail-table { |
271 position: absolute; | 426 width: 100%; |
272 top: 0; | |
273 left: 0; | |
274 border: 0; | 427 border: 0; |
275 } | 428 } |
276 | 429 |
277 /* Bottom pane describing current selection. */ | 430 /* Bottom pane describing current selection. */ |
278 .preview-panel { | 431 .preview-panel { |
279 -webkit-box-orient: horizontal; | 432 -webkit-box-orient: horizontal; |
280 display: -webkit-box; | 433 display: -webkit-box; |
281 height: 61px; | 434 height: 61px; |
282 background-color: #F0F0F0; | 435 background-color: #F0F0F0; |
283 padding: 0px 14px 0px 14px; | 436 padding: 0px 14px 0px 14px; |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 /* Overlay pane covering the entire file manager window (e.g. image editor)*/ | 754 /* Overlay pane covering the entire file manager window (e.g. image editor)*/ |
602 .overlay-pane { | 755 .overlay-pane { |
603 position: absolute; | 756 position: absolute; |
604 top: 0; | 757 top: 0; |
605 left: 0; | 758 left: 0; |
606 width: 100%; | 759 width: 100%; |
607 height: 100%; | 760 height: 100%; |
608 border: none; | 761 border: none; |
609 z-index: 100; | 762 z-index: 100; |
610 } | 763 } |
OLD | NEW |