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