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 } |
| 27 | |
| 28 #pin-container.pin-enabled { | |
| 29 opacity: 1; | |
| 30 transition: opacity 200ms ease-in-out 500ms; | |
| 31 } | |
| 32 | |
| 33 #pin-container.pin-disabled { | |
| 34 opacity: 0; | |
|
jdufault
2016/06/15 22:20:39
Is this needed? It should get this value from #pin
sammiequon
2016/06/17 01:00:43
Done.
| |
| 35 transition: none; | |
| 27 } | 36 } |
| 28 | 37 |
| 29 #scroll-container { | 38 #scroll-container { |
| 30 bottom: 0; /* Allows content overlap with control bar. */ | 39 bottom: 0; /* Allows content overlap with control bar. */ |
| 31 left: 0; | 40 left: 0; |
| 32 overflow-x: hidden; | 41 overflow-x: hidden; |
| 33 overflow-y: auto; | 42 overflow-y: auto; |
| 34 position: absolute; | 43 position: absolute; |
| 35 right: 0; | 44 right: 0; |
| 36 top: 0; | 45 top: 0; |
| 37 } | 46 } |
| 38 | 47 |
| 39 #scroll-container::-webkit-scrollbar { | 48 #scroll-container::-webkit-scrollbar { |
| 40 display: none; | 49 display: none; |
| 41 } | 50 } |
| 42 | 51 |
| 43 #inner-container { | 52 #inner-container { |
| 44 border-radius: 2px; | 53 border-radius: 2px; |
| 45 padding: 0; | |
| 46 position: relative; | 54 position: relative; |
| 47 } | 55 } |
| 48 | 56 |
| 49 #inner-container.animation { | 57 #inner-container.animation { |
| 50 overflow: hidden; | 58 overflow: hidden; |
| 51 } | 59 } |
| 52 | 60 |
| 53 #inner-container.disabled { | 61 #inner-container.disabled { |
| 54 opacity: 0.4; | 62 opacity: 0.4; |
| 55 pointer-events: none; | 63 pointer-events: none; |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 212 line-height: 31px; | 220 line-height: 31px; |
| 213 text-transform: lowercase; | 221 text-transform: lowercase; |
| 214 width: 23em; | 222 width: 23em; |
| 215 } | 223 } |
| 216 | 224 |
| 217 .header-section::before { | 225 .header-section::before { |
| 218 /* Divider in header between product name and title, | 226 /* Divider in header between product name and title, |
| 219 * like "[Product name] > [step header]". */ | 227 * like "[Product name] > [step header]". */ |
| 220 content: '\00A0\203A\00A0\00A0'; | 228 content: '\00A0\203A\00A0\00A0'; |
| 221 } | 229 } |
| OLD | NEW |