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

Unified Diff: chrome/browser/resources/chromeos/login/header_bar.css

Issue 811033002: Add device policy to disallow shutdown - ash UI modifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shutdown_allowed => reboot_on_shutdown Created 6 years 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/chromeos/login/header_bar.css
diff --git a/chrome/browser/resources/chromeos/login/header_bar.css b/chrome/browser/resources/chromeos/login/header_bar.css
index 05bdefada52be8e1a98affa04457c130edf2752e..7676f0202a9155f260a2be992ab069baad3bb769 100644
--- a/chrome/browser/resources/chromeos/login/header_bar.css
+++ b/chrome/browser/resources/chromeos/login/header_bar.css
@@ -4,6 +4,7 @@
*/
#login-header-bar {
+ -webkit-padding-start: 15px;
border-bottom: 3px solid black;
bottom: 0;
left: 0;
@@ -36,10 +37,6 @@ html[screen=oobe] .login-header-bar-animate-slow {
-webkit-transition: opacity 2s ease-out;
}
-.header-bar-item:first-child {
- -webkit-padding-start: 15px;
-}
-
#login-header-bar button,
#login-header-bar button:active,
#login-header-bar button:focus,
@@ -73,6 +70,7 @@ html[dir=rtl] .header-bar-item {
}
#login-header-bar #shutdown-button,
+#login-header-bar #restart-button,
#login-header-bar #add-user-button,
#login-header-bar #guest-user-button,
#login-header-bar #cancel-multiple-sign-in-button {
@@ -83,6 +81,7 @@ html[dir=rtl] .header-bar-item {
}
html[dir=rtl] #login-header-bar #shutdown-button,
+html[dir=rtl] #login-header-bar #restart-button,
html[dir=rtl] #login-header-bar #add-user-button,
html[dir=rtl] #login-header-bar #guest-user-button,
html[dir=rtl] #login-header-bar #cancel-multiple-sign-in-button {
@@ -93,6 +92,10 @@ html[dir=rtl] #login-header-bar #cancel-multiple-sign-in-button {
background-image: url(chrome://theme/IDR_ICON_POWER_WHITE);
}
+#login-header-bar #restart-button {
+ background-image: url(chrome://theme/IDR_ICON_POWER_WHITE);
+}
+
#login-header-bar #add-user-button {
background-image: url(chrome://theme/IDR_ICON_ADD_USER_WHITE);
}

Powered by Google App Engine
This is Rietveld 408576698