| 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 28 matching lines...) Expand all Loading... |
| 39 width: 180px; | 39 width: 180px; |
| 40 z-index: 0; | 40 z-index: 0; |
| 41 } | 41 } |
| 42 | 42 |
| 43 #account_picker.flying-pods .pod { | 43 #account_picker.flying-pods .pod { |
| 44 transition: all 180ms; | 44 transition: all 180ms; |
| 45 } | 45 } |
| 46 | 46 |
| 47 .pod.flying-pin-pod { | 47 .pod.flying-pin-pod { |
| 48 transition: height 180ms ease-in-out, | 48 transition: height 180ms ease-in-out, |
| 49 left 180ms ease-in-out, | 49 top 180ms ease-in-out; |
| 50 top 180ms ease-in-out, | |
| 51 width 180ms ease-in-out; | |
| 52 } | 50 } |
| 53 | 51 |
| 54 .pod.pin-enabled { | 52 .pod.pin-enabled { |
| 55 height: 594px; | 53 height: 417px; |
| 56 top: -200px !important; | 54 top: -87px !important; |
| 57 width: 270px; | |
| 58 } | 55 } |
| 59 | 56 |
| 60 .pod .pin-container { | 57 .pod .pin-container { |
| 61 height: 344px; | 58 height: 204px; |
| 62 position: absolute; | 59 position: absolute; |
| 63 top: 250px; | 60 top: 170px; |
| 64 width: 270px; | |
| 65 } | 61 } |
| 66 | 62 |
| 67 .pod.faded { | 63 .pod.faded { |
| 68 opacity: .75; | 64 opacity: .75; |
| 69 } | 65 } |
| 70 | 66 |
| 71 podrow[ncolumns='6'] .pod { | 67 podrow[ncolumns='6'] .pod { |
| 72 transform: scale3d(0.8, 0.8, 0.8); | 68 transform: scale3d(0.8, 0.8, 0.8); |
| 73 } | 69 } |
| 74 | 70 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 91 top: 10px; | 87 top: 10px; |
| 92 transition: height 180ms ease-in-out, | 88 transition: height 180ms ease-in-out, |
| 93 left 180ms ease-in-out, | 89 left 180ms ease-in-out, |
| 94 right 180ms ease-in-out, | 90 right 180ms ease-in-out, |
| 95 top 180ms ease-in-out, | 91 top 180ms ease-in-out, |
| 96 width 180ms ease-in-out; | 92 width 180ms ease-in-out; |
| 97 width: 160px; | 93 width: 160px; |
| 98 z-index: 3; | 94 z-index: 3; |
| 99 } | 95 } |
| 100 | 96 |
| 101 .user-image-pane.pin-enabled { | |
| 102 height: 230px; | |
| 103 left: 20px; | |
| 104 top: 20px; | |
| 105 width: 230px; | |
| 106 } | |
| 107 | |
| 108 html[dir=rtl] .user-image-pane { | 97 html[dir=rtl] .user-image-pane { |
| 109 left: auto; | 98 left: auto; |
| 110 right: 10px; | 99 right: 10px; |
| 111 } | 100 } |
| 112 | 101 |
| 113 html[dir=rtl] .user-image-pane.pin-enabled { | |
| 114 left: auto; | |
| 115 right: 20px; | |
| 116 } | |
| 117 | |
| 118 .user-image-container { | 102 .user-image-container { |
| 119 align-items: center; | 103 align-items: center; |
| 120 display: flex; | 104 display: flex; |
| 121 height: 100%; | 105 height: 100%; |
| 122 justify-content: center; | 106 justify-content: center; |
| 123 width: 100%; | 107 width: 100%; |
| 124 } | 108 } |
| 125 | 109 |
| 126 .pod .user-image { | 110 .pod .user-image { |
| 127 flex: none; | 111 flex: none; |
| 128 } | 112 } |
| 129 | 113 |
| 130 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the | 114 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the |
| 131 style rule once it is included on CrOS only. crbug.com/397638 */ | 115 style rule once it is included on CrOS only. crbug.com/397638 */ |
| 132 html:not([screen=login-add-user]) .pod .user-image { | 116 html:not([screen=login-add-user]) .pod .user-image { |
| 133 max-height: 160px; | 117 max-height: 160px; |
| 134 max-width: 160px; | 118 max-width: 160px; |
| 135 opacity: 0.7; | 119 opacity: 0.7; |
| 136 position: absolute; | 120 position: absolute; |
| 137 transition: max-height 180ms ease-in-out, | |
| 138 max-width 180ms ease-in-out, | |
| 139 top 180ms ease-in-out; | |
| 140 } | |
| 141 | |
| 142 html:not([screen=login-add-user]) .pod .user-image.pin-enabled { | |
| 143 max-height: 230px; | |
| 144 max-width: 230px; | |
| 145 } | 121 } |
| 146 | 122 |
| 147 html:not([screen=login-add-user]) .pod.focused .user-image { | 123 html:not([screen=login-add-user]) .pod.focused .user-image { |
| 148 opacity: 1; | 124 opacity: 1; |
| 149 } | 125 } |
| 150 | 126 |
| 151 .pod.multiprofiles-policy-applied .user-image { | 127 .pod.multiprofiles-policy-applied .user-image { |
| 152 -webkit-filter: grayscale(100%); | 128 -webkit-filter: grayscale(100%); |
| 153 } | 129 } |
| 154 | 130 |
| 155 .signed-in-indicator { | 131 .signed-in-indicator { |
| 156 display: none; | 132 display: none; |
| 157 } | 133 } |
| 158 | 134 |
| 159 .pod.signed-in .signed-in-indicator { | 135 .pod.signed-in .signed-in-indicator { |
| 160 background-color: rgba(0, 0, 0, 0.5); | 136 background-color: rgba(0, 0, 0, 0.5); |
| 161 color: white; | 137 color: white; |
| 162 display: block; | 138 display: block; |
| 163 font-size: small; | 139 font-size: small; |
| 164 position: absolute; | 140 position: absolute; |
| 165 text-align: center; | 141 text-align: center; |
| 166 top: 0; | 142 top: 0; |
| 167 transition: left 180ms ease-in-out, | |
| 168 top 180ms ease-in-out, | |
| 169 width 180ms ease-in-out; | |
| 170 width: 100%; | 143 width: 100%; |
| 171 } | 144 } |
| 172 | 145 |
| 173 .pod.signed-in .signed-in-indicator.pin-enabled { | |
| 174 left: 20px; | |
| 175 top: 20px; | |
| 176 width: 230px; | |
| 177 } | |
| 178 | |
| 179 .main-pane { | 146 .main-pane { |
| 180 left: 10px; | 147 left: 10px; |
| 181 position: absolute; | 148 position: absolute; |
| 182 top: 10px; | 149 top: 10px; |
| 183 z-index: 2; | 150 z-index: 2; |
| 184 } | 151 } |
| 185 | 152 |
| 186 html[dir=rtl] .main-pane { | 153 html[dir=rtl] .main-pane { |
| 187 left: auto; | 154 left: auto; |
| 188 right: 10px; | 155 right: 10px; |
| (...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 919 -webkit-animation: ellipsis-component2 1.5s infinite; | 886 -webkit-animation: ellipsis-component2 1.5s infinite; |
| 920 } | 887 } |
| 921 | 888 |
| 922 @-webkit-keyframes ellipsis-component2 { | 889 @-webkit-keyframes ellipsis-component2 { |
| 923 0% { opacity: 0; } | 890 0% { opacity: 0; } |
| 924 25% { opacity: 0; } | 891 25% { opacity: 0; } |
| 925 50% { opacity: 0; } | 892 50% { opacity: 0; } |
| 926 75% { opacity: 1; } | 893 75% { opacity: 1; } |
| 927 100% { opacity: 0; } | 894 100% { opacity: 0; } |
| 928 } | 895 } |
| OLD | NEW |