1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 /* The order of z-index:
7 * - 2: drag-selection-border
12 * - 550: autocomplete-suggestions
15 * - 1000: preview thumbnail popup
16 * - 1000: overlay panel (ie. image editor)
19 /* Special attribute used in HTML to hide elements. */
20 body[type='folder'] [invisibleif~='folder'],
21 body[type='upload-folder'] [invisibleif~='upload-folder'],
22 body[type='saveas-file'] [invisibleif~='saveas-file'],
23 body[type='open-file'] [invisibleif~='open-file'],
24 body[type='open-multi-file'] [invisibleif~='open-multi-file'],
25 body[type='full-page'] [invisibleif~='full-page'],
27 body[type='folder'] [visibleif]:not([visibleif~='folder']),
28 body[type='upload-folder'] [visibleif]:not([visibleif~='upload-folder']),
29 body[type='saveas-file'] [visibleif]:not([visibleif~='saveas-file']),
30 body[type='open-file'] [visibleif]:not([visibleif~='open-file']),
31 body[type='open-multi-file'] [visibleif]:not([visibleif~='open-multi-file']),
32 body[type='full-page'] [visibleif]:not([visibleif~='full-page']) {
33 display: none !important;
41 cursor: col-resize !important;
44 /* Outer frame of the dialog. */
46 -webkit-tap-highlight-color: transparent;
47 -webkit-user-select: none;
51 flex-direction: column;
59 input[type='button']:focus,
60 input[type='submit']:focus,
63 outline-color: rgb(77, 144, 254);
66 /* Drop opacity of selected rows to give a visual feedback on copy/cut
77 /* TODO(mtomasz): Flip scrollbars to the opposite side for RTL languages. */
85 z-index: 500; /* Must be below the contextmenu (600). */
89 background-color: black;
90 border: 1px solid #ccc;
92 box-sizing: border-box;
97 transition: opacity 100ms;
101 :hover > .scrollbar-vertical > .scrollbar-button,
102 .scrollbar-vertical > .scrollbar-button.scrolling {
106 .scrollbar-vertical > .scrollbar-button:hover {
110 .scrollbar-vertical > .scrollbar-button.pressed {
114 /* Main part of the dialog between header and footer. */
116 align-items: stretch;
117 background-color: white; /* Makes #drag-container invisible. */
125 /* The style applied when a modal dialog box overlap the dialog container. */
126 .dialog-container.disable-header-drag .dialog-navigation-list-header,
127 .dialog-container.disable-header-drag .dialog-header {
128 -webkit-app-region: no-drag;
131 /* List/grid and preview are inside this container. */
133 align-items: stretch;
136 flex-direction: column;
139 /* Directory tree at the left. */
140 .dialog-navigation-list {
141 -webkit-border-end: 1px solid rgba(20, 20, 22, 0.1);
142 background-color: #f1f1f1;
145 flex-direction: column;
153 .dialog-navigation-list-header {
154 -webkit-app-region: drag;
156 height: 48px; /* Keep in sync with #dialog-header. */
160 .dialog-navigation-list-header #profile-badge {
161 display: inline-block;
162 height: 29px; /* Size of a profile image. */
165 width: 29px; /* Size of a profile image. */
168 .dialog-navigation-list-header #app-name {
174 .dialog-navigation-list-header #profile-badge:not([hidden]) + #app-name {
178 .dialog-navigation-list-contents {
184 .dialog-navigation-list-footer {
187 flex-direction: column;
190 /* A vertical splitter between the roots list and the file list. It is actually
191 a transparent area centered on the roots list right border.*/
199 z-index: 500; /* Must be below the contextmenu (600). */
205 flex-direction: column;
208 #navigation-list > * {
213 #navigation-list > .spacer {
217 #navigation-list > .accepts,
218 #navigation-list > [lead][selected],
219 #navigation-list > [lead],
220 #navigation-list > [selected],
221 #navigation-list > [anchor] {
222 background-color: rgb(225, 225, 225);
225 #navigation-list:focus > .accepts,
226 #navigation-list:focus > [lead][selected],
227 #navigation-list:focus > [lead],
228 #navigation-list:focus > [selected],
229 #navigation-list:focus > [anchor] {
230 background-color: rgb(66, 129, 244);
234 #navigation-list li.root-item {
238 line-height: 22px; /* To accommodate for icons. */
242 #navigation-list li.root-item > .root-label {
246 text-overflow: ellipsis;
250 #navigation-list .volume-icon {
251 background-repeat: no-repeat;
258 -webkit-border-end: 1px solid rgba(20, 20, 22, 0.1);
259 -webkit-box-sizing: border-box;
260 -webkit-padding-start: 20px;
261 color: rgb(100, 100, 100);
267 text-overflow: ellipsis;
277 padding-bottom: 0; /* For the preview panel. Will be overridden by JS. */
283 #directory-tree .tree-row {
291 /* For rows of subitems (non-top items) */
292 #directory-tree .tree-children .tree-row {
296 #directory-tree .tree-row > .expand-icon {
300 margin: -12px -10px -13px -13px;
306 #directory-tree:focus .tree-row[selected] > .expand-icon {
307 background-image: -webkit-canvas(tree-triangle-inverted);
310 #directory-tree .tree-row > .volume-icon {
311 background-position: center 3px;
312 background-repeat: no-repeat;
318 #directory-tree .tree-row > .label {
323 text-overflow: ellipsis;
326 #directory-tree .tree-item.accepts > .tree-row,
327 #directory-tree .tree-row[lead][selected],
328 #directory-tree .tree-row[lead],
329 #directory-tree .tree-row[selected],
330 #directory-tree .tree-row[anchor] {
331 background-color: rgb(204, 204, 204);
334 #directory-tree .tree-item.accepts > .tree-row,
335 #directory-tree .tree-row[lead][selected],
336 #directory-tree .tree-row[lead],
337 #directory-tree .tree-row[selected],
338 #directory-tree .tree-row[anchor] {
339 background-color: rgb(225, 225, 225);
342 #directory-tree:focus .tree-item.accepts > .tree-row,
343 #directory-tree:focus .tree-row[lead][selected],
344 #directory-tree:focus .tree-row[lead],
345 #directory-tree:focus .tree-row[selected],
346 #directory-tree:focus .tree-row[anchor] {
347 background-color: rgb(193, 209, 232);
350 #directory-tree:focus .tree-item.accepts > .tree-row,
351 #directory-tree:focus .tree-row[lead][selected],
352 #directory-tree:focus .tree-row[lead],
353 #directory-tree:focus .tree-row[selected],
354 #directory-tree:focus .tree-row[anchor] {
355 background-color: rgb(66, 129, 244);
359 /* Make top-level items thicker and their expand-icno invisible */
360 #directory-tree > .tree-item > .tree-row {
364 #directory-tree > .tree-item > .tree-row > .expand-icon {
368 #directory-tree .tree-row > div.root-eject {
369 background: -webkit-image-set(
370 url('../images/files/ui/eject.png') 1x,
371 url('../images/files/ui/2x/eject.png') 2x) no-repeat center;
377 transition: opacity 70ms linear;
381 #directory-tree:focus .tree-row[selected] > div.root-eject {
382 background: -webkit-image-set(
383 url('../images/files/ui/eject_white.png') 1x,
384 url('../images/files/ui/2x/eject_white.png') 2x) no-repeat center;
388 #directory-tree .root-item[disabled] {
390 pointer-events: none;
393 /* Breadcrumbs and things under the title but above the list view. */
395 -webkit-app-region: drag;
402 transition: all 180ms ease;
405 .dialog-header .volume-icon {
406 -webkit-margin-start: 10px;
407 background-position: center 3px;
408 background-repeat: no-repeat;
414 .dialog-header > .spacer {
426 -webkit-app-region: no-drag;
427 background-color: #fff;
438 transition: width 0.2s ease;
442 #search-box input::-webkit-search-cancel-button {
443 -webkit-appearance: none;
446 #search-box.has-cursor input,
447 #search-box.has-text input {
452 -webkit-app-region: no-drag;
453 -webkit-margin-end: 30px;
455 background: -webkit-image-set(
456 url(../images/files/ui/search_clear.png) 1x,
457 url(../images/files/ui/2x/search_clear.png) 2x)
471 #search-box.has-cursor .clear,
472 #search-box.has-text .clear {
476 #search-box.has-text .clear {
480 #search-box .clear:hover {
481 background-image: -webkit-image-set(
482 url(../images/files/ui/search_clear_hover.png) 1x,
483 url(../images/files/ui/2x/search_clear_hover.png) 2x);
486 #search-box .clear:active {
487 background-image: -webkit-image-set(
488 url(../images/files/ui/search_clear_pressed.png) 1x,
489 url(../images/files/ui/2x/search_clear_pressed.png) 2x);
496 .topbutton-bar .search-button {
497 background-image: -webkit-image-set(
498 url(../images/files/ui/search_icon_active.png) 1x,
499 url(../images/files/ui/2x/search_icon_active.png) 2x);
502 .topbutton-bar .view-button.table {
503 background-image: -webkit-image-set(
504 url('../images/files/ui/button_list_view.png') 1x,
505 url('../images/files/ui/2x/button_list_view.png') 2x);
508 .topbutton-bar .view-button.grid {
509 background-image: -webkit-image-set(
510 url('../images/files/ui/button_mosaic_view.png') 1x,
511 url('../images/files/ui/2x/button_mosaic_view.png') 2x);
514 /* Container for the detail and thumbnail list views. */
516 -webkit-transition: all 180ms ease;
517 border-top: 1px solid rgba(20, 20, 22, 0.1);
531 .dialog-middlebar-contents {
540 /* Container for the ok/cancel buttons. */
543 border-top: 1px solid rgb(225, 225, 225);
551 .progressable:not([progress]) .progress-bar,
552 .progressable:not([progress]) .preparing-label {
556 .progressable[progress] .ok,
557 .progressable[progress] #filename-input-box,
558 .progressable[progress] #preview-lines,
559 .progressable[progress] .file-type {
563 .progressable .progress-bar {
564 -webkit-margin-end: 20px;
565 -webkit-margin-start: 20px;
569 /* The container for breadcrumb elements. */
580 .breadcrumbs > [collapsed]::before {
584 .breadcrumbs > [collapsed] {
588 /* A single directory name in the list of path breadcrumbs. */
594 text-overflow: ellipsis;
598 /* The final breadcrumb, representing the current directory. */
599 #search-breadcrumbs .breadcrumb-path.breadcrumb-last {
604 /* The > arrow between breadcrumbs. */
606 .breadcrumbs .separator {
607 background-image: -webkit-image-set(
608 url('../images/files/ui/breadcrumb-separator.png') 1x,
609 url('../images/files/ui/2x/breadcrumb-separator.png') 2x);
610 background-position: center center;
611 background-repeat: no-repeat;
618 html[dir='rtl'] .breadcrumbs .separator {
619 -webkit-transform: scaleX(-1);
622 #filename-input-box input {
623 border: 1px solid #c8c8c8;
625 box-sizing: border-box;
626 height: 31px; /* border-box */
633 flex-direction: column;
639 flex-direction: column;
646 flex-direction: column;
649 #detail-table > list,
652 padding-bottom: 0; /* For the preview panel. Will be overridden by JS. */
656 /* Override overflow specifying by table_list.js to use the original scroll
657 bar. crbug.com/391698 */
658 overflow: scroll !important;
661 #file-list .drag-selection-border {
662 -webkit-box-sizing: border-box;
663 background-color: rgba(255, 255, 255, 0.3);
664 border: 2px solid rgba(255, 255, 255, 0.6);
665 outline: 1px solid rgba(0, 0, 0, 0.1);
671 background: url(../images/common/spinner.svg) center/100% no-repeat;
683 background: url(../images/common/spinner.svg) center / 16px no-repeat;
694 background-color: #f0f0f0;
695 background-image: -webkit-image-set(
696 url('../images/files/ui/warning_icon_square.png') 1x,
697 url('../images/files/ui/2x/warning_icon_square.png') 2x);
698 background-position: 15px center;
699 background-repeat: no-repeat;
707 padding-left: 57px; /* Make space for the icon. */
708 transition: height 70ms linear;
711 .downloads-warning[hidden] {
712 display: flex !important; /* Overrides [hidden] for animation. */
716 @-webkit-keyframes heightAnimation {
723 /* Drive space warning banner. */
725 -webkit-animation: heightAnimation 70ms linear;
727 background-image: url(chrome://resources/images/clouds.png);
728 background-repeat: repeat-x;
729 background-size: 150px 44px;
740 .volume-warning[hidden] {
745 .volume-warning .drive-icon {
746 background-image: -webkit-image-set(
747 url('../images/files/ui/drive_logo.png') 1x,
748 url('../images/files/ui/2x/drive_logo.png') 2x);
749 background-position: center;
750 background-repeat: no-repeat;
751 background-size: 25px 22px;
757 .volume-warning .drive-text {
762 /* The cr.ui.Grid representing the detailed file list. */
765 padding-bottom: 0; /* For the preview panel. Will be overridden by JS. */
769 body[type='full-page'] .thumbnail-frame > .img-container {
773 body[type='full-page'] .thumbnail-frame > .img-container,
774 body[type='full-page'] .detail-name .detail-icon {
778 .img-container > img {
779 -webkit-user-drag: none;
783 .img-container > img:not(.cached) {
784 -webkit-animation: fadeIn 250ms linear;
793 justify-content: center;
800 .thumbnail-bottom .filename-label {
804 /* Styles specific for the grid view. */
806 .thumbnail-grid .thumbnail-item {
807 -webkit-margin-start: 21px;
808 border: 3px solid transparent; /* Selection will make the border visible. */
813 .thumbnail-grid .thumbnail-frame {
814 background-color: rgb(245, 245, 245);
821 .thumbnail-grid .thumbnail-item[selected] .thumbnail-frame,
822 .thumbnail-grid .thumbnail-item.accepts .thumbnail-frame {
826 .thumbnail-grid .img-container {
831 .thumbnail-grid .thumbnail-bottom {
832 background: rgba(0, 0, 0, 0.55);
837 /* Padding counterweights negative margins of items, thus eliminating scroll
838 bar when it's not needed. Max height is set to fit 8 items before showing
840 #default-actions-list {
845 #default-actions-list > li > * {
846 background-position: 5px center;
847 background-repeat: no-repeat;
848 background-size: 16px 16px;
852 #list-container list > li[selected],
853 #list-container grid > li[selected],
854 #default-actions-list > li[selected] {
855 background-color: rgb(225, 225, 225);
858 #list-container list:focus > li[selected],
859 #list-container grid:focus > li[selected],
860 #default-actions-list:focus > li[selected] {
861 background-color: rgb(66, 129, 244);
865 #list-container list > li.accepts[selected],
866 #list-container grid > li.accepts[selected] {
867 background-color: rgb(215, 215, 215);
870 #list-container list:focus > li.accepts[selected],
871 #list-container grid:focus > li.accepts[selected] {
872 background-color: rgb(48, 125, 254);
875 #list-container list > li.accepts,
876 #list-container grid > li.accepts {
877 background-color: #f1f1f1;
880 #list-container.nohover grid > .accepts {
881 background-color: transparent;
884 #directory-tree .tree-item.accepts > .tree-row,
885 #navigation-list > .accepts,
886 #list-container list > li.accepts,
887 #list-container grid > li.accepts {
888 -webkit-animation: acceptsBlink 200ms linear 1s 3;
891 @-webkit-keyframes acceptsBlink {
893 background-color: transparent;
897 .table-row-cell .filename-label,
898 .thumbnail-item .filename-label,
899 /* Show ellipsis in cells. The name column has different structure and overrides
901 .table-row-cell > div {
904 text-overflow: ellipsis;
908 /* Text box used for renaming in the detail list. */
909 .table-row-cell input.rename {
915 outline-color: rgb(77, 144, 254);
924 .table-row-cell .filename-label,
925 .table-row-cell input.rename {
929 li[renaming=''] .filename-label {
933 /* Text box used for renaming in the thumbnail list. */
934 .thumbnail-grid input.rename {
935 -webkit-margin-start: -1px;
936 box-sizing: border-box;
941 /* The cr.ui.Table representing the detailed file list. */
946 /* Bottom pane describing current selection. */
948 -webkit-transition: background-color 150ms ease;
951 border-top: 1px solid rgba(20, 20, 22, 0.1);
958 padding: 0 10px 0 7px;
964 .preview-panel[visibility=hiding] {
965 -webkit-transform: translate(0, 5px);
967 /* Using all seems to cause preview panel and checkbox flicking issue. */
968 transition: opacity 220ms ease,
969 -webkit-transform 220ms ease;
972 .preview-panel[visibility=hidden] {
977 .preview-panel > .left,
978 .dialog-footer > .left {
985 .preview-panel > .right,
986 .dialog-footer > .right {
988 justify-content: flex-end;
991 .preview-panel .preparing-label {
992 -webkit-margin-start: 30px;
996 .preview-panel .progress-bar {
1000 .preview-panel .preview-text {
1004 .preview-thumbnails {
1006 flex-direction: row;
1010 .preview-thumbnails > .img-container {
1011 background-color: white;
1012 background-size: 35px 35px; /* For file icons. */
1013 border: 2px solid white;
1014 box-shadow: 0 1px 1px rgba(80, 80, 80, 0.5);
1015 box-sizing: border-box;
1018 margin: 0 0 0 -25px; /* Overlapped images. */
1024 .preview-thumbnails > .popup {
1025 -webkit-transform: translate(0, 3px) scale(0.95);
1026 background-color: #f2f2f2;
1027 border: 2px solid #fff;
1029 box-shadow: 0 0 0 1px #F0F0F0,
1031 2px 2px 6px rgba(0, 0, 0, 0.2);
1035 pointer-events: none;
1037 transition: opacity 180ms ease-in 300ms,
1038 -webkit-transform 180ms ease-in 300ms;
1042 .preview-thumbnails.has-zoom:hover > .popup {
1043 -webkit-transform: translate(0, 0) scale(1.0);
1045 pointer-events: auto;
1048 @-webkit-keyframes fadeIn {
1057 .preview-thumbnails img {
1058 -webkit-animation: fadeIn 180ms ease-in-out;
1061 .preview-thumbnails > .popup > img {
1063 -webkit-user-drag: none;
1066 /* Table splitter element */
1067 .table-header-splitter {
1068 background-image: -webkit-image-set(
1069 url('../images/files/ui/vertical_separator.png') 1x,
1070 url('../images/files/ui/2x/vertical_separator.png') 2x);
1071 background-position: center;
1072 background-repeat: repeat-y;
1078 .table-header-splitter:last-child {
1082 /* Container for a table header. */
1084 box-sizing: border-box;
1089 .table-header-sort-image-desc::after {
1090 -webkit-padding-start: 13px;
1091 background-image: -webkit-image-set(
1092 url('../images/files/ui/sort_desc.png') 1x,
1093 url('../images/files/ui/2x/sort_desc.png') 2x);
1094 background-position: center center;
1095 background-repeat: no-repeat;
1102 .table-header-sort-image-asc::after {
1103 -webkit-padding-start: 13px;
1104 background-image: -webkit-image-set(
1105 url('../images/files/ui/sort_asc.png') 1x,
1106 url('../images/files/ui/2x/sort_asc.png') 2x);
1107 background-position: center center;
1108 background-repeat: no-repeat;
1115 .preview-container .table-header {
1116 border-radius: 0 4px 0 0;
1119 /* Text label in a table header. */
1120 .table-header-label {
1121 color: rgb(100, 100, 100);
1126 .table-row-cell > * {
1127 align-items: center;
1129 flex-direction: row;
1134 color: rgb(100, 100, 100);
1137 .table-row-cell > .detail-name {
1141 .table-row-cell > .detail-name {
1142 color: rgb(0, 0, 0);
1146 #list-container list:focus > [selected] .table-row-cell,
1147 #list-container list:focus > [selected] .detail-name {
1152 align-items: center;
1155 #list-container li.table-row,
1156 #default-actions-list li {
1161 /* The icon in the name column. See file_types.css for specific icons. */
1167 #detail-table .detail-icon {
1168 /* To shift the icon position. */
1172 .preview-panel .spacer {
1177 min-width: 21px; /* overrride */
1178 padding: 0; /* overrride */
1182 #delete-button::before {
1183 /* Background image should be specified in the before pseudo element because
1184 * border image fill is specified to delete-button. */
1185 background: -webkit-image-set(
1186 url(../images/files/ui/onbutton_trash.png) 1x,
1187 url(../images/files/ui/2x/onbutton_trash.png) 2x) no-repeat center;
1194 #delete-button[disabled] {
1198 #tasks-menu menuitem:not(.change-default) {
1199 background-position: left 10px center;
1205 min-width: 0; /* overrride */
1209 -webkit-margin-end: 10px;
1210 -webkit-margin-start: 10px;
1214 /* The selection summary text at the bottom of the preview pane. */
1218 text-overflow: ellipsis;
1219 vertical-align: middle;
1220 white-space: nowrap;
1223 .preview-summary .calculating-size {
1229 align-items: center;
1234 #filename-input-box {
1235 align-items: center;
1240 #filename-input-box input {
1245 #filename-input-box .filename-label {
1246 background-color: white;
1252 body:not([type='saveas-file']) #filename-input-box {
1258 body[type='folder'] .file,
1259 body[type='upload-folder'] .file,
1260 body[drive] .dialog-container[connection='offline'] .dim-offline {
1264 /* Overlay pane covering the entire file manager window (e.g. image editor)*/
1266 -webkit-app-region: no-drag;
1273 z-index: 1000; /* Must be above all elements in file manager container. */
1276 /* When the overlay pane is visible hide everything else so that the tab order
1278 body[overlay-visible] > :not(.overlay-pane) {
1279 display: none !important;
1282 /* Invisible container for elements representing files while dragging. */
1287 z-index: -1; /* below .dialog-container */
1290 #drag-container .drag-contents {
1291 background-color: #fafafa;
1292 border: 1px solid #bbb;
1294 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2);
1296 flex-direction: row;
1300 transition: opacity 200ms ease-in;
1303 #drag-container .drag-contents.for-image {
1308 #drag-container .thumbnail-item {
1310 flex-direction: row;
1313 #drag-container .label {
1320 text-overflow: ellipsis;
1321 white-space: nowrap;
1324 menu.file-context-menu {
1325 z-index: 600; /* Must be below the overlay pane (1000). */
1328 menu.chrome-menu hr {
1334 /* transition: opacity 1000ms linear; */
1335 background-color: rgba(255, 255, 255, 0.8);
1348 /* Message panel for unmounted Drive */
1362 body[drive='mounting'] .dialog-container #unmounted-panel,
1363 body[drive='error'] .dialog-container #unmounted-panel,
1364 body[unformatted] .dialog-container #format-panel {
1368 body[drive='unmounted'] .dialog-container .filelist-panel,
1369 body[drive='mounting'] .dialog-container .filelist-panel,
1370 body[drive='error'] .dialog-container .filelist-panel,
1371 body[unformatted] .dialog-container .filelist-panel {
1372 /* Hide file list when Drive is not mounted.
1373 Use opacity to avoid manual resizing.*/
1377 #unmounted-panel > *,
1379 align-items: center;
1381 flex-direction: row;
1383 justify-content: flex-start;
1384 margin-bottom: 10px;
1387 #unmounted-panel > .loading {
1391 #unmounted-panel > .loading > .spinner-box {
1399 body[unformatted] #format-panel > .error,
1400 body[drive='mounting'] #unmounted-panel > .loading,
1401 body[drive='error'] #unmounted-panel > .error,
1402 #format-panel > #format-button,
1403 #unmounted-panel.retry-enabled > .learn-more {
1408 color: rgb(17, 85, 204);
1410 text-decoration: none;
1417 .buttonbar .tooltip,
1418 .topbutton-bar .tooltip {
1425 background: #2d2d2d;
1427 box-shadow: 1px 2px 4px #ccc;
1428 box-sizing: border-box;
1438 outline: 1px solid rgba(255, 255, 255, 0.5);
1440 pointer-events: none;
1444 white-space: nowrap;
1445 z-index: 600; /* Must be below the overlay pane (1000). */
1450 border-left: 5px solid transparent;
1451 border-right: 5px solid transparent;
1452 border-top: transparent;
1462 border-bottom: 5px solid #2d2d2d;
1466 border-bottom: 5px solid rgba(255, 255, 255, 0.5);
1469 /* Show with delay, disappear instantly */
1470 @-webkit-keyframes tooltip-show {
1473 100% { opacity: 1; }
1477 -webkit-animation-duration: 800ms;
1478 -webkit-animation-iteration-count: 1;
1479 -webkit-animation-name: tooltip-show;
1480 -webkit-animation-timing-function: linear;
1484 #no-search-results {
1492 top: 28px; /* Leave room for the file list header. */
1495 .dialog-container:not([drive-welcome='page']) #no-search-results[show] {
1499 #volume-space-info-contents {
1500 align-items: center;
1504 #volume-space-info-contents > div {
1505 -webkit-margin-start: 15px;
1510 #list-container .table-header-inner {
1514 #list-container .table-header-cell:hover {
1515 background-color: inherit;
1518 #list-container .table-header-cell:first-child {
1519 -webkit-box-sizing: border-box;
1520 -webkit-padding-start: 8px;
1523 #new-folder-button {
1528 #default-action-dialog {
1533 .drive-welcome-wrapper {
1534 /* drive_welcome.css will override it once loaded. */
1538 list.autocomplete-suggestions {
1539 -webkit-margin-before: -7px;
1540 -webkit-margin-start: -38px;
1541 background-color: rgb(250, 250, 250);
1543 box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .5);
1544 box-sizing: border-box; /* To match the width with the search box's. */
1545 color: rgb(34, 34, 34);
1550 width: 300px !important; /* This overrides the value specified by script. */
1554 list.autocomplete-suggestions > li {
1555 align-items: center;
1560 list.autocomplete-suggestions > li > div.detail-icon {
1561 -webkit-margin-end: 6px;
1562 -webkit-margin-start: 6px;
1565 list.autocomplete-suggestions > li > div.detail-text {
1568 text-overflow: ellipsis;
1571 list.autocomplete-suggestions > li > div.detail-text em {
1572 color: rgb(150, 150, 150);
1576 list.autocomplete-suggestions > li > div[search-icon] {
1577 background: -webkit-image-set(
1578 url('../images/files/ui/search_icon_active.png') 1x,
1579 url('../images/files/ui/2x/search_icon_active.png') 2x) center no-repeat;
1582 list.autocomplete-suggestions > li[selected] > div[search-icon],
1583 list.autocomplete-suggestions > li[lead] > div[search-icon] {
1584 background: -webkit-image-set(
1585 url('../images/files/ui/search_icon_white.png') 1x,
1586 url('../images/files/ui/2x/search_icon_white.png') 2x) center no-repeat;
1589 list.autocomplete-suggestions > [selected],
1590 list.autocomplete-suggestions > [lead] {
1591 background-color: rgb(66, 129, 244);
1595 list.autocomplete-suggestions > [selected] > div.detail-text em,
1596 list.autocomplete-suggestions > [lead] > div.detail-text em {
1604 #gear-menu > menuitem:not(.menuitem-button) {
1605 -webkit-margin-end: 50px;
1609 -webkit-app-region: drag;
1619 #suggest-app-dialog {
1620 background-color: #fff;
1626 #suggest-app-dialog .cr-dialog-title {
1627 /* Entire height: 44px (content-box 22px + padding 11px * 2) */
1634 #suggest-app-dialog #webview-container {
1635 border-bottom: solid 1px #bbb;
1636 border-top: solid 1px #bbb;
1640 #suggest-app-dialog.show-spinner #webview-container webview {
1641 pointer-events: none;
1644 #suggest-app-dialog:not(.show-spinner) .spinner-layer {
1648 #suggest-app-dialog .spinner-layer {
1649 background-color: rgba(255, 255, 255, 0.7);
1652 #suggest-app-dialog .cr-dialog-buttons,
1653 #suggest-app-dialog .cr-dialog-ok,
1654 #suggest-app-dialog .cr-dialog-cancel {
1658 #suggest-app-dialog .cr-dialog-text {
1659 -webkit-padding-after: 10px;
1660 -webkit-padding-before: 0;
1661 -webkit-padding-end: 20px;
1662 -webkit-padding-start: 20px;
1666 #suggest-app-dialog #buttons {
1671 #suggest-app-dialog #buttons > #webstore-button {
1672 -webkit-padding-after: 10px;
1673 -webkit-padding-before: 10px;
1674 -webkit-padding-end: 10px;
1675 -webkit-padding-start: 36px;
1676 background-image: -webkit-image-set(
1677 url('chrome://theme/IDR_WEBSTORE_ICON_16') 1x,
1678 url('chrome://theme/IDR_WEBSTORE_ICON_16@2x') 2x);
1679 background-position: 12px center;
1680 background-repeat: no-repeat;
1683 display: inline-block;
1687 .cr-dialog-frame.error-dialog-frame {
1691 .error-dialog-frame .error-dialog-img {
1692 background-image: -webkit-image-set(
1693 url('chrome://theme/IDR_ERROR_NETWORK_GENERIC') 1x,
1694 url('chrome://theme/IDR_ERROR_NETWORK_GENERIC@2x') 2x);
1695 background-position: center;
1696 background-repeat: no-repeat;
1700 .error-dialog-frame .cr-dialog-cancel {
1704 .error-dialog-frame .cr-dialog-close,
1705 .error-dialog-frame .cr-dialog-title {
1709 .error-dialog-frame .cr-dialog-text {
1713 #multi-profile-share-dialog .cr-dialog-title {
1714 -webkit-margin-after: 0;
1717 #multi-profile-share-dialog .cr-dialog-text {
1722 #multi-profile-share-dialog .mail-label {
1723 padding-right: 16px;
1726 #multi-profile-share-dialog .mail-label::after {
1730 #multi-profile-share-dialog .share-line {
1734 #conflict-confirm-dialog .cr-dialog-buttons {
1735 align-items: baseline;
1739 #conflict-confirm-dialog input[type=checkbox] {
1740 -webkit-margin-start: -2px;
1744 #conflict-confirm-dialog label {
1748 /* Progress center */
1750 @-webkit-keyframes progress-center-toggle {
1751 /* Height values of each frame are set by script.
1752 * Keep the animation sync with JS. */
1760 background-color: transparent;
1761 border-top: 1px solid transparent;
1764 transition: background-color 300ms linear,
1765 border 300ms linear;
1768 #progress-center.opened {
1769 background-color: #ebebeb;
1770 border-top: 1px solid #d8d8d8;
1773 #progress-center.animated {
1774 -webkit-animation: progress-center-toggle 300ms ease-out;
1777 #progress-center-open-view {
1780 transition: opacity 300ms linear;
1783 #progress-center:not(.opened) #progress-center-open-view {
1785 pointer-events: none;
1789 #progress-center-close-view {
1791 transition: opacity 300ms linear;
1794 #progress-center.opened #progress-center-close-view {
1796 pointer-events: none;
1800 #progress-center.animated #progress-center-open-view,
1801 #progress-center.animated #progress-center-close-view {
1803 pointer-events: none;
1810 #progress-center li {
1811 -webkit-padding-end: 10px;
1813 /* This must not be margin-bottom to calculate parent's height correctly. */
1814 padding-bottom: 20px;
1817 #progress-center label {
1821 text-overflow: ellipsis;
1822 white-space: nowrap;
1825 #progress-center li.error.single label {
1826 white-space: normal;
1829 #progress-center .progress-frame {
1830 -webkit-padding-end: 10px;
1831 -webkit-padding-start: 20px;
1835 #progress-center .progress-bar {
1836 background: #d8d8d8;
1838 display: inline-block;
1845 #progress-center li.error .progress-bar,
1846 #progress-center li.quiet .progress-bar {
1850 #progress-center .progress-track {
1851 background: #787878;
1855 #progress-center .progress-track.animated {
1856 transition: width 300ms linear;
1859 #progress-center .button-frame {
1860 align-self: flex-end;
1864 #progress-center button {
1867 display: inline-block;
1873 vertical-align: middle;
1877 #progress-center li.error.single .button-frame {
1881 #progress-center button.close {
1882 -webkit-margin-end: 10px;
1883 -webkit-margin-start: auto;
1884 background: -webkit-image-set(
1885 url(../images/files/ui/process_drawer_button_opened.png) 1x,
1886 url(../images/files/ui/2x/process_drawer_button_opened.png) 2x)
1889 margin-bottom: 20px;
1892 #progress-center button.close:hover {
1893 background: -webkit-image-set(
1894 url(../images/files/ui/process_drawer_button_opened_hover.png) 1x,
1895 url(../images/files/ui/2x/process_drawer_button_opened_hover.png) 2x)
1899 #progress-center button.close:active {
1900 background: -webkit-image-set(
1901 url(../images/files/ui/process_drawer_button_opened_pressed.png) 1x,
1902 url(../images/files/ui/2x/process_drawer_button_opened_pressed.png) 2x)
1906 #progress-center button.open {
1907 background: -webkit-image-set(
1908 url(../images/files/ui/process_drawer_button_closed.png) 1x,
1909 url(../images/files/ui/2x/process_drawer_button_closed.png) 2x)
1913 #progress-center button.open:hover {
1914 background: -webkit-image-set(
1915 url(../images/files/ui/process_drawer_button_closed_hover.png) 1x,
1916 url(../images/files/ui/2x/process_drawer_button_closed_hover.png) 2x)
1920 #progress-center button.open:active {
1921 background: -webkit-image-set(
1922 url(../images/files/ui/process_drawer_button_closed_pressed.png) 1x,
1923 url(../images/files/ui/2x/process_drawer_button_closed_pressed.png) 2x)
1927 #progress-center button.cancel {
1928 background: -webkit-image-set(
1929 url(../images/files/ui/close_bar.png) 1x,
1930 url(../images/files/ui/2x/close_bar.png) 2x)
1934 #progress-center-close-view:not(.single) button.cancel {
1938 #progress-center-close-view.single button.open {
1942 #progress-center li:not(.cancelable) button.cancel {
1947 pointer-events: none;