OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 * This is the stylesheet used by user pods row of account picker UI. | 5 * This is the stylesheet used by user pods row of account picker UI. |
6 */ | 6 */ |
7 | 7 |
8 podrow { | 8 podrow { |
9 -webkit-box-align: center; | 9 -webkit-box-align: center; |
10 -webkit-box-pack: center; | 10 -webkit-box-pack: center; |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 top: 193px; | 128 top: 193px; |
129 visibility: hidden; | 129 visibility: hidden; |
130 } | 130 } |
131 | 131 |
132 .pod.focused .enter-guest-button { | 132 .pod.focused .enter-guest-button { |
133 opacity: 1; | 133 opacity: 1; |
134 visibility: visible; | 134 visibility: visible; |
135 } | 135 } |
136 | 136 |
137 .remove-user-button { | 137 .remove-user-button { |
| 138 -webkit-transition: width .1s ease-in-out, background .2s ease-in-out; |
138 -webkit-box-shadow: none; | 139 -webkit-box-shadow: none; |
139 background: url('chrome://theme/IDR_CLOSE_BAR') center center no-repeat; | 140 background: url('chrome://theme/IDR_CLOSE_BAR') center center no-repeat; |
140 border: 0; | 141 border: 0; |
141 height: 16px; | 142 height: 16px; |
142 margin: 0; | 143 margin: 0; |
143 min-width: 16px; | 144 min-width: 16px; |
144 padding: 0; | 145 padding: 0; |
145 position: absolute; | 146 position: absolute; |
146 right: 14px; | 147 right: 14px; |
147 top: 14px; | 148 top: 14px; |
148 width: 16px; | 149 width: 16px; |
149 } | 150 } |
150 | 151 |
151 .remove-user-button:hover { | 152 .remove-user-button:hover { |
152 -webkit-box-shadow: none; | 153 -webkit-box-shadow: none; |
153 background: url('chrome://theme/IDR_CLOSE_BAR_H') center center no-repeat; | 154 background: url('chrome://theme/IDR_CLOSE_BAR_H') center center no-repeat; |
154 } | 155 } |
| 156 |
| 157 .remove-user-button.active { |
| 158 background-color: #e94949; |
| 159 background-image: none; |
| 160 border-radius: 4px; |
| 161 color: white; |
| 162 font-size: 10px; |
| 163 height: initial; |
| 164 padding: 2px 4px; |
| 165 width: initial; |
| 166 } |
OLD | NEW |