Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 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 | 5 |
| 6 /* Overrides for the desktop user manager screen. */ | 6 /* Overrides for the desktop user manager screen. */ |
| 7 | 7 |
| 8 .oobe-display { | 8 .oobe-display { |
| 9 background-color: #eee; | 9 background-color: #eee; |
| 10 } | 10 } |
| 11 | 11 |
| 12 #outer-container { | 12 #outer-container { |
| 13 min-height: 0; | 13 min-height: 0; |
| 14 } | 14 } |
| 15 | 15 |
| 16 .bubble.faded { | 16 .bubble.faded { |
| 17 opacity: 0; | 17 opacity: 0; |
| 18 } | 18 } |
| 19 | 19 |
| 20 .pod { | 20 .pod { |
| 21 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); | 21 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); |
| 22 height: 226px; | 22 height: 226px; |
| 23 /* On non-retina desktop, the text is blurry if we use the scale3d() | |
| 24 inherited from user_pod_row.js */ | |
| 25 transform: scale(0.9); | |
| 26 } | |
| 27 | |
| 28 podrow[ncolumns='6'] .pod { | |
| 29 transform: scale(0.8); | |
| 23 } | 30 } |
| 24 | 31 |
| 25 .pod.faded { | 32 .pod.faded { |
| 26 opacity: .4; | 33 opacity: .4; |
| 27 } | 34 } |
| 28 | 35 |
| 29 .pod.hovered:not(.focused) { | 36 .pod.hovered:not(.focused) { |
| 30 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); | 37 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); |
| 31 opacity: 0.9; | |
| 32 } | 38 } |
| 33 | 39 |
| 34 .pod.focused { | 40 .pod.focused { |
| 35 box-shadow: 0 16px 21px rgba(0, 0, 0, 0.2); | 41 box-shadow: 0 16px 21px rgba(0, 0, 0, 0.2); |
| 42 transform: scale(1) !important; | |
| 36 } | 43 } |
| 37 | 44 |
| 38 .pod.focused.locked { | 45 .pod.focused.locked { |
| 39 box-shadow: 0 12px 21px rgba(0, 0, 0, 0.2); | 46 box-shadow: 0 12px 21px rgba(0, 0, 0, 0.2); |
| 40 height: 220px; | 47 height: 220px; |
| 41 } | 48 } |
| 42 | 49 |
| 43 .user-image-pane { | 50 .user-image-pane { |
| 44 border-top-left-radius: 2px; | 51 border-top-left-radius: 2px; |
| 45 border-top-right-radius: 2px; | 52 border-top-right-radius: 2px; |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 129 } | 136 } |
| 130 | 137 |
| 131 .pod.focused.locked .password-entry-container { | 138 .pod.focused.locked .password-entry-container { |
| 132 display: flex; | 139 display: flex; |
| 133 flex: auto; | 140 flex: auto; |
| 134 } | 141 } |
| 135 | 142 |
| 136 .action-box-area { | 143 .action-box-area { |
| 137 background-color: #f5f5f5; | 144 background-color: #f5f5f5; |
| 138 height: 24px; | 145 height: 24px; |
| 146 /* Because of crbug.com/406529, the text in the .name div is janky if there's | |
| 147 an opacity transition in this div. */ | |
| 148 transition: none; | |
| 139 width: 24px; | 149 width: 24px; |
| 140 } | 150 } |
| 141 | 151 |
| 142 .action-box-button, | 152 .action-box-button, |
| 143 .action-box-button:hover, | 153 .action-box-button:hover, |
| 144 .action-box-area.active .action-box-button { | 154 .action-box-area.active .action-box-button { |
| 145 background-image: none; | 155 background-image: none; |
| 146 border-left: 6px solid transparent; | 156 border-left: 6px solid transparent; |
| 147 border-right: 6px solid transparent; | 157 border-right: 6px solid transparent; |
| 148 border-top: 6px solid #989898; | 158 border-top: 6px solid #989898; |
| 149 height: 0; | 159 height: 0; |
| 150 left: 6px; | 160 left: 6px; |
| 151 margin: 0; | 161 margin: 0; |
| 152 position: absolute; | 162 position: absolute; |
| 153 top: 9px; | 163 top: 9px; |
| 154 width: 0; | 164 width: 0; |
| 155 } | 165 } |
| 156 | 166 |
| 157 .action-box-button:hover, | 167 .action-box-button:hover, |
| 158 .action-box-area.active .action-box-button { | 168 .action-box-area.active .action-box-button { |
| 159 border-top: 6px solid #4c4c4c; | 169 border-top: 6px solid #4c4c4c; |
| 160 } | 170 } |
| 171 | |
| 172 .action-box-remove-user-warning .remove-warning-button { | |
| 173 height: 30px; | |
| 174 } | |
| 175 | |
| 176 .action-box-remove-user-warning .remove-warning-button:focus { | |
| 177 box-shadow: inset 0 0 0 1px #fff; | |
| 178 /* Override the default blue border inherited from | |
| 179 button.custom-appearance:focus. */ | |
| 180 border: 1px solid transparent !important; | |
|
xiyuan
2014/08/22 20:48:06
nit: alpha sort the css rules.
noms (inactive)
2014/08/23 19:08:11
Done.
| |
| 181 } | |
| OLD | NEW |