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 html.col-resize * { | 5 html.col-resize * { |
6 cursor: col-resize !important; | 6 cursor: col-resize !important; |
7 } | 7 } |
8 | 8 |
9 /* Outer frame of the dialog. */ | 9 /* Outer frame of the dialog. */ |
10 body { | 10 body { |
11 -webkit-box-flex: 1; | 11 -webkit-box-flex: 1; |
12 -webkit-box-orient: vertical; | 12 -webkit-box-orient: vertical; |
13 -webkit-transition: opacity 70ms linear; | 13 -webkit-transition: opacity 70ms linear; |
14 -webkit-user-select: none; | 14 -webkit-user-select: none; |
15 display: -webkit-box; | 15 display: -webkit-box; |
16 height: 100%; | 16 height: 100%; |
17 margin: 0; | 17 margin: 0; |
18 opacity: 0; | 18 opacity: 0; |
19 padding: 0; | 19 padding: 0; |
20 position: absolute; | 20 position: absolute; |
21 width: 100%; | 21 width: 100%; |
22 } | |
23 | |
24 body.loaded { | |
25 /* Do not use display:none because list will calculate metrics incorrectly. */ | |
26 /*display: -webkit-box;*/ | |
Vladislav Kaznacheev
2012/05/22 09:48:30
Commented property looks confusing
| |
27 opacity: 1; | |
22 } | 28 } |
23 | 29 |
24 button, | 30 button, |
25 input[type='button'], | 31 input[type='button'], |
26 input[type='submit'] { | 32 input[type='submit'] { |
27 -webkit-border-radius: 2px; | 33 -webkit-border-radius: 2px; |
28 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | 34 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
29 -webkit-user-select: none; | 35 -webkit-user-select: none; |
30 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); | 36 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); |
31 border: 1px solid #aaa; | 37 border: 1px solid #aaa; |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
321 } | 327 } |
322 | 328 |
323 /* Container for the detail and thumbnail list views. */ | 329 /* Container for the detail and thumbnail list views. */ |
324 .dialog-body { | 330 .dialog-body { |
325 -webkit-box-flex: 1; | 331 -webkit-box-flex: 1; |
326 -webkit-box-orient: vertical; | 332 -webkit-box-orient: vertical; |
327 -webkit-transition: all 180ms ease; | 333 -webkit-transition: all 180ms ease; |
328 border-top: 1px solid #d4d4d4; | 334 border-top: 1px solid #d4d4d4; |
329 display: -webkit-box; | 335 display: -webkit-box; |
330 overflow: hidden; | 336 overflow: hidden; |
337 position: relative; | |
331 } | 338 } |
332 | 339 |
333 /* Container for the ok/cancel buttons. */ | 340 /* Container for the ok/cancel buttons. */ |
334 .dialog-footer { | 341 .dialog-footer { |
335 -webkit-box-align: center; | 342 -webkit-box-align: center; |
336 -webkit-box-orient: horizontal; | 343 -webkit-box-orient: horizontal; |
337 border-top: 1px solid #d2d2d2; | 344 border-top: 1px solid #d2d2d2; |
338 display: -webkit-box; | 345 display: -webkit-box; |
339 padding: 10px 17px 14px 15px; | 346 padding: 10px 17px 14px 15px; |
340 } | 347 } |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1115 position: absolute; | 1122 position: absolute; |
1116 right: 0; | 1123 right: 0; |
1117 top: 0; | 1124 top: 0; |
1118 } | 1125 } |
1119 | 1126 |
1120 div.shade[fadein] { | 1127 div.shade[fadein] { |
1121 opacity: 1; | 1128 opacity: 1; |
1122 } | 1129 } |
1123 | 1130 |
1124 /* Message panel for unmounted GData */ | 1131 /* Message panel for unmounted GData */ |
1125 .dialog-container:not([unmounted]) .dialog-body > div.unmounted-panel, | 1132 #unmounted-panel { |
1126 .dialog-container[unmounted] .dialog-body > div:not(.unmounted-panel) { | 1133 bottom: 0; |
1134 color: #333; | |
1127 display: none; | 1135 display: none; |
1136 left: 0; | |
1137 padding-left: 50px; | |
1138 padding-top: 20px; | |
1139 position: absolute; | |
1140 right: 0; | |
1141 top: 0; | |
1128 } | 1142 } |
1129 | 1143 |
1130 div.unmounted-panel { | 1144 .dialog-container[gdata='mounting'] #unmounted-panel, |
1131 color: #333; | 1145 .dialog-container[gdata='error'] #unmounted-panel { |
1132 padding-left: 50px; | 1146 display: block; |
1133 padding-top: 20px; | |
1134 } | 1147 } |
1135 | 1148 |
1136 div.unmounted-panel > * { | 1149 .dialog-container[gdata='unmounted'] .filelist-panel, |
1150 .dialog-container[gdata='mounting'] .filelist-panel, | |
1151 .dialog-container[gdata='error'] .filelist-panel { | |
1152 /* Hide file list when GData is not mounted. | |
1153 Use opacity to avoid manual resizing.*/ | |
1154 opacity: 0; | |
1155 } | |
1156 | |
1157 #unmounted-panel > * { | |
1137 height: 22px; | 1158 height: 22px; |
1138 margin-bottom: 10px; | 1159 margin-bottom: 10px; |
1139 } | 1160 } |
1140 | 1161 |
1141 div.unmounted-panel > div { | 1162 #unmounted-panel > * { |
1142 -webkit-box-align: center; | 1163 -webkit-box-align: center; |
1143 -webkit-box-orient: horizontal; | 1164 -webkit-box-orient: horizontal; |
1144 -webkit-box-pack: start; | 1165 -webkit-box-pack: start; |
1145 display: -webkit-box; | 1166 display: none; |
1146 } | 1167 } |
1147 | 1168 |
1148 .unmounted-panel > .gdata.loading { | 1169 #unmounted-panel > .loading { |
1149 position: relative; | 1170 position: relative; |
1150 } | 1171 } |
1151 | 1172 |
1152 .unmounted-panel > .gdata.loading .spinner-box { | 1173 #unmounted-panel > .loading > .spinner-box { |
1153 bottom: 0; | 1174 bottom: 0; |
1154 position: absolute; | 1175 position: absolute; |
1155 right: 100%; | 1176 right: 100%; |
1156 top: 0; | 1177 top: 0; |
1157 width: 40px; | 1178 width: 40px; |
1158 } | 1179 } |
1159 | 1180 |
1160 .unmounted-panel > .gdata.progress { | 1181 [gdata='mounting'] #unmounted-panel > .loading, |
1182 [gdata='mounting'] #unmounted-panel > .progress, | |
1183 [gdata='error'] #unmounted-panel > .error, | |
1184 #unmounted-panel.retry-enabled > .retry, | |
1185 #unmounted-panel.retry-enabled > .learn-more { | |
1186 display: -webkit-box; | |
1187 } | |
1188 | |
1189 #unmounted-panel > .progress { | |
1161 color: #999; | 1190 color: #999; |
1162 margin-top: -10px; | 1191 margin-top: -10px; |
1163 } | 1192 } |
1164 | 1193 |
1165 .unmounted-panel:not([loading]) > .gdata.loading, | |
1166 .unmounted-panel:not([loading]) > .gdata.progress, | |
1167 .unmounted-panel:not([error]) > .gdata.error, | |
1168 .unmounted-panel:not([retry]) > .gdata.retry, | |
1169 .unmounted-panel:not([retry]) > .gdata.learn-more { | |
1170 display: none; | |
1171 } | |
1172 | |
1173 .plain-link { | 1194 .plain-link { |
1174 color: rgb(17, 85, 204); | 1195 color: rgb(17, 85, 204); |
1175 cursor: pointer; | 1196 cursor: pointer; |
1176 } | 1197 } |
1177 | 1198 |
1178 body[ash] .dialog-title, | 1199 body[ash] .dialog-title, |
1179 body[type='full-page'] [invisibleif='full-page'], | 1200 body[type='full-page'] [invisibleif='full-page'], |
1180 body:not([type='full-page']) [visibleif='full-page'], | 1201 body:not([type='full-page']) [visibleif='full-page'], |
1181 body:not([type='saveas-file']) [visibleif='saveas-file'], | 1202 body:not([type='saveas-file']) [visibleif='saveas-file'], |
1182 body:not([type='saveas-file']):not([type='full-page']) | 1203 body:not([type='saveas-file']):not([type='full-page']) |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1290 left: 0; | 1311 left: 0; |
1291 padding: 10px; | 1312 padding: 10px; |
1292 position: absolute; | 1313 position: absolute; |
1293 right: 0; | 1314 right: 0; |
1294 top: 28px; /* Leave room for the file list header. */ | 1315 top: 28px; /* Leave room for the file list header. */ |
1295 } | 1316 } |
1296 | 1317 |
1297 .dialog-container:not([gdrive-welcome='page']) #no-search-results[show] { | 1318 .dialog-container:not([gdrive-welcome='page']) #no-search-results[show] { |
1298 display: block; | 1319 display: block; |
1299 } | 1320 } |
OLD | NEW |