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 /* Special attribute used in HTML to hide elements. */ | 5 /* Special attribute used in HTML to hide elements. */ |
6 body[type='folder'] [invisibleif~='folder'], | 6 body[type='folder'] [invisibleif~='folder'], |
7 body[type='upload-folder'] [invisibleif~='upload-folder'], | 7 body[type='upload-folder'] [invisibleif~='upload-folder'], |
8 body[type='saveas-file'] [invisibleif~='saveas-file'], | 8 body[type='saveas-file'] [invisibleif~='saveas-file'], |
9 body[type='open-file'] [invisibleif~='open-file'], | 9 body[type='open-file'] [invisibleif~='open-file'], |
10 body[type='open-multi-file'] [invisibleif~='open-multi-file'], | 10 body[type='open-multi-file'] [invisibleif~='open-multi-file'], |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 #volume-list:focus > .accepts, | 241 #volume-list:focus > .accepts, |
242 #volume-list:focus > [lead][selected], | 242 #volume-list:focus > [lead][selected], |
243 #volume-list:focus > [lead], | 243 #volume-list:focus > [lead], |
244 #volume-list:focus > [selected], | 244 #volume-list:focus > [selected], |
245 #volume-list:focus > [anchor] { | 245 #volume-list:focus > [anchor] { |
246 background-color: rgb(66, 129, 244); | 246 background-color: rgb(66, 129, 244); |
247 color: white; | 247 color: white; |
248 } | 248 } |
249 | 249 |
250 #volume-list li.root-item { | 250 #volume-list li.root-item { |
| 251 -webkit-animation: fadeIn 150ms ease-in-out; |
251 -webkit-box-align: center; | 252 -webkit-box-align: center; |
252 display: -webkit-box; | 253 display: -webkit-box; |
253 line-height: 22px; /* To accomodate for icons. */ | 254 line-height: 22px; /* To accomodate for icons. */ |
254 padding-left: 11px; | 255 padding-left: 11px; |
255 } | 256 } |
256 | 257 |
| 258 /* This selector is used by JavaScript. "fadeout" class will be dinamically |
| 259 added to elements. |
| 260 Must keep the class name 'fadeout' and the animation name 'fadeOut' in sync |
| 261 with JavaScript. */ |
| 262 #volume-list li.root-item.fadeout { |
| 263 -webkit-animation: fadeOut 150ms ease-in-out 0 1 normal both; |
| 264 opacity: 0; |
| 265 } |
| 266 |
257 #volume-list li.root-item > .root-label { | 267 #volume-list li.root-item > .root-label { |
258 -webkit-box-flex: 1; | 268 -webkit-box-flex: 1; |
259 margin: 0 2px; | 269 margin: 0 2px; |
260 overflow: hidden; | 270 overflow: hidden; |
261 text-overflow: ellipsis; | 271 text-overflow: ellipsis; |
262 white-space: nowrap; | 272 white-space: nowrap; |
263 } | 273 } |
264 | 274 |
265 #volume-list .volume-icon { | 275 #volume-list .volume-icon { |
266 background-position: center 2px; | 276 background-position: center 2px; |
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 | 1159 |
1150 @-webkit-keyframes fadeIn { | 1160 @-webkit-keyframes fadeIn { |
1151 from { | 1161 from { |
1152 opacity: 0; | 1162 opacity: 0; |
1153 } | 1163 } |
1154 to { | 1164 to { |
1155 opacity: 1; | 1165 opacity: 1; |
1156 } | 1166 } |
1157 } | 1167 } |
1158 | 1168 |
| 1169 @-webkit-keyframes fadeOut { |
| 1170 from { |
| 1171 opacity: 1; |
| 1172 } |
| 1173 to { |
| 1174 opacity: 0; |
| 1175 } |
| 1176 } |
| 1177 |
1159 .preview-thumbnails > .popup { | 1178 .preview-thumbnails > .popup { |
1160 -webkit-transform: translate(0, 3px) scale(0.95); | 1179 -webkit-transform: translate(0, 3px) scale(0.95); |
1161 background-color: #f2f2f2; | 1180 background-color: #f2f2f2; |
1162 border: 2px solid #fff; | 1181 border: 2px solid #fff; |
1163 box-shadow: 0 0 0 1px #F0F0F0, | 1182 box-shadow: 0 0 0 1px #F0F0F0, |
1164 0 0 0 2px #D0D0D0, | 1183 0 0 0 2px #D0D0D0, |
1165 2px 2px 6px rgba(0, 0, 0, 0.2); | 1184 2px 2px 6px rgba(0, 0, 0, 0.2); |
1166 margin: 6px 0 0 -40px; | 1185 margin: 6px 0 0 -40px; |
1167 opacity: 0; | 1186 opacity: 0; |
1168 pointer-events: none; | 1187 pointer-events: none; |
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1922 } | 1941 } |
1923 | 1942 |
1924 .share-dialog-webview-wrapper:not(.loaded) .share-dialog-webview { | 1943 .share-dialog-webview-wrapper:not(.loaded) .share-dialog-webview { |
1925 visibility: hidden; | 1944 visibility: hidden; |
1926 } | 1945 } |
1927 | 1946 |
1928 .share-dialog-frame .cr-dialog-text, | 1947 .share-dialog-frame .cr-dialog-text, |
1929 .share-dialog-frame .cr-dialog-buttons { | 1948 .share-dialog-frame .cr-dialog-buttons { |
1930 display: none; | 1949 display: none; |
1931 } | 1950 } |
OLD | NEW |