OLD | NEW |
1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2016 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 .tutorial-slide { | 6 .tutorial-slide { |
7 -webkit-transition: opacity 200ms ease-in-out; | 7 -webkit-transition: opacity 200ms ease-in-out; |
8 background-color: white; | 8 background-color: white; |
9 border-radius: 2px; | 9 border-radius: 2px; |
10 bottom: 0; | 10 bottom: 0; |
11 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25); | 11 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25); |
12 height: 408px; | 12 height: 408px; |
13 left: 0; | 13 left: 0; |
14 margin: auto; | 14 margin: auto; |
15 position: absolute; | 15 position: absolute; |
16 right: 0; | 16 right: 0; |
17 top: 0; | 17 top: 0; |
18 width: 320px; | 18 width: 320px; |
19 z-index: 100; | 19 z-index: 100; |
20 } | 20 } |
21 | 21 |
22 .tutorial-slide.single-pod { | 22 .tutorial-slide.single-pod { |
23 margin-left: 30px; | 23 margin-left: 30px; |
24 } | 24 } |
25 | 25 |
26 html[dir=rtl] .tutorial-slide.single-pod { | 26 :host-context([dir='rtl']) .tutorial-slide.single-pod { |
27 margin-right: 30px; | 27 margin-right: 30px; |
28 } | 28 } |
29 | 29 |
30 .hidden { | 30 #guests { |
31 opacity: 0; | |
32 pointer-events: none; | |
33 } | |
34 | |
35 #slide-guests { | |
36 bottom: 20px; | 31 bottom: 20px; |
37 left: 20px; | 32 left: auto; |
38 margin: 0; | 33 margin: 0; |
| 34 right: 100px; |
39 top: auto; | 35 top: auto; |
40 } | 36 } |
41 | 37 |
42 html[dir=rtl] #slide-guests { | 38 :host-context([dir='rtl']) #guests { |
43 right: 20px; | 39 left: 100px; |
| 40 right: auto; |
44 } | 41 } |
45 | 42 |
46 #slide-friends, | 43 #friends, |
47 #slide-not-you { | 44 #notYou { |
48 bottom: 20px; | 45 bottom: 20px; |
49 left: 60px; | 46 left: auto; |
50 margin: 0; | 47 margin: 0; |
| 48 right: 20px; |
51 top: auto; | 49 top: auto; |
52 } | 50 } |
53 | 51 |
54 html[dir=rtl] #slide-friends, | 52 :host-context([dir='rtl']) #friends, |
55 html[dir=rtl] #slide-not-you { | 53 :host-context([dir='rtl']) #notYou { |
56 right: 60px; | 54 left: 20px; |
| 55 right: auto; |
57 } | 56 } |
58 | 57 |
59 #slide-not-you { | 58 #notYou { |
60 height: 100px; | 59 height: 100px; |
61 left: 100px; | |
62 margin: 0; | |
63 width: 240px; | 60 width: 240px; |
64 } | 61 } |
65 | 62 |
66 html[dir=rtl] #slide-not-you { | |
67 right: 100px; | |
68 } | |
69 | |
70 .slide-contents { | 63 .slide-contents { |
71 padding: 0 20px; | 64 padding: 0 20px; |
72 text-align: center; | 65 text-align: center; |
73 } | 66 } |
74 | 67 |
75 .slide-title { | 68 .slide-title { |
76 color: black; | 69 color: black; |
77 font-size: 20px; | 70 font-size: 20px; |
78 line-height: 20px; | 71 line-height: 20px; |
79 margin: 30px 0; | 72 margin: 30px 0; |
(...skipping 16 matching lines...) Expand all Loading... |
96 width: 100%; | 89 width: 100%; |
97 } | 90 } |
98 | 91 |
99 .slide-buttons button { | 92 .slide-buttons button { |
100 bottom: 0; | 93 bottom: 0; |
101 height: 35px; | 94 height: 35px; |
102 padding: 0 15px; | 95 padding: 0 15px; |
103 width: 138px; | 96 width: 138px; |
104 } | 97 } |
105 | 98 |
106 .slide-buttons button.left { | |
107 left: 16px; | |
108 position: absolute; | |
109 } | |
110 | |
111 html[dir=rtl] .slide-buttons button.left { | |
112 right: 16px; | |
113 } | |
114 | |
115 .slide-buttons button.right { | |
116 bottom: 0; | |
117 position: absolute; | |
118 } | |
119 | |
120 .arrow-down { | 99 .arrow-down { |
121 border-left: 15px solid transparent; | 100 border-left: 15px solid transparent; |
122 border-right: 15px solid transparent; | 101 border-right: 15px solid transparent; |
123 border-top: 15px solid white; | 102 border-top: 15px solid white; |
124 bottom: -15px; | 103 bottom: -15px; |
125 height: 0; | 104 height: 0; |
126 left: 120px; | |
127 position: absolute; | 105 position: absolute; |
| 106 right: 40px; |
128 width: 0; | 107 width: 0; |
129 } | 108 } |
130 | 109 |
131 #slide-not-you .arrow-down { | 110 :host-context([dir='rtl']) .arrow-down { |
132 left: 100px; | 111 left: 40px; |
| 112 right: auto; |
133 } | 113 } |
134 | 114 |
135 html[dir=rtl] #slide-not-you .arrow-down { | 115 #guests .arrow-down { |
136 right: 100px; | 116 right: 110px; |
137 } | 117 } |
138 | 118 |
139 #slide-guests .arrow-down { | 119 :host-context([dir='rtl']) #guests .arrow-down { |
140 left: 60px; | 120 left: 110px; |
141 } | 121 right: auto; |
142 | |
143 html[dir=rtl] #slide-guests .arrow-down { | |
144 right: 60px; | |
145 } | 122 } |
146 | 123 |
147 .slide-image { | 124 .slide-image { |
148 height: 182px; | 125 height: 182px; |
149 } | 126 } |
150 | 127 |
151 #slide-your-chrome .slide-image { | 128 #yourChrome .slide-image { |
152 background-color: rgb(241, 202, 58); | 129 background-color: rgb(241, 202, 58); |
153 background-image: | 130 background-image: |
154 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_YOUR_CHROME); | 131 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_YOUR_CHROME); |
155 } | 132 } |
156 | 133 |
157 #slide-guests .slide-image { | 134 #guests .slide-image { |
158 background-color: rgb(90, 196, 144); | 135 background-color: rgb(90, 196, 144); |
159 background-image: url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_GUESTS); | 136 background-image: url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_GUESTS); |
160 } | 137 } |
161 | 138 |
162 #slide-friends .slide-image { | 139 #friends .slide-image { |
163 background-color: rgb(179, 229, 252); | 140 background-color: rgb(179, 229, 252); |
164 background-image: | 141 background-image: |
165 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_FRIENDS); | 142 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_FRIENDS); |
166 } | 143 } |
167 | 144 |
168 #slide-complete .slide-image { | 145 #complete .slide-image { |
169 background-color: white; | 146 background-color: white; |
170 background-image: | 147 background-image: |
171 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_COMPLETE); | 148 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_COMPLETE); |
172 } | 149 } |
173 | 150 |
174 #slide-not-you #dismiss-bubble-button { | 151 #notYou #dismiss-bubble-button { |
175 background-image: url(chrome://theme/IDR_CLOSE_1); | 152 margin: 0; |
176 cursor: pointer; | 153 min-width: 0; |
177 height: 16px; | 154 padding: 0; |
178 position: absolute; | 155 position: absolute; |
179 right: 5px; | 156 right: 5px; |
180 top: 5px; | 157 top: 5px; |
181 width: 16px; | |
182 } | 158 } |
183 | 159 |
184 html[dir=rtl] #slide-not-you #dismiss-bubble-button { | 160 #notYou #slide-add-user { |
| 161 margin-top: 10px; |
| 162 } |
| 163 |
| 164 :host-context([dir='rtl']) #notYou #dismiss-bubble-button { |
185 left: 5px; | 165 left: 5px; |
| 166 right: auto; |
186 } | 167 } |
OLD | NEW |