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 { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 /* Drop opacity of selected rows to give a visual feedback on copy/cut | 77 /* Drop opacity of selected rows to give a visual feedback on copy/cut |
78 * operation. */ | 78 * operation. */ |
79 .blink { | 79 .blink { |
80 opacity: 0.8; | 80 opacity: 0.8; |
81 } | 81 } |
82 | 82 |
83 #butter-bar { | 83 #butter-bar { |
84 -webkit-box-align: end; | 84 -webkit-box-align: end; |
85 -webkit-box-orient: horizontal; | 85 -webkit-box-orient: horizontal; |
86 -webkit-transform: translate3d(0, 1px, 0); | 86 -webkit-transition: opacity 300ms; |
87 -webkit-transition-duration: 300ms; | |
88 -webkit-transition-property: opacity, -webkit-transform; | |
89 background-color: rgba(95, 95, 95, 0.17); | 87 background-color: rgba(95, 95, 95, 0.17); |
90 color: #222; | 88 color: #222; |
91 display: -webkit-box; | 89 display: -webkit-box; |
92 padding-left: 1em; | 90 padding: 0 1em; |
93 padding-right: 1em; | |
94 padding-top: 2px; | |
95 position: absolute; | 91 position: absolute; |
96 top: 0; | 92 top: 1px; |
97 } | 93 } |
98 | 94 |
99 #butter-bar.before-show { | 95 #butter-bar:not(.visible) { |
100 -webkit-transform: translate3d(0, -30px, 0); | |
101 opacity: 0; | 96 opacity: 0; |
102 } | 97 pointer-events: none; |
103 | |
104 #butter-bar.after-show { | |
105 -webkit-transform: translate3d(0, 50px, 0); | |
106 opacity: 0; | |
107 } | 98 } |
108 | 99 |
109 #butter-bar .content { | 100 #butter-bar .content { |
110 padding-bottom: 8px; | 101 padding-bottom: 4px; |
111 padding-right: 5px; | 102 padding-top: 4px; |
112 } | |
113 | |
114 .hide-in-butter { | |
115 display: none; | |
116 } | 103 } |
117 | 104 |
118 #butter-bar .actions { | 105 #butter-bar .actions { |
119 -webkit-box-orient: horizontal; | 106 -webkit-box-orient: horizontal; |
120 -webkit-box-pack: end; | 107 -webkit-box-pack: end; |
121 display: -webkit-box; | 108 display: -webkit-box; |
| 109 height: 20px; |
122 } | 110 } |
123 | 111 |
124 #butter-bar .actions a { | 112 #butter-bar .actions a { |
125 background: center center no-repeat; | 113 background: center center no-repeat; |
126 background-image: -webkit-image-set( | 114 background-image: -webkit-image-set( |
127 url('../images/files/ui/close_bar.png') 1x, | 115 url('../images/files/ui/close_bar.png') 1x, |
128 url('../images/files/ui/2x/close_bar.png') 2x); | 116 url('../images/files/ui/2x/close_bar.png') 2x); |
129 display: inline-block; | 117 display: inline-block; |
130 height: 12px; | 118 height: 12px; |
131 padding: 4px; | 119 padding: 4px 2px; |
132 width: 12px; | 120 width: 12px; |
133 } | 121 } |
134 | 122 |
| 123 #butter-bar .actions a:first-child { |
| 124 margin-left: 2px; |
| 125 } |
| 126 |
| 127 #butter-bar .actions a:last-child { |
| 128 margin-right: -2px; /* Overlap the padding with butter-bar padding. */ |
| 129 } |
| 130 |
135 #butter-bar.error { | 131 #butter-bar.error { |
136 background-color: rgba(221, 75, 57, 0.2); | 132 background-color: rgba(221, 75, 57, 0.2); |
137 border: 1px solid rgba(221, 75, 57, 0.5); | 133 border: 1px solid rgba(221, 75, 57, 0.5); |
138 border-radius: 2px; | 134 border-radius: 2px; |
139 padding: 2px 1em; | 135 padding: 2px 1em; |
140 } | 136 } |
141 | 137 |
142 .progress-bar { | 138 .progress-bar { |
143 background-image: -webkit-linear-gradient(top, #e9e9e9 0, #f9f9f9 100%); | 139 background-image: -webkit-linear-gradient(top, #e9e9e9 0, #f9f9f9 100%); |
144 border: 1px solid #a1a1a1; | 140 border: 1px solid #a1a1a1; |
145 border-radius: 3px; | 141 border-radius: 3px; |
| 142 margin-bottom: 2px; |
146 margin-top: 3px; | 143 margin-top: 3px; |
147 width: 320px; | 144 width: 320px; |
148 } | 145 } |
149 | 146 |
150 .progress-track { | 147 .progress-track { |
151 background-color: rgb(76, 86, 106); | 148 background-color: rgb(76, 86, 106); |
152 border: 1px solid black; | 149 border: 1px solid black; |
153 border-radius: 3px; | 150 border-radius: 3px; |
154 height: 6px; | 151 height: 6px; |
155 margin: -1px; | 152 margin: -1px; |
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1464 height: 100%; | 1461 height: 100%; |
1465 } | 1462 } |
1466 | 1463 |
1467 #list-container .table-header-cell:hover { | 1464 #list-container .table-header-cell:hover { |
1468 background-color: #f2f2f2; | 1465 background-color: #f2f2f2; |
1469 } | 1466 } |
1470 | 1467 |
1471 button:focus { | 1468 button:focus { |
1472 outline-color: rgb(77, 144, 254); | 1469 outline-color: rgb(77, 144, 254); |
1473 } | 1470 } |
OLD | NEW |