OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 #navigation h1 { | 5 #navigation { |
6 -webkit-margin-start: 23px; | 6 height: 100%; |
7 color: rgb(92, 97, 102); | 7 left: 0; |
| 8 position: absolute; |
| 9 right: 0; |
| 10 width: 155px; |
| 11 z-index: 3; |
8 } | 12 } |
9 | 13 |
10 #navigation ol { | 14 #navigation.background { |
11 list-style-type: none; | 15 z-index: 1; |
12 padding: 0; | |
13 } | |
14 | |
15 #navigation li { | |
16 -webkit-border-start: 6px solid white; | |
17 -webkit-padding-start: 18px; | |
18 color: #999; | |
19 cursor: pointer; | |
20 line-height: 17px; | |
21 margin: 5px 0; | |
22 text-transform: uppercase; | |
23 } | |
24 | |
25 #navigation li:hover { | |
26 color: #777; | |
27 } | |
28 | |
29 #navigation li.selected { | |
30 -webkit-border-start-color: rgb(78, 87, 100); | |
31 color: rgb(70, 78, 90); | |
32 } | |
33 | |
34 #navigation #aboutPageNavItem { | |
35 margin-top: 27px; | |
36 } | 16 } |
37 | 17 |
38 .iframe-container { | 18 .iframe-container { |
39 -webkit-margin-start: -20px; | 19 -webkit-margin-start: -20px; |
40 -webkit-transition: margin 100ms, opacity 100ms; | 20 -webkit-transition: margin 100ms, opacity 100ms; |
41 background-color: white; | |
42 bottom: 0; | 21 bottom: 0; |
43 left: 155px; | 22 left: 0; |
44 opacity: 0; | 23 opacity: 0; |
45 position: absolute; | 24 position: absolute; |
46 right: 0; | 25 right: 0; |
47 top: 0; | 26 top: 0; |
48 z-index: 1; | 27 z-index: 1; |
49 } | 28 } |
50 | 29 |
51 html[dir="rtl"] .iframe-container { | |
52 left: 0; | |
53 right: 155px; | |
54 } | |
55 | |
56 .iframe-container.selected { | 30 .iframe-container.selected { |
57 -webkit-margin-start: 0; | 31 -webkit-margin-start: 0; |
58 -webkit-transition: margin 200ms, opacity 200ms; | 32 -webkit-transition: margin 200ms, opacity 200ms; |
59 -webkit-transition-delay: 100ms; | 33 -webkit-transition-delay: 100ms; |
60 opacity: 1; | 34 opacity: 1; |
61 z-index: 2; | 35 z-index: 2; |
62 } | 36 } |
63 | 37 |
| 38 .iframe-container.expanded { |
| 39 left: 0; |
| 40 } |
| 41 |
64 iframe { | 42 iframe { |
65 border: none; | 43 border: none; |
66 display: block; | 44 display: block; |
67 height: 100%; | 45 height: 100%; |
68 width: 100%; | 46 width: 100%; |
69 } | 47 } |
70 | |
71 #uber .overlay { | |
72 opacity: 0; | |
73 pointer-events: none; | |
74 z-index: 1; | |
75 } | |
76 | |
77 #uber .overlay.showing { | |
78 opacity: 1; | |
79 pointer-events: visible; | |
80 } | |
OLD | NEW |