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

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

Issue 10916149: (NOT FOR FINAL REVIEW)Refactor butter_bar.js for wallpaper manager and file manager to use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/images/files/ui/2x/close_bar.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 { 5 html {
6 height: 100%; 6 height: 100%;
7 } 7 }
8 8
9 html.col-resize * { 9 html.col-resize * {
10 cursor: col-resize !important; 10 cursor: col-resize !important;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 border-color: #aaa; 77 border-color: #aaa;
78 color: #888; 78 color: #888;
79 } 79 }
80 80
81 /* Drop opacity of selected rows to give a visual feedback on copy/cut 81 /* Drop opacity of selected rows to give a visual feedback on copy/cut
82 * operation. */ 82 * operation. */
83 .blink { 83 .blink {
84 opacity: 0.8; 84 opacity: 0.8;
85 } 85 }
86 86
87 #butter-bar-container {
88 -webkit-box-pack: center;
89 display: -webkit-box;
90 left: 0;
91 pointer-events: none;
92 position: absolute;
93 top: 0;
94 width: 100%;
95 z-index: 3;
96 }
97
98 #butter-bar {
99 -webkit-box-align: end;
100 -webkit-box-orient: horizontal;
101 -webkit-transition: opacity 300ms;
102 background-color: #e3e3e3;
103 color: #222;
104 display: -webkit-box;
105 max-width: 340px;
106 min-width: 40px;
107 padding: 0 1em;
108 pointer-events: auto;
109 top: 1px;
110 width: 30%;
111 z-index: 2;
112 }
113
114 #butter-bar:not(.visible) {
115 opacity: 0;
116 pointer-events: none;
117 }
118
119 #butter-bar .content {
120 -webkit-box-flex: 1;
121 overflow: hidden;
122 padding-bottom: 4px;
123 padding-top: 4px;
124 }
125
126 #butter-bar .actions {
127 -webkit-box-orient: horizontal;
128 -webkit-box-pack: end;
129 display: -webkit-box;
130 height: 20px;
131 }
132
133 #butter-bar .actions a {
134 background: center center no-repeat;
135 background-image: -webkit-image-set(
136 url('../images/files/ui/close_bar.png') 1x,
137 url('../images/files/ui/2x/close_bar.png') 2x);
138 display: inline-block;
139 height: 12px;
140 padding: 4px 2px;
141 width: 12px;
142 }
143
144 #butter-bar .actions a:first-child {
145 margin-left: 2px;
146 }
147
148 #butter-bar .actions a:last-child {
149 margin-right: -2px; /* Overlap the padding with butter-bar padding. */
150 }
151
152 #butter-bar.error {
153 background-color: rgba(221, 75, 57, 0.2);
154 border: 1px solid rgba(221, 75, 57, 0.5);
155 border-radius: 2px;
156 padding: 2px 1em;
157 }
158
159 .progress-bar {
160 -webkit-box-flex: 1;
161 border: 1px solid #999;
162 margin-bottom: 2px;
163 margin-top: 3px;
164 padding: 1px;
165 }
166
167 .progress-track {
168 -webkit-animation-duration: 800ms;
169 -webkit-animation-iteration-count: infinite;
170 -webkit-animation-name: bg;
171 -webkit-animation-timing-function: linear;
172 background-color: #ccc;
173 background-image: -webkit-linear-gradient(315deg, transparent,
174 transparent 33%, rgba(0, 0, 0, 0.12) 33%, rgba(0, 0, 0, 0.12) 66%,
175 transparent 66%, transparent);
176 background-position: 0 0;
177 background-repeat: repeat-x;
178 background-size: 16px 8px;
179 height: 5px;
180 }
181
182 @-webkit-keyframes bg {
183 0% { background-position: 0 0; }
184 100% { background-position: -16px 0; }
185 }
186
187 /* The top title of the dialog. */ 87 /* The top title of the dialog. */
188 .dialog-title { 88 .dialog-title {
189 -webkit-box-sizing: border-box; 89 -webkit-box-sizing: border-box;
190 -webkit-padding-start: 15px; 90 -webkit-padding-start: 15px;
191 background-image: -webkit-linear-gradient(top, #fff, #f6f6f6); 91 background-image: -webkit-linear-gradient(top, #fff, #f6f6f6);
192 border-bottom: 1px rgb(214, 217, 227) solid; 92 border-bottom: 1px rgb(214, 217, 227) solid;
193 color: rgb(66, 80, 108); 93 color: rgb(66, 80, 108);
194 font-size: 15px; 94 font-size: 15px;
195 font-weight: bold; 95 font-weight: bold;
196 height: 32px; 96 height: 32px;
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1544 outline-color: rgb(77, 144, 254); 1444 outline-color: rgb(77, 144, 254);
1545 } 1445 }
1546 1446
1547 #new-folder { 1447 #new-folder {
1548 margin-right: 30px; 1448 margin-right: 30px;
1549 } 1449 }
1550 1450
1551 #default-action-dialog { 1451 #default-action-dialog {
1552 min-width: 300px; 1452 min-width: 300px;
1553 width: auto; 1453 width: auto;
1554 } 1454 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/images/files/ui/2x/close_bar.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698