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 #app-name {
166 .dialog-navigation-list-contents {
172 .dialog-navigation-list-footer {
175 flex-direction: column;
178 /* A vertical splitter between the roots list and the file list. It is actually
179 a transparent area centered on the roots list right border.*/
187 z-index: 500; /* Must be below the contextmenu (600). */
191 -webkit-border-end: 1px solid rgba(20, 20, 22, 0.1);
192 -webkit-box-sizing: border-box;
193 -webkit-padding-start: 20px;
194 color: rgb(100, 100, 100);
200 text-overflow: ellipsis;
210 padding-bottom: 0; /* For the preview panel. Will be overridden by JS. */
216 #directory-tree .tree-row {
224 /* For rows of subitems (non-top items) */
225 #directory-tree .tree-children .tree-row {
229 #directory-tree .tree-row > .expand-icon {
233 margin: -12px -10px -13px -13px;
239 #directory-tree:focus .tree-row[selected] > .expand-icon {
240 background-image: -webkit-canvas(tree-triangle-inverted);
243 #directory-tree .tree-row > .volume-icon {
244 background-position: center 3px;
245 background-repeat: no-repeat;
251 #directory-tree .tree-row > .label {
256 text-overflow: ellipsis;
259 #directory-tree .tree-item.accepts > .tree-row,
260 #directory-tree .tree-row[lead][selected],
261 #directory-tree .tree-row[lead],
262 #directory-tree .tree-row[selected],
263 #directory-tree .tree-row[anchor],
264 #directory-tree .tree-row:active {
265 background-color: rgb(225, 225, 225);
268 #directory-tree:focus .tree-item.accepts > .tree-row,
269 #directory-tree:focus .tree-row[lead][selected],
270 #directory-tree:focus .tree-row[lead],
271 #directory-tree:focus .tree-row[selected],
272 #directory-tree:focus .tree-row[anchor] {
273 background-color: rgb(193, 209, 232);
276 #directory-tree:focus .tree-item.accepts > .tree-row,
277 #directory-tree:focus .tree-row[lead][selected],
278 #directory-tree:focus .tree-row[lead],
279 #directory-tree:focus .tree-row[selected],
280 #directory-tree:focus .tree-row[anchor] {
281 background-color: rgb(66, 129, 244);
285 /* Make top-level items thicker and their expand-icno invisible */
286 #directory-tree > .tree-item > .tree-row {
290 #directory-tree > .tree-item > .tree-row > .expand-icon {
294 #directory-tree .tree-row > div.root-eject {
295 background: -webkit-image-set(
296 url('../images/files/ui/eject.png') 1x,
297 url('../images/files/ui/2x/eject.png') 2x) no-repeat center;
303 transition: opacity 70ms linear;
307 #directory-tree:focus .tree-row[selected] > div.root-eject {
308 background: -webkit-image-set(
309 url('../images/files/ui/eject_white.png') 1x,
310 url('../images/files/ui/2x/eject_white.png') 2x) no-repeat center;
314 #directory-tree .root-item[disabled] {
316 pointer-events: none;
319 /* Breadcrumbs and things under the title but above the list view. */
321 -webkit-app-region: drag;
328 transition: all 180ms ease;
331 .dialog-header .volume-icon {
332 -webkit-margin-start: 10px;
333 background-position: center 3px;
334 background-repeat: no-repeat;
340 .dialog-header > .spacer {
352 -webkit-app-region: no-drag;
353 background-color: #fff;
364 transition: width 0.2s ease;
368 #search-box input::-webkit-search-cancel-button {
369 -webkit-appearance: none;
372 #search-box.has-cursor input,
373 #search-box.has-text input {
378 -webkit-app-region: no-drag;
379 -webkit-margin-end: 30px;
381 background: -webkit-image-set(
382 url(../images/files/ui/search_clear.png) 1x,
383 url(../images/files/ui/2x/search_clear.png) 2x)
397 #search-box.has-cursor .clear,
398 #search-box.has-text .clear {
402 #search-box.has-text .clear {
406 #search-box .clear:hover {
407 background-image: -webkit-image-set(
408 url(../images/files/ui/search_clear_hover.png) 1x,
409 url(../images/files/ui/2x/search_clear_hover.png) 2x);
412 #search-box .clear:active {
413 background-image: -webkit-image-set(
414 url(../images/files/ui/search_clear_pressed.png) 1x,
415 url(../images/files/ui/2x/search_clear_pressed.png) 2x);
422 .topbutton-bar .search-button {
423 background-image: -webkit-image-set(
424 url(../images/files/ui/search_icon_active.png) 1x,
425 url(../images/files/ui/2x/search_icon_active.png) 2x);
428 .topbutton-bar .view-button.table {
429 background-image: -webkit-image-set(
430 url('../images/files/ui/button_list_view.png') 1x,
431 url('../images/files/ui/2x/button_list_view.png') 2x);
434 .topbutton-bar .view-button.grid {
435 background-image: -webkit-image-set(
436 url('../images/files/ui/button_mosaic_view.png') 1x,
437 url('../images/files/ui/2x/button_mosaic_view.png') 2x);
440 /* Container for the detail and thumbnail list views. */
442 -webkit-transition: all 180ms ease;
443 border-top: 1px solid rgba(20, 20, 22, 0.1);
457 .dialog-middlebar-contents {
466 /* Container for the ok/cancel buttons. */
469 border-top: 1px solid rgb(225, 225, 225);
477 .progressable:not([progress]) .progress-bar,
478 .progressable:not([progress]) .preparing-label {
482 .progressable[progress] .ok,
483 .progressable[progress] #filename-input-box,
484 .progressable[progress] #preview-lines,
485 .progressable[progress] .file-type {
489 .progressable .progress-bar {
490 -webkit-margin-end: 20px;
491 -webkit-margin-start: 20px;
495 /* The container for breadcrumb elements. */
506 .breadcrumbs > [collapsed]::before {
510 .breadcrumbs > [collapsed] {
514 /* A single directory name in the list of path breadcrumbs. */
520 text-overflow: ellipsis;
524 /* The final breadcrumb, representing the current directory. */
525 #search-breadcrumbs .breadcrumb-path.breadcrumb-last {
530 /* The > arrow between breadcrumbs. */
532 .breadcrumbs .separator {
533 background-image: -webkit-image-set(
534 url('../images/files/ui/breadcrumb-separator.png') 1x,
535 url('../images/files/ui/2x/breadcrumb-separator.png') 2x);
536 background-position: center center;
537 background-repeat: no-repeat;
544 html[dir='rtl'] .breadcrumbs .separator {
545 -webkit-transform: scaleX(-1);
548 #filename-input-box input {
549 border: 1px solid #c8c8c8;
551 box-sizing: border-box;
552 height: 31px; /* border-box */
559 flex-direction: column;
565 flex-direction: column;
572 flex-direction: column;
575 #detail-table > list,
578 padding-bottom: 0; /* For the preview panel. Will be overridden by JS. */
582 /* Override overflow specifying by table_list.js to use the original scroll
583 bar. crbug.com/391698 */
584 overflow: scroll !important;
587 #file-list .drag-selection-border {
588 -webkit-box-sizing: border-box;
589 background-color: rgba(255, 255, 255, 0.3);
590 border: 2px solid rgba(255, 255, 255, 0.6);
591 outline: 1px solid rgba(0, 0, 0, 0.1);
597 background: url(../images/common/spinner.svg) center/100% no-repeat;
609 background: url(../images/common/spinner.svg) center / 16px no-repeat;
620 background-color: #f0f0f0;
621 background-image: -webkit-image-set(
622 url('../images/files/ui/warning_icon_square.png') 1x,
623 url('../images/files/ui/2x/warning_icon_square.png') 2x);
624 background-position: 15px center;
625 background-repeat: no-repeat;
633 padding-left: 57px; /* Make space for the icon. */
634 transition: height 70ms linear;
637 .downloads-warning[hidden] {
638 display: flex !important; /* Overrides [hidden] for animation. */
642 @-webkit-keyframes heightAnimation {
649 /* Drive space warning banner. */
651 -webkit-animation: heightAnimation 70ms linear;
653 background-image: url(chrome://resources/images/clouds.png);
654 background-repeat: repeat-x;
655 background-size: 150px 44px;
666 .volume-warning[hidden] {
671 .volume-warning .drive-icon {
672 background-image: -webkit-image-set(
673 url('../images/files/ui/drive_logo.png') 1x,
674 url('../images/files/ui/2x/drive_logo.png') 2x);
675 background-position: center;
676 background-repeat: no-repeat;
677 background-size: 25px 22px;
683 .volume-warning .drive-text {
688 /* The cr.ui.Grid representing the detailed file list. */
691 padding-bottom: 0; /* For the preview panel. Will be overridden by JS. */
695 body[type='full-page'] .thumbnail-frame > .img-container {
699 body[type='full-page'] .thumbnail-frame > .img-container,
700 body[type='full-page'] .detail-name .detail-icon {
704 .img-container > img {
705 -webkit-user-drag: none;
709 .img-container > img:not(.cached) {
710 -webkit-animation: fadeIn 250ms linear;
719 justify-content: center;
726 .thumbnail-bottom .filename-label {
730 /* Styles specific for the grid view. */
732 .thumbnail-grid .thumbnail-item {
733 -webkit-margin-start: 21px;
734 border: 3px solid transparent; /* Selection will make the border visible. */
739 .thumbnail-grid .thumbnail-frame {
740 background-color: rgb(245, 245, 245);
747 .thumbnail-grid .thumbnail-item[selected] .thumbnail-frame,
748 .thumbnail-grid .thumbnail-item.accepts .thumbnail-frame {
752 .thumbnail-grid .img-container {
757 .thumbnail-grid .thumbnail-bottom {
758 background: rgba(0, 0, 0, 0.55);
763 /* Padding counterweights negative margins of items, thus eliminating scroll
764 bar when it's not needed. Max height is set to fit 8 items before showing
766 #default-actions-list {
771 #default-actions-list > li > * {
772 background-position: 5px center;
773 background-repeat: no-repeat;
774 background-size: 16px 16px;
778 #list-container list > li[selected],
779 #list-container list > li:active,
780 #list-container grid > li[selected],
781 #list-container grid > li:active,
782 #default-actions-list > li[selected] {
783 background-color: rgb(225, 225, 225);
786 #list-container list:focus > li[selected],
787 #list-container grid:focus > li[selected],
788 #default-actions-list:focus > li[selected] {
789 background-color: rgb(66, 129, 244);
793 #list-container list > li.accepts[selected],
794 #list-container grid > li.accepts[selected] {
795 background-color: rgb(215, 215, 215);
798 #list-container list:focus > li.accepts[selected],
799 #list-container grid:focus > li.accepts[selected] {
800 background-color: rgb(48, 125, 254);
803 #list-container list > li.accepts,
804 #list-container grid > li.accepts {
805 background-color: #f1f1f1;
808 #list-container.nohover grid > .accepts {
809 background-color: transparent;
812 #directory-tree .tree-item.accepts > .tree-row,
813 #list-container list > li.accepts,
814 #list-container grid > li.accepts {
815 -webkit-animation: acceptsBlink 200ms linear 1s 3;
818 @-webkit-keyframes acceptsBlink {
820 background-color: transparent;
824 .table-row-cell .filename-label,
825 .thumbnail-item .filename-label,
826 /* Show ellipsis in cells. The name column has different structure and overrides
828 .table-row-cell > div {
831 text-overflow: ellipsis;
835 /* Text box used for renaming in the detail list. */
836 .table-row-cell input.rename {
842 outline-color: rgb(77, 144, 254);
851 .table-row-cell .filename-label,
852 .table-row-cell input.rename {
856 li[renaming=''] .filename-label {
860 /* Text box used for renaming in the thumbnail list. */
861 .thumbnail-grid input.rename {
862 -webkit-margin-start: -1px;
863 box-sizing: border-box;
868 /* The cr.ui.Table representing the detailed file list. */
873 /* Bottom pane describing current selection. */
875 -webkit-transition: background-color 150ms ease;
878 border-top: 1px solid rgba(20, 20, 22, 0.1);
885 padding: 0 10px 0 7px;
891 .preview-panel[visibility=hiding] {
892 -webkit-transform: translate(0, 5px);
894 /* Using all seems to cause preview panel and checkbox flicking issue. */
895 transition: opacity 220ms ease,
896 -webkit-transform 220ms ease;
899 .preview-panel[visibility=hidden] {
904 .preview-panel > .left,
905 .dialog-footer > .left {
912 .preview-panel > .right,
913 .dialog-footer > .right {
915 justify-content: flex-end;
918 .preview-panel .preparing-label {
919 -webkit-margin-start: 30px;
923 .preview-panel .progress-bar {
927 .preview-panel .preview-text {
931 .preview-thumbnails {
937 .preview-thumbnails > .img-container {
938 background-color: white;
939 background-size: 35px 35px; /* For file icons. */
940 border: 2px solid white;
941 box-shadow: 0 1px 1px rgba(80, 80, 80, 0.5);
942 box-sizing: border-box;
945 margin: 0 0 0 -25px; /* Overlapped images. */
951 .preview-thumbnails > .popup {
952 -webkit-transform: translate(0, 3px) scale(0.95);
953 background-color: #f2f2f2;
954 border: 2px solid #fff;
956 box-shadow: 0 0 0 1px #F0F0F0,
958 2px 2px 6px rgba(0, 0, 0, 0.2);
962 pointer-events: none;
964 transition: opacity 180ms ease-in 300ms,
965 -webkit-transform 180ms ease-in 300ms;
969 .preview-thumbnails.has-zoom:hover > .popup {
970 -webkit-transform: translate(0, 0) scale(1.0);
972 pointer-events: auto;
975 @-webkit-keyframes fadeIn {
984 .preview-thumbnails img {
985 -webkit-animation: fadeIn 180ms ease-in-out;
988 .preview-thumbnails > .popup > img {
990 -webkit-user-drag: none;
993 /* Table splitter element */
994 .table-header-splitter {
995 background-image: -webkit-image-set(
996 url('../images/files/ui/vertical_separator.png') 1x,
997 url('../images/files/ui/2x/vertical_separator.png') 2x);
998 background-position: center;
999 background-repeat: repeat-y;
1005 .table-header-splitter:last-child {
1009 /* Container for a table header. */
1011 box-sizing: border-box;
1016 .table-header-sort-image-desc::after {
1017 -webkit-padding-start: 13px;
1018 background-image: -webkit-image-set(
1019 url('../images/files/ui/sort_desc.png') 1x,
1020 url('../images/files/ui/2x/sort_desc.png') 2x);
1021 background-position: center center;
1022 background-repeat: no-repeat;
1029 .table-header-sort-image-asc::after {
1030 -webkit-padding-start: 13px;
1031 background-image: -webkit-image-set(
1032 url('../images/files/ui/sort_asc.png') 1x,
1033 url('../images/files/ui/2x/sort_asc.png') 2x);
1034 background-position: center center;
1035 background-repeat: no-repeat;
1042 .preview-container .table-header {
1043 border-radius: 0 4px 0 0;
1046 /* Text label in a table header. */
1047 .table-header-label {
1048 color: rgb(100, 100, 100);
1053 .table-row-cell > * {
1054 align-items: center;
1056 flex-direction: row;
1061 color: rgb(100, 100, 100);
1064 .table-row-cell > .detail-name {
1068 .table-row-cell > .detail-name {
1069 color: rgb(0, 0, 0);
1073 #list-container list:focus > [selected] .table-row-cell,
1074 #list-container list:focus > [selected] .detail-name {
1079 align-items: center;
1082 #list-container li.table-row,
1083 #default-actions-list li {
1088 /* The icon in the name column. See file_types.css for specific icons. */
1094 #detail-table .detail-icon {
1095 /* To shift the icon position. */
1099 .preview-panel .spacer {
1104 min-width: 21px; /* overrride */
1105 padding: 0; /* overrride */
1109 #delete-button::before {
1110 /* Background image should be specified in the before pseudo element because
1111 * border image fill is specified to delete-button. */
1112 background: -webkit-image-set(
1113 url(../images/files/ui/onbutton_trash.png) 1x,
1114 url(../images/files/ui/2x/onbutton_trash.png) 2x) no-repeat center;
1121 #delete-button[disabled] {
1125 #tasks-menu menuitem:not(.change-default) {
1126 background-position: left 10px center;
1132 min-width: 0; /* overrride */
1136 -webkit-margin-end: 10px;
1137 -webkit-margin-start: 10px;
1141 /* The selection summary text at the bottom of the preview pane. */
1145 text-overflow: ellipsis;
1146 vertical-align: middle;
1147 white-space: nowrap;
1150 .preview-summary .calculating-size {
1156 align-items: center;
1161 #filename-input-box {
1162 align-items: center;
1167 #filename-input-box input {
1172 #filename-input-box .filename-label {
1173 background-color: white;
1179 body:not([type='saveas-file']) #filename-input-box {
1185 body[type='folder'] .file,
1186 body[type='upload-folder'] .file,
1187 body[drive] .dialog-container[connection='offline'] .dim-offline {
1191 /* Invisible container for elements representing files while dragging. */
1196 z-index: -1; /* below .dialog-container */
1199 #drag-container .drag-contents {
1200 background-color: #fafafa;
1201 border: 1px solid #bbb;
1203 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2);
1205 flex-direction: row;
1209 transition: opacity 200ms ease-in;
1212 #drag-container .drag-contents.for-image {
1217 #drag-container .thumbnail-item {
1219 flex-direction: row;
1222 #drag-container .label {
1229 text-overflow: ellipsis;
1230 white-space: nowrap;
1233 menu.file-context-menu {
1234 z-index: 600; /* Must be below the overlay pane (1000). */
1237 menu.chrome-menu hr {
1243 /* transition: opacity 1000ms linear; */
1244 background-color: rgba(255, 255, 255, 0.8);
1257 /* Message panel for unmounted Drive */
1271 body[drive='mounting'] .dialog-container #unmounted-panel,
1272 body[drive='error'] .dialog-container #unmounted-panel,
1273 body[unformatted] .dialog-container #format-panel {
1277 body[drive='unmounted'] .dialog-container .filelist-panel,
1278 body[drive='mounting'] .dialog-container .filelist-panel,
1279 body[drive='error'] .dialog-container .filelist-panel,
1280 body[unformatted] .dialog-container .filelist-panel {
1281 /* Hide file list when Drive is not mounted.
1282 Use opacity to avoid manual resizing.*/
1286 #unmounted-panel > *,
1288 align-items: center;
1290 flex-direction: row;
1292 justify-content: flex-start;
1293 margin-bottom: 10px;
1296 #unmounted-panel > .loading {
1300 #unmounted-panel > .loading > .spinner-box {
1308 body[unformatted] #format-panel > .error,
1309 body[drive='mounting'] #unmounted-panel > .loading,
1310 body[drive='error'] #unmounted-panel > .error,
1311 #format-panel > #format-button,
1312 #unmounted-panel.retry-enabled > .learn-more {
1317 color: rgb(17, 85, 204);
1319 text-decoration: none;
1326 .buttonbar .tooltip,
1327 .topbutton-bar .tooltip {
1334 background: #2d2d2d;
1336 box-shadow: 1px 2px 4px #ccc;
1337 box-sizing: border-box;
1347 outline: 1px solid rgba(255, 255, 255, 0.5);
1349 pointer-events: none;
1353 white-space: nowrap;
1354 z-index: 600; /* Must be below the overlay pane (1000). */
1359 border-left: 5px solid transparent;
1360 border-right: 5px solid transparent;
1361 border-top: transparent;
1371 border-bottom: 5px solid #2d2d2d;
1375 border-bottom: 5px solid rgba(255, 255, 255, 0.5);
1378 /* Show with delay, disappear instantly */
1379 @-webkit-keyframes tooltip-show {
1382 100% { opacity: 1; }
1386 -webkit-animation-duration: 800ms;
1387 -webkit-animation-iteration-count: 1;
1388 -webkit-animation-name: tooltip-show;
1389 -webkit-animation-timing-function: linear;
1393 #no-search-results {
1401 top: 28px; /* Leave room for the file list header. */
1404 .dialog-container:not([drive-welcome='page']) #no-search-results[show] {
1408 #volume-space-info-contents {
1409 align-items: center;
1413 #volume-space-info-contents > div {
1414 -webkit-margin-start: 15px;
1419 #list-container .table-header-inner {
1423 #list-container .table-header-cell:hover {
1424 background-color: inherit;
1427 #list-container .table-header-cell:first-child {
1428 -webkit-box-sizing: border-box;
1429 -webkit-padding-start: 8px;
1432 #new-folder-button {
1437 #default-action-dialog {
1442 .drive-welcome-wrapper {
1443 /* drive_welcome.css will override it once loaded. */
1447 list.autocomplete-suggestions {
1448 -webkit-margin-before: -7px;
1449 -webkit-margin-start: -38px;
1450 background-color: rgb(250, 250, 250);
1452 box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .5);
1453 box-sizing: border-box; /* To match the width with the search box's. */
1454 color: rgb(34, 34, 34);
1459 width: 300px !important; /* This overrides the value specified by script. */
1463 list.autocomplete-suggestions > li {
1464 align-items: center;
1469 list.autocomplete-suggestions > li > div.detail-icon {
1470 -webkit-margin-end: 6px;
1471 -webkit-margin-start: 6px;
1474 list.autocomplete-suggestions > li > div.detail-text {
1477 text-overflow: ellipsis;
1480 list.autocomplete-suggestions > li > div.detail-text em {
1481 color: rgb(150, 150, 150);
1485 list.autocomplete-suggestions > li > div[search-icon] {
1486 background: -webkit-image-set(
1487 url('../images/files/ui/search_icon_active.png') 1x,
1488 url('../images/files/ui/2x/search_icon_active.png') 2x) center no-repeat;
1491 list.autocomplete-suggestions > li[selected] > div[search-icon],
1492 list.autocomplete-suggestions > li[lead] > div[search-icon] {
1493 background: -webkit-image-set(
1494 url('../images/files/ui/search_icon_white.png') 1x,
1495 url('../images/files/ui/2x/search_icon_white.png') 2x) center no-repeat;
1498 list.autocomplete-suggestions > [selected],
1499 list.autocomplete-suggestions > [lead] {
1500 background-color: rgb(66, 129, 244);
1504 list.autocomplete-suggestions > [selected] > div.detail-text em,
1505 list.autocomplete-suggestions > [lead] > div.detail-text em {
1513 #gear-menu > menuitem:not(.menuitem-button) {
1514 -webkit-margin-end: 50px;
1517 #suggest-app-dialog {
1518 background-color: #fff;
1524 #suggest-app-dialog .cr-dialog-title {
1525 /* Entire height: 44px (content-box 22px + padding 11px * 2) */
1532 #suggest-app-dialog #webview-container {
1533 border-bottom: solid 1px #bbb;
1534 border-top: solid 1px #bbb;
1538 #suggest-app-dialog.show-spinner #webview-container webview {
1539 pointer-events: none;
1542 #suggest-app-dialog:not(.show-spinner) .spinner-layer {
1546 #suggest-app-dialog .spinner-layer {
1547 background-color: rgba(255, 255, 255, 0.7);
1550 #suggest-app-dialog .cr-dialog-buttons,
1551 #suggest-app-dialog .cr-dialog-ok,
1552 #suggest-app-dialog .cr-dialog-cancel {
1556 #suggest-app-dialog .cr-dialog-text {
1557 -webkit-padding-after: 10px;
1558 -webkit-padding-before: 0;
1559 -webkit-padding-end: 20px;
1560 -webkit-padding-start: 20px;
1564 #suggest-app-dialog #buttons {
1569 #suggest-app-dialog #buttons > #webstore-button {
1570 -webkit-padding-after: 10px;
1571 -webkit-padding-before: 10px;
1572 -webkit-padding-end: 10px;
1573 -webkit-padding-start: 36px;
1574 background-image: -webkit-image-set(
1575 url('chrome://theme/IDR_WEBSTORE_ICON_16') 1x,
1576 url('chrome://theme/IDR_WEBSTORE_ICON_16@2x') 2x);
1577 background-position: 12px center;
1578 background-repeat: no-repeat;
1581 display: inline-block;
1585 .cr-dialog-frame.error-dialog-frame {
1589 .error-dialog-frame .error-dialog-img {
1590 background-image: -webkit-image-set(
1591 url('chrome://theme/IDR_ERROR_NETWORK_GENERIC') 1x,
1592 url('chrome://theme/IDR_ERROR_NETWORK_GENERIC@2x') 2x);
1593 background-position: center;
1594 background-repeat: no-repeat;
1598 .error-dialog-frame .cr-dialog-cancel {
1602 .error-dialog-frame .cr-dialog-close,
1603 .error-dialog-frame .cr-dialog-title {
1607 .error-dialog-frame .cr-dialog-text {
1611 #multi-profile-share-dialog .cr-dialog-title {
1612 -webkit-margin-after: 0;
1615 #multi-profile-share-dialog .cr-dialog-text {
1620 #multi-profile-share-dialog .mail-label {
1621 padding-right: 16px;
1624 #multi-profile-share-dialog .mail-label::after {
1628 #multi-profile-share-dialog .share-line {
1632 #conflict-confirm-dialog .cr-dialog-buttons {
1633 align-items: baseline;
1637 #conflict-confirm-dialog input[type=checkbox] {
1638 -webkit-margin-start: -2px;
1642 #conflict-confirm-dialog label {
1646 /* Progress center */
1648 @-webkit-keyframes progress-center-toggle {
1649 /* Height values of each frame are set by script.
1650 * Keep the animation sync with JS. */
1658 background-color: transparent;
1659 border-top: 1px solid transparent;
1662 transition: background-color 300ms linear,
1663 border 300ms linear;
1666 #progress-center.opened {
1667 background-color: #ebebeb;
1668 border-top: 1px solid #d8d8d8;
1671 #progress-center.animated {
1672 -webkit-animation: progress-center-toggle 300ms ease-out;
1675 #progress-center-open-view {
1678 transition: opacity 300ms linear;
1681 #progress-center:not(.opened) #progress-center-open-view {
1683 pointer-events: none;
1687 #progress-center-close-view {
1689 transition: opacity 300ms linear;
1692 #progress-center.opened #progress-center-close-view {
1694 pointer-events: none;
1698 #progress-center.animated #progress-center-open-view,
1699 #progress-center.animated #progress-center-close-view {
1701 pointer-events: none;
1708 #progress-center li {
1709 -webkit-padding-end: 10px;
1711 /* This must not be margin-bottom to calculate parent's height correctly. */
1712 padding-bottom: 20px;
1715 #progress-center label {
1719 text-overflow: ellipsis;
1720 white-space: nowrap;
1723 #progress-center li.error.single label {
1724 white-space: normal;
1727 #progress-center .progress-frame {
1728 -webkit-padding-end: 10px;
1729 -webkit-padding-start: 20px;
1733 #progress-center .progress-bar {
1734 background: #d8d8d8;
1736 display: inline-block;
1743 #progress-center li.error .progress-bar,
1744 #progress-center li.quiet .progress-bar {
1748 #progress-center .progress-track {
1749 background: #787878;
1753 #progress-center .progress-track.animated {
1754 transition: width 300ms linear;
1757 #progress-center .button-frame {
1758 align-self: flex-end;
1762 #progress-center button {
1765 display: inline-block;
1771 vertical-align: middle;
1775 #progress-center li.error.single .button-frame {
1779 #progress-center button.close {
1780 -webkit-margin-end: 10px;
1781 -webkit-margin-start: auto;
1782 background: -webkit-image-set(
1783 url(../images/files/ui/process_drawer_button_opened.png) 1x,
1784 url(../images/files/ui/2x/process_drawer_button_opened.png) 2x)
1787 margin-bottom: 20px;
1790 #progress-center button.close:hover {
1791 background: -webkit-image-set(
1792 url(../images/files/ui/process_drawer_button_opened_hover.png) 1x,
1793 url(../images/files/ui/2x/process_drawer_button_opened_hover.png) 2x)
1797 #progress-center button.close:active {
1798 background: -webkit-image-set(
1799 url(../images/files/ui/process_drawer_button_opened_pressed.png) 1x,
1800 url(../images/files/ui/2x/process_drawer_button_opened_pressed.png) 2x)
1804 #progress-center button.open {
1805 background: -webkit-image-set(
1806 url(../images/files/ui/process_drawer_button_closed.png) 1x,
1807 url(../images/files/ui/2x/process_drawer_button_closed.png) 2x)
1811 #progress-center button.open:hover {
1812 background: -webkit-image-set(
1813 url(../images/files/ui/process_drawer_button_closed_hover.png) 1x,
1814 url(../images/files/ui/2x/process_drawer_button_closed_hover.png) 2x)
1818 #progress-center button.open:active {
1819 background: -webkit-image-set(
1820 url(../images/files/ui/process_drawer_button_closed_pressed.png) 1x,
1821 url(../images/files/ui/2x/process_drawer_button_closed_pressed.png) 2x)
1825 #progress-center button.cancel {
1826 background: -webkit-image-set(
1827 url(../images/files/ui/close_bar.png) 1x,
1828 url(../images/files/ui/2x/close_bar.png) 2x)
1832 #progress-center-close-view:not(.single) button.cancel {
1836 #progress-center-close-view.single button.open {
1840 #progress-center li:not(.cancelable) button.cancel {
1845 pointer-events: none;