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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_user_manager/user_manager_tutorial.css
diff --git a/chrome/browser/resources/user_manager/user_manager_tutorial.css b/chrome/browser/resources/md_user_manager/user_manager_tutorial.css
similarity index 59%
copy from chrome/browser/resources/user_manager/user_manager_tutorial.css
copy to chrome/browser/resources/md_user_manager/user_manager_tutorial.css
index eb0e9ced6244330ee31fed9346b305ef2dfb3dcc..5ec5caf06785fea8ccf4894eadf829202109ed2e 100644
--- a/chrome/browser/resources/user_manager/user_manager_tutorial.css
+++ b/chrome/browser/resources/md_user_manager/user_manager_tutorial.css
@@ -1,7 +1,6 @@
-/* Copyright 2014 The Chromium Authors. All rights reserved.
+/* Copyright 2016 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
+ * found in the LICENSE file. */
.tutorial-slide {
-webkit-transition: opacity 200ms ease-in-out;
@@ -19,54 +18,49 @@
z-index: 100;
}
-.tutorial-slide.single-pod {
+:host.single-pod #yourChrome,
+:host.single-pod #complete {
margin-left: 30px;
Dan Beam 2016/03/25 02:39:14 -webkit-margin-start: 30px; instead?
Moe 2016/03/29 18:54:39 Done.
}
-html[dir=rtl] .tutorial-slide.single-pod {
+:host-context([dir='rtl']) :host.single-pod #yourChrome,
+:host-context([dir='rtl']) :host.single-pod #complete {
margin-right: 30px;
}
-.hidden {
- opacity: 0;
- pointer-events: none;
-}
-
-#slide-guests {
+#guests {
bottom: 20px;
- left: 20px;
+ left: auto;
margin: 0;
+ right: 100px;
top: auto;
}
-html[dir=rtl] #slide-guests {
- right: 20px;
+:host-context([dir='rtl']) #guests {
+ left: 100px;
+ right: auto;
}
-#slide-friends,
-#slide-not-you {
+#friends,
+#notYou {
bottom: 20px;
- left: 60px;
+ left: auto;
margin: 0;
+ right: 20px;
top: auto;
}
-html[dir=rtl] #slide-friends,
-html[dir=rtl] #slide-not-you {
- right: 60px;
+:host-context([dir='rtl']) #friends,
+:host-context([dir='rtl']) #notYou {
+ left: 20px;
+ right: auto;
}
-#slide-not-you {
+#notYou {
height: 100px;
- left: 100px;
- margin: 0;
width: 240px;
}
-html[dir=rtl] #slide-not-you {
- right: 100px;
-}
-
.slide-contents {
padding: 0 20px;
text-align: center;
@@ -80,7 +74,7 @@ html[dir=rtl] #slide-not-you {
}
.slide-text {
- color: #666;
+ color: var(--google-grey-600);
font-size: 15px;
line-height: 20px;
}
@@ -103,84 +97,72 @@ html[dir=rtl] #slide-not-you {
width: 138px;
}
-.slide-buttons button.left {
- left: 16px;
- position: absolute;
-}
-
-html[dir=rtl] .slide-buttons button.left {
- right: 16px;
-}
-
-.slide-buttons button.right {
- bottom: 0;
- position: absolute;
-}
-
.arrow-down {
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-top: 15px solid white;
bottom: -15px;
height: 0;
- left: 120px;
position: absolute;
+ right: 40px;
width: 0;
}
-#slide-not-you .arrow-down {
- left: 100px;
-}
-
-html[dir=rtl] #slide-not-you .arrow-down {
- right: 100px;
+:host-context([dir='rtl']) .arrow-down {
+ left: 40px;
+ right: auto;
}
-#slide-guests .arrow-down {
- left: 60px;
+#guests .arrow-down {
+ right: 110px;
}
-html[dir=rtl] #slide-guests .arrow-down {
- right: 60px;
+:host-context([dir='rtl']) #guests .arrow-down {
+ left: 110px;
+ right: auto;
}
.slide-image {
height: 182px;
}
-#slide-your-chrome .slide-image {
+#yourChrome .slide-image {
background-color: rgb(241, 202, 58);
background-image:
url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_YOUR_CHROME);
}
-#slide-guests .slide-image {
+#guests .slide-image {
background-color: rgb(90, 196, 144);
background-image: url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_GUESTS);
}
-#slide-friends .slide-image {
- background-color: rgb(179, 229, 252);
+#friends .slide-image {
+ background-color: var(--paper-light-blue-100);
background-image:
url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_FRIENDS);
}
-#slide-complete .slide-image {
+#complete .slide-image {
background-color: white;
background-image:
url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_COMPLETE);
}
-#slide-not-you #dismiss-bubble-button {
- background-image: url(chrome://theme/IDR_CLOSE_1);
- cursor: pointer;
- height: 16px;
+#notYou #dismiss {
+ margin: 0;
+ min-width: 0;
+ padding: 0;
position: absolute;
right: 5px;
top: 5px;
- width: 16px;
}
-html[dir=rtl] #slide-not-you #dismiss-bubble-button {
+#notYou #slide-add-user {
+ margin-top: 10px;
+}
+
+:host-context([dir='rtl']) #notYou #dismiss {
left: 5px;
+ right: auto;
}

Powered by Google App Engine
This is Rietveld 408576698