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

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

Issue 10827296: Butter bar visual refresh. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/js/butter_bar.js » ('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
87 #butter-bar { 98 #butter-bar {
88 -webkit-box-align: end; 99 -webkit-box-align: end;
89 -webkit-box-orient: horizontal; 100 -webkit-box-orient: horizontal;
90 -webkit-transition: opacity 300ms; 101 -webkit-transition: opacity 300ms;
91 background-color: rgba(95, 95, 95, 0.17); 102 background-color: #e3e3e3;
92 color: #222; 103 color: #222;
93 display: -webkit-box; 104 display: -webkit-box;
105 max-width: 340px;
106 min-width: 40px;
94 padding: 0 1em; 107 padding: 0 1em;
95 position: absolute; 108 pointer-events: auto;
96 top: 1px; 109 top: 1px;
110 width: 30%;
111 z-index: 2;
97 } 112 }
98 113
99 #butter-bar:not(.visible) { 114 #butter-bar:not(.visible) {
100 opacity: 0; 115 opacity: 0;
101 pointer-events: none; 116 pointer-events: none;
102 } 117 }
103 118
104 #butter-bar .content { 119 #butter-bar .content {
120 -webkit-box-flex: 1;
121 overflow: hidden;
105 padding-bottom: 4px; 122 padding-bottom: 4px;
106 padding-top: 4px; 123 padding-top: 4px;
107 } 124 }
108 125
109 #butter-bar .actions { 126 #butter-bar .actions {
110 -webkit-box-orient: horizontal; 127 -webkit-box-orient: horizontal;
111 -webkit-box-pack: end; 128 -webkit-box-pack: end;
112 display: -webkit-box; 129 display: -webkit-box;
113 height: 20px; 130 height: 20px;
114 } 131 }
(...skipping 18 matching lines...) Expand all
133 } 150 }
134 151
135 #butter-bar.error { 152 #butter-bar.error {
136 background-color: rgba(221, 75, 57, 0.2); 153 background-color: rgba(221, 75, 57, 0.2);
137 border: 1px solid rgba(221, 75, 57, 0.5); 154 border: 1px solid rgba(221, 75, 57, 0.5);
138 border-radius: 2px; 155 border-radius: 2px;
139 padding: 2px 1em; 156 padding: 2px 1em;
140 } 157 }
141 158
142 .progress-bar { 159 .progress-bar {
160 -webkit-box-flex: 1;
143 border: 1px solid #999; 161 border: 1px solid #999;
144 margin-bottom: 2px; 162 margin-bottom: 2px;
145 margin-top: 3px; 163 margin-top: 3px;
146 padding: 1px; 164 padding: 1px;
147 width: 320px;
148 } 165 }
149 166
150 .progress-track { 167 .progress-track {
151 -webkit-animation-duration: 800ms; 168 -webkit-animation-duration: 800ms;
152 -webkit-animation-iteration-count: infinite; 169 -webkit-animation-iteration-count: infinite;
153 -webkit-animation-name: bg; 170 -webkit-animation-name: bg;
154 -webkit-animation-timing-function: linear; 171 -webkit-animation-timing-function: linear;
155 background-color: #ccc; 172 background-color: #ccc;
156 background-image: -webkit-linear-gradient(315deg, transparent, 173 background-image: -webkit-linear-gradient(315deg, transparent,
157 transparent 33%, rgba(0, 0, 0, 0.12) 33%, rgba(0, 0, 0, 0.12) 66%, 174 transparent 33%, rgba(0, 0, 0, 0.12) 33%, rgba(0, 0, 0, 0.12) 66%,
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after
1522 height: 100%; 1539 height: 100%;
1523 } 1540 }
1524 1541
1525 #list-container .table-header-cell:hover { 1542 #list-container .table-header-cell:hover {
1526 background-color: #ececec; 1543 background-color: #ececec;
1527 } 1544 }
1528 1545
1529 button:focus { 1546 button:focus {
1530 outline-color: rgb(77, 144, 254); 1547 outline-color: rgb(77, 144, 254);
1531 } 1548 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/butter_bar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698