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

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 position: absolute;
92 top: 0;
93 width: 100%;
94 z-index: 3;
Vladislav Kaznacheev 2012/08/13 13:27:18 I suspect this element would also need pointer-eve
SeRya 2012/08/14 11:37:01 Thank you for the point. I ensured that comtainer
95 }
96
87 #butter-bar { 97 #butter-bar {
88 -webkit-box-align: end; 98 -webkit-box-align: end;
89 -webkit-box-orient: horizontal; 99 -webkit-box-orient: horizontal;
90 -webkit-transition: opacity 300ms; 100 -webkit-transition: opacity 300ms;
91 background-color: rgba(95, 95, 95, 0.17); 101 background-color: rgba(95, 95, 95, 0.17);
92 color: #222; 102 color: #222;
93 display: -webkit-box; 103 display: -webkit-box;
104 max-width: 340px;
105 min-width: 200px;
94 padding: 0 1em; 106 padding: 0 1em;
95 position: absolute;
96 top: 1px; 107 top: 1px;
108 width: 30%;
109 z-index: 2;
97 } 110 }
98 111
99 #butter-bar:not(.visible) { 112 #butter-bar:not(.visible) {
100 opacity: 0; 113 opacity: 0;
101 pointer-events: none; 114 pointer-events: none;
102 } 115 }
103 116
104 #butter-bar .content { 117 #butter-bar .content {
118 -webkit-box-flex: 1;
105 padding-bottom: 4px; 119 padding-bottom: 4px;
106 padding-top: 4px; 120 padding-top: 4px;
107 } 121 }
108 122
109 #butter-bar .actions { 123 #butter-bar .actions {
110 -webkit-box-orient: horizontal; 124 -webkit-box-orient: horizontal;
111 -webkit-box-pack: end; 125 -webkit-box-pack: end;
112 display: -webkit-box; 126 display: -webkit-box;
113 height: 20px; 127 height: 20px;
114 } 128 }
(...skipping 18 matching lines...) Expand all
133 } 147 }
134 148
135 #butter-bar.error { 149 #butter-bar.error {
136 background-color: rgba(221, 75, 57, 0.2); 150 background-color: rgba(221, 75, 57, 0.2);
137 border: 1px solid rgba(221, 75, 57, 0.5); 151 border: 1px solid rgba(221, 75, 57, 0.5);
138 border-radius: 2px; 152 border-radius: 2px;
139 padding: 2px 1em; 153 padding: 2px 1em;
140 } 154 }
141 155
142 .progress-bar { 156 .progress-bar {
157 -webkit-box-flex: 1;
143 border: 1px solid #999; 158 border: 1px solid #999;
144 margin-bottom: 2px; 159 margin-bottom: 2px;
145 margin-top: 3px; 160 margin-top: 3px;
146 padding: 1px; 161 padding: 1px;
147 width: 320px;
148 } 162 }
149 163
150 .progress-track { 164 .progress-track {
151 -webkit-animation-duration: 800ms; 165 -webkit-animation-duration: 800ms;
152 -webkit-animation-iteration-count: infinite; 166 -webkit-animation-iteration-count: infinite;
153 -webkit-animation-name: bg; 167 -webkit-animation-name: bg;
154 -webkit-animation-timing-function: linear; 168 -webkit-animation-timing-function: linear;
155 background-color: #ccc; 169 background-color: #ccc;
156 background-image: -webkit-linear-gradient(315deg, transparent, 170 background-image: -webkit-linear-gradient(315deg, transparent,
157 transparent 33%, rgba(0, 0, 0, 0.12) 33%, rgba(0, 0, 0, 0.12) 66%, 171 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%; 1536 height: 100%;
1523 } 1537 }
1524 1538
1525 #list-container .table-header-cell:hover { 1539 #list-container .table-header-cell:hover {
1526 background-color: #f2f2f2; 1540 background-color: #f2f2f2;
1527 } 1541 }
1528 1542
1529 button:focus { 1543 button:focus {
1530 outline-color: rgb(77, 144, 254); 1544 outline-color: rgb(77, 144, 254);
1531 } 1545 }
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