Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1120)

Side by Side Diff: chrome/browser/resources/file_manager/css/file_manager.css

Issue 9923005: [WebUI] Fix rest of CSS style nits so I can turn on CSS checker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removing PRESUBMIT.py change until ready Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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);
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
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;
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 > .accepts[selected], 613 .list-container list > .accepts[selected],
618 .list-container list > [selected]:hover, 614 .list-container list > [selected]:hover,
619 .list-container grid > [selected]:hover { 615 .list-container grid > [selected]:hover {
620 background-color: #c1d3ec; 616 background-color: rgb(193, 211, 236);
621 } 617 }
622 618
623 .list-container list > .accepts, 619 .list-container list > .accepts,
624 .list-container list > :hover, 620 .list-container list > :hover,
625 .list-container grid > :hover { 621 .list-container grid > :hover {
626 background-color: #f2f6fa; 622 background-color: rgb(242, 246, 250);
627 border-color: #f2f6fa; 623 border-color: rgb(242, 246, 250);
628 } 624 }
629 625
630 .table-row-cell .filename-label, 626 .table-row-cell .filename-label,
631 .thumbnail-item .filename-label, 627 .thumbnail-item .filename-label,
632 /* Show ellipsis in cells. The name column has different structure and overrides 628 /* Show ellipsis in cells. The name column has different structure and overrides
633 this rule. */ 629 this rule. */
634 .table-row-cell > div { 630 .table-row-cell > div {
631 display: block;
635 overflow: hidden; 632 overflow: hidden;
636 text-overflow: ellipsis; 633 text-overflow: ellipsis;
637 white-space: nowrap; 634 white-space: nowrap;
638 display: block;
639 } 635 }
640 636
641 /* Text box used for renaming in the detail list. */ 637 /* Text box used for renaming in the detail list. */
642 .table-row-cell input.rename { 638 .table-row-cell input.rename {
639 -webkit-margin-start: -3px;
643 line-height: 20px; 640 line-height: 20px;
644 -webkit-margin-start: -3px;
645 } 641 }
646 642
647 /* Elements that need to be LTR even in an RTL context, but should align 643 /* Elements that need to be LTR even in an RTL context, but should align
648 * left. Display size in Hebrew is such a case. 644 * left. Display size in Hebrew is such a case.
649 */ 645 */
650 html[dir='rtl'] .align-end-weakrtl { 646 html[dir='rtl'] .align-end-weakrtl {
651 direction: ltr; 647 direction: ltr;
652 text-align: left; 648 text-align: left;
653 } 649 }
654 650
655 input.rename { 651 input.rename {
656 font: inherit; 652 font: inherit;
653 line-height: 1;
657 text-align: inherit; 654 text-align: inherit;
658 line-height: 1;
659 } 655 }
660 656
661 .table-row-cell .filename-label, 657 .table-row-cell .filename-label,
662 .table-row-cell input.rename { 658 .table-row-cell input.rename {
663 -webkit-box-flex: 1; 659 -webkit-box-flex: 1;
664 } 660 }
665 661
666 [renaming] > .filename-label { 662 [renaming] > .filename-label {
667 display: none; 663 display: none;
668 } 664 }
669 665
670 /* Text box used for renaming in the thumbnail list. */ 666 /* Text box used for renaming in the thumbnail list. */
671 .thumbnail-grid input.rename { 667 .thumbnail-grid input.rename {
668 -webkit-box-sizing: border-box;
672 -webkit-margin-start: -1px; 669 -webkit-margin-start: -1px;
670 height: 20px;
673 width: 114px; 671 width: 114px;
674 height: 20px;
675 -webkit-box-sizing: border-box;
676 } 672 }
677 673
678 .thumbnail-grid li, 674 .thumbnail-grid li,
679 .detail-table list li { 675 .detail-table list li {
680 -webkit-user-drag: element; 676 -webkit-user-drag: element;
681 } 677 }
682 678
683 /* The cr.ui.Table representing the detailed file list. */ 679 /* The cr.ui.Table representing the detailed file list. */
684 .detail-table { 680 .detail-table {
681 border: 0;
685 width: 100%; 682 width: 100%;
686 border: 0;
687 } 683 }
688 684
689 /* Bottom pane describing current selection. */ 685 /* Bottom pane describing current selection. */
690 .preview-panel { 686 .preview-panel {
687 -webkit-box-align: center;
691 -webkit-box-orient: horizontal; 688 -webkit-box-orient: horizontal;
689 -webkit-transform: translate(0, 0);
690 background-color: #F0F0F0;
692 display: -webkit-box; 691 display: -webkit-box;
693 -webkit-box-align: center;
694 height: 61px; 692 height: 61px;
695 background-color: #F0F0F0; 693 opacity: 1;
696 padding: 0 14px; 694 padding: 0 14px;
697 position: relative; 695 position: relative;
698 z-index: 3; 696 z-index: 3;
699
700 opacity: 1;
701 -webkit-transform: translate(0, 0);
702 } 697 }
703 698
704 .preview-panel[visibility=hiding] { 699 .preview-panel[visibility=hiding] {
705 /* Using all seems to cause preview panel and checkbox flicking issue. */ 700 /* Using all seems to cause preview panel and checkbox flicking issue. */
701 -webkit-transform: translate(0, 5px);
706 -webkit-transition: opacity 220ms ease; 702 -webkit-transition: opacity 220ms ease;
707 -webkit-transform: translate(0, 5px);
708 opacity: 0; 703 opacity: 0;
709 } 704 }
710 705
711 .preview-panel[visibility=hidden] { 706 .preview-panel[visibility=hidden] {
712 display: none; 707 display: none;
713 opacity: 0; 708 opacity: 0;
714 } 709 }
715 710
716 .preview-thumbnails { 711 .preview-thumbnails {
712 -webkit-box-orient: horizontal;
717 display: -webkit-box; 713 display: -webkit-box;
718 -webkit-box-orient: horizontal;
719 padding-left: 39px; 714 padding-left: 39px;
720 } 715 }
721 716
722 .preview-thumbnails > div { 717 .preview-thumbnails > div {
718 height: 45px;
719 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */
720 position: relative;
723 width: 45px; 721 width: 45px;
724 height: 45px;
725 position: relative;
726 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */
727 } 722 }
728 723
729 .preview-thumbnails > div > div.img-container { 724 .preview-thumbnails > div > div.img-container {
725 height: 45px;
730 margin: 0; 726 margin: 0;
731 width: 45px; 727 width: 45px;
732 height: 45px;
733 } 728 }
734 729
735 .preview-thumbnails > div { 730 .preview-thumbnails > div {
736 border: 1px solid #fff;
737 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); 731 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
738 background-color: #F2F2F2; 732 background-color: #F2F2F2;
733 border: 1px solid #fff;
739 } 734 }
740 735
741 .preview-thumbnails > div > div.popup { 736 .preview-thumbnails > div > div.popup {
737 -webkit-transform: translate(0, 3px) scale(0.95);
738 -webkit-transition: all 180ms ease-in;
739 -webkit-transition-delay: 300ms;
740 background-color: #F2F2F2;
742 border: 2px solid #fff; 741 border: 2px solid #fff;
743 box-shadow: 0 0 0 1px #F0F0F0, 742 box-shadow: 0 0 0 1px #F0F0F0,
744 0 0 0 2px #D0D0D0, 743 0 0 0 2px #D0D0D0,
745 2px 2px 6px rgba(0, 0, 0, 0.2); 744 2px 2px 6px rgba(0, 0, 0, 0.2);
746 background-color: #F2F2F2;
747 margin: 0; 745 margin: 0;
748 z-index: 1; 746 opacity: 0;
749 pointer-events: none; 747 pointer-events: none;
750 position: absolute; 748 position: absolute;
751 749 z-index: 1;
752 -webkit-transition: all 180ms ease-in;
753 -webkit-transition-delay: 300ms;
754
755 -webkit-transform: translate(0, 3px) scale(0.95);
756 opacity: 0;
757 } 750 }
758 751
759 .preview-thumbnails > div:hover > div.popup { 752 .preview-thumbnails > div:hover > div.popup {
760 -webkit-transform: translate(0, 0) scale(1.0); 753 -webkit-transform: translate(0, 0) scale(1.0);
761 opacity: 1; 754 opacity: 1;
762 pointer-events: auto; 755 pointer-events: auto;
763 } 756 }
764 757
765 /* cr.ui.Table has a black focus border by default, which we don't want. */ 758 /* cr.ui.Table has a black focus border by default, which we don't want. */
766 .detail-table:focus { 759 .detail-table:focus {
767 border: 0; 760 border: 0;
768 } 761 }
769 762
770 /* Table splitter element */ 763 /* Table splitter element */
771 .table-header-splitter { 764 .table-header-splitter {
772 -webkit-border-start: 1px #aaa solid; 765 -webkit-border-start: 1px #aaa solid;
773 background-color: inherit; 766 background-color: inherit;
774 height: 27px; 767 height: 27px;
775 } 768 }
776 769
777 /* Container for a table header. */ 770 /* Container for a table header. */
778 .table-header { 771 .table-header {
779 -webkit-box-sizing: border-box; 772 -webkit-box-sizing: border-box;
773 background-image: -webkit-linear-gradient(top, #f9f9f9, #e8e8e8);
780 border-bottom: 1px #d2d2d2 solid; 774 border-bottom: 1px #d2d2d2 solid;
781 background-image: -webkit-linear-gradient(top, #f9f9f9, #e8e8e8);
782 height: 27px; 775 height: 27px;
783 } 776 }
784 777
785 .table-header-sort-image-desc::after { 778 .table-header-sort-image-desc::after {
786 -webkit-padding-start: 13px; 779 -webkit-padding-start: 13px;
787 color: #888;
788 background-image: url(../images/sort_desc.png); 780 background-image: url(../images/sort_desc.png);
789 background-position: center center; 781 background-position: center center;
790 background-repeat: no-repeat; 782 background-repeat: no-repeat;
783 color: #888;
791 content: '\00a0'; 784 content: '\00a0';
792 position: relative; 785 position: relative;
793 top: 0px; 786 top: 0;
794 } 787 }
795 788
796 .table-header-sort-image-asc::after { 789 .table-header-sort-image-asc::after {
797 -webkit-padding-start: 13px; 790 -webkit-padding-start: 13px;
798 color: #888;
799 background-image: url(../images/sort_asc.png); 791 background-image: url(../images/sort_asc.png);
800 background-position: center center; 792 background-position: center center;
801 background-repeat: no-repeat; 793 background-repeat: no-repeat;
794 color: #888;
802 content: '\00a0'; 795 content: '\00a0';
803 position: relative; 796 position: relative;
804 top: 0px; 797 top: 0;
805 } 798 }
806 799
807 800
808 .preview-container .table-header { 801 .preview-container .table-header {
809 border-radius: 0 4px 0 0; 802 border-radius: 0 4px 0 0;
810 } 803 }
811 804
812 /* Text label in a table header. */ 805 /* Text label in a table header. */
813 .table-header-label { 806 .table-header-label {
814 margin: 5px 10px 0 10px; 807 margin: 5px 10px 0 10px;
(...skipping 17 matching lines...) Expand all
832 position: relative; 825 position: relative;
833 z-index: 2; 826 z-index: 2;
834 } 827 }
835 828
836 .file-checkbox, 829 .file-checkbox,
837 .pin { 830 .pin {
838 opacity: 0.3; 831 opacity: 0.3;
839 } 832 }
840 833
841 #select-all-checkbox { 834 #select-all-checkbox {
835 -webkit-margin-end: 6px;
842 -webkit-margin-start: 0; 836 -webkit-margin-start: 0;
843 -webkit-margin-end: 6px; 837 margin-bottom: 0;
844 margin-top: 0; 838 margin-top: 0;
845 margin-bottom: 0;
846
847 /* 1px below text */ 839 /* 1px below text */
848 position: relative; 840 position: relative;
849 top: 1px; 841 top: 1px;
850 } 842 }
851 843
852 li.thumbnail-item .file-checkbox { 844 li.thumbnail-item .file-checkbox {
853 -webkit-margin-start: 7px; 845 -webkit-margin-start: 7px;
854 margin-top: 6px; 846 margin-top: 6px;
855 opacity: 0; 847 opacity: 0;
856 } 848 }
857 849
858 li.table-row:hover .file-checkbox, 850 li.table-row:hover .file-checkbox,
859 li.table-row:hover .pin, 851 li.table-row:hover .pin,
860 li.thumbnail-item:hover .file-checkbox { 852 li.thumbnail-item:hover .file-checkbox {
861 opacity: 0.5; 853 opacity: 0.5;
862 } 854 }
863 855
864 .file-checkbox:hover, 856 .file-checkbox:hover,
865 .pin:hover, 857 .pin:hover,
866 li.table-row[selected] .file-checkbox, 858 li.table-row[selected] .file-checkbox,
867 li.table-row[selected] .pin, 859 li.table-row[selected] .pin,
868 li.table-row .pin:checked, 860 li.table-row .pin:checked,
869 li.thumbnail-item[selected] .file-checkbox { 861 li.thumbnail-item[selected] .file-checkbox {
870 opacity: 1 !important; 862 opacity: 1 !important;
871 } 863 }
872 864
873 li.table-row { 865 li.table-row {
874 line-height: 38px; 866 line-height: 38px;
867 padding-bottom: 1px;
875 padding-top: 1px; 868 padding-top: 1px;
876 padding-bottom: 1px;
877 } 869 }
878 870
879 /* The icon in the name column. */ 871 /* The icon in the name column. */
880 .detail-icon { 872 .detail-icon {
881 background-image: url(../images/filetype_generic.png); 873 background-image: url(../images/filetype_generic.png);
882 background-position: center; 874 background-position: center;
883 background-repeat: no-repeat; 875 background-repeat: no-repeat;
884 height: 24px; 876 height: 24px;
885 width: 24px; 877 width: 24px;
886 } 878 }
887 879
888 /* Icon for files in the detail list. */ 880 /* Icon for files in the detail list. */
889 .detail-icon[iconType="archive"] { 881 .detail-icon[iconType='archive'] {
890 background-image: url(../images/filetype_archive.png); 882 background-image: url(../images/filetype_archive.png);
891 } 883 }
892 884
893 .detail-icon[iconType="audio"] { 885 .detail-icon[iconType='audio'] {
894 background-image: url(../images/filetype_audio.png); 886 background-image: url(../images/filetype_audio.png);
895 } 887 }
896 888
897 .detail-icon[iconType="device"] { 889 .detail-icon[iconType='device'] {
898 background-image: url(../images/filetype_device.png); 890 background-image: url(../images/filetype_device.png);
899 } 891 }
900 892
901 .detail-icon[iconType="doc"] { 893 .detail-icon[iconType='doc'] {
902 background-image: url(../images/filetype_doc.png); 894 background-image: url(../images/filetype_doc.png);
903 } 895 }
904 896
905 .detail-icon[iconType="excel"] { 897 .detail-icon[iconType='excel'] {
906 background-image: url(../images/filetype_excel.png); 898 background-image: url(../images/filetype_excel.png);
907 } 899 }
908 900
909 .detail-icon[iconType="folder"] { 901 .detail-icon[iconType='folder'] {
910 background-image: url(../images/filetype_folder.png); 902 background-image: url(../images/filetype_folder.png);
911 } 903 }
912 904
913 .detail-icon[iconType="html"] { 905 .detail-icon[iconType='html'] {
914 background-image: url(../images/filetype_html.png); 906 background-image: url(../images/filetype_html.png);
915 } 907 }
916 908
917 .detail-icon[iconType="image"] { 909 .detail-icon[iconType='image'] {
918 background-image: url(../images/filetype_image.png); 910 background-image: url(../images/filetype_image.png);
919 } 911 }
920 912
921 .detail-icon[iconType="pdf"] { 913 .detail-icon[iconType='pdf'] {
922 background-image: url(../images/filetype_pdf.png); 914 background-image: url(../images/filetype_pdf.png);
923 } 915 }
924 916
925 .detail-icon[iconType="ppt"] { 917 .detail-icon[iconType='ppt'] {
926 background-image: url(../images/filetype_ppt.png); 918 background-image: url(../images/filetype_ppt.png);
927 } 919 }
928 920
929 .detail-icon[iconType="presentation"] { 921 .detail-icon[iconType='presentation'] {
930 background-image: url(../images/filetype_presentation.png); 922 background-image: url(../images/filetype_presentation.png);
931 } 923 }
932 924
933 .detail-icon[iconType="spreadsheet"] { 925 .detail-icon[iconType='spreadsheet'] {
934 background-image: url(../images/filetype_spreadsheet.png); 926 background-image: url(../images/filetype_spreadsheet.png);
935 } 927 }
936 928
937 .detail-icon[iconType="text"] { 929 .detail-icon[iconType='text'] {
938 background-image: url(../images/filetype_text.png); 930 background-image: url(../images/filetype_text.png);
939 } 931 }
940 932
941 .detail-icon[iconType="unreadable"] { 933 .detail-icon[iconType='unreadable'] {
942 background-image: url(../images/filetype_unreadable_device.png); 934 background-image: url(../images/filetype_unreadable_device.png);
943 } 935 }
944 936
945 .detail-icon[iconType="video"] { 937 .detail-icon[iconType='video'] {
946 background-image: url(../images/filetype_video.png); 938 background-image: url(../images/filetype_video.png);
947 } 939 }
948 940
949 .detail-icon[iconType="word"] { 941 .detail-icon[iconType='word'] {
950 background-image: url(../images/filetype_word.png); 942 background-image: url(../images/filetype_word.png);
951 } 943 }
952 944
953 .detail-icon[iconType="gdoc"] { 945 .detail-icon[iconType='gdoc'] {
954 background-image: url(../images/filetype_doc.png); 946 background-image: url(../images/filetype_doc.png);
955 } 947 }
956 948
957 .detail-icon[iconType="gsheet"] { 949 .detail-icon[iconType='gsheet'] {
958 background-image: url(../images/filetype_spreadsheet.png); 950 background-image: url(../images/filetype_spreadsheet.png);
959 } 951 }
960 952
961 .detail-icon[iconType="gslides"] { 953 .detail-icon[iconType='gslides'] {
962 background-image: url(../images/filetype_presentation.png); 954 background-image: url(../images/filetype_presentation.png);
963 } 955 }
964 956
965 .detail-icon[iconType="gdraw"] { 957 .detail-icon[iconType='gdraw'] {
966 background-image: url(../images/filetype_drawing.png); 958 background-image: url(../images/filetype_drawing.png);
967 } 959 }
968 960
969 .detail-icon[iconType="gtable"] { 961 .detail-icon[iconType='gtable'] {
970 background-image: url(../images/filetype_table.png); 962 background-image: url(../images/filetype_table.png);
971 } 963 }
972 964
973 /* The filename text in the preview pane. */ 965 /* The filename text in the preview pane. */
974 .preview-filename { 966 .preview-filename {
975 -webkit-margin-start: 8px; 967 -webkit-margin-start: 8px;
976 color: #666; 968 color: #666;
977 font-weight: bold; 969 font-weight: bold;
978 margin-top: 10px; 970 margin-top: 10px;
979 overflow: hidden; 971 overflow: hidden;
980 text-overflow: ellipsis; 972 text-overflow: ellipsis;
981 white-space: nowrap; 973 white-space: nowrap;
982 } 974 }
983 975
984 /* The preview image. */ 976 /* The preview image. */
985 .preview-img { 977 .preview-img {
986 margin-top: 10px; 978 margin-top: 10px;
987 max-height: 300px; 979 max-height: 300px;
988 max-width: 190px; 980 max-width: 190px;
989 } 981 }
990 982
991 .preview-img.thumbnail { 983 .preview-img.thumbnail {
992 padding: 1px;
993 border: 1px #666 solid;
994 -webkit-background-clip: content-box; 984 -webkit-background-clip: content-box;
995
996 /* Checkboard background to distinguish images with alpha channels, from 985 /* Checkboard background to distinguish images with alpha channels, from
997 * ../images/preview-background.png 986 * ../images/preview-background.png
998 */ 987 */
999 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCA YAAABzenr0AAAAAXNSR0IArs4c6QAAAAlwSFlzAAAOTQAADiYBwNzaZQAAAAd0SU1FB9sDExUSAaQ/5T MAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAQ0lEQVRYw+3VsQkAMQwDQOfJRt 7r9/FQ3ilDuAiBUy84UKFVVX8M0t2TenxxOQAAAAAAAAB7+ueZaQIAAAAAAIC3AQceAAfi8EmRSgAAAA BJRU5ErkJggg==); 988 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCA YAAABzenr0AAAAAXNSR0IArs4c6QAAAAlwSFlzAAAOTQAADiYBwNzaZQAAAAd0SU1FB9sDExUSAaQ/5T MAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAQ0lEQVRYw+3VsQkAMQwDQOfJRt 7r9/FQ3ilDuAiBUy84UKFVVX8M0t2TenxxOQAAAAAAAAB7+ueZaQIAAAAAAIC3AQceAAfi8EmRSgAAAA BJRU5ErkJggg==);
989 border: 1px #666 solid;
990 padding: 1px;
1000 } 991 }
1001 992
1002 .preview-img[src=''] { 993 .preview-img[src=''] {
1003 visibility: hidden; 994 visibility: hidden;
1004 } 995 }
1005 996
1006 /* Decoration when multiple images are selected. */ 997 /* Decoration when multiple images are selected. */
1007 .preview-img.multiple-selected { 998 .preview-img.multiple-selected {
1008 -webkit-box-shadow: 5px 5px 0 #aaa; 999 -webkit-box-shadow: 5px 5px 0 #aaa;
1009 } 1000 }
1010 1001
1011 .metadata-item { 1002 .metadata-item {
1003 -webkit-box-flex: 1;
1012 -webkit-box-orient: horizontal; 1004 -webkit-box-orient: horizontal;
1013 -webkit-box-flex: 1; 1005 -webkit-padding-start: 8px;
1014 display: -webkit-box; 1006 display: -webkit-box;
1015 -webkit-padding-start: 8px;
1016 } 1007 }
1017 1008
1018 .metadata-label { 1009 .metadata-label {
1019 -webkit-margin-end: 6px; 1010 -webkit-margin-end: 6px;
1020 } 1011 }
1021 1012
1022 .preview-panel .spacer { 1013 .preview-panel .spacer {
1023 -webkit-box-flex: 1; 1014 -webkit-box-flex: 1;
1024 } 1015 }
1025 1016
1026 .delete-button { 1017 .delete-button {
1018 -webkit-margin-end: 8px;
1027 -webkit-margin-start: 8px; 1019 -webkit-margin-start: 8px;
1028 -webkit-margin-end: 8px;
1029 } 1020 }
1030 1021
1031 .task-item { 1022 .task-item {
1023 -webkit-box-align: center;
1024 -webkit-box-orient: horizontal;
1032 display: -webkit-box; 1025 display: -webkit-box;
1033 -webkit-box-orient: horizontal; 1026 padding: 5px 10px;
1034 -webkit-box-align: center;
1035 text-align: left; 1027 text-align: left;
1036 padding: 5px;
1037 -webkit-padding-end: 10px;
1038 -webkit-padding-start: 10px;
1039 } 1028 }
1040 1029
1041 .task-item > div { 1030 .task-item > div {
1042 overflow: hidden; 1031 overflow: hidden;
1032 padding-right: 5px;
1043 text-overflow: ellipsis; 1033 text-overflow: ellipsis;
1044 white-space: nowrap; 1034 white-space: nowrap;
1045 padding-right: 5px;
1046 } 1035 }
1047 1036
1048 .task-item > img { 1037 .task-item > img {
1049 -webkit-margin-end: 5px; 1038 -webkit-margin-end: 5px;
1050 } 1039 }
1051 1040
1052 /* The selection summary text at the bottom of the preview pane. */ 1041 /* The selection summary text at the bottom of the preview pane. */
1053 .preview-summary { 1042 .preview-summary {
1054 -webkit-box-flex: 1; 1043 -webkit-box-flex: 1;
1055 color: #666666; 1044 color: #666;
1056 overflow: hidden; 1045 overflow: hidden;
1057 padding: 5px; 1046 padding: 5px;
1058 text-overflow: ellipsis; 1047 text-overflow: ellipsis;
1048 vertical-align: middle;
1059 white-space: nowrap; 1049 white-space: nowrap;
1060 vertical-align: middle;
1061 } 1050 }
1062 1051
1063 .dialog-footer .filename-label { 1052 .dialog-footer .filename-label {
1064 -webkit-box-orient: horizontal; 1053 -webkit-box-orient: horizontal;
1065 background-color: white; 1054 background-color: white;
1066 color: #666; 1055 color: #666;
1067 display: -webkit-box; 1056 display: -webkit-box;
1068 font-weight: bold; 1057 font-weight: bold;
1058 padding-right: 4px;
1069 padding-top: 4px; 1059 padding-top: 4px;
1070 padding-right: 4px;
1071 } 1060 }
1072 1061
1073 .detail-name > * { 1062 .detail-name > * {
1063 -webkit-box-align: center;
1074 display: -webkit-box; 1064 display: -webkit-box;
1075 -webkit-box-align: center;
1076 } 1065 }
1077 1066
1078 .filename-input { 1067 .filename-input {
1068 -webkit-box-flex: 1;
1079 -webkit-box-orient: horizontal; 1069 -webkit-box-orient: horizontal;
1080 -webkit-box-flex: 1;
1081 display: -webkit-box; 1070 display: -webkit-box;
1082 } 1071 }
1083 1072
1084 /* A horizontal spring. */ 1073 /* A horizontal spring. */
1085 .horizontal-spacer { 1074 .horizontal-spacer {
1075 -webkit-box-flex: 1;
1086 -webkit-box-orient: horizontal; 1076 -webkit-box-orient: horizontal;
1087 -webkit-box-flex: 1;
1088 display: -webkit-box; 1077 display: -webkit-box;
1089 } 1078 }
1090 1079
1091 /* A vertical spring. */ 1080 /* A vertical spring. */
1092 .vertical-spacer { 1081 .vertical-spacer {
1082 -webkit-box-flex: 1;
1093 -webkit-box-orient: vertical; 1083 -webkit-box-orient: vertical;
1094 -webkit-box-flex: 1;
1095 display: -webkit-box; 1084 display: -webkit-box;
1096 } 1085 }
1097 1086
1098 /* GData-specfic styles */ 1087 /* GData-specfic styles */
1099 1088
1100 [gdata][offline] .table-row-cell > :not(.gdata-present), 1089 [gdata][offline] .table-row-cell > :not(.gdata-present),
1101 [gdata][offline] .thumbnail-item > :not(.gdata-present) { 1090 [gdata][offline] .thumbnail-item > :not(.gdata-present) {
1102 color: #808080; 1091 color: #808080;
1103 } 1092 }
1104 1093
1105 /* Overlay pane covering the entire file manager window (e.g. image editor)*/ 1094 /* Overlay pane covering the entire file manager window (e.g. image editor)*/
1106 .overlay-pane { 1095 .overlay-pane {
1096 border: none;
1097 height: 100%;
1098 left: 0;
1107 position: absolute; 1099 position: absolute;
1108 top: 0; 1100 top: 0;
1109 left: 0;
1110 width: 100%; 1101 width: 100%;
1111 height: 100%;
1112 border: none;
1113 z-index: 100; 1102 z-index: 100;
1114 } 1103 }
1115 1104
1116 /* Invisible container for elements representing files while dragging. */ 1105 /* Invisible container for elements representing files while dragging. */
1117 #drag-image-container { 1106 #drag-image-container {
1107 -webkit-box-orient: horizontal;
1108 display: -webkit-box;
1109 /* Only nodes in visible viewport will be rendered. */
1110 left: 0;
1111 padding-left: 100px;
1118 position: fixed; 1112 position: fixed;
1119 /* Only nodes in visible viewport will be rendered. */
1120 top: 0; 1113 top: 0;
1121 left: 0;
1122 display: -webkit-box;
1123 -webkit-box-orient: horizontal;
1124 padding-left: 100px;
1125 z-index: -1; /* below .dialog-container */ 1114 z-index: -1; /* below .dialog-container */
1126 } 1115 }
1127 1116
1128 #drag-image-container > * { 1117 #drag-image-container > * {
1129 display: inline-block; 1118 background-color: rgb(203, 219, 241);
1130 background-color: #CBDBF1;
1131 border-color: #E0E9F7;
1132 border: 1px solid white; /* transparent white */ 1119 border: 1px solid white; /* transparent white */
1133 cursor: default; 1120 cursor: default;
1121 display: inline-block;
1134 line-height: 20px; 1122 line-height: 20px;
1135 margin: 0 0 0 -100px; 1123 margin: 0 0 0 -100px;
1136 overflow: hidden; 1124 overflow: hidden;
1137 padding: 0 3px; 1125 padding: 0 3px;
1138 position: relative; /* to allow overlap */ 1126 position: relative; /* to allow overlap */
1139 text-overflow: ellipsis; 1127 text-overflow: ellipsis;
1140 white-space: pre; 1128 white-space: pre;
1141 } 1129 }
1142 1130
1143 #drag-image-container > li input[type=checkbox] { 1131 #drag-image-container > li input[type=checkbox] {
1144 display: none; 1132 display: none;
1145 } 1133 }
1146 1134
1147 menu.file-context-menu { 1135 menu.file-context-menu {
1148 z-index: 4; 1136 z-index: 4;
1149 } 1137 }
1150 1138
1151 input.common.pin[type="checkbox"]:checked::after { 1139 input.common.pin[type='checkbox']:checked::after {
1152 position: relative;
1153 content: url('../images/pin.png'); 1140 content: url('../images/pin.png');
1154 left: 3px; 1141 left: 3px;
1142 position: relative;
1155 top: -4px; 1143 top: -4px;
1156 } 1144 }
1157 1145
1158 div.offline { 1146 div.offline {
1159 -webkit-box-pack: center; 1147 -webkit-box-pack: center;
1160 display: -webkit-box; 1148 display: -webkit-box;
1161 } 1149 }
1162 1150
1163 div.offline > * { 1151 div.offline > * {
1164 -webkit-box-align: center; 1152 -webkit-box-align: center;
1165 display: -webkit-box; 1153 display: -webkit-box;
1166 } 1154 }
1167 1155
1168 div.shade { 1156 div.shade {
1157 /* -webkit-transition: opacity 1000ms linear; */
1158 background-color: rgba(255, 255, 255, 0.8);
1159 bottom: 0;
1160 left: 0;
1161 opacity: 0;
1169 position: absolute; 1162 position: absolute;
1170 left: 0;
1171 right: 0; 1163 right: 0;
1172 top: 0; 1164 top: 0;
1173 bottom: 0;
1174 background-color: rgba(255, 255, 255, 0.8);
1175 opacity: 0;
1176 webkit-transition: opacity 1000ms linear;
1177 } 1165 }
1178 1166
1179 div.shade[fadein] { 1167 div.shade[fadein] {
1180 opacity: 1; 1168 opacity: 1;
1181 } 1169 }
1182 1170
1183 /* Message panel for unmounted GData */ 1171 /* Message panel for unmounted GData */
1184 .dialog-container:not([unmounted]) .dialog-body > div.unmounted-panel, 1172 .dialog-container:not([unmounted]) .dialog-body > div.unmounted-panel,
1185 .dialog-container[unmounted] .dialog-body > div:not(.unmounted-panel) { 1173 .dialog-container[unmounted] .dialog-body > div:not(.unmounted-panel) {
1186 display: none; 1174 display: none;
1187 } 1175 }
1188 1176
1189 div.unmounted-panel { 1177 div.unmounted-panel {
1178 padding-left: 50px;
1190 padding-top: 20px; 1179 padding-top: 20px;
1191 padding-left: 50px;
1192 } 1180 }
1193 1181
1194 div.unmounted-panel > * { 1182 div.unmounted-panel > * {
1195 height: 22px; 1183 height: 22px;
1196 margin-bottom: 10px; 1184 margin-bottom: 10px;
1197 } 1185 }
1198 1186
1199 div.unmounted-panel > div { 1187 div.unmounted-panel > div {
1200 display: -webkit-box; 1188 -webkit-box-align: center;
1201 -webkit-box-orient: horizontal; 1189 -webkit-box-orient: horizontal;
1202 -webkit-box-pack: start; 1190 -webkit-box-pack: start;
1203 -webkit-box-align: center; 1191 display: -webkit-box;
1204 } 1192 }
1205 1193
1206 .unmounted-panel > .gdata.loading, 1194 .unmounted-panel > .gdata.loading,
1207 .unmounted-panel > .gdata.error { 1195 .unmounted-panel > .gdata.error {
1208 margin-left: -30px; /* Room for the spinner.*/ 1196 margin-left: -30px; /* Room for the spinner.*/
1209 padding-left: 30px; 1197 padding-left: 30px;
1210 } 1198 }
1211 1199
1212 .unmounted-panel > .gdata.loading { 1200 .unmounted-panel > .gdata.loading {
1213 background-image: url(../images/spinner.svg); 1201 background-image: url(../images/spinner.svg);
1202 background-position: 0 center;
1214 background-repeat: no-repeat; 1203 background-repeat: no-repeat;
1215 background-position: 0 center;
1216 } 1204 }
1217 1205
1218 .unmounted-panel:not([loading]) > .gdata.loading, 1206 .unmounted-panel:not([loading]) > .gdata.loading,
1219 .unmounted-panel:not([error]) > .gdata.error, 1207 .unmounted-panel:not([error]) > .gdata.error,
1220 .unmounted-panel:not([retry]) > .gdata.retry, 1208 .unmounted-panel:not([retry]) > .gdata.retry,
1221 .unmounted-panel:not([retry]) > .gdata.learn-more { 1209 .unmounted-panel:not([retry]) > .gdata.learn-more {
1222 display: none; 1210 display: none;
1223 } 1211 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/css/common.css ('k') | chrome/browser/resources/file_manager/css/gallery.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698