OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
| 5 /* The order of z-index: |
| 6 * - 2: drag-selection-bodrder |
| 7 * - 3: preview-panel |
| 8 * - 500: scrollbar |
| 9 * - 500: splitter |
| 10 * - 550: autocomplete-suggestions |
| 11 * - 600: menus |
| 12 * - 600: tooltip |
| 13 * - 1000: preview thumbnail popup |
| 14 * - 1000: overlay panel (ie. image editor) |
| 15 */ |
| 16 |
5 /* Special attribute used in HTML to hide elements. */ | 17 /* Special attribute used in HTML to hide elements. */ |
6 body[type='folder'] [invisibleif~='folder'], | 18 body[type='folder'] [invisibleif~='folder'], |
7 body[type='upload-folder'] [invisibleif~='upload-folder'], | 19 body[type='upload-folder'] [invisibleif~='upload-folder'], |
8 body[type='saveas-file'] [invisibleif~='saveas-file'], | 20 body[type='saveas-file'] [invisibleif~='saveas-file'], |
9 body[type='open-file'] [invisibleif~='open-file'], | 21 body[type='open-file'] [invisibleif~='open-file'], |
10 body[type='open-multi-file'] [invisibleif~='open-multi-file'], | 22 body[type='open-multi-file'] [invisibleif~='open-multi-file'], |
11 body[type='full-page'] [invisibleif~='full-page'], | 23 body[type='full-page'] [invisibleif~='full-page'], |
12 | 24 |
13 body[type='folder'] [visibleif]:not([visibleif~='folder']), | 25 body[type='folder'] [visibleif]:not([visibleif~='folder']), |
14 body[type='upload-folder'] [visibleif]:not([visibleif~='upload-folder']), | 26 body[type='upload-folder'] [visibleif]:not([visibleif~='upload-folder']), |
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 -webkit-transform: translate(0, 3px) scale(0.95); | 1142 -webkit-transform: translate(0, 3px) scale(0.95); |
1131 background-color: #f2f2f2; | 1143 background-color: #f2f2f2; |
1132 border: 2px solid #fff; | 1144 border: 2px solid #fff; |
1133 box-shadow: 0 0 0 1px #F0F0F0, | 1145 box-shadow: 0 0 0 1px #F0F0F0, |
1134 0 0 0 2px #D0D0D0, | 1146 0 0 0 2px #D0D0D0, |
1135 2px 2px 6px rgba(0, 0, 0, 0.2); | 1147 2px 2px 6px rgba(0, 0, 0, 0.2); |
1136 margin: 6px 0 0 -40px; | 1148 margin: 6px 0 0 -40px; |
1137 opacity: 0; | 1149 opacity: 0; |
1138 pointer-events: none; | 1150 pointer-events: none; |
1139 position: absolute; | 1151 position: absolute; |
1140 z-index: 1; | 1152 z-index: 1; /* will be overridden with 1000 by script. */ |
1141 } | 1153 } |
1142 | 1154 |
1143 .preview-thumbnails > .popup > img { | 1155 .preview-thumbnails > .popup > img { |
1144 -webkit-user-drag: none; | 1156 -webkit-user-drag: none; |
1145 } | 1157 } |
1146 | 1158 |
1147 .preview-thumbnails > * { | 1159 .preview-thumbnails > * { |
1148 transition: all 180ms ease-in; | 1160 transition: all 180ms ease-in; |
1149 transition-delay: 300ms; | 1161 transition-delay: 300ms; |
1150 } | 1162 } |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1745 background-color: rgb(250, 250, 250); | 1757 background-color: rgb(250, 250, 250); |
1746 border: 1px solid rgb(255, 255, 255); | 1758 border: 1px solid rgb(255, 255, 255); |
1747 border-radius: 3px; | 1759 border-radius: 3px; |
1748 box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .5); | 1760 box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .5); |
1749 box-sizing: border-box; /* To match the width with the search box's. */ | 1761 box-sizing: border-box; /* To match the width with the search box's. */ |
1750 color: rgb(34, 34, 34); | 1762 color: rgb(34, 34, 34); |
1751 overflow: hidden; | 1763 overflow: hidden; |
1752 padding: 5px 0; | 1764 padding: 5px 0; |
1753 position: fixed; | 1765 position: fixed; |
1754 width: 300px !important; /* This overrides the value specified by script. */ | 1766 width: 300px !important; /* This overrides the value specified by script. */ |
1755 z-index: 3; | 1767 z-index: 550; |
1756 } | 1768 } |
1757 | 1769 |
1758 list.autocomplete-suggestions > li { | 1770 list.autocomplete-suggestions > li { |
1759 -webkit-box-align: center; | 1771 -webkit-box-align: center; |
1760 display: -webkit-box; | 1772 display: -webkit-box; |
1761 padding: 3px 0; | 1773 padding: 3px 0; |
1762 } | 1774 } |
1763 | 1775 |
1764 list.autocomplete-suggestions > li > div.detail-icon { | 1776 list.autocomplete-suggestions > li > div.detail-icon { |
1765 -webkit-margin-end: 6px; | 1777 -webkit-margin-end: 6px; |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1946 } | 1958 } |
1947 | 1959 |
1948 .share-dialog-webview-wrapper:not(.loaded) .share-dialog-webview { | 1960 .share-dialog-webview-wrapper:not(.loaded) .share-dialog-webview { |
1949 visibility: hidden; | 1961 visibility: hidden; |
1950 } | 1962 } |
1951 | 1963 |
1952 .share-dialog-frame .cr-dialog-text, | 1964 .share-dialog-frame .cr-dialog-text, |
1953 .share-dialog-frame .cr-dialog-buttons { | 1965 .share-dialog-frame .cr-dialog-buttons { |
1954 display: none; | 1966 display: none; |
1955 } | 1967 } |
OLD | NEW |