Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Side by Side Diff: chrome/browser/resources/file_manager/css/file_manager.css

Issue 10310163: Refactoring file manager: moving volume mounting related code to a separate class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 {
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 } 321 }
322 322
323 /* Container for the detail and thumbnail list views. */ 323 /* Container for the detail and thumbnail list views. */
324 .dialog-body { 324 .dialog-body {
325 -webkit-box-flex: 1; 325 -webkit-box-flex: 1;
326 -webkit-box-orient: vertical; 326 -webkit-box-orient: vertical;
327 -webkit-transition: all 180ms ease; 327 -webkit-transition: all 180ms ease;
328 border-top: 1px solid #d4d4d4; 328 border-top: 1px solid #d4d4d4;
329 display: -webkit-box; 329 display: -webkit-box;
330 overflow: hidden; 330 overflow: hidden;
331 position: relative;
331 } 332 }
332 333
333 /* Container for the ok/cancel buttons. */ 334 /* Container for the ok/cancel buttons. */
334 .dialog-footer { 335 .dialog-footer {
335 -webkit-box-align: center; 336 -webkit-box-align: center;
336 -webkit-box-orient: horizontal; 337 -webkit-box-orient: horizontal;
337 border-top: 1px solid #d2d2d2; 338 border-top: 1px solid #d2d2d2;
338 display: -webkit-box; 339 display: -webkit-box;
339 padding: 10px 17px 14px 15px; 340 padding: 10px 17px 14px 15px;
340 } 341 }
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
1115 position: absolute; 1116 position: absolute;
1116 right: 0; 1117 right: 0;
1117 top: 0; 1118 top: 0;
1118 } 1119 }
1119 1120
1120 div.shade[fadein] { 1121 div.shade[fadein] {
1121 opacity: 1; 1122 opacity: 1;
1122 } 1123 }
1123 1124
1124 /* Message panel for unmounted GData */ 1125 /* Message panel for unmounted GData */
1125 .dialog-container:not([unmounted]) .dialog-body > div.unmounted-panel, 1126 #unmounted-panel {
1126 .dialog-container[unmounted] .dialog-body > div:not(.unmounted-panel) { 1127 padding-left: 50px;
1128 padding-top: 20px;
1127 display: none; 1129 display: none;
1128 } 1130 }
1129 1131
1130 div.unmounted-panel { 1132 .dialog-container[gdata='mounting'] #unmounted-panel,
1131 padding-left: 50px; 1133 .dialog-container[gdata='error'] #unmounted-panel {
1132 padding-top: 20px; 1134 display: block;
1135 position: absolute;
1136 left: 0;
1137 top: 0;
1138 right: 0;
1139 bottom: 0;
1133 } 1140 }
1134 1141
1135 div.unmounted-panel > * { 1142 .dialog-container[gdata='unmounted'] .filelist-panel,
1143 .dialog-container[gdata='mounting'] .filelist-panel,
1144 .dialog-container[gdata='error'] .filelist-panel {
1145 /* Hide file list when GData is not mounted.
1146 Use opacity to avoid manual resizing.*/
1147 opacity: 0;
1148 }
1149
1150 #unmounted-panel > * {
1136 height: 22px; 1151 height: 22px;
1137 margin-bottom: 10px; 1152 margin-bottom: 10px;
1138 } 1153 }
1139 1154
1140 div.unmounted-panel > div { 1155 #unmounted-panel > * {
1141 -webkit-box-align: center; 1156 -webkit-box-align: center;
1142 -webkit-box-orient: horizontal; 1157 -webkit-box-orient: horizontal;
1143 -webkit-box-pack: start; 1158 -webkit-box-pack: start;
1144 display: -webkit-box; 1159 display: none;
1145 } 1160 }
1146 1161
1147 .unmounted-panel > .gdata.loading { 1162 #unmounted-panel > .gdata.loading {
1148 position: relative; 1163 position: relative;
1149 } 1164 }
1150 1165
1151 .unmounted-panel > .gdata.loading .spinner-box { 1166 #unmounted-panel > .gdata.loading .spinner-box {
1152 bottom: 0; 1167 bottom: 0;
1153 position: absolute; 1168 position: absolute;
1154 right: 100%; 1169 right: 100%;
1155 top: 0; 1170 top: 0;
1156 width: 40px; 1171 width: 40px;
1157 } 1172 }
1158 1173
1159 .unmounted-panel:not([loading]) > .gdata.loading, 1174 [gdata='unmounted'] #unmounted-panel > .gdata.loading,
1160 .unmounted-panel:not([loading]) > .gdata.progress, 1175 [gdata='unmounted'] #unmounted-panel > .gdata.progress,
1161 .unmounted-panel:not([error]) > .gdata.error, 1176 [gdata='error'] #unmounted-panel > .gdata.error,
Vladislav Kaznacheev 2012/05/15 11:11:54 I introduced 'error' and 'retry' attribute for a r
SeRya 2012/05/15 18:16:20 Thank you for the point. I goning to control visib
1162 .unmounted-panel:not([retry]) > .gdata.retry, 1177 [gdata='error'] #unmounted-panel > .gdata.retry,
1163 .unmounted-panel:not([retry]) > .gdata.learn-more { 1178 [gdata='error'] #unmounted-panel > .gdata.learn-more {
1164 display: none; 1179 display: -webkit-box;
1165 } 1180 }
1166 1181
1167 .plain-link { 1182 .plain-link {
1168 color: rgb(17, 85, 204); 1183 color: rgb(17, 85, 204);
1169 cursor: pointer; 1184 cursor: pointer;
1170 } 1185 }
1171 1186
1172 body[ash] .dialog-title, 1187 body[ash] .dialog-title,
1173 body[type='full-page'] [invisibleif='full-page'], 1188 body[type='full-page'] [invisibleif='full-page'],
1174 body:not([type='full-page']) [visibleif='full-page'], 1189 body:not([type='full-page']) [visibleif='full-page'],
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1270 100% { opacity: 1; } 1285 100% { opacity: 1; }
1271 } 1286 }
1272 1287
1273 :hover > .tooltip { 1288 :hover > .tooltip {
1274 -webkit-animation-duration: 800ms; 1289 -webkit-animation-duration: 800ms;
1275 -webkit-animation-iteration-count: 1; 1290 -webkit-animation-iteration-count: 1;
1276 -webkit-animation-name: tooltip-show; 1291 -webkit-animation-name: tooltip-show;
1277 -webkit-animation-timing-function: linear; 1292 -webkit-animation-timing-function: linear;
1278 opacity: 1; 1293 opacity: 1;
1279 } 1294 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698