| OLD | NEW |
| 1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 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 /* Temporarily disabled because animation interferes with updating screen's | 9 /* Temporarily disabled because animation interferes with updating screen's |
| 10 size. */ | 10 size. */ |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), | 30 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), |
| 31 0 2px 6px rgba(0, 0, 0, 0.15), | 31 0 2px 6px rgba(0, 0, 0, 0.15), |
| 32 0 3px 0 rgba(0, 0, 0, 0.08); | 32 0 3px 0 rgba(0, 0, 0, 0.08); |
| 33 cursor: pointer; | 33 cursor: pointer; |
| 34 height: 213px; | 34 height: 213px; |
| 35 outline: none; | 35 outline: none; |
| 36 position: absolute; | 36 position: absolute; |
| 37 top: 0; | 37 top: 0; |
| 38 transform: scale3d(0.9, 0.9, 0.9); | 38 transform: scale3d(0.9, 0.9, 0.9); |
| 39 transition: height 180ms ease-in-out, | 39 transition: height 180ms ease-in-out, |
| 40 padding 180ms ease-in-out, | |
| 41 top 180ms ease-in-out, | 40 top 180ms ease-in-out, |
| 42 width 180ms ease-in-out; | 41 width 180ms ease-in-out; |
| 43 width: 180px; | 42 width: 180px; |
| 44 z-index: 0; | 43 z-index: 0; |
| 45 } | 44 } |
| 46 | 45 |
| 47 .pod.pin-enabled { | 46 .pod.pin-enabled { |
| 48 height: 600px; | 47 height: 594px; |
| 49 padding: 10px; | |
| 50 top: -200px !important; | 48 top: -200px !important; |
| 51 width: 256px; | 49 width: 270px; |
| 52 } | 50 } |
| 53 | 51 |
| 54 .pod .pin-container { | 52 .pod .pin-container { |
| 55 height: 334px; | 53 height: 344px; |
| 56 position: absolute; | 54 position: absolute; |
| 57 top: 276px; | 55 top: 250px; |
| 58 width: 256px; | 56 width: 270px; |
| 59 } | 57 } |
| 60 | 58 |
| 61 .pod.faded { | 59 .pod.faded { |
| 62 opacity: .75; | 60 opacity: .75; |
| 63 } | 61 } |
| 64 | 62 |
| 65 podrow[ncolumns='6'] .pod { | 63 podrow[ncolumns='6'] .pod { |
| 66 transform: scale3d(0.8, 0.8, 0.8); | 64 transform: scale3d(0.8, 0.8, 0.8); |
| 67 } | 65 } |
| 68 | 66 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 98 |
| 101 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the | 99 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the |
| 102 style rule once it is included on CrOS only. crbug.com/397638 */ | 100 style rule once it is included on CrOS only. crbug.com/397638 */ |
| 103 html:not([screen=login-add-user]) .pod .user-image { | 101 html:not([screen=login-add-user]) .pod .user-image { |
| 104 max-height: 160px; | 102 max-height: 160px; |
| 105 max-width: 160px; | 103 max-width: 160px; |
| 106 opacity: 0.7; | 104 opacity: 0.7; |
| 107 position: absolute; | 105 position: absolute; |
| 108 top: 10px; | 106 top: 10px; |
| 109 transition: max-height 180ms ease-in-out, | 107 transition: max-height 180ms ease-in-out, |
| 110 max-width 180ms ease-in-out; | 108 max-width 180ms ease-in-out, |
| 109 top 180ms ease-in-out; |
| 111 } | 110 } |
| 112 | 111 |
| 113 html:not([screen=login-add-user]) .pod .user-image.pin-enabled { | 112 html:not([screen=login-add-user]) .pod .user-image.pin-enabled { |
| 114 max-height: 256px; | 113 max-height: 230px; |
| 115 max-width: 256px; | 114 max-width: 230px; |
| 115 top: 20px; |
| 116 } | 116 } |
| 117 | 117 |
| 118 html:not([screen=login-add-user]) .pod.focused .user-image { | 118 html:not([screen=login-add-user]) .pod.focused .user-image { |
| 119 opacity: 1; | 119 opacity: 1; |
| 120 } | 120 } |
| 121 | 121 |
| 122 .pod.multiprofiles-policy-applied .user-image { | 122 .pod.multiprofiles-policy-applied .user-image { |
| 123 -webkit-filter: grayscale(100%); | 123 -webkit-filter: grayscale(100%); |
| 124 } | 124 } |
| 125 | 125 |
| 126 .signed-in-indicator { | 126 .signed-in-indicator { |
| 127 display: none; | 127 display: none; |
| 128 } | 128 } |
| 129 | 129 |
| 130 .pod.signed-in .signed-in-indicator { | 130 .pod.signed-in .signed-in-indicator { |
| 131 background-color: rgba(0, 0, 0, 0.5); | 131 background-color: rgba(0, 0, 0, 0.5); |
| 132 color: white; | 132 color: white; |
| 133 display: block; | 133 display: block; |
| 134 font-size: small; | 134 font-size: small; |
| 135 left: 10px; | 135 left: 10px; |
| 136 position: absolute; | 136 position: absolute; |
| 137 text-align: center; | 137 text-align: center; |
| 138 top: 10px; | 138 top: 10px; |
| 139 transition: width 180ms ease-in-out; | 139 transition: left 180ms ease-in-out, |
| 140 top 180ms ease-in-out, |
| 141 width 180ms ease-in-out; |
| 140 width: 160px; | 142 width: 160px; |
| 141 } | 143 } |
| 142 | 144 |
| 143 .pod.signed-in .signed-in-indicator.pin-enabled { | 145 .pod.signed-in .signed-in-indicator.pin-enabled { |
| 144 width: 256px; | 146 left: 20px; |
| 147 top: 20px; |
| 148 width: 230px; |
| 145 } | 149 } |
| 146 | 150 |
| 147 .main-pane { | 151 .main-pane { |
| 148 left: 10px; | 152 left: 10px; |
| 149 position: absolute; | 153 position: absolute; |
| 150 top: 10px; | 154 top: 10px; |
| 151 z-index: 2; | 155 z-index: 2; |
| 152 } | 156 } |
| 153 | 157 |
| 154 html[dir=rtl] .main-pane { | 158 html[dir=rtl] .main-pane { |
| (...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 -webkit-animation: ellipsis-component2 1.5s infinite; | 881 -webkit-animation: ellipsis-component2 1.5s infinite; |
| 878 } | 882 } |
| 879 | 883 |
| 880 @-webkit-keyframes ellipsis-component2 { | 884 @-webkit-keyframes ellipsis-component2 { |
| 881 0% { opacity: 0; } | 885 0% { opacity: 0; } |
| 882 25% { opacity: 0; } | 886 25% { opacity: 0; } |
| 883 50% { opacity: 0; } | 887 50% { opacity: 0; } |
| 884 75% { opacity: 1; } | 888 75% { opacity: 1; } |
| 885 100% { opacity: 0; } | 889 100% { opacity: 0; } |
| 886 } | 890 } |
| OLD | NEW |