/* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ html { height: 100%; } html.col-resize * { cursor: col-resize !important; } /* Outer frame of the dialog. */ body { -webkit-box-flex: 1; -webkit-box-orient: vertical; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; cursor: default; display: -webkit-box; height: 100%; margin: 0; padding: 0; transition: opacity 70ms linear; width: 100%; } body:not([new-ui]) { opacity: 0; } body.loaded { /* Do not use display:none because list will calculate metrics incorrectly. */ /* display: -webkit-box;*/ opacity: 1; } /* Drop opacity of selected rows to give a visual feedback on copy/cut * operation. */ .blink { opacity: 0.8; } body[new-ui] ::-webkit-scrollbar { height: 0; width: 0; } /* TODO(mtomasz): Flip scrollbars to the opposite side for RTL languages. */ body[new-ui] .scrollbar-vertical { bottom: 0; position: absolute; right: 0; top: 0; width: 10px; z-index: 1000; } body[new-ui] .scrollbar-button { background-color: black; border: 1px solid #ccc; border-radius: 3px; box-sizing: border-box; height: 50%; margin-right: 2px; opacity: 0; position: absolute; transition: opacity 100ms; width: 8px; } body[new-ui] :hover > .scrollbar-vertical > .scrollbar-button { opacity: 0.3; } body[new-ui] .scrollbar-vertical > .scrollbar-button:hover { opacity: 0.4; } body[new-ui] .scrollbar-vertical > .scrollbar-button.pressed { opacity: 0.5; } body:not([new-ui]) #butter-bar-container { -webkit-box-pack: center; display: -webkit-box; left: 0; pointer-events: none; position: absolute; top: 0; width: 100%; z-index: 3; } body[new-ui] #butter-bar-container { width: 100%; } body:not([new-ui]) #butter-bar { -webkit-box-align: center; -webkit-box-orient: horizontal; background-color: #e3e3e3; border: 1px solid #d4d4d4; border-radius: 2px; border-top-width: 0; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); color: #222; display: -webkit-box; margin-top: 2px; max-width: 340px; min-width: 200px; padding: 0 1em; pointer-events: auto; top: 1px; transition: opacity 130ms; width: 30%; z-index: 2; } body[new-ui] #butter-bar { color: #666; display: -webkit-box; padding: 15px; } body #butter-bar:not(.visible) { opacity: 0; pointer-events: none; } body[new-ui] #butter-bar:not(.visible) { display: none; } #butter-bar .content { -webkit-box-flex: 1.0; -webkit-box-orient: block-axis; -webkit-box-pack: center; display: -webkit-box; min-height: 35px; } body[new-ui] #butter-bar .content { -webkit-box-pack: end; min-height: 0; } #butter-bar .actions { -webkit-box-align: center; -webkit-box-orient: horizontal; -webkit-box-pack: end; -webkit-margin-start: 6px; display: -webkit-box; } body[new-ui] #butter-bar .actions { -webkit-box-align: end; } #butter-bar .actions a { color: rgb(17, 85, 204); cursor: pointer; vertical-align: middle; } #butter-bar .actions a.x { background: center center no-repeat; background-image: -webkit-image-set( url('../images/files/ui/close_bar.png') 1x, url('../images/files/ui/2x/close_bar.png') 2x); display: inline-block; height: 35px; /* #butter-bar .content's min-height. */ margin-right: -12px; width: 35px; } #butter-bar .actions a.x:first-child { margin-left: -6px; } body[new-ui] #butter-bar .actions a.x { margin-bottom: -14px; } #butter-bar.error { background-color: rgba(221, 75, 57, 0.2); } #butter-bar .butter-message.single-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } body[new-ui] #butter-bar .butter-message.single-line { line-height: 2.0; } body:not([new-ui]) #butter-bar .progress-track { height: 5px; } /* The top title of the dialog. */ .dialog-title { -webkit-padding-start: 15px; background-image: linear-gradient(to bottom, #fff, #f6f6f6); border-bottom: 1px rgb(214, 217, 227) solid; box-sizing: border-box; color: rgb(66, 80, 108); font-size: 15px; font-weight: bold; height: 32px; padding-bottom: 8px; padding-top: 8px; } /* Main part of the dialog between header and footer. */ .dialog-container { -webkit-box-align: stretch; -webkit-box-flex: 1; -webkit-box-orient: horizontal; background-color: white; /* Makes #drag-container invisible. */ display: -webkit-box; overflow: hidden; position: relative; } body[new-ui] .dialog-container { border-radius: 2px; } /* List/grid and preview are inside this container. */ .dialog-main { -webkit-box-align: stretch; -webkit-box-flex: 1; -webkit-box-orient: vertical; display: -webkit-box; } /* Directory tree at the left. */ .dialog-sidebar { -webkit-border-end: 1px solid rgb(170, 170, 170); -webkit-box-flex: 0; -webkit-box-orient: vertical; background-color: #e6e6e6; display: -webkit-box; max-width: 50%; min-width: 45px; overflow: hidden; position: relative; width: 168px; } body[new-ui] .dialog-sidebar { -webkit-border-end: 1px solid rgb(225, 225, 225); background-color: #f1f1f1; min-width: 100px; width: 200px; } body[new-ui] .dialog-sidebar-header { -webkit-app-region: drag; -webkit-box-flex: 0; display: -webkit-box; height: 48px; /* Keep in sync with #dialog-header. */ line-height: 45px; } body[new-ui] .dialog-sidebar-header #app-name { -webkit-margin-start: 15px; color: #303030; font-size: 130%; } body[new-ui] .dialog-sidebar-contents { -webkit-box-flex: 1; display: -webkit-box; position: relative; } body[new-ui] .dialog-sidebar-footer { -webkit-box-flex: 0; display: -webkit-box; } /* A vertical splitter between the roots list and the file list. It is actually a transparent area centered on the roots list right border.*/ div.splitter { -webkit-box-flex: 0; cursor: col-resize; margin-left: -3px; margin-right: -3px; position: relative; width: 6px; z-index: 100; } body[new-ui] #volume-list { -webkit-box-flex: 1; -webkit-box-orient: vertical; display: -webkit-box; } body[new-ui] #volume-list > * { background-color: rgb(240, 240, 240); background-image: none; border: none; height: 40px; margin: 0; padding: 0 5px; } body[new-ui] #volume-list > .accepts, body[new-ui] #volume-list > [lead][selected], body[new-ui] #volume-list > [lead], body[new-ui] #volume-list > [selected], body[new-ui] #volume-list > [anchor] { background-color: rgb(225, 225, 225); } body[new-ui] #volume-list:focus > .accepts, body[new-ui] #volume-list:focus > [lead][selected], body[new-ui] #volume-list:focus > [lead], body[new-ui] #volume-list:focus > [selected], body[new-ui] #volume-list:focus > [anchor] { background-color: rgb(66, 129, 244); color: white; } body[new-ui] #volume-list li.root-item { -webkit-box-align: center; border-radius: 0; display: -webkit-box; line-height: 22px; /* To accomodate for icons. */ padding-left: 11px; } body[new-ui] #volume-list li.root-item > .root-label { -webkit-box-flex: 1; margin: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } body[new-ui] #volume-list .volume-icon { background-position: center 2px; background-repeat: no-repeat; height: 24px; width: 24px; } #middlebar-header { -webkit-box-sizing: border-box; -webkit-padding-start: 20px; border-right: 1px solid rgb(212, 212, 212); color: rgb(100, 100, 100); height: 47px; line-height: 40px; position: absolute; width: 100%; } #directory-tree { bottom: 0; left: 0; overflow-x: hidden; overflow-y: auto; position: absolute; right: 0; top: 47px; } body[new-ui] #directory-tree { border-right: 1px solid rgb(212, 212, 212); padding-bottom: 52px; /* height of the preview panel */ } #directory-tree .tree-row { background-image: none; border: none; border-radius: 0; display: -webkit-box; line-height: 39px; margin: 0; padding: 0 3px; } body[new-ui] #directory-tree .tree-row { background-color: white; cursor: pointer; line-height: 29px; } /* For rows of subitems (non-top items) */ #directory-tree .tree-children .tree-row { line-height: 31px; } body[new-ui] #directory-tree .tree-children .tree-row { line-height: 29px; } #directory-tree .tree-row > .expand-icon { height: 37px; left: 3px; margin: -13px; top: 0; vertical-align: middle; width: 37px; } #directory-tree .tree-row > .volume-icon { background-position: center 2px; background-repeat: no-repeat; height: 24px; vertical-align: middle; width: 24px; } #directory-tree .tree-row > .label { -webkit-box-flex: 1; display: block; margin: 0 3px; overflow-x: hidden; text-overflow: ellipsis; } body:not([new-ui]) #directory-tree .tree-row:hover { background-color: rgba(0, 0, 0, 0.05); } #directory-tree .tree-item.accepts > .tree-row, #directory-tree .tree-row[lead][selected], #directory-tree .tree-row[lead], #directory-tree .tree-row[selected], #directory-tree .tree-row[anchor] { background-color: rgb(204, 204, 204); } body[new-ui] #directory-tree .tree-item.accepts > .tree-row, body[new-ui] #directory-tree .tree-row[lead][selected], body[new-ui] #directory-tree .tree-row[lead], body[new-ui] #directory-tree .tree-row[selected], body[new-ui] #directory-tree .tree-row[anchor] { background-color: rgb(225, 225, 225); } #directory-tree:focus .tree-item.accepts > .tree-row, #directory-tree:focus .tree-row[lead][selected], #directory-tree:focus .tree-row[lead], #directory-tree:focus .tree-row[selected], #directory-tree:focus .tree-row[anchor] { background-color: rgb(193, 209, 232); } body[new-ui] #directory-tree:focus .tree-item.accepts > .tree-row, body[new-ui] #directory-tree:focus .tree-row[lead][selected], body[new-ui] #directory-tree:focus .tree-row[lead], body[new-ui] #directory-tree:focus .tree-row[selected], body[new-ui] #directory-tree:focus .tree-row[anchor] { background-color: rgb(66, 129, 244); color: white; } body:not([new-ui]) #directory-tree:hover .tree-item.accepts > .tree-row:hover, body:not([new-ui]) #directory-tree:hover .tree-row[lead]:hover, body:not([new-ui]) #directory-tree:hover .tree-row[lead][selected]:hover, body:not([new-ui]) #directory-tree:hover .tree-row[selected]:hover, body:not([new-ui]) #directory-tree:hover .tree-row[anchor]:hover { background-color: rgb(177, 193, 216); } body[new-ui] #volume-list .root-item > div.root-eject, body:not([new-ui]) #directory-tree .tree-row > div.root-eject { /* The transition commented out to work around crbug.com/157813 */ /* transition: opacity 70ms linear; */ background-image: -webkit-image-set( url('../images/files/ui/eject.png') 1x, url('../images/files/ui/2x/eject.png') 2x); background-position: center center; background-repeat: no-repeat; cursor: pointer; height: 20px; margin-right: 6px; opacity: 0.7; vertical-align: middle; width: 20px; } #directory-tree .tree-row > div.root-eject[hidden] { /* [hidden] has alredy set in dialog.css, but it is overridden by the * selector '.tree-item > .tree-row > * 'in tree.js, hence we need to * override it again. */ display: none; } #directory-tree .tree-row > div.root-eject:hover { opacity: 1; } #directory-tree .root-item[disabled] { opacity: 0.5; pointer-events: none; } /* Breadcrumbs and things under the title but above the list view. */ .dialog-header { -webkit-box-align: center; -webkit-box-orient: horizontal; display: -webkit-box; transition: all 180ms ease; } body:not([new-ui]) .dialog-header { -webkit-margin-end: 7px; height: 30px; margin-bottom: 7px; margin-top: 7px; } body[new-ui] .dialog-header { -webkit-app-region: drag; height: 48px; margin: 0; } body[new-ui] .search-box-wrapper { -webkit-align-items: center; -webkit-box-flex: 1; display: -webkit-flex; height: 100%; } body[new-ui] .dialog-header #search-box, body[new-ui] .dialog-header #autocomplete-list, body[new-ui] .dialog-header #search-icon, body[new-ui] .dialog-header #search-clear-button, body[new-ui] .dialog-header .buttonbar button { -webkit-app-region: no-drag; } body[new-ui] .dialog-header #gear-button { background-image: -webkit-image-set( url('../images/files/ui/new-ui/topbar_button_settings.png') 1x, url('../images/files/ui/new-ui/2x/topbar_button_settings.png') 2x); } body[new-ui] .dialog-header #maximize-button { background-image: -webkit-image-set( url('../images/files/ui/new-ui/topbar_button_maximize.png') 1x, url('../images/files/ui/new-ui/2x/topbar_button_maximize.png') 2x); } body[new-ui] .dialog-header #close-button { background-image: -webkit-image-set( url('../images/files/ui/new-ui/topbar_button_close.png') 1x, url('../images/files/ui/new-ui/2x/topbar_button_close.png') 2x); } body[maximized][type='full-page'] .dialog-header { -webkit-padding-end: 75px; } /* Container for the detail and thumbnail list views. */ body:not([new-ui]) .dialog-body { -webkit-box-flex: 1; -webkit-box-orient: vertical; border-top: 1px solid #d4d4d4; display: -webkit-box; overflow: hidden; position: relative; transition: all 180ms ease; } body[new-ui] .dialog-body { -webkit-box-flex: 1; -webkit-transition: all 180ms ease; border-top: 1px solid rgb(225, 225, 225); position: relative; } body:not([new-ui]) .main-panel { -webkit-box-flex: 1; display: -webkit-box; } body[new-ui] .main-panel { bottom: 0; display: -webkit-box; left: 0; position: absolute; right: 0; top: 0; } body[new-ui] .dialog-middlebar-contents { display: -webkit-box; max-width: 50%; min-width: 45px; position: relative; width: 180px; } /* Container for the ok/cancel buttons. */ .dialog-footer { -webkit-box-align: center; -webkit-box-orient: horizontal; display: -webkit-box; } body:not([new-ui]) .dialog-footer { border-top: 1px solid #d2d2d2; padding: 10px 17px 14px 15px; } body[new-ui] .dialog-footer { border-top: 1px solid rgb(225, 225, 225); padding: 10px; } .dialog-footer:not([progress]) .progress-bar, .dialog-footer:not([progress]) .preparing-label { display: none; } .dialog-footer[progress] .ok, .dialog-footer[progress] #filename-input-box, .dialog-footer[progress] #file-type { display: none; } .dialog-footer .progress-bar { -webkit-box-flex: 1; -webkit-margin-end: 20px; -webkit-margin-start: 20px; } body:not([new-ui]) #file-type { -webkit-margin-end: 10px; } /* The container for breadcrumb elements. */ .breadcrumbs { -webkit-box-align: center; -webkit-box-flex: 1; -webkit-box-orient: horizontal; display: -webkit-box; line-height: 20px; overflow: hidden; padding-top: 1px; } #dir-breadcrumbs { -webkit-margin-end: 5px; -webkit-margin-start: 10px; } /* The icon for offline mode */ .offline-icon { -webkit-margin-end: 0; -webkit-margin-start: 10px; background-image: -webkit-image-set( url('../images/files/ui/offline.png') 1x, url('../images/files/ui/2x/offline.png') 2x); height: 16px; opacity: 0; transition-duration: 200ms; transition-property: opacity; transition-timing-function: ease-out; width: 16px; } /* Transition for '-webkit-margin-start' (or -end) property is not working. * So I added .offline-icon-space to animate 'width' property. */ .offline-icon-space { -webkit-margin-end: 0; -webkit-margin-start: -26px; /* Clear width of .offline-icon */ transition-duration: 200ms; transition-property: width; transition-timing-function: ease-out; width: 0; } body[drive] .dialog-container[connection='offline'] .offline-icon, body[drive] .dialog-container[connection='metered'] .offline-icon { opacity: 1; } body[drive] .dialog-container[connection='offline'] .offline-icon-space, body[drive] .dialog-container[connection='metered'] .offline-icon-space { width: 26px; } #search-breadcrumbs { } .breadcrumbs > [collapsed]::before { content: '...'; } .breadcrumbs > [collapsed] { width: 1em; } /* A single directory name in the list of path breadcrumbs. */ .breadcrumb-path { color: rgb(38, 86, 146); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } body[new-ui] .breadcrumb-path:not(.breadcrumb-last) { -webkit-app-region: no-drag; } body:not([new-ui]) #search-breadcrumbs .breadcrumb-path { color: #888; } body[new-ui] #search-breadcrumbs .breadcrumb-path { color: #969696; } body[new-ui] #search-breadcrumbs .breadcrumb-path:hover, body:not([new-ui]) #search-breadcrumbs .breadcrumb-path:hover { color: #666; } /* The final breadcrumb, representing the current directory. */ body[new-ui] #search-breadcrumbs .breadcrumb-path.breadcrumb-last { color: #141414; cursor: default; } body:not([new-ui]) .breadcrumb-last { color: black; cursor: default; } /* The > arrow between breadcrumbs. */ .breadcrumbs .separator { background-image: -webkit-image-set( url('../images/files/ui/breadcrumb-separator.png') 1x, url('../images/files/ui/2x/breadcrumb-separator.png') 2x); background-position: center center; background-repeat: no-repeat; height: 10px; overflow: hidden; width: 25px; } body[new-ui] .dialog-header .buttonbar { -webkit-box-align: center; height: 100%; } body[new-ui] .dialog-header .buttonbar button { -webkit-box-shadow: none; -webkit-margin-end: 10px; -webkit-margin-start: 0; background-color: transparent; background-image: none; background-position: center; background-repeat: no-repeat; border: 0 none transparent; display: block; height: 32px; min-width: 0; outline: none; padding: 0; width: 32px; } body[new-ui] .dialog-header .buttonbar button:active { -webkit-box-shadow: 0 1px 0 0 #c2c2c2 inset, 0 0 0 1px #dedede inset; } body[new-ui] .dialog-header button:hover, body[new-ui] .dialog-header button:focus, body[new-ui] .dialog-header button:active { background-color: #ededed; } #search-box, #filename-input-box input { border: 1px solid #d9d9d9; border-radius: 1px; border-top: 1px solid #c0c0c0; box-sizing: border-box; } #search-box { -webkit-margin-end: 10px; -webkit-padding-after: 2px; -webkit-padding-before: 1px; -webkit-padding-end: 24px; -webkit-padding-start: 23px; background: -webkit-image-set( url('../images/files/ui/icon_search.png') 1x, url('../images/files/ui/2x/icon_search.png') 2x); background-color: #fff; background-position: 4px 5.5px; background-repeat: no-repeat; color: #333; display: -webkit-box; height: 29px; line-height: 27px; max-width: 150px; transition: max-width 200ms; width: 100%; } body[new-ui] #search-box { -webkit-margin-end: 0; background-image: none; border-style: none; display: block; height: 48px; line-height: 1em; max-width: 100%; outline: none; padding: 0; pointer-events: none; position: relative; transition: width 0; width: 0; /* Overrided by script */ } body[new-ui] #search-box:focus, body[new-ui] #search-box:active, body[new-ui] .has-text #search-box { pointer-events: auto; } body #search-box[hidden] { display: none; /* Required, since overriden by #search-box. */ } html[dir='rtl'] body:not([new-ui]) #search-box { background-position: right 4px top 5.5px; } body:not([new-ui]) #search-box:hover { border: 1px solid #b9b9b9; border-top: 1px solid #a0a0a0; box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); } body:not([new-ui]) #search-box:focus { border: 1px solid rgb(77, 144, 254); box-shadow: inset 0 1px 2px rgba(0,0,0,0.3); max-width: 240px; outline: none; width: 100%; } #search-box::-webkit-search-cancel-button { -webkit-appearance: none; } body:not([new-ui]) #search-box::-webkit-search-cancel-button { background-image: -webkit-image-set( url('../images/files/ui/search_clear.png') 1x, url('../images/files/ui/2x/search_clear.png') 2x); height: 16px; position: absolute; top: 6px; width: 16px; } html:not([dir='rtl']) body:not([new-ui]) #search-box::-webkit-search-cancel-button { right: 2px; } html[dir='rtl'] body:not([new-ui]) #search-box::-webkit-search-cancel-button { left: 2px; } body:not([new-ui]) #search-box::-webkit-search-cancel-button:hover { background-image: -webkit-image-set( url('../images/files/ui/search_clear_hover.png') 1x, url('../images/files/ui/2x/search_clear_hover.png') 2x); } body:not([new-ui]) #search-box::-webkit-search-cancel-button:active { background-image: -webkit-image-set( url('../images/files/ui/search_clear_pressed.png') 1x, url('../images/files/ui/2x/search_clear_pressed.png') 2x); } body[new-ui] #search-icon { -webkit-flex-shrink: 0; -webkit-margin-end: 3px; -webkit-margin-start: 10px; -webkit-order: -1; background-image: -webkit-image-set( url('../images/files/ui/new-ui/search_icon_inactive.png') 1x, url('../images/files/ui/new-ui/2x/search_icon_inactive.png') 2x); background-position: center; background-repeat: no-repeat; height: 32px; width: 32px; } body[new-ui] #search-icon:hover, body[new-ui] #search-box:active + #search-icon, body[new-ui] #search-box:focus + #search-icon, body[new-ui] .has-text #search-icon { background: -webkit-image-set( url('../images/files/ui/new-ui/search_icon_active.png') 1x, url('../images/files/ui/new-ui/2x/search_icon_active.png') 2x); } body[new-ui] #search-clear-button { -webkit-margin-end: 30px; -webkit-margin-start: 10px; background-image: -webkit-image-set( url('../images/files/ui/new-ui/search_clear.png') 1x, url('../images/files/ui/new-ui/2x/search_clear.png') 2x); background-position: center; background-repeat: no-repeat; display: none; height: 12px; width: 12px; } body[new-ui] .search-box-wrapper.has-text + #search-clear-button { display: block; } body[new-ui] #search-clear-button:hover { background-image: -webkit-image-set( url('../images/files/ui/new-ui/search_clear_hover.png') 1x, url('../images/files/ui/new-ui/2x/search_clear_hover.png') 2x); } body[new-ui] #search-clear-button:active { background-image: -webkit-image-set( url('../images/files/ui/new-ui/search_clear_pressed.png') 1x, url('../images/files/ui/new-ui/2x/search_clear_pressed.png') 2x); } body:not([new-ui]) button#detail-view::before { background-image: -webkit-image-set( url('../images/files/ui/view_list_black.png') 1x, url('../images/files/ui/2x/view_list_black.png') 2x); } body:not([new-ui]) button#thumbnail-view::before { background-image: -webkit-image-set( url('../images/files/ui/view_thumbs_black.png') 1x, url('../images/files/ui/2x/view_thumbs_black.png') 2x); } body:not([new-ui]) button#detail-view::before, body:not([new-ui]) button#thumbnail-view::before { background-position: center; background-repeat: no-repeat; bottom: 0; content: ''; left: 0; opacity: 0.5; position: absolute; right: 0; top: 0; } body:not([new-ui]) button#detail-view[disabled]::before, body:not([new-ui]) button#thumbnail-view[disabled]::before { opacity: 0.75; } body:not([new-ui]) button#detail-view:hover::before, body:not([new-ui]) button#thumbnail-view:hover::before { opacity: 1; } /* When detail-view is not disabled (thus thumbnail view is disabled), push it up a little, to make it's right glowing border visible while focused.*/ body:not([new-ui]) button#detail-view:not([disabled]) { z-index: 2; } .filelist-panel { -webkit-box-flex: 1; -webkit-box-orient: vertical; display: -webkit-box; } #list-container { -webkit-box-flex: 1; -webkit-box-orient: vertical; display: -webkit-box; position: relative; } #detail-table { -webkit-box-flex: 1; -webkit-box-orient: vertical; display: -webkit-box; } #detail-table > list, .thumbnail-grid { -webkit-box-flex: 1; } body[new-ui] .main-panel #detail-table > list { padding-bottom: 52px; /* height of the preview panel */ } .spinner { background-image: url('../images/common/spinner.svg'); background-size: 100%; height: 22px; left: 50%; margin-left: -11px; margin-top: -11px; opacity: 0.5; position: absolute; top: 50%; width: 22px; } #spinner-container { -webkit-box-align: center; -webkit-box-pack: center; bottom: 0; display: -webkit-box; left: 0; pointer-events: none; position: absolute; right: 0; top: 0; } #spinner-with-text { background-image: url('../images/common/spinner.svg'); background-repeat: no-repeat; font-size: 16px; height: 22px; min-width: 22px; opacity: 0.6; padding-left: 26px; } #spinner-with-text[hidden] { display: block; opacity: 0; transition: opacity 200ms ease-in; } .downloads-warning { -webkit-box-align: center; -webkit-box-orient: horizontal; background-color: #f0f0f0; background-image: -webkit-image-set( url('../images/files/ui/warning_icon_square.png') 1x, url('../images/files/ui/2x/warning_icon_square.png') 2x); background-position: 15px center; background-repeat: no-repeat; color: #666; display: -webkit-box; font-size: 13px; height: 57px; overflow: hidden; padding-left: 57px; /* Make space for the icon. */ transition: height 70ms linear; } .downloads-warning[hidden] { height: 0; } @-webkit-keyframes heightAnimation { 0% { height: 0; display: -webkit-box; } } /* Drive space warning banner. */ .volume-warning { -webkit-animation: heightAnimation 70ms linear; -webkit-box-align: center; -webkit-box-orient: horizontal; background-image: url(chrome://resources/images/clouds.png); background-repeat: repeat-x; background-size: 150px 44px; border-top: 1px solid rgba(0, 0, 0, 0.1); color: #333; display: -webkit-box; font-size: 13px; height: 44px; overflow: hidden; position: relative; } .volume-warning[hidden] { border-top-width: 0; /* [hidden] has already set in dialog.css, but it is overridden by the * selector ".volume-warning", hence we need to override it again. */ display: none; height: 0; } .volume-warning .drive-icon { background-image: -webkit-image-set( url('../images/files/ui/drive_logo.png') 1x, url('../images/files/ui/2x/drive_logo.png') 2x); background-position: center; background-repeat: no-repeat; background-size: 25px 22px; height: 44px; width: 50px; } .volume-warning .drive-text { margin-right: 11px; } /* The cr.ui.Grid representing the detailed file list. */ .thumbnail-grid { overflow-y: auto; width: 100%; } body[new-ui] .thumbnail-grid { padding-bottom: 52px; /* height of the preview panel */ } body[type='full-page'] .thumbnail-frame > .img-container { position: relative; } body[type='full-page'] .thumbnail-frame > .img-container, body[type='full-page'] .detail-name .detail-icon, body[type='full-page'] .filename-label > * { cursor: pointer; } body[type='full-page'] grid .filename-label > :hover { text-decoration: underline; } body[type='full-page'] list .filename-label > :hover, .breadcrumb-path:not(.breadcrumb-last):hover, .breadcrumb-path.accepts { color: rgb(17, 85, 204); text-decoration: underline; } body[new-ui][type='full-page'] list .filename-label > :hover { color: inherit; text-decoration: underline; } .breadcrumb-path.accepts { -webkit-animation: acceptsBlinkText 200ms linear 1s 3; } @-webkit-keyframes acceptsBlinkText { 0% { color: white; } 50% { } } .img-container > img { -webkit-user-drag: none; position: absolute; } body[new-ui] .img-container > img:not(.cached) { -webkit-animation: fadeIn 500ms ease-in; } .thumbnail-bottom { -webkit-box-align: center; -webkit-box-orient: horizontal; -webkit-box-pack: center; bottom: 0; cursor: auto; display: -webkit-box; left: 0; padding: 0 10px; position: absolute; right: 0; } .thumbnail-bottom .filename-label { -webkit-box-flex: 1; } /* Styles specific for the grid view. */ /* The item width and margins are chosen so that the standard File Open/Save dialogs have three nicely aligned columns of thumbnails. */ body:not([new-ui]) .thumbnail-grid .thumbnail-item { -webkit-margin-start: 8px; border: 1px solid transparent; /* Selection will make the border visible. */ margin-top: 7px; padding: 0; position: relative; text-align: center; } body[new-ui] .thumbnail-grid .thumbnail-item { -webkit-margin-start: 8px; border: 3px solid transparent; /* Selection will make the border visible. */ margin-top: 7px; padding: 0; position: relative; } body:not([new-ui]) .thumbnail-grid .thumbnail-frame { background-image: -webkit-image-set( url('../images/files/ui/hashed_bg.gif') 1x, url('../images/files/ui/2x/hashed_bg.gif') 2x); border: 1px solid rgb(217, 217, 217); height: 180px; overflow: hidden; padding-bottom: 30px; /* .thumbnail-bottom height */ position: relative; width: 240px; } body[new-ui] .thumbnail-grid .thumbnail-frame { background-color: rgb(245, 245, 245); height: 180px; overflow: hidden; position: relative; width: 240px; } .thumbnail-grid .thumbnail-item[selected] .thumbnail-frame, .thumbnail-grid .thumbnail-item.accepts .thumbnail-frame, body:not([new-ui]) .thumbnail-grid .thumbnail-item:hover .thumbnail-frame { border-color: white; } .thumbnail-grid .img-container { height: 100%; width: 100%; } body .thumbnail-grid .thumbnail-bottom { background: rgba(0, 0, 0, 0.75); color: #eee; height: 30px; } body[new-ui] .thumbnail-grid .thumbnail-bottom { background: rgba(0, 0, 0, 0.55); color: #fff; } body:not([new-ui]) .thumbnail-item .thumbnail-bottom .file-checkbox { left: 9px; position: absolute; top: 10px; } /* Show the file name differently if the checkbox is present */ .thumbnail-bottom.show-checkbox { -webkit-box-pack: start; -webkit-padding-start: 28px; text-align: start; } /* In the full page mode we can afford to show thumbnails as large as 320x240 with no downscaling. */ body[type='full-page'] .thumbnail-grid .thumbnail-item { -webkit-margin-start: 21px; margin-top: 20px; } body[type='full-page']:not([new-ui]) .thumbnail-grid .thumbnail-frame { height: 240px; padding-bottom: 34px; /* .thumbnail-bottom height */ width: 320px; } body[type='full-page'][new-ui] .thumbnail-grid .thumbnail-frame { height: 240px; width: 320px; } body[type='full-page'] .thumbnail-grid .thumbnail-bottom { height: 34px; } /* Padding counterweights negative margins of items, thus eliminating scroll bar when it's not needed. Max height is set to fit 8 items before showing scroll bar. */ #default-actions-list { max-height: 328px; padding: 1px 0; } #default-actions-list > li > * { background-position: 5px center; background-repeat: no-repeat; background-size: 16px 16px; line-height: 39px; padding-left: 26px; } #list-container list > li, #list-container grid > *, #default-actions-list > * { background-color: transparent; background-image: none; border-radius: 0; } body[new-ui] #list-container grid > *:hover { border-color: transparent; } #list-container list > li[selected], #list-container grid > li[selected], #default-actions-list > li[selected] { background-color: #dedede; } body[new-ui] #list-container list > li[selected], body[new-ui] #list-container grid > li[selected], body[new-ui] #default-actions-list > li[selected] { background-color: rgb(225, 225, 225); } #list-container list:focus > li[selected], #list-container grid:focus > li[selected], #default-actions-list:focus > li[selected] { background-color: rgb(203, 219, 241); } body[new-ui] #list-container list:focus > li[selected], body[new-ui] #list-container grid:focus > li[selected], body[new-ui] #default-actions-list:focus > li[selected] { background-color: rgb(66, 129, 244); color: white; } #list-container list > li.accepts[selected], #list-container grid > li.accepts[selected], body:not([new-ui]) #list-container list > li[selected]:hover, body:not([new-ui]) #list-container grid > li[selected]:hover, body:not([new-ui]) #default-actions-list > li[selected]:hover { background-color: rgb(193, 211, 236); } body[new-ui] #list-container list > li.accepts[selected], body[new-ui] #list-container grid > li.accepts[selected] { background-color: rgb(215, 215, 215); } body[new-ui] #list-container list:focus > li.accepts[selected], body[new-ui] #list-container grid:focus > li.accepts[selected] { background-color: rgb(48, 125, 254); } #list-container list > li.accepts, #list-container grid > li.accepts, body:not([new-ui]) #list-container list > li:hover, body:not([new-ui]) #list-container grid > li:hover, body:not([new-ui]) #default-actions-list > li:hover { background-color: #f1f1f1; } body:not([new-ui]) #list-container.nohover list > :not([selected]):hover, body:not([new-ui]) #list-container.nohover grid > :not([selected]):hover, #list-container.nohover grid > .accepts { background-color: transparent; } #directory-tree .tree-item.accepts > .tree-row, body[new-ui] #volume-list > .accepts, #list-container list > li.accepts, #list-container grid > li.accepts { -webkit-animation: acceptsBlink 200ms linear 1s 3; } @-webkit-keyframes acceptsBlink { 0% { background-color: transparent; } 50% { } } .table-row-cell .selection-label { -webkit-margin-end: 10px; } body[new-ui] .table-row-cell .selection-label { height: 15px; } .table-row-cell .filename-label, .thumbnail-item .filename-label, /* Show ellipsis in cells. The name column has different structure and overrides this rule. */ .table-row-cell > div { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Text box used for renaming in the detail list. */ .table-row-cell input.rename { border-width: 0; padding: 2px 0; } input.rename:focus { outline-color: rgb(77, 144, 254); } input.rename { font: inherit; line-height: 1; text-align: inherit; } .table-row-cell .filename-label, .table-row-cell input.rename { -webkit-box-flex: 1; } [renaming] > .filename-label { display: none; } /* Text box used for renaming in the thumbnail list. */ .thumbnail-grid input.rename { -webkit-margin-start: -1px; box-sizing: border-box; height: 20px; width: 114px; } /* The cr.ui.Table representing the detailed file list. */ .detail-table { border: 0; width: 100%; } /* Bottom pane describing current selection. */ body:not([new-ui]) .preview-panel { -webkit-box-align: center; -webkit-box-orient: horizontal; -webkit-transform: translate(0, 0); background-color: #f0f0f0; display: -webkit-box; height: 61px; opacity: 1; padding: 0 16px 0 7px; position: relative; z-index: 3; } body[new-ui] .preview-panel { -webkit-box-align: center; -webkit-box-orient: horizontal; -webkit-transition: background-color 150ms ease; background: rgba(255, 255, 255, 0.9); border-top: 1px solid rgb(225, 225, 225); bottom: 0; display: -webkit-box; height: 51px; left: 0; opacity: 1; padding: 0 12px 0 7px; position: absolute; right: 0; z-index: 3; } body:not([new-ui]) .preview-panel[visibility=hiding], body[new-ui] .preview-panel[visibility=hiding] { /* Using all seems to cause preview panel and checkbox flicking issue. */ -webkit-transform: translate(0, 5px); opacity: 0; transition: opacity 220ms ease; } body:not([new-ui]) .preview-panel[visibility=hidden], body[new-ui] .preview-panel[visibility=hidden] { display: none; opacity: 0; } .preview-thumbnails { -webkit-box-orient: horizontal; display: -webkit-box; padding-left: 39px; } body[new-ui] .preview-thumbnails { padding-left: 25px; } .preview-thumbnails > .thumbnail { background-color: #f2f2f2; border: 1px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); height: 45px; margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */ position: relative; width: 45px; } body[new-ui] .preview-thumbnails > .thumbnail { border: 1px solid #fff; box-shadow: 0 1px 1px rgba(80, 80, 80, 0.5); height: 35px; margin: 0 0 0 -25px; /* Overlapped images. */ width: 35px; } body[new-ui] .preview-thumbnails > .thumbnail { background-color: white; } .preview-thumbnails > .thumbnail > .img-container { background-size: 45px 45px; height: 45px; overflow: hidden; position: relative; width: 45px; } body[new-ui] .preview-thumbnails > .thumbnail > .img-container { background-size: 35px 35px; border: 1px solid white; box-sizing: border-box; height: 35px; width: 35px; } @-webkit-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .preview-thumbnails > .popup { -webkit-transform: translate(0, 3px) scale(0.95); background-color: #f2f2f2; border: 2px solid #fff; box-shadow: 0 0 0 1px #F0F0F0, 0 0 0 2px #D0D0D0, 2px 2px 6px rgba(0, 0, 0, 0.2); margin: 6px 0 0 -40px; opacity: 0; pointer-events: none; position: absolute; z-index: 1; } .preview-thumbnails > .popup > img { -webkit-user-drag: none; } .preview-thumbnails > * { transition: all 180ms ease-in; transition-delay: 300ms; } .preview-thumbnails.has-zoom:hover > .popup { -webkit-transform: translate(0, 0) scale(1.0); opacity: 1; pointer-events: auto; } .preview-thumbnails.has-zoom:hover > .thumbnail { opacity: 0; } /* cr.ui.Table has a black focus border by default, which we don't want. */ .detail-table:focus { border: 0; } /* Table splitter element */ .table-header-splitter { -webkit-border-start: 1px #d4d4d4 solid; background-color: inherit; height: 27px; } body[new-ui] .table-header-splitter { background-image: -webkit-image-set( url('../images/files/ui/new-ui/vertical_separator.png') 1x, url('../images/files/ui/new-ui/2x/vertical_separator.png') 2x); background-position: center; background-repeat: repeat-y; border: none; height: 20px; top: 10px; width: 5px; } /* Container for a table header. */ .table-header { background-color: #f5f5f5; border-bottom: 1px #d2d2d2 solid; box-sizing: border-box; height: 27px; } body[new-ui] .table-header { background-color: transparent; border-bottom: none; height: 47px; } .table-header-sort-image-desc::after { -webkit-padding-start: 13px; background-image: -webkit-image-set( url('../images/files/ui/sort_desc.png') 1x, url('../images/files/ui/2x/sort_desc.png') 2x); background-position: center center; background-repeat: no-repeat; color: #888; content: '\00a0'; position: relative; top: 1px; } .table-header-sort-image-asc::after { -webkit-padding-start: 13px; background-image: -webkit-image-set( url('../images/files/ui/sort_asc.png') 1x, url('../images/files/ui/2x/sort_asc.png') 2x); background-position: center center; background-repeat: no-repeat; color: #888; content: '\00a0'; position: relative; top: -1px; } .preview-container .table-header { border-radius: 0 4px 0 0; } /* Text label in a table header. */ .table-header-label { line-height: 27px; } body[new-ui] .table-header-label { color: rgb(100, 100, 100); line-height: 40px; } .table-row-cell > * { -webkit-box-align: center; -webkit-box-flex: 1; -webkit-box-orient: horizontal; margin: 0; padding: 0 10px; } body[new-ui] .table-row-cell { color: rgb(100, 100, 100); } .table-row-cell > .detail-name { display: -webkit-box; } body[new-ui] .table-row-cell > .detail-name { color: rgb(0, 0, 0); } body[new-ui] #list-container list:focus > [selected] .table-row-cell, body[new-ui] #list-container list:focus > [selected] .detail-name { color: white; } .table-row-cell { -webkit-box-align: center; } .file-checkbox { -webkit-margin-end: 0; -webkit-margin-start: 0; position: relative; z-index: 2; } #select-all-checkbox { -webkit-margin-end: 7px; -webkit-margin-start: 2px; margin-bottom: 0; margin-top: 0; vertical-align: middle; } body[new-ui] #select-all-checkbox { -webkit-margin-end: 13px; -webkit-margin-start: 3px; vertical-align: middle; } #list-container li.table-row:hover .file-checkbox, #list-container li.table-row:hover .pin, #list-container li.thumbnail-item:hover .file-checkbox { opacity: 0.6; } body[new-ui] #list-container li.table-row:hover .pin, body[new-ui] #list-container li.thumbnail-item:hover .file-checkbox { opacity: 0.4; } #list-container li.table-row[selected] .pin, #list-container li.thumbnail-item[selected] .file-checkbox { opacity: 1.0 !important; } body[new-ui] #list-container .table-header #select-all-checkbox, body[new-ui] #list-container li.table-row .file-checkbox { -webkit-appearance: none; background-image: -webkit-image-set( url('../images/files/ui/new-ui/select_checkbox.png') 1x, url('../images/files/ui/new-ui/2x/select_checkbox.png') 2x); background-position: center; background-repeat: no-repeat; border-style: none; height: 15px; opacity: 1.0; width: 15px; } body[new-ui] #list-container .table-header #select-all-checkbox::after, body[new-ui] #list-container li.table-row .file-checkbox::after { content: none; } body[new-ui] #list-container .table-header #select-all-checkbox:checked, body[new-ui] #list-container li.table-row .file-checkbox:checked { background-image: -webkit-image-set( url('../images/files/ui/new-ui/select_checkbox_checked.png') 1x, url('../images/files/ui/new-ui/2x/select_checkbox_checked.png') 2x); } body[new-ui] #list-container .table-header #select-all-checkbox:checked, body[new-ui] #list-container list li.table-row[selected] .file-checkbox { -webkit-filter: brightness(0) opacity(40%); } body[new-ui] #list-container list:focus li.table-row[selected] .file-checkbox { -webkit-filter: brightness(0) invert(); } #list-container li.table-row, #default-actions-list li { border: 1px solid white; border-left-width: 0; border-right-width: 0; height: 39px; padding-bottom: 1px; padding-top: 1px; } body[new-ui] #list-container li.table-row { border-style: none; height: 29px; line-height: 29px; margin: 0; padding-bottom: 0; padding-top: 0; } body[new-ui] #default-actions-list li { border-style: none; } /* The icon in the name column. See file_types.css for specific icons. */ .detail-icon { height: 24px; width: 24px; } .metadata-item { -webkit-box-flex: 1; -webkit-box-orient: horizontal; -webkit-padding-start: 8px; display: -webkit-box; } .metadata-label { -webkit-margin-end: 6px; } .preview-panel .spacer { -webkit-box-flex: 1; } body[new-ui] #delete-button { background-image: -webkit-image-set( url('../images/files/ui/new-ui/onbutton_trash.png') 1x, url('../images/files/ui/new-ui/2x/onbutton_trash.png') 2x); background-position: center; background-repeat: no-repeat; min-width: 27px; /* overrride */ padding: 0; /* overrride */ width: 27px; } body #delete-button[disabled] { display: none; } #tasks-menu menuitem:not(.change-default) { background-position: left 10px center; padding-left: 32px; } #preview-lines { -webkit-box-flex: 1; -webkit-margin-end: 10px; -webkit-margin-start: 10px; vertical-align: middle; } /* The selection summary text at the bottom of the preview pane. */ .preview-summary { color: #666; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } .preview-summary .calculating-size { margin-left: 5px; opacity: 0.5; } .detail-name > * { -webkit-box-align: center; display: -webkit-box; } /* Overriding input.common[type='checkbox'] rule in common.css. */ .detail-name > input.common[type='checkbox'] { -webkit-margin-end: 4px; -webkit-margin-start: -1px; border-color: #444; } list .detail-name > .file-checkbox::before, .pin::before { /* Invisible area that reacts on mouse events. */ content: ''; display: -webkit-box; height: 38px; left: -8px; position: absolute; right: -9px; top: -14px; } #filename-input-box { -webkit-box-align: center; -webkit-box-flex: 1; display: -webkit-box; } #filename-input-box input { -webkit-box-flex: 1; display: -webkit-box; padding: 1px 2px; } #filename-input-box .filename-label { -webkit-box-orient: horizontal; background-color: white; color: #333; display: -webkit-box; padding-right: 4px; } body:not([type='saveas-file']) #filename-input-box { display: none; } /* A horizontal spring. */ .horizontal-spacer { -webkit-box-flex: 1; -webkit-box-orient: horizontal; display: -webkit-box; } /* A vertical spring. */ .vertical-spacer { -webkit-box-flex: 1; -webkit-box-orient: vertical; display: -webkit-box; } /* Dimmed items */ body[type='folder'] .file, body[drive] .dialog-container[connection='offline'] .dim-offline, body[drive] .dialog-container[connection='metered'] .dim-metered { opacity: 0.4; } /* Overlay pane covering the entire file manager window (e.g. image editor)*/ .overlay-pane { border: none; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 100; } /* When the overlay pane is visible hide everything else so that the tab order is not confused. */ body[overlay-visible] > :not(.overlay-pane) { display: none !important; } /* Invisible container for elements representing files while dragging. */ #drag-container { left: 0; /* Hack for extra margins caused by setDragImage(). */ padding: 1000px 0 0 1000px; position: fixed; top: 0; z-index: -1; /* below .dialog-container */ } #drag-container .drag-contents { -webkit-box-orient: horizontal; background-color: #fafafa; border: 1px solid #bbb; border-radius: 3px; box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2); display: -webkit-box; margin-bottom: 5px; padding: 6px; transition: opacity 200ms ease-in; } #drag-container .thumbnail-item { -webkit-box-orient: horizontal; display: -webkit-box; } #drag-container .img-container { -webkit-box-flex: 0; display: -webkit-box; overflow: hidden; position: relative; } #drag-container .label { -webkit-box-flex: 1; font-weight: bold; line-height: 24px; max-width: 320px; overflow: hidden; padding: 0 5px; text-overflow: ellipsis; white-space: nowrap; } #drag-container .drag-contents.drag-image-thumbnail { padding: 2px; } /* When changing these properties please preserve these conditions: 1. width == height (so that the rotated thumbnail does not look off-center) 2. width % 8 == 0 (to minimize rounding errors in the centering code) */ #drag-container .img-container { height: 64px; width: 64px; } menu.file-context-menu { z-index: 4; } body:not([new-ui]) menu.chrome-menu { min-width: 200px; } menu.chrome-menu hr { color: transparent; font-size: 0; } input.common.pin[type='checkbox']:checked::after { background-image: -webkit-image-set( url('../images/files/ui/pin.png') 1x, url('../images/files/ui/2x/pin.png') 2x); background-position: 4px 0; } div.offline { -webkit-box-pack: center; display: -webkit-box; } div.offline > * { -webkit-box-align: center; display: -webkit-box; } div.shade { /* transition: opacity 1000ms linear; */ background-color: rgba(255, 255, 255, 0.8); bottom: 0; left: 0; opacity: 0; position: absolute; right: 0; top: 0; } div.shade[fadein] { opacity: 1; } /* Message panel for unmounted Drive */ #unmounted-panel, #format-panel { bottom: 0; color: #333; display: none; left: 0; padding-left: 50px; padding-top: 20px; position: absolute; right: 0; top: 0; } body[drive='mounting'] .dialog-container #unmounted-panel, body[drive='error'] .dialog-container #unmounted-panel, body[unformatted] .dialog-container #format-panel { display: block; } body[drive='unmounted'] .dialog-container .filelist-panel, body[drive='mounting'] .dialog-container .filelist-panel, body[drive='error'] .dialog-container .filelist-panel, body[unformatted] .dialog-container .filelist-panel { /* Hide file list when Drive is not mounted. Use opacity to avoid manual resizing.*/ opacity: 0; } #unmounted-panel > *, #format-panel > * { -webkit-box-align: center; -webkit-box-orient: horizontal; -webkit-box-pack: start; display: none; height: 22px; margin-bottom: 10px; } #unmounted-panel > .loading { position: relative; } #unmounted-panel > .loading > .spinner-box { bottom: 0; position: absolute; right: 100%; top: 0; width: 40px; } body[unformatted] #format-panel > .error, body[drive='mounting'] #unmounted-panel > .loading, body[drive='error'] #unmounted-panel > .error, #format-panel > #format-button, #unmounted-panel.retry-enabled > .retry, #unmounted-panel.retry-enabled > .learn-more { display: -webkit-box; } .plain-link { color: rgb(17, 85, 204); cursor: pointer; text-decoration: none; } body[ash] .dialog-title, body[type='folder'] [invisibleif~='folder'], body[type='saveas-file'] [invisibleif~='saveas-file'], body[type='open-file'] [invisibleif~='open-file'], body[type='open-multi-file'] [invisibleif~='open-multi-file'], body[type='full-page'] [invisibleif~='full-page'], body[type='folder'] [visibleif]:not([visibleif~='folder']), body[type='saveas-file'] [visibleif]:not([visibleif~='saveas-file']), body[type='open-file'] [visibleif]:not([visibleif~='open-file']), body[type='open-multi-file'] [visibleif]:not([visibleif~='open-multi-file']), body[type='full-page'] [visibleif]:not([visibleif~='full-page']) { display: none; } body:not([new-ui]) #gear-button::before { background-image: url('../images/files/ui/settings.svg'); background-position: 20px center; background-repeat: no-repeat; bottom: 0; content: ''; left: 0; opacity: 0.75; position: absolute; right: 0; top: 0; } body:not([new-ui]) #gear-button:hover::before { opacity: 1; } body:not([new-ui]) #gear-button { overflow: hidden; text-align: left; width: 54px; } body:not([new-ui]) #gear-button span.disclosureindicator { float: none; margin-left: 42px; } .buttonbar > * { position: relative; } .buttonbar .tooltip { right: -12px; top: 35px; } /* Tooltips */ .tooltip { background: #2d2d2d; border-radius: 0; box-shadow: 1px 2px 4px #ccc; box-sizing: border-box; color: white; display: block; font-size: 11px; font-weight: bold; height: 29px; line-height: 29px; margin-left: -20px; min-width: 50px; opacity: 0; outline: 1px solid rgba(255, 255, 255, 0.5); padding: 0 10px; pointer-events: none; position: absolute; text-align: center; top: 5px; white-space: nowrap; z-index: 15; } .tooltip::after, .tooltip::before { border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: transparent; content: ''; display: block; margin-left: -5px; position: absolute; right: 24px; top: -5px; } .tooltip::after { border-bottom: 5px solid #2d2d2d; } .tooltip::before { border-bottom: 5px solid rgba(255, 255, 255, 0.5); } /* Show with delay, disappear instantly */ @-webkit-keyframes tooltip-show { 0% { opacity: 0; } 90% { opacity: 0; } 100% { opacity: 1; } } :hover > .tooltip { -webkit-animation-duration: 800ms; -webkit-animation-iteration-count: 1; -webkit-animation-name: tooltip-show; -webkit-animation-timing-function: linear; opacity: 1; } #no-search-results { bottom: 0; display: none; left: 0; padding: 10px; position: absolute; right: 0; top: 28px; /* Leave room for the file list header. */ } .dialog-container:not([drive-welcome='page']) #no-search-results[show] { display: block; } body:not([new-ui]) #downloads-root-context-menu { min-width: 250px; } body:not([new-ui]) #volume-space-info { -webkit-box-pack: justify; display: -webkit-box; } body:not([new-ui]) #volume-space-info-label { display: block; } body:not([new-ui]) #volume-space-info > div { -webkit-box-flex: 1; border: 1px solid rgb(192, 192, 192); display: block; height: 11px; margin: 8px 0 9px 10px; min-width: 30px; } body:not([new-ui]) #volume-space-info-bar[pending] { -webkit-animation-duration: 800ms; -webkit-animation-iteration-count: infinite; -webkit-animation-name: bg; -webkit-animation-timing-function: linear; background-color: rgb(192, 192, 192); background-image: linear-gradient(315deg, transparent, transparent 33%, rgba(0, 0, 0, 0.12) 33%, rgba(0, 0, 0, 0.12) 66%, transparent 66%, transparent); background-position: 0 0; background-repeat: repeat-x; background-size: 16px 8px; } body:not([new-ui]) #volume-space-info-bar { background-color: rgb(192, 192, 192); border: 1px solid rgb(255, 255, 255); box-sizing: border-box; height: 100%; width: 50%; } body[new-ui] #volume-space-info-contents { -webkit-box-align: center; display: -webkit-box; } body[new-ui] #volume-space-info-contents > div { -webkit-box-flex: 1; -webkit-margin-start: 15px; display: -webkit-box; } #list-container .table-header-inner { height: 100%; } #list-container .table-header-cell:hover { background-color: #ececec; } body[new-ui] #list-container .table-header-cell:hover { background-color: inherit; } body[new-ui] #list-container .table-header-cell:first-child { -webkit-box-sizing: border-box; -webkit-padding-start: 8px; } button:focus { outline-color: rgb(77, 144, 254); } #new-folder { margin-right: 30px; } #default-action-dialog { min-width: 300px; width: auto; } .drive-welcome-wrapper { /* drive_welcome.css will override it once loaded. */ display: none; } body:not([new-ui]) list.autocomplete-suggestions { background-color: white; border: 1px solid #aaa; border-radius: 2px; box-sizing: border-box; /* To match the width with the search box's. */ min-height: 0; position: fixed; z-index: 3; } body[new-ui] list.autocomplete-suggestions { -webkit-margin-before: -7px; -webkit-margin-start: -38px; background-color: rgb(250, 250, 250); border: 1px solid rgb(255, 255, 255); border-radius: 3px; box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .5); box-sizing: border-box; /* To match the width with the search box's. */ color: rgb(34, 34, 34); overflow: hidden; padding: 5px 0; position: fixed; width: 300px !important; /* This overrides the value specified by script. */ z-index: 3; } list.autocomplete-suggestions > li { -webkit-box-align: center; border-radius: 0; display: -webkit-box; margin: 0; /* To prevent vertical overflow. */ padding: 3px 0; } body:not([new-ui]) list.autocomplete-suggestions > li:hover { background-color: white; border: 1px solid white; } body[new-ui] list.autocomplete-suggestions > li { background-color: transparent; background-image: none; border: none; } body[new-ui] list.autocomplete-suggestions > li > div.detail-icon { -webkit-margin-end: 6px; -webkit-margin-start: 6px; } list.autocomplete-suggestions > li > div.detail-text { -webkit-box-flex: 1; overflow-x: hidden; text-overflow: ellipsis; } list.autocomplete-suggestions > li > div.detail-text em { font-style: normal; } body[new-ui] list.autocomplete-suggestions > li > div.detail-text em { color: rgb(150, 150, 150); } body:not([new-ui]) list.autocomplete-suggestions > li > div[search-icon] { background: -webkit-image-set( url('../images/files/ui/icon_search.png') 1x, url('../images/files/ui/2x/icon_search.png') 2x); background-position: center; background-repeat: no-repeat; } body[new-ui] list.autocomplete-suggestions > li > div[search-icon] { background: -webkit-image-set( url('../images/files/ui/new-ui/search_icon_active.png') 1x, url('../images/files/ui/new-ui/2x/search_icon_active.png') 2x); background-position: center; background-repeat: no-repeat; } body:not([new-ui]) list.autocomplete-suggestions[hasElementFocus] > [selected], body:not([new-ui]) list.autocomplete-suggestions[hasElementFocus] > [lead], body:not([new-ui]) list.autocomplete-suggestions:not([hasElementFocus]) > [selected], body:not([new-ui]) list.autocomplete-suggestions:not([hasElementFocus]) > [lead] { background-color: rgb(238, 238, 238); background-image: none; border: 1px solid white; } body[new-ui] list.autocomplete-suggestions > [selected], body[new-ui] list.autocomplete-suggestions > [lead] { background-color: rgb(66, 129, 244); color: white; } body[new-ui] list.autocomplete-suggestions > [selected] > div.detail-text em, body[new-ui] list.autocomplete-suggestions > [lead] > div.detail-text em { color: white; } body[new-ui] #gear-menu { margin-top: 8px; } body[new-ui] #gear-menu > menuitem:not(.menuitem-button) { margin-right: 50px; } /* View buttons in the gear menu. */ body[new-ui] menuitem#detail-view { background-image: -webkit-image-set( url('../images/files/ui/new-ui/button_list_view.png') 1x, url('../images/files/ui/new-ui/2x/button_list_view.png') 2x); } body[new-ui] menuitem#thumbnail-view { background-image: -webkit-image-set( url('../images/files/ui/new-ui/button_mosaic_view.png') 1x, url('../images/files/ui/new-ui/2x/button_mosaic_view.png') 2x); } body[new-ui] #iframe-drag-area { -webkit-app-region: drag; height: 45px; left: 64px; position: absolute; right: 70px; top: 0; width: auto; z-index: 101; }