Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(861)

Side by Side Diff: chrome/browser/resources/md_user_manager/user_manager_tutorial.css

Issue 1725563003: MD user manager (learn more page, user manager tutorial) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: UI tweaks and bug fix Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 :host.single-pod #yourChrome,
22 :host.single-pod #complete {
23 margin-left: 30px; 23 margin-left: 30px;
Dan Beam 2016/03/25 02:39:14 -webkit-margin-start: 30px; instead?
Moe 2016/03/29 18:54:39 Done.
24 } 24 }
25 25
26 html[dir=rtl] .tutorial-slide.single-pod { 26 :host-context([dir='rtl']) :host.single-pod #yourChrome,
27 :host-context([dir='rtl']) :host.single-pod #complete {
27 margin-right: 30px; 28 margin-right: 30px;
28 } 29 }
29 30
30 .hidden { 31 #guests {
31 opacity: 0;
32 pointer-events: none;
33 }
34
35 #slide-guests {
36 bottom: 20px; 32 bottom: 20px;
37 left: 20px; 33 left: auto;
38 margin: 0; 34 margin: 0;
35 right: 100px;
39 top: auto; 36 top: auto;
40 } 37 }
41 38
42 html[dir=rtl] #slide-guests { 39 :host-context([dir='rtl']) #guests {
43 right: 20px; 40 left: 100px;
41 right: auto;
44 } 42 }
45 43
46 #slide-friends, 44 #friends,
47 #slide-not-you { 45 #notYou {
48 bottom: 20px; 46 bottom: 20px;
49 left: 60px; 47 left: auto;
50 margin: 0; 48 margin: 0;
49 right: 20px;
51 top: auto; 50 top: auto;
52 } 51 }
53 52
54 html[dir=rtl] #slide-friends, 53 :host-context([dir='rtl']) #friends,
55 html[dir=rtl] #slide-not-you { 54 :host-context([dir='rtl']) #notYou {
56 right: 60px; 55 left: 20px;
56 right: auto;
57 } 57 }
58 58
59 #slide-not-you { 59 #notYou {
60 height: 100px; 60 height: 100px;
61 left: 100px;
62 margin: 0;
63 width: 240px; 61 width: 240px;
64 } 62 }
65 63
66 html[dir=rtl] #slide-not-you {
67 right: 100px;
68 }
69
70 .slide-contents { 64 .slide-contents {
71 padding: 0 20px; 65 padding: 0 20px;
72 text-align: center; 66 text-align: center;
73 } 67 }
74 68
75 .slide-title { 69 .slide-title {
76 color: black; 70 color: black;
77 font-size: 20px; 71 font-size: 20px;
78 line-height: 20px; 72 line-height: 20px;
79 margin: 30px 0; 73 margin: 30px 0;
80 } 74 }
81 75
82 .slide-text { 76 .slide-text {
83 color: #666; 77 color: var(--google-grey-600);
84 font-size: 15px; 78 font-size: 15px;
85 line-height: 20px; 79 line-height: 20px;
86 } 80 }
87 81
88 .slide-buttons { 82 .slide-buttons {
89 bottom: 20px; 83 bottom: 20px;
90 position: absolute; 84 position: absolute;
91 text-align: center; 85 text-align: center;
92 width: 100%; 86 width: 100%;
93 } 87 }
94 88
95 .slide-buttons [is='action-link'] { 89 .slide-buttons [is='action-link'] {
96 width: 100%; 90 width: 100%;
97 } 91 }
98 92
99 .slide-buttons button { 93 .slide-buttons button {
100 bottom: 0; 94 bottom: 0;
101 height: 35px; 95 height: 35px;
102 padding: 0 15px; 96 padding: 0 15px;
103 width: 138px; 97 width: 138px;
104 } 98 }
105 99
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 { 100 .arrow-down {
121 border-left: 15px solid transparent; 101 border-left: 15px solid transparent;
122 border-right: 15px solid transparent; 102 border-right: 15px solid transparent;
123 border-top: 15px solid white; 103 border-top: 15px solid white;
124 bottom: -15px; 104 bottom: -15px;
125 height: 0; 105 height: 0;
126 left: 120px;
127 position: absolute; 106 position: absolute;
107 right: 40px;
128 width: 0; 108 width: 0;
129 } 109 }
130 110
131 #slide-not-you .arrow-down { 111 :host-context([dir='rtl']) .arrow-down {
132 left: 100px; 112 left: 40px;
113 right: auto;
133 } 114 }
134 115
135 html[dir=rtl] #slide-not-you .arrow-down { 116 #guests .arrow-down {
136 right: 100px; 117 right: 110px;
137 } 118 }
138 119
139 #slide-guests .arrow-down { 120 :host-context([dir='rtl']) #guests .arrow-down {
140 left: 60px; 121 left: 110px;
141 } 122 right: auto;
142
143 html[dir=rtl] #slide-guests .arrow-down {
144 right: 60px;
145 } 123 }
146 124
147 .slide-image { 125 .slide-image {
148 height: 182px; 126 height: 182px;
149 } 127 }
150 128
151 #slide-your-chrome .slide-image { 129 #yourChrome .slide-image {
152 background-color: rgb(241, 202, 58); 130 background-color: rgb(241, 202, 58);
153 background-image: 131 background-image:
154 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_YOUR_CHROME); 132 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_YOUR_CHROME);
155 } 133 }
156 134
157 #slide-guests .slide-image { 135 #guests .slide-image {
158 background-color: rgb(90, 196, 144); 136 background-color: rgb(90, 196, 144);
159 background-image: url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_GUESTS); 137 background-image: url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_GUESTS);
160 } 138 }
161 139
162 #slide-friends .slide-image { 140 #friends .slide-image {
163 background-color: rgb(179, 229, 252); 141 background-color: var(--paper-light-blue-100);
164 background-image: 142 background-image:
165 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_FRIENDS); 143 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_FRIENDS);
166 } 144 }
167 145
168 #slide-complete .slide-image { 146 #complete .slide-image {
169 background-color: white; 147 background-color: white;
170 background-image: 148 background-image:
171 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_COMPLETE); 149 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_COMPLETE);
172 } 150 }
173 151
174 #slide-not-you #dismiss-bubble-button { 152 #notYou #dismiss {
175 background-image: url(chrome://theme/IDR_CLOSE_1); 153 margin: 0;
176 cursor: pointer; 154 min-width: 0;
177 height: 16px; 155 padding: 0;
178 position: absolute; 156 position: absolute;
179 right: 5px; 157 right: 5px;
180 top: 5px; 158 top: 5px;
181 width: 16px;
182 } 159 }
183 160
184 html[dir=rtl] #slide-not-you #dismiss-bubble-button { 161 #notYou #slide-add-user {
162 margin-top: 10px;
163 }
164
165 :host-context([dir='rtl']) #notYou #dismiss {
185 left: 5px; 166 left: 5px;
167 right: auto;
186 } 168 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698