Chromium Code Reviews| 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 | 5 |
| 6 #outer-container { | 6 #outer-container { |
| 7 -webkit-box-align: center; | 7 -webkit-box-align: center; |
| 8 -webkit-box-pack: center; | 8 -webkit-box-pack: center; |
| 9 -webkit-perspective: 1px; /* Workaround, see http://crbug.com/360567 */ | 9 -webkit-perspective: 1px; /* Workaround, see http://crbug.com/360567 */ |
| 10 bottom: 57px; /* Leave space for the header bar */ | 10 bottom: 57px; /* Leave space for the header bar */ |
| 11 display: -webkit-box; | 11 display: -webkit-box; |
| 12 left: 0; | 12 left: 0; |
| 13 min-height: 717px; /* This enables scrolling. Min resolution: 1024x768 */ | 13 min-height: 717px; /* This enables scrolling. Min resolution: 1024x768 */ |
| 14 position: absolute; | 14 position: absolute; |
| 15 right: 0; | 15 right: 0; |
| 16 top: 0; | 16 top: 0; |
| 17 z-index: 1; | 17 z-index: 1; |
| 18 } | 18 } |
| 19 | 19 |
| 20 .oobe-display #outer-container { | 20 .oobe-display #outer-container { |
| 21 -webkit-perspective: 600px; | 21 -webkit-perspective: 600px; |
| 22 } | 22 } |
| 23 | 23 |
| 24 #pin-container { | 24 #pin-container { |
| 25 opacity: 0; /* Opacity is set to 1 after the pin element is loaded. */ | 25 opacity: 0; /* Opacity is set to 1 after the pin element is loaded. */ |
| 26 transition: opacity 200ms ease-in-out; | 26 transition: opacity 500ms ease-in-out; |
| 27 } | 27 } |
| 28 | 28 |
| 29 #scroll-container { | 29 #scroll-container { |
| 30 bottom: 0; /* Allows content overlap with control bar. */ | 30 bottom: 0; /* Allows content overlap with control bar. */ |
| 31 left: 0; | 31 left: 0; |
| 32 overflow-x: hidden; | 32 overflow-x: hidden; |
| 33 overflow-y: auto; | 33 overflow-y: auto; |
| 34 position: absolute; | 34 position: absolute; |
| 35 right: 0; | 35 right: 0; |
| 36 top: 0; | 36 top: 0; |
| 37 } | 37 } |
| 38 | 38 |
| 39 #scroll-container::-webkit-scrollbar { | 39 #scroll-container::-webkit-scrollbar { |
| 40 display: none; | 40 display: none; |
| 41 } | 41 } |
| 42 | 42 |
| 43 #inner-container { | 43 #inner-container { |
| 44 border-radius: 2px; | 44 border-radius: 2px; |
| 45 padding: 0; | 45 padding: 0; |
| 46 position: relative; | |
|
jdufault
2016/05/31 19:24:52
Do we need to remove this? Please verify layout wo
sammiequon
2016/06/14 22:22:22
Done.
| |
| 47 } | 46 } |
| 48 | 47 |
| 49 #inner-container.animation { | 48 #inner-container.animation { |
| 50 overflow: hidden; | 49 overflow: hidden; |
| 51 } | 50 } |
| 52 | 51 |
| 53 #inner-container.disabled { | 52 #inner-container.disabled { |
| 54 opacity: 0.4; | 53 opacity: 0.4; |
| 55 pointer-events: none; | 54 pointer-events: none; |
| 56 } | 55 } |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 86 #oobe.error-message #inner-container, | 85 #oobe.error-message #inner-container, |
| 87 #oobe.tpm-error-message #inner-container { | 86 #oobe.tpm-error-message #inner-container { |
| 88 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), | 87 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), |
| 89 0 4px 23px 5px rgba(0, 0, 0, 0.2), | 88 0 4px 23px 5px rgba(0, 0, 0, 0.2), |
| 90 0 2px 6px rgba(0, 0, 0, 0.15); | 89 0 2px 6px rgba(0, 0, 0, 0.15); |
| 91 | 90 |
| 92 } | 91 } |
| 93 | 92 |
| 94 /* Only play this animation when 'down' class is removed. */ | 93 /* Only play this animation when 'down' class is removed. */ |
| 95 .oobe-display #inner-container:not(.down) { | 94 .oobe-display #inner-container:not(.down) { |
| 96 -webkit-transition: transform 200ms ease-in-out; | 95 -webkit-transition: transform 500ms ease-in-out; |
|
jdufault
2016/05/31 19:24:52
Are we sure this value should be changed? Existing
sammiequon
2016/06/14 22:22:22
Done.
| |
| 97 } | 96 } |
| 98 | 97 |
| 99 .oobe-display #inner-container.down { | 98 .oobe-display #inner-container.down { |
| 100 transform: translateY(50px) rotateX(-2.5deg); | 99 transform: translateY(50px) rotateX(-2.5deg); |
| 101 } | 100 } |
| 102 | 101 |
| 103 #step-logo { | 102 #step-logo { |
| 104 -webkit-margin-start: 17px; | 103 -webkit-margin-start: 17px; |
| 105 display: -webkit-box; | 104 display: -webkit-box; |
| 106 position: absolute; | 105 position: absolute; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 212 line-height: 31px; | 211 line-height: 31px; |
| 213 text-transform: lowercase; | 212 text-transform: lowercase; |
| 214 width: 23em; | 213 width: 23em; |
| 215 } | 214 } |
| 216 | 215 |
| 217 .header-section::before { | 216 .header-section::before { |
| 218 /* Divider in header between product name and title, | 217 /* Divider in header between product name and title, |
| 219 * like "[Product name] > [step header]". */ | 218 * like "[Product name] > [step header]". */ |
| 220 content: '\00A0\203A\00A0\00A0'; | 219 content: '\00A0\203A\00A0\00A0'; |
| 221 } | 220 } |
| OLD | NEW |