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

Unified Diff: chrome/browser/resources/md_user_manager/user_manager_tutorial.css

Issue 1630903002: material design user manager with create profile flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dan's comments Created 4 years, 10 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 63%
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..64126fd20ee825346ad77d91e71f99ffdb494557 100644
--- a/chrome/browser/resources/user_manager/user_manager_tutorial.css
+++ b/chrome/browser/resources/md_user_manager/user_manager_tutorial.css
@@ -1,4 +1,4 @@
-/* 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.
*/
@@ -23,50 +23,43 @@
margin-left: 30px;
}
-html[dir=rtl] .tutorial-slide.single-pod {
+:host-context([dir='rtl']) .tutorial-slide.single-pod {
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;
@@ -103,84 +96,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 {
+#friends .slide-image {
background-color: rgb(179, 229, 252);
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-bubble-button {
+ 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-bubble-button {
left: 5px;
+ right: auto;
}

Powered by Google App Engine
This is Rietveld 408576698