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

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

Issue 9958101: [WebUI] Fix rest of CSS style nits in misc. dirs so I can turn on CSS checker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: estade review 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 */
6 4
7 /* Outer frame of the dialog. */ 5 /* Outer frame of the dialog. */
8 body { 6 body {
9 -webkit-box-flex: 1; 7 -webkit-box-flex: 1;
10 -webkit-box-orient: vertical; 8 -webkit-box-orient: vertical;
11 -webkit-transition: opacity 70ms linear; 9 -webkit-transition: opacity 70ms linear;
12 -webkit-user-select: none; 10 -webkit-user-select: none;
13 display: -webkit-box; 11 display: -webkit-box;
14 height: 100%; 12 height: 100%;
15 margin: 0; 13 margin: 0;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 button[disabled]:hover, 55 button[disabled]:hover,
58 input[type='button'][disabled]:hover, 56 input[type='button'][disabled]:hover,
59 input[type='submit'][disabled]:hover { 57 input[type='submit'][disabled]:hover {
60 -webkit-box-shadow: none; 58 -webkit-box-shadow: none;
61 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); 59 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5);
62 border-color: #aaa; 60 border-color: #aaa;
63 color: #888; 61 color: #888;
64 } 62 }
65 63
66 /* Drop opacity of selected rows to give a visual feedback on copy/cut 64 /* Drop opacity of selected rows to give a visual feedback on copy/cut
67 * operation.*/ 65 * operation. */
68 .blink{ 66 .blink {
69 opacity: 0.8; 67 opacity: 0.8;
70 } 68 }
71 69
72 .butter-bar { 70 .butter-bar {
73 -webkit-box-align: end; 71 -webkit-box-align: end;
74 -webkit-box-orient: horizontal; 72 -webkit-box-orient: horizontal;
75 -webkit-transform: translate3d(0, 1px, 0); 73 -webkit-transform: translate3d(0, 1px, 0);
74 -webkit-transition-duration: 300ms;
76 -webkit-transition-property: opacity, -webkit-transform; 75 -webkit-transition-property: opacity, -webkit-transform;
77 -webkit-transition-duration: 300ms;
78 background-color: rgba(95, 95, 95, 0.17); 76 background-color: rgba(95, 95, 95, 0.17);
79 color: #222; 77 color: #222;
80 display: -webkit-box; 78 display: -webkit-box;
81 padding-left: 1em; 79 padding-left: 1em;
82 padding-right: 1em; 80 padding-right: 1em;
83 padding-top: 2px; 81 padding-top: 2px;
84 position: absolute; 82 position: absolute;
85 top: 0; 83 top: 0;
86 } 84 }
87 85
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 } 125 }
128 126
129 .progress-bar { 127 .progress-bar {
130 border: 1px solid #999; 128 border: 1px solid #999;
131 margin-top: 3px; 129 margin-top: 3px;
132 padding: 1px; 130 padding: 1px;
133 width: 320px; 131 width: 320px;
134 } 132 }
135 133
136 .progress-track { 134 .progress-track {
135 -webkit-animation-duration: 800ms;
136 -webkit-animation-iteration-count: infinite;
137 -webkit-animation-name: bg; 137 -webkit-animation-name: bg;
138 -webkit-animation-duration: 0.8s;
139 -webkit-animation-iteration-count: infinite;
140 -webkit-animation-timing-function: linear; 138 -webkit-animation-timing-function: linear;
141 background-color:#ccc; 139 background-color: #ccc;
142 background-image: -webkit-linear-gradient(315deg, transparent, 140 background-image: -webkit-linear-gradient(315deg, transparent,
143 transparent 33%, rgba(0,0,0,0.12) 33%, rgba(0,0,0,0.12) 66%, 141 transparent 33%, rgba(0, 0, 0, 0.12) 33%, rgba(0, 0, 0, 0.12) 66%,
144 transparent 66%, transparent); 142 transparent 66%, transparent);
145 background-position: 0 0; 143 background-position: 0 0;
146 background-repeat: repeat-x; 144 background-repeat: repeat-x;
147 background-size: 16px 8px; 145 background-size: 16px 8px;
148 height: 5px; 146 height: 5px;
149 } 147 }
150 148
151 @-webkit-keyframes bg { 149 @-webkit-keyframes bg {
152 0% { background-position:0 0; } 150 0% { background-position: 0 0; }
153 100% { background-position:-16px 0; } 151 100% { background-position: -16px 0; }
154 } 152 }
155 153
156 /* The top title of the dialog. */ 154 /* The top title of the dialog. */
157 .dialog-title { 155 .dialog-title {
158 -webkit-box-sizing: border-box; 156 -webkit-box-sizing: border-box;
159 -webkit-padding-start: 15px; 157 -webkit-padding-start: 15px;
160 background-image: -webkit-linear-gradient(top, #fff,#f6f6f6); 158 background-image: -webkit-linear-gradient(top, #fff, #f6f6f6);
161 border-bottom: 1px #d6d9e3 solid; 159 border-bottom: 1px rgb(214, 217, 227) solid;
162 color: #42506c; 160 color: rgb(66, 80, 108);
163 font-size: 15px; 161 font-size: 15px;
164 font-weight: bold; 162 font-weight: bold;
165 height: 32px; 163 height: 32px;
164 padding-bottom: 8px;
166 padding-top: 8px; 165 padding-top: 8px;
167 padding-bottom: 8px;
168 } 166 }
169 167
170 /* Main part of the dialog between header and footer. */ 168 /* Main part of the dialog between header and footer. */
171 .dialog-container { 169 .dialog-container {
170 -webkit-box-align: stretch;
171 -webkit-box-flex: 1;
172 -webkit-box-orient: horizontal;
173 display: -webkit-box;
174 overflow: hidden;
172 position: relative; 175 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 } 176 }
179 177
180 /* List/grid and preview are inside this container. */ 178 /* List/grid and preview are inside this container. */
181 .dialog-main { 179 .dialog-main {
180 -webkit-box-align: stretch;
182 -webkit-box-flex: 1; 181 -webkit-box-flex: 1;
183 display:-webkit-box;
184 -webkit-box-orient: vertical; 182 -webkit-box-orient: vertical;
185 -webkit-box-align: stretch; 183 display: -webkit-box;
186 } 184 }
187 185
188 /* Roots list at the left. */ 186 /* Roots list at the left. */
189 .dialog-sidebar { 187 .dialog-sidebar {
188 -webkit-box-flex: 0;
189 -webkit-transition: margin-left 180ms ease;
190 background-color: #e6e6e6;
191 margin-left: -168px;
192 overflow: hidden;
190 position: relative; 193 position: relative;
191 -webkit-box-flex: 0;
192 width: 168px; 194 width: 168px;
193 margin-left: -168px;
194 background-color: #e6e6e6;
195 -webkit-transition: margin-left 180ms ease;
196 overflow: hidden;
197 } 195 }
198 196
199 .dialog-container[sidebar] .dialog-sidebar { 197 .dialog-container[sidebar] .dialog-sidebar {
200 margin-left: 0; 198 margin-left: 0;
201 } 199 }
202 200
203 /* Roots list at the left. */ 201 /* Roots list at the left. */
204 list.roots-list { 202 list.roots-list {
205 border-right: 1px solid #d2d2d2; 203 border-right: 1px solid #d2d2d2;
206 } 204 }
207 205
208 list.roots-list > * { 206 list.roots-list > * {
207 background-color: #e6e6e6;
209 border: none; 208 border: none;
210 border-radius: 0; 209 border-radius: 0;
211 height: 39px; 210 height: 39px;
212 margin: 0; 211 margin: 0;
213 padding: 0 5px; 212 padding: 0 5px;
214 background-color: #e6e6e6;
215 } 213 }
216 214
217 list.roots-list > [lead][selected], 215 list.roots-list > [lead][selected],
218 list.roots-list > [lead], 216 list.roots-list > [lead],
219 list.roots-list > [selected], 217 list.roots-list > [selected],
220 list.roots-list > [anchor] { 218 list.roots-list > [anchor] {
221 background-color: #ccdbf3; 219 background-color: rgb(204, 219, 243);
222 background-image: none; 220 background-image: none;
221 border-bottom: 1px solid rgb(195, 210, 233);
222 border-top: 1px solid rgb(195, 210, 233);
223 height: 37px; 223 height: 37px;
224 border-top: 1px solid #c3d2e9;
225 border-bottom: 1px solid #c3d2e9;
226 } 224 }
227 225
228 list.roots-list > [lead]:hover, 226 list.roots-list > [lead]:hover,
229 list.roots-list > [lead][selected]:hover, 227 list.roots-list > [lead][selected]:hover,
230 list.roots-list > [selected]:hover, 228 list.roots-list > [selected]:hover,
231 list.roots-list > [anchor]:hover { 229 list.roots-list > [anchor]:hover {
230 background-color: rgb(193, 211, 236) !important;
231 border-bottom: 1px solid transparent !important;
232 border-top: 1px solid transparent !important;
232 height: 37px !important; 233 height: 37px !important;
233 background-color: #c1d3ec !important;
234 border-top: 1px solid transparent !important;
235 border-bottom: 1px solid transparent !important;
236 } 234 }
237 235
238
239
240 list.roots-list li.root-item { 236 list.roots-list li.root-item {
237 -webkit-box-align: center;
241 display: -webkit-box; 238 display: -webkit-box;
242 -webkit-box-align: center;
243 padding-left: 11px; 239 padding-left: 11px;
244 } 240 }
245 241
246 li.root-item > * { 242 li.root-item > * {
247 display: block; 243 display: block;
248 margin-right: 5px; 244 margin-right: 5px;
249 } 245 }
250 246
251 li.root-item > .root-label { 247 li.root-item > .root-label {
252 max-width: 90px; 248 max-width: 90px;
253 overflow: hidden; 249 overflow: hidden;
254 text-overflow: ellipsis; 250 text-overflow: ellipsis;
255 white-space: nowrap; 251 white-space: nowrap;
256 } 252 }
257 253
258 li.root-item > .spacer { 254 li.root-item > .spacer {
259 -webkit-box-flex: 1; 255 -webkit-box-flex: 1;
260 } 256 }
261 257
262 .root-label { 258 .root-label {
263 -webkit-padding-start: 38px; 259 -webkit-padding-start: 38px;
260 background-position: left center;
264 background-repeat: no-repeat; 261 background-repeat: no-repeat;
262 }
263
264 .breadcrumbs .root-label {
265 -webkit-padding-start: 34px;
265 background-position: left center; 266 background-position: left center;
266 } 267 }
267 268
268 .breadcrumbs .root-label {
269 background-position: left center;
270 -webkit-padding-start: 34px;
271 }
272
273 .root-label[icon=downloads] { 269 .root-label[icon=downloads] {
274 background-image: url('../images/downloads_28x28.png'); 270 background-image: url('../images/downloads_28x28.png');
275 } 271 }
276 272
277 .breadcrumbs .root-label[icon=downloads] { 273 .breadcrumbs .root-label[icon=downloads] {
278 background-image: url('../images/downloads_24x24.png'); 274 background-image: url('../images/downloads_24x24.png');
279 } 275 }
280 276
281 .root-label[icon=gdata] { 277 .root-label[icon=gdata] {
282 background-image: url('../images/gdata_28x28.png'); 278 background-image: url('../images/gdata_28x28.png');
(...skipping 20 matching lines...) Expand all
303 .breadcrumbs .root-label[icon=removable] { 299 .breadcrumbs .root-label[icon=removable] {
304 background-image: url('../images/usb_source_24x24.png'); 300 background-image: url('../images/usb_source_24x24.png');
305 } 301 }
306 302
307 .dialog-container[sidebar] .breadcrumbs .root-label { 303 .dialog-container[sidebar] .breadcrumbs .root-label {
308 -webkit-padding-start: 0; 304 -webkit-padding-start: 0;
309 background-image: none; 305 background-image: none;
310 } 306 }
311 307
312 div.root-eject { 308 div.root-eject {
313 opacity: 0.5; 309 -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'); 310 background-image: url('../images/eject.png');
320 background-position: center center; 311 background-position: center center;
321 background-repeat: no-repeat; 312 background-repeat: no-repeat;
322 background-size: 10px 8px; 313 background-size: 10px 8px;
323 -webkit-transition: opacity 70ms linear; 314 cursor: pointer;
315 height: 20px;
316 margin-bottom: 2px;
317 margin-right: 3px;
318 opacity: 0.5;
319 width: 20px;
324 } 320 }
325 321
326 div.root-eject:hover { 322 div.root-eject:hover {
327 opacity: 1; 323 opacity: 1;
328 } 324 }
329 325
330 /* Breadcrumbs and things under the title but above the list view. */ 326 /* Breadcrumbs and things under the title but above the list view. */
331 .dialog-header { 327 .dialog-header {
328 -webkit-box-align: center;
332 -webkit-box-orient: horizontal; 329 -webkit-box-orient: horizontal;
333 -webkit-box-align: center; 330 -webkit-transition: all 180ms ease;
334 display: -webkit-box; 331 display: -webkit-box;
332 margin-bottom: 7px;
335 margin-right: 10px; 333 margin-right: 10px;
336 margin-bottom: 7px;
337 margin-top: 5px; 334 margin-top: 5px;
338 -webkit-transition: all 180ms ease;
339 } 335 }
340 336
341 /* Container for the detail and thumbnail (not implemented yet) list views. */ 337 /* Container for the detail and thumbnail (not implemented yet) list views. */
342 .dialog-container[sidebar] .dialog-header { 338 .dialog-container[sidebar] .dialog-header {
343 margin-left: 0; 339 margin-left: 0;
344 } 340 }
345 341
346 /* Close sidebar button. */ 342 /* Close sidebar button. */
347 div.close-sidebar { 343 div.close-sidebar {
344 background-color: white;
345 background-image: url('../images/close_sidebar.png');
346 background-position: center center;
347 background-repeat: no-repeat;
348 border: 1px solid #d2d2d2;
349 border-right: none;
348 cursor: pointer; 350 cursor: pointer;
351 display: none;
352 height: 26px;
349 position: absolute; 353 position: absolute;
350 right: 0; 354 right: 0;
351 top: 6px; 355 top: 6px;
352 display: none; 356 width: 14px;
353 z-index: 10; 357 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 } 358 }
363 359
364 div.close-sidebar:hover { 360 div.close-sidebar:hover {
365 background-color: rgba(240,240,240,1); 361 background-color: rgba(240, 240, 240, 1);
366 } 362 }
367 363
368 /* Open sidebar button. */ 364 /* Open sidebar button. */
369 div.open-sidebar { 365 div.open-sidebar {
370 cursor: pointer;
371 margin-right: 10px;
372 background-color: white; 366 background-color: white;
373 margin-top: 1px;
374 width: 15px;
375 height: 28px;
376 background-image: url('../images/open_sidebar.png'); 367 background-image: url('../images/open_sidebar.png');
377 background-position: center center; 368 background-position: center center;
378 background-repeat: no-repeat; 369 background-repeat: no-repeat;
370 cursor: pointer;
371 height: 28px;
372 margin-right: 10px;
373 margin-top: 1px;
374 width: 15px;
379 } 375 }
380 376
381 div.open-sidebar:hover { 377 div.open-sidebar:hover {
382 background-color: rgba(240,240,240,1); 378 background-color: rgba(240, 240, 240, 1);
383 } 379 }
384 380
385 .dialog-container[sidebar] div.open-sidebar { 381 .dialog-container[sidebar] div.open-sidebar {
386 display: none; 382 display: none;
387 } 383 }
388 384
389 .dialog-container[sidebar] div.close-sidebar { 385 .dialog-container[sidebar] div.close-sidebar {
390 display: block; 386 display: block;
391 } 387 }
392 388
393 /* Container for the detail and thumbnail list views. */ 389 /* Container for the detail and thumbnail list views. */
394 .dialog-body { 390 .dialog-body {
391 -webkit-box-flex: 1;
395 -webkit-box-orient: vertical; 392 -webkit-box-orient: vertical;
396 -webkit-box-flex: 1; 393 -webkit-transition: all 180ms ease;
397 border-top: 1px solid #d4d4d4; 394 border-top: 1px solid #d4d4d4;
398 display: -webkit-box; 395 display: -webkit-box;
399 overflow: hidden; 396 overflow: hidden;
400 -webkit-transition: all 180ms ease;
401 } 397 }
402 398
403 .dialog-container[sidebar] .dialog-body { 399 .dialog-container[sidebar] .dialog-body {
400 -webkit-border-bottom-left-radius: 0;
404 -webkit-border-top-left-radius: 0; 401 -webkit-border-top-left-radius: 0;
405 -webkit-border-bottom-left-radius: 0;
406 } 402 }
407 403
408 /* Container for the ok/cancel buttons. */ 404 /* Container for the ok/cancel buttons. */
409 .dialog-footer { 405 .dialog-footer {
406 -webkit-box-align: center;
410 -webkit-box-orient: horizontal; 407 -webkit-box-orient: horizontal;
411 -webkit-box-align: center;
412 display: -webkit-box; 408 display: -webkit-box;
413 margin: 15px; 409 margin: 0 15px 15px;
414 margin-top: 0;
415 } 410 }
416 411
417 .dialog-footer:not([progress]) .progress-bar, 412 .dialog-footer:not([progress]) .progress-bar,
418 .dialog-footer:not([progress]) .preparing-label { 413 .dialog-footer:not([progress]) .preparing-label {
419 display: none; 414 display: none;
420 } 415 }
421 416
422 .dialog-footer[progress] .ok, 417 .dialog-footer[progress] .ok,
423 .dialog-footer[progress] .filename-label, 418 .dialog-footer[progress] .filename-label,
424 .dialog-footer[progress] .filename-input { 419 .dialog-footer[progress] .filename-input {
425 display: none; 420 display: none;
426 } 421 }
427 422
428 .dialog-footer .progress-bar { 423 .dialog-footer .progress-bar {
424 -webkit-margin-end: 20px;
429 -webkit-margin-start: 20px; 425 -webkit-margin-start: 20px;
430 -webkit-margin-end: 20px;
431 } 426 }
432 427
433 /* The container for breadcrumb elements. */ 428 /* The container for breadcrumb elements. */
434 .breadcrumbs { 429 .breadcrumbs {
430 -webkit-box-align: center;
431 -webkit-box-flex: 1;
435 -webkit-box-orient: horizontal; 432 -webkit-box-orient: horizontal;
436 -webkit-box-flex: 1;
437 -webkit-margin-end: 5px; 433 -webkit-margin-end: 5px;
438 display: -webkit-box; 434 display: -webkit-box;
439 -webkit-box-align: center;
440 line-height: 20px; 435 line-height: 20px;
436 overflow: hidden;
441 padding-top: 1px; 437 padding-top: 1px;
442 overflow: hidden;
443 } 438 }
444 439
445 .breadcrumbs > [collapsed]:before { 440 .breadcrumbs > [collapsed]:before {
446 content: '...'; 441 content: '...';
447 } 442 }
448 443
449 .breadcrumbs > [collapsed] { 444 .breadcrumbs > [collapsed] {
450 width: 1em; 445 width: 1em;
451 } 446 }
452 447
453 .dialog-container[sidebar] .breadcrumbs { 448 .dialog-container[sidebar] .breadcrumbs {
454 margin-left: 10px; 449 margin-left: 10px;
455 } 450 }
456 451
457 /* A single directory name in the list of path breadcrumbs. */ 452 /* A single directory name in the list of path breadcrumbs. */
458 .breadcrumb-path { 453 .breadcrumb-path {
459 color: #265692; 454 color: rgb(38, 86, 146);
460 cursor: pointer; 455 cursor: pointer;
456 overflow: hidden;
461 text-overflow: ellipsis; 457 text-overflow: ellipsis;
462 white-space: nowrap; 458 white-space: nowrap;
463 overflow: hidden;
464 } 459 }
465 460
466 /* The final breadcrumb, representing the current directory. */ 461 /* The final breadcrumb, representing the current directory. */
467 .breadcrumb-last { 462 .breadcrumb-last {
468 color: black; 463 color: black;
469 cursor: default; 464 cursor: default;
470 } 465 }
471 466
472 /* The > arrow between breadcrumbs. */ 467 /* The > arrow between breadcrumbs. */
473 468
474 .breadcrumbs .separator { 469 .breadcrumbs .separator {
475 overflow: hidden;
476 width: 25px;
477 background-image: url('../images/breadcrumb-separator.png'); 470 background-image: url('../images/breadcrumb-separator.png');
478 background-position: center center; 471 background-position: center center;
479 background-repeat: no-repeat; 472 background-repeat: no-repeat;
480 height: 10px; 473 height: 10px;
474 overflow: hidden;
475 width: 25px;
481 } 476 }
482 477
483 .dialog-header button { 478 .dialog-header button {
484 -webkit-border-radius: 0; 479 -webkit-border-radius: 0;
480 background-position: left top;
481 background-repeat: no-repeat;
485 border: none; 482 border: none;
486 height: 28px; 483 height: 28px;
487 min-width: 0; 484 min-width: 0;
488 padding: 0; 485 padding: 0;
489 background-position: left top;
490 background-repeat: no-repeat;
491 } 486 }
492 487
493 /* button:hover and button[disabled]:hover rules must be override by placing 488 /* button:hover and button[disabled]:hover rules must be override by placing
494 * the following four rules after them. 489 * the following four rules after them.
495 */ 490 */
496 button.detail-view { 491 button.detail-view {
497 background-image: url('../images/icon_list_view_off.png'); 492 background-image: url('../images/icon_list_view_off.png');
493 border-right: 1px solid #9d9d9d;
498 width: 29px; 494 width: 29px;
499 border-right: 1px solid #9d9d9d;
500 } 495 }
501 496
502 button.thumbnail-view { 497 button.thumbnail-view {
503 background-image: url('../images/icon_thumb_view_off.png'); 498 background-image: url('../images/icon_thumb_view_off.png');
504 width: 28px; 499 width: 28px;
505 } 500 }
506 501
507 button.detail-view[disabled] { 502 button.detail-view[disabled] {
508 background-image: url('../images/icon_list_view_on.png'); 503 background-image: url('../images/icon_list_view_on.png');
509 } 504 }
510 505
511 button.thumbnail-view[disabled] { 506 button.thumbnail-view[disabled] {
512 background-image: url('../images/icon_thumb_view_on.png'); 507 background-image: url('../images/icon_thumb_view_on.png');
513 } 508 }
514 509
515 .filelist-panel { 510 .filelist-panel {
511 -webkit-box-flex: 1;
512 -webkit-box-orient: vertical;
516 display: -webkit-box; 513 display: -webkit-box;
517 -webkit-box-orient: vertical;
518 -webkit-box-flex: 1;
519 } 514 }
520 515
521 .list-container { 516 .list-container {
517 -webkit-box-flex: 1;
522 display: -webkit-box; 518 display: -webkit-box;
523 -webkit-box-flex: 1;
524 position: relative; 519 position: relative;
525 } 520 }
526 521
527 .spinner { 522 .spinner {
528 width: 22px; 523 background-image: url(../images/spinner.svg);
524 background-size: 100%;
529 height: 22px; 525 height: 22px;
530 position: absolute;
531 left: 50%; 526 left: 50%;
532 top: 50%;
533 margin-left: -11px; 527 margin-left: -11px;
534 margin-top: -11px; 528 margin-top: -11px;
535 background-image: url(../images/spinner.svg);
536 background-size: 100%;
537 opacity: 0.5; 529 opacity: 0.5;
530 position: absolute;
531 top: 50%;
532 width: 22px;
538 } 533 }
539 534
540 .downloads-warning { 535 .downloads-warning {
536 -webkit-box-align: center;
537 -webkit-box-orient: horizontal;
538 -webkit-transition: height 70ms linear;
539 background-color: #f0f0f0;
540 color: #666;
541 display: -webkit-box; 541 display: -webkit-box;
542 -webkit-box-orient: horizontal; 542 font-size: 13px;
543 height: 57px; 543 height: 57px;
544 background-color: #f0f0f0;
545 font-size: 13px;
546 color: #666;
547 -webkit-box-align: center;
548 overflow: hidden; 544 overflow: hidden;
549 -webkit-transition: height 70ms linear;
550 } 545 }
551 546
552 .downloads-warning[hidden] { 547 .downloads-warning[hidden] {
553 height: 0; 548 height: 0;
554 } 549 }
555 550
556 .downloads-warning img { 551 .downloads-warning img {
557 display: -webkit-box; 552 display: -webkit-box;
558 padding: 15px; 553 padding: 15px;
559 } 554 }
560 555
561 .downloads-warning div { 556 .downloads-warning div {
557 -webkit-box-flex: 1;
562 display: -webkit-box; 558 display: -webkit-box;
563 -webkit-box-flex: 1;
564 } 559 }
565 560
566 /* The cr.ui.Grid representing the detailed file list. */ 561 /* The cr.ui.Grid representing the detailed file list. */
567 .thumbnail-grid { 562 .thumbnail-grid {
563 overflow-y: auto;
568 width: 100%; 564 width: 100%;
569 overflow-y: auto;
570 } 565 }
571 566
572 /* An item in the thumbnail view. */ 567 /* An item in the thumbnail view. */
573 .thumbnail-item { 568 .thumbnail-item {
574 margin-top: 10px; 569 height: 145px;
575 margin-left: 5px; 570 margin-left: 5px;
576 margin-right: 5px; 571 margin-right: 5px;
572 margin-top: 10px;
573 text-align: center;
577 width: 120px; 574 width: 120px;
578 height: 145px;
579 text-align: center;
580 } 575 }
581 576
582 .thumbnail-item > input[type="checkbox"] { 577 .thumbnail-item > input[type='checkbox'] {
578 left: 0;
583 position: absolute; 579 position: absolute;
584 top: 0; 580 top: 0;
585 left: 0;
586 } 581 }
587 582
588 /* When changing these properties please preserve these conditions: 583 /* When changing these properties please preserve these conditions:
589 1. width == height (so that the rotated thumbnail does not look off-center) 584 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) */ 585 2. width % 8 == 0 (to minimize rounding errors in the centering code) */
591 div.img-container { 586 div.img-container {
587 height: 112px;
588 margin: 4px;
589 overflow: hidden;
592 position: relative; 590 position: relative;
593 overflow: hidden;
594 margin: 4px;
595 width: 112px; 591 width: 112px;
596 height: 112px;
597 } 592 }
598 593
599 div.img-container > img { 594 div.img-container > img {
595 -webkit-user-drag: none;
600 position: absolute; 596 position: absolute;
601 -webkit-user-drag: none;
602 } 597 }
603 598
604 .list-container list > *, 599 .list-container list > *,
605 .list-container grid > * { 600 .list-container grid > * {
606 background-image: none; 601 background-image: none;
607 border-radius: 0; 602 border-radius: 0;
608 line-height: 30px; 603 line-height: 30px;
609 } 604 }
610 605
611 .list-container list > [selected], 606 .list-container list > [selected],
612 .list-container grid > [selected] { 607 .list-container grid > [selected] {
613 background-color: #cbdbf1; 608 background-color: rgb(203, 219, 241);
614 border-color: #e0e9f7; 609 border-color: rgb(224, 233, 247);
615 } 610 }
616 611
617 .list-container list > .accepts[selected], 612 .list-container list > .accepts[selected],
618 .list-container list > [selected]:hover, 613 .list-container list > [selected]:hover,
619 .list-container grid > [selected]:hover { 614 .list-container grid > [selected]:hover {
620 background-color: #c1d3ec; 615 background-color: rgb(193, 211, 236);
621 } 616 }
622 617
623 .list-container list > .accepts, 618 .list-container list > .accepts,
624 .list-container list > :hover, 619 .list-container list > :hover,
625 .list-container grid > :hover { 620 .list-container grid > :hover {
626 background-color: #f2f6fa; 621 background-color: rgb(242, 246, 250);
627 border-color: #f2f6fa; 622 border-color: rgb(242, 246, 250);
628 } 623 }
629 624
630 .table-row-cell .filename-label, 625 .table-row-cell .filename-label,
631 .thumbnail-item .filename-label, 626 .thumbnail-item .filename-label,
632 /* Show ellipsis in cells. The name column has different structure and overrides 627 /* Show ellipsis in cells. The name column has different structure and overrides
633 this rule. */ 628 this rule. */
634 .table-row-cell > div { 629 .table-row-cell > div {
630 display: block;
635 overflow: hidden; 631 overflow: hidden;
636 text-overflow: ellipsis; 632 text-overflow: ellipsis;
637 white-space: nowrap; 633 white-space: nowrap;
638 display: block;
639 } 634 }
640 635
641 /* Text box used for renaming in the detail list. */ 636 /* Text box used for renaming in the detail list. */
642 .table-row-cell input.rename { 637 .table-row-cell input.rename {
638 -webkit-margin-start: -3px;
643 line-height: 20px; 639 line-height: 20px;
644 -webkit-margin-start: -3px;
645 } 640 }
646 641
647 /* Elements that need to be LTR even in an RTL context, but should align 642 /* Elements that need to be LTR even in an RTL context, but should align
648 * left. Display size in Hebrew is such a case. 643 * left. Display size in Hebrew is such a case.
649 */ 644 */
650 html[dir='rtl'] .align-end-weakrtl { 645 html[dir='rtl'] .align-end-weakrtl {
651 direction: ltr; 646 direction: ltr;
652 text-align: left; 647 text-align: left;
653 } 648 }
654 649
655 input.rename { 650 input.rename {
656 font: inherit; 651 font: inherit;
652 line-height: 1;
657 text-align: inherit; 653 text-align: inherit;
658 line-height: 1;
659 } 654 }
660 655
661 .table-row-cell .filename-label, 656 .table-row-cell .filename-label,
662 .table-row-cell input.rename { 657 .table-row-cell input.rename {
663 -webkit-box-flex: 1; 658 -webkit-box-flex: 1;
664 } 659 }
665 660
666 [renaming] > .filename-label { 661 [renaming] > .filename-label {
667 display: none; 662 display: none;
668 } 663 }
669 664
670 /* Text box used for renaming in the thumbnail list. */ 665 /* Text box used for renaming in the thumbnail list. */
671 .thumbnail-grid input.rename { 666 .thumbnail-grid input.rename {
667 -webkit-box-sizing: border-box;
672 -webkit-margin-start: -1px; 668 -webkit-margin-start: -1px;
669 height: 20px;
673 width: 114px; 670 width: 114px;
674 height: 20px;
675 -webkit-box-sizing: border-box;
676 } 671 }
677 672
678 .thumbnail-grid li, 673 .thumbnail-grid li,
679 .detail-table list li { 674 .detail-table list li {
680 -webkit-user-drag: element; 675 -webkit-user-drag: element;
681 } 676 }
682 677
683 /* The cr.ui.Table representing the detailed file list. */ 678 /* The cr.ui.Table representing the detailed file list. */
684 .detail-table { 679 .detail-table {
680 border: 0;
685 width: 100%; 681 width: 100%;
686 border: 0;
687 } 682 }
688 683
689 /* Bottom pane describing current selection. */ 684 /* Bottom pane describing current selection. */
690 .preview-panel { 685 .preview-panel {
686 -webkit-box-align: center;
691 -webkit-box-orient: horizontal; 687 -webkit-box-orient: horizontal;
688 -webkit-transform: translate(0, 0);
689 background-color: #F0F0F0;
692 display: -webkit-box; 690 display: -webkit-box;
693 -webkit-box-align: center;
694 height: 61px; 691 height: 61px;
695 background-color: #F0F0F0; 692 opacity: 1;
696 padding: 0 14px; 693 padding: 0 14px;
697 position: relative; 694 position: relative;
698 z-index: 3; 695 z-index: 3;
699
700 opacity: 1;
701 -webkit-transform: translate(0, 0);
702 } 696 }
703 697
704 .preview-panel[visibility=hiding] { 698 .preview-panel[visibility=hiding] {
705 /* Using all seems to cause preview panel and checkbox flicking issue. */ 699 /* Using all seems to cause preview panel and checkbox flicking issue. */
700 -webkit-transform: translate(0, 5px);
706 -webkit-transition: opacity 220ms ease; 701 -webkit-transition: opacity 220ms ease;
707 -webkit-transform: translate(0, 5px);
708 opacity: 0; 702 opacity: 0;
709 } 703 }
710 704
711 .preview-panel[visibility=hidden] { 705 .preview-panel[visibility=hidden] {
712 display: none; 706 display: none;
713 opacity: 0; 707 opacity: 0;
714 } 708 }
715 709
716 .preview-thumbnails { 710 .preview-thumbnails {
711 -webkit-box-orient: horizontal;
717 display: -webkit-box; 712 display: -webkit-box;
718 -webkit-box-orient: horizontal;
719 padding-left: 39px; 713 padding-left: 39px;
720 } 714 }
721 715
722 .preview-thumbnails > div { 716 .preview-thumbnails > div {
717 height: 45px;
718 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */
719 position: relative;
723 width: 45px; 720 width: 45px;
724 height: 45px;
725 position: relative;
726 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */
727 } 721 }
728 722
729 .preview-thumbnails > div > div.img-container { 723 .preview-thumbnails > div > div.img-container {
724 height: 45px;
730 margin: 0; 725 margin: 0;
731 width: 45px; 726 width: 45px;
732 height: 45px;
733 } 727 }
734 728
735 .preview-thumbnails > div { 729 .preview-thumbnails > div {
736 border: 1px solid #fff;
737 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); 730 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
738 background-color: #F2F2F2; 731 background-color: #F2F2F2;
732 border: 1px solid #fff;
739 } 733 }
740 734
741 .preview-thumbnails > div > div.popup { 735 .preview-thumbnails > div > div.popup {
736 -webkit-transform: translate(0, 3px) scale(0.95);
737 -webkit-transition: all 180ms ease-in;
738 -webkit-transition-delay: 300ms;
739 background-color: #F2F2F2;
742 border: 2px solid #fff; 740 border: 2px solid #fff;
743 box-shadow: 0 0 0 1px #F0F0F0, 741 box-shadow: 0 0 0 1px #F0F0F0,
744 0 0 0 2px #D0D0D0, 742 0 0 0 2px #D0D0D0,
745 2px 2px 6px rgba(0, 0, 0, 0.2); 743 2px 2px 6px rgba(0, 0, 0, 0.2);
746 background-color: #F2F2F2;
747 margin: 0; 744 margin: 0;
748 z-index: 1; 745 opacity: 0;
749 pointer-events: none; 746 pointer-events: none;
750 position: absolute; 747 position: absolute;
751 748 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 } 749 }
758 750
759 .preview-thumbnails > div:hover > div.popup { 751 .preview-thumbnails > div:hover > div.popup {
760 -webkit-transform: translate(0, 0) scale(1.0); 752 -webkit-transform: translate(0, 0) scale(1.0);
761 opacity: 1; 753 opacity: 1;
762 pointer-events: auto; 754 pointer-events: auto;
763 } 755 }
764 756
765 /* cr.ui.Table has a black focus border by default, which we don't want. */ 757 /* cr.ui.Table has a black focus border by default, which we don't want. */
766 .detail-table:focus { 758 .detail-table:focus {
767 border: 0; 759 border: 0;
768 } 760 }
769 761
770 /* Table splitter element */ 762 /* Table splitter element */
771 .table-header-splitter { 763 .table-header-splitter {
772 -webkit-border-start: 1px #aaa solid; 764 -webkit-border-start: 1px #aaa solid;
773 background-color: inherit; 765 background-color: inherit;
774 height: 27px; 766 height: 27px;
775 } 767 }
776 768
777 /* Container for a table header. */ 769 /* Container for a table header. */
778 .table-header { 770 .table-header {
779 -webkit-box-sizing: border-box; 771 -webkit-box-sizing: border-box;
772 background-image: -webkit-linear-gradient(top, #f9f9f9, #e8e8e8);
780 border-bottom: 1px #d2d2d2 solid; 773 border-bottom: 1px #d2d2d2 solid;
781 background-image: -webkit-linear-gradient(top, #f9f9f9, #e8e8e8);
782 height: 27px; 774 height: 27px;
783 } 775 }
784 776
785 .table-header-sort-image-desc::after { 777 .table-header-sort-image-desc::after {
786 -webkit-padding-start: 13px; 778 -webkit-padding-start: 13px;
787 color: #888;
788 background-image: url(../images/sort_desc.png); 779 background-image: url(../images/sort_desc.png);
789 background-position: center center; 780 background-position: center center;
790 background-repeat: no-repeat; 781 background-repeat: no-repeat;
782 color: #888;
791 content: '\00a0'; 783 content: '\00a0';
792 position: relative; 784 position: relative;
793 top: 0px; 785 top: 0;
794 } 786 }
795 787
796 .table-header-sort-image-asc::after { 788 .table-header-sort-image-asc::after {
797 -webkit-padding-start: 13px; 789 -webkit-padding-start: 13px;
798 color: #888;
799 background-image: url(../images/sort_asc.png); 790 background-image: url(../images/sort_asc.png);
800 background-position: center center; 791 background-position: center center;
801 background-repeat: no-repeat; 792 background-repeat: no-repeat;
793 color: #888;
802 content: '\00a0'; 794 content: '\00a0';
803 position: relative; 795 position: relative;
804 top: 0px; 796 top: 0;
805 } 797 }
806 798
807 799
808 .preview-container .table-header { 800 .preview-container .table-header {
809 border-radius: 0 4px 0 0; 801 border-radius: 0 4px 0 0;
810 } 802 }
811 803
812 /* Text label in a table header. */ 804 /* Text label in a table header. */
813 .table-header-label { 805 .table-header-label {
814 margin: 5px 10px 0 10px; 806 margin: 5px 10px 0 10px;
(...skipping 17 matching lines...) Expand all
832 position: relative; 824 position: relative;
833 z-index: 2; 825 z-index: 2;
834 } 826 }
835 827
836 .file-checkbox, 828 .file-checkbox,
837 .pin { 829 .pin {
838 opacity: 0.3; 830 opacity: 0.3;
839 } 831 }
840 832
841 #select-all-checkbox { 833 #select-all-checkbox {
834 -webkit-margin-end: 6px;
842 -webkit-margin-start: 0; 835 -webkit-margin-start: 0;
843 -webkit-margin-end: 6px; 836 margin-bottom: 0;
844 margin-top: 0; 837 margin-top: 0;
845 margin-bottom: 0;
846
847 /* 1px below text */ 838 /* 1px below text */
848 position: relative; 839 position: relative;
849 top: 1px; 840 top: 1px;
850 } 841 }
851 842
852 li.thumbnail-item .file-checkbox { 843 li.thumbnail-item .file-checkbox {
853 -webkit-margin-start: 7px; 844 -webkit-margin-start: 7px;
854 margin-top: 6px; 845 margin-top: 6px;
855 opacity: 0; 846 opacity: 0;
856 } 847 }
857 848
858 li.table-row:hover .file-checkbox, 849 li.table-row:hover .file-checkbox,
859 li.table-row:hover .pin, 850 li.table-row:hover .pin,
860 li.thumbnail-item:hover .file-checkbox { 851 li.thumbnail-item:hover .file-checkbox {
861 opacity: 0.5; 852 opacity: 0.5;
862 } 853 }
863 854
864 .file-checkbox:hover, 855 .file-checkbox:hover,
865 .pin:hover, 856 .pin:hover,
866 li.table-row[selected] .file-checkbox, 857 li.table-row[selected] .file-checkbox,
867 li.table-row[selected] .pin, 858 li.table-row[selected] .pin,
868 li.table-row .pin:checked, 859 li.table-row .pin:checked,
869 li.thumbnail-item[selected] .file-checkbox { 860 li.thumbnail-item[selected] .file-checkbox {
870 opacity: 1 !important; 861 opacity: 1 !important;
871 } 862 }
872 863
873 li.table-row { 864 li.table-row {
874 line-height: 38px; 865 line-height: 38px;
866 padding-bottom: 1px;
875 padding-top: 1px; 867 padding-top: 1px;
876 padding-bottom: 1px;
877 } 868 }
878 869
879 /* The icon in the name column. */ 870 /* The icon in the name column. */
880 .detail-icon { 871 .detail-icon {
881 background-image: url(../images/filetype_generic.png); 872 background-image: url(../images/filetype_generic.png);
882 background-position: center; 873 background-position: center;
883 background-repeat: no-repeat; 874 background-repeat: no-repeat;
884 height: 24px; 875 height: 24px;
885 width: 24px; 876 width: 24px;
886 } 877 }
887 878
888 /* Icon for files in the detail list. */ 879 /* Icon for files in the detail list. */
889 .detail-icon[iconType="archive"] { 880 .detail-icon[iconType='archive'] {
890 background-image: url(../images/filetype_archive.png); 881 background-image: url(../images/filetype_archive.png);
891 } 882 }
892 883
893 .detail-icon[iconType="audio"] { 884 .detail-icon[iconType='audio'] {
894 background-image: url(../images/filetype_audio.png); 885 background-image: url(../images/filetype_audio.png);
895 } 886 }
896 887
897 .detail-icon[iconType="device"] { 888 .detail-icon[iconType='device'] {
898 background-image: url(../images/filetype_device.png); 889 background-image: url(../images/filetype_device.png);
899 } 890 }
900 891
901 .detail-icon[iconType="doc"] { 892 .detail-icon[iconType='doc'] {
902 background-image: url(../images/filetype_doc.png); 893 background-image: url(../images/filetype_doc.png);
903 } 894 }
904 895
905 .detail-icon[iconType="excel"] { 896 .detail-icon[iconType='excel'] {
906 background-image: url(../images/filetype_excel.png); 897 background-image: url(../images/filetype_excel.png);
907 } 898 }
908 899
909 .detail-icon[iconType="folder"] { 900 .detail-icon[iconType='folder'] {
910 background-image: url(../images/filetype_folder.png); 901 background-image: url(../images/filetype_folder.png);
911 } 902 }
912 903
913 .detail-icon[iconType="html"] { 904 .detail-icon[iconType='html'] {
914 background-image: url(../images/filetype_html.png); 905 background-image: url(../images/filetype_html.png);
915 } 906 }
916 907
917 .detail-icon[iconType="image"] { 908 .detail-icon[iconType='image'] {
918 background-image: url(../images/filetype_image.png); 909 background-image: url(../images/filetype_image.png);
919 } 910 }
920 911
921 .detail-icon[iconType="pdf"] { 912 .detail-icon[iconType='pdf'] {
922 background-image: url(../images/filetype_pdf.png); 913 background-image: url(../images/filetype_pdf.png);
923 } 914 }
924 915
925 .detail-icon[iconType="ppt"] { 916 .detail-icon[iconType='ppt'] {
926 background-image: url(../images/filetype_ppt.png); 917 background-image: url(../images/filetype_ppt.png);
927 } 918 }
928 919
929 .detail-icon[iconType="presentation"] { 920 .detail-icon[iconType='presentation'] {
930 background-image: url(../images/filetype_presentation.png); 921 background-image: url(../images/filetype_presentation.png);
931 } 922 }
932 923
933 .detail-icon[iconType="spreadsheet"] { 924 .detail-icon[iconType='spreadsheet'] {
934 background-image: url(../images/filetype_spreadsheet.png); 925 background-image: url(../images/filetype_spreadsheet.png);
935 } 926 }
936 927
937 .detail-icon[iconType="text"] { 928 .detail-icon[iconType='text'] {
938 background-image: url(../images/filetype_text.png); 929 background-image: url(../images/filetype_text.png);
939 } 930 }
940 931
941 .detail-icon[iconType="unreadable"] { 932 .detail-icon[iconType='unreadable'] {
942 background-image: url(../images/filetype_unreadable_device.png); 933 background-image: url(../images/filetype_unreadable_device.png);
943 } 934 }
944 935
945 .detail-icon[iconType="video"] { 936 .detail-icon[iconType='video'] {
946 background-image: url(../images/filetype_video.png); 937 background-image: url(../images/filetype_video.png);
947 } 938 }
948 939
949 .detail-icon[iconType="word"] { 940 .detail-icon[iconType='word'] {
950 background-image: url(../images/filetype_word.png); 941 background-image: url(../images/filetype_word.png);
951 } 942 }
952 943
953 .detail-icon[iconType="gdoc"] { 944 .detail-icon[iconType='gdoc'] {
954 background-image: url(../images/filetype_doc.png); 945 background-image: url(../images/filetype_doc.png);
955 } 946 }
956 947
957 .detail-icon[iconType="gsheet"] { 948 .detail-icon[iconType='gsheet'] {
958 background-image: url(../images/filetype_spreadsheet.png); 949 background-image: url(../images/filetype_spreadsheet.png);
959 } 950 }
960 951
961 .detail-icon[iconType="gslides"] { 952 .detail-icon[iconType='gslides'] {
962 background-image: url(../images/filetype_presentation.png); 953 background-image: url(../images/filetype_presentation.png);
963 } 954 }
964 955
965 .detail-icon[iconType="gdraw"] { 956 .detail-icon[iconType='gdraw'] {
966 background-image: url(../images/filetype_drawing.png); 957 background-image: url(../images/filetype_drawing.png);
967 } 958 }
968 959
969 .detail-icon[iconType="gtable"] { 960 .detail-icon[iconType='gtable'] {
970 background-image: url(../images/filetype_table.png); 961 background-image: url(../images/filetype_table.png);
971 } 962 }
972 963
973 /* The filename text in the preview pane. */ 964 /* The filename text in the preview pane. */
974 .preview-filename { 965 .preview-filename {
975 -webkit-margin-start: 8px; 966 -webkit-margin-start: 8px;
976 color: #666; 967 color: #666;
977 font-weight: bold; 968 font-weight: bold;
978 margin-top: 10px; 969 margin-top: 10px;
979 overflow: hidden; 970 overflow: hidden;
980 text-overflow: ellipsis; 971 text-overflow: ellipsis;
981 white-space: nowrap; 972 white-space: nowrap;
982 } 973 }
983 974
984 /* The preview image. */ 975 /* The preview image. */
985 .preview-img { 976 .preview-img {
986 margin-top: 10px; 977 margin-top: 10px;
987 max-height: 300px; 978 max-height: 300px;
988 max-width: 190px; 979 max-width: 190px;
989 } 980 }
990 981
991 .preview-img.thumbnail { 982 .preview-img.thumbnail {
992 padding: 1px;
993 border: 1px #666 solid;
994 -webkit-background-clip: content-box; 983 -webkit-background-clip: content-box;
995
996 /* Checkboard background to distinguish images with alpha channels, from 984 /* Checkboard background to distinguish images with alpha channels, from
997 * ../images/preview-background.png 985 * ../images/preview-background.png
998 */ 986 */
999 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCA YAAABzenr0AAAAAXNSR0IArs4c6QAAAAlwSFlzAAAOTQAADiYBwNzaZQAAAAd0SU1FB9sDExUSAaQ/5T MAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAQ0lEQVRYw+3VsQkAMQwDQOfJRt 7r9/FQ3ilDuAiBUy84UKFVVX8M0t2TenxxOQAAAAAAAAB7+ueZaQIAAAAAAIC3AQceAAfi8EmRSgAAAA BJRU5ErkJggg==); 987 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCA YAAABzenr0AAAAAXNSR0IArs4c6QAAAAlwSFlzAAAOTQAADiYBwNzaZQAAAAd0SU1FB9sDExUSAaQ/5T MAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAQ0lEQVRYw+3VsQkAMQwDQOfJRt 7r9/FQ3ilDuAiBUy84UKFVVX8M0t2TenxxOQAAAAAAAAB7+ueZaQIAAAAAAIC3AQceAAfi8EmRSgAAAA BJRU5ErkJggg==);
988 border: 1px #666 solid;
989 padding: 1px;
1000 } 990 }
1001 991
1002 .preview-img[src=''] { 992 .preview-img[src=''] {
1003 visibility: hidden; 993 visibility: hidden;
1004 } 994 }
1005 995
1006 /* Decoration when multiple images are selected. */ 996 /* Decoration when multiple images are selected. */
1007 .preview-img.multiple-selected { 997 .preview-img.multiple-selected {
1008 -webkit-box-shadow: 5px 5px 0 #aaa; 998 -webkit-box-shadow: 5px 5px 0 #aaa;
1009 } 999 }
1010 1000
1011 .metadata-item { 1001 .metadata-item {
1002 -webkit-box-flex: 1;
1012 -webkit-box-orient: horizontal; 1003 -webkit-box-orient: horizontal;
1013 -webkit-box-flex: 1; 1004 -webkit-padding-start: 8px;
1014 display: -webkit-box; 1005 display: -webkit-box;
1015 -webkit-padding-start: 8px;
1016 } 1006 }
1017 1007
1018 .metadata-label { 1008 .metadata-label {
1019 -webkit-margin-end: 6px; 1009 -webkit-margin-end: 6px;
1020 } 1010 }
1021 1011
1022 .preview-panel .spacer { 1012 .preview-panel .spacer {
1023 -webkit-box-flex: 1; 1013 -webkit-box-flex: 1;
1024 } 1014 }
1025 1015
1026 .delete-button { 1016 .delete-button {
1017 -webkit-margin-end: 8px;
1027 -webkit-margin-start: 8px; 1018 -webkit-margin-start: 8px;
1028 -webkit-margin-end: 8px;
1029 } 1019 }
1030 1020
1031 .task-item { 1021 .task-item {
1022 -webkit-box-align: center;
1023 -webkit-box-orient: horizontal;
1032 display: -webkit-box; 1024 display: -webkit-box;
1033 -webkit-box-orient: horizontal; 1025 padding: 5px 10px;
1034 -webkit-box-align: center;
1035 text-align: left; 1026 text-align: left;
1036 padding: 5px;
1037 -webkit-padding-end: 10px;
1038 -webkit-padding-start: 10px;
1039 } 1027 }
1040 1028
1041 .task-item > div { 1029 .task-item > div {
1042 overflow: hidden; 1030 overflow: hidden;
1031 padding-right: 5px;
1043 text-overflow: ellipsis; 1032 text-overflow: ellipsis;
1044 white-space: nowrap; 1033 white-space: nowrap;
1045 padding-right: 5px;
1046 } 1034 }
1047 1035
1048 .task-item > img { 1036 .task-item > img {
1049 -webkit-margin-end: 5px; 1037 -webkit-margin-end: 5px;
1050 } 1038 }
1051 1039
1052 /* The selection summary text at the bottom of the preview pane. */ 1040 /* The selection summary text at the bottom of the preview pane. */
1053 .preview-summary { 1041 .preview-summary {
1054 -webkit-box-flex: 1; 1042 -webkit-box-flex: 1;
1055 color: #666666; 1043 color: #666;
1056 overflow: hidden; 1044 overflow: hidden;
1057 padding: 5px; 1045 padding: 5px;
1058 text-overflow: ellipsis; 1046 text-overflow: ellipsis;
1047 vertical-align: middle;
1059 white-space: nowrap; 1048 white-space: nowrap;
1060 vertical-align: middle;
1061 } 1049 }
1062 1050
1063 .dialog-footer .filename-label { 1051 .dialog-footer .filename-label {
1064 -webkit-box-orient: horizontal; 1052 -webkit-box-orient: horizontal;
1065 background-color: white; 1053 background-color: white;
1066 color: #666; 1054 color: #666;
1067 display: -webkit-box; 1055 display: -webkit-box;
1068 font-weight: bold; 1056 font-weight: bold;
1057 padding-right: 4px;
1069 padding-top: 4px; 1058 padding-top: 4px;
1070 padding-right: 4px;
1071 } 1059 }
1072 1060
1073 .detail-name > * { 1061 .detail-name > * {
1062 -webkit-box-align: center;
1074 display: -webkit-box; 1063 display: -webkit-box;
1075 -webkit-box-align: center;
1076 } 1064 }
1077 1065
1078 .filename-input { 1066 .filename-input {
1067 -webkit-box-flex: 1;
1079 -webkit-box-orient: horizontal; 1068 -webkit-box-orient: horizontal;
1080 -webkit-box-flex: 1;
1081 display: -webkit-box; 1069 display: -webkit-box;
1082 } 1070 }
1083 1071
1084 /* A horizontal spring. */ 1072 /* A horizontal spring. */
1085 .horizontal-spacer { 1073 .horizontal-spacer {
1074 -webkit-box-flex: 1;
1086 -webkit-box-orient: horizontal; 1075 -webkit-box-orient: horizontal;
1087 -webkit-box-flex: 1;
1088 display: -webkit-box; 1076 display: -webkit-box;
1089 } 1077 }
1090 1078
1091 /* A vertical spring. */ 1079 /* A vertical spring. */
1092 .vertical-spacer { 1080 .vertical-spacer {
1081 -webkit-box-flex: 1;
1093 -webkit-box-orient: vertical; 1082 -webkit-box-orient: vertical;
1094 -webkit-box-flex: 1;
1095 display: -webkit-box; 1083 display: -webkit-box;
1096 } 1084 }
1097 1085
1098 /* GData-specfic styles */ 1086 /* GData-specfic styles */
1099 1087
1100 [gdata][offline] .table-row-cell > :not(.gdata-present), 1088 [gdata][offline] .table-row-cell > :not(.gdata-present),
1101 [gdata][offline] .thumbnail-item > :not(.gdata-present) { 1089 [gdata][offline] .thumbnail-item > :not(.gdata-present) {
1102 color: #808080; 1090 color: #808080;
1103 } 1091 }
1104 1092
1105 /* Overlay pane covering the entire file manager window (e.g. image editor)*/ 1093 /* Overlay pane covering the entire file manager window (e.g. image editor)*/
1106 .overlay-pane { 1094 .overlay-pane {
1095 border: none;
1096 height: 100%;
1097 left: 0;
1107 position: absolute; 1098 position: absolute;
1108 top: 0; 1099 top: 0;
1109 left: 0;
1110 width: 100%; 1100 width: 100%;
1111 height: 100%;
1112 border: none;
1113 z-index: 100; 1101 z-index: 100;
1114 } 1102 }
1115 1103
1116 /* Invisible container for elements representing files while dragging. */ 1104 /* Invisible container for elements representing files while dragging. */
1117 #drag-image-container { 1105 #drag-image-container {
1106 -webkit-box-orient: horizontal;
1107 display: -webkit-box;
1108 /* Only nodes in visible viewport will be rendered. */
1109 left: 0;
1110 padding-left: 100px;
1118 position: fixed; 1111 position: fixed;
1119 /* Only nodes in visible viewport will be rendered. */
1120 top: 0; 1112 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 */ 1113 z-index: -1; /* below .dialog-container */
1126 } 1114 }
1127 1115
1128 #drag-image-container > * { 1116 #drag-image-container > * {
1129 display: inline-block; 1117 background-color: rgb(203, 219, 241);
1130 background-color: #CBDBF1;
1131 border-color: #E0E9F7;
1132 border: 1px solid white; /* transparent white */ 1118 border: 1px solid white; /* transparent white */
1133 cursor: default; 1119 cursor: default;
1120 display: inline-block;
1134 line-height: 20px; 1121 line-height: 20px;
1135 margin: 0 0 0 -100px; 1122 margin: 0 0 0 -100px;
1136 overflow: hidden; 1123 overflow: hidden;
1137 padding: 0 3px; 1124 padding: 0 3px;
1138 position: relative; /* to allow overlap */ 1125 position: relative; /* to allow overlap */
1139 text-overflow: ellipsis; 1126 text-overflow: ellipsis;
1140 white-space: pre; 1127 white-space: pre;
1141 } 1128 }
1142 1129
1143 #drag-image-container > li input[type=checkbox] { 1130 #drag-image-container > li input[type=checkbox] {
1144 display: none; 1131 display: none;
1145 } 1132 }
1146 1133
1147 menu.file-context-menu { 1134 menu.file-context-menu {
1148 z-index: 4; 1135 z-index: 4;
1149 } 1136 }
1150 1137
1151 input.common.pin[type="checkbox"]:checked::after { 1138 input.common.pin[type='checkbox']:checked::after {
1152 position: relative;
1153 content: url('../images/pin.png'); 1139 content: url('../images/pin.png');
1154 left: 3px; 1140 left: 3px;
1141 position: relative;
1155 top: -4px; 1142 top: -4px;
1156 } 1143 }
1157 1144
1158 div.offline { 1145 div.offline {
1159 -webkit-box-pack: center; 1146 -webkit-box-pack: center;
1160 display: -webkit-box; 1147 display: -webkit-box;
1161 } 1148 }
1162 1149
1163 div.offline > * { 1150 div.offline > * {
1164 -webkit-box-align: center; 1151 -webkit-box-align: center;
1165 display: -webkit-box; 1152 display: -webkit-box;
1166 } 1153 }
1167 1154
1168 div.shade { 1155 div.shade {
1156 /* -webkit-transition: opacity 1000ms linear; */
1157 background-color: rgba(255, 255, 255, 0.8);
1158 bottom: 0;
1159 left: 0;
1160 opacity: 0;
1169 position: absolute; 1161 position: absolute;
1170 left: 0;
1171 right: 0; 1162 right: 0;
1172 top: 0; 1163 top: 0;
1173 bottom: 0;
1174 background-color: rgba(255, 255, 255, 0.8);
1175 opacity: 0;
1176 webkit-transition: opacity 1000ms linear;
1177 } 1164 }
1178 1165
1179 div.shade[fadein] { 1166 div.shade[fadein] {
1180 opacity: 1; 1167 opacity: 1;
1181 } 1168 }
1182 1169
1183 /* Message panel for unmounted GData */ 1170 /* Message panel for unmounted GData */
1184 .dialog-container:not([unmounted]) .dialog-body > div.unmounted-panel, 1171 .dialog-container:not([unmounted]) .dialog-body > div.unmounted-panel,
1185 .dialog-container[unmounted] .dialog-body > div:not(.unmounted-panel) { 1172 .dialog-container[unmounted] .dialog-body > div:not(.unmounted-panel) {
1186 display: none; 1173 display: none;
1187 } 1174 }
1188 1175
1189 div.unmounted-panel { 1176 div.unmounted-panel {
1177 padding-left: 50px;
1190 padding-top: 20px; 1178 padding-top: 20px;
1191 padding-left: 50px;
1192 } 1179 }
1193 1180
1194 div.unmounted-panel > * { 1181 div.unmounted-panel > * {
1195 height: 22px; 1182 height: 22px;
1196 margin-bottom: 10px; 1183 margin-bottom: 10px;
1197 } 1184 }
1198 1185
1199 div.unmounted-panel > div { 1186 div.unmounted-panel > div {
1200 display: -webkit-box; 1187 -webkit-box-align: center;
1201 -webkit-box-orient: horizontal; 1188 -webkit-box-orient: horizontal;
1202 -webkit-box-pack: start; 1189 -webkit-box-pack: start;
1203 -webkit-box-align: center; 1190 display: -webkit-box;
1204 } 1191 }
1205 1192
1206 .unmounted-panel > .gdata.loading, 1193 .unmounted-panel > .gdata.loading,
1207 .unmounted-panel > .gdata.error { 1194 .unmounted-panel > .gdata.error {
1208 margin-left: -30px; /* Room for the spinner.*/ 1195 margin-left: -30px; /* Room for the spinner.*/
1209 padding-left: 30px; 1196 padding-left: 30px;
1210 } 1197 }
1211 1198
1212 .unmounted-panel > .gdata.loading { 1199 .unmounted-panel > .gdata.loading {
1213 background-image: url(../images/spinner.svg); 1200 background-image: url(../images/spinner.svg);
1201 background-position: 0 center;
1214 background-repeat: no-repeat; 1202 background-repeat: no-repeat;
1215 background-position: 0 center;
1216 } 1203 }
1217 1204
1218 .unmounted-panel:not([loading]) > .gdata.loading, 1205 .unmounted-panel:not([loading]) > .gdata.loading,
1219 .unmounted-panel:not([error]) > .gdata.error, 1206 .unmounted-panel:not([error]) > .gdata.error,
1220 .unmounted-panel:not([retry]) > .gdata.retry, 1207 .unmounted-panel:not([retry]) > .gdata.retry,
1221 .unmounted-panel:not([retry]) > .gdata.learn-more { 1208 .unmounted-panel:not([retry]) > .gdata.learn-more {
1222 display: none; 1209 display: none;
1223 } 1210 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698