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

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

Issue 7980012: [ChromeOS] Reland - Make WebUI login use only needed resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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/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
new file mode 100644
index 0000000000000000000000000000000000000000..bdcb27201460cd3dd7269b344050e07bd94e1588
--- /dev/null
+++ b/chrome/browser/resources/chromeos/login/header_bar.css
@@ -0,0 +1,53 @@
+/* Copyright (c) 2011 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.
+ */
+
+#login-header-bar {
+ padding: 5px 8px;
+}
+
+#login-header-bar button,
+#login-header-bar button:active,
+#login-header-bar button:focus,
+#login-header-bar button:hover {
+ -webkit-box-shadow: none;
+ background: transparent none;
+ border: 0;
+ color: #666;
+ cursor: pointer;
+ height: 24px;
+ margin: 0;
+ min-width: 0;
+ padding: 0;
+ vertical-align: middle;
+}
+
+.header-bar-item {
+ -webkit-padding-start: 15px;
+ background-image: url('chrome://theme/IDR_DIVIDER_VERT');
+ background-position: left center;
+ background-repeat: no-repeat;
+ display: inline-block;
+ height: 24px;
+}
+
+#login-header-bar #shutdown-button {
+ -webkit-padding-start: 24px;
+ background-image: url('chrome://theme/IDR_ICON_POWER20');
+ background-position: left center;
+ background-repeat: no-repeat;
+}
+
+#login-header-bar #add-user-button {
+ -webkit-padding-start: 24px;
+ background-image: url('chrome://theme/IDR_ICON_ADD_USER20');
+ background-position: left center;
+ background-repeat: no-repeat;
+}
+
+html[dir=rtl] .header-bar-item,
+html[dir=rtl] #login-header-bar #shutdown-button,
+html[dir=rtl] #login-header-bar #add-user-button {
+ background-position: right center;
+}
« no previous file with comments | « chrome/browser/resources/chromeos/login/display_manager.js ('k') | chrome/browser/resources/chromeos/login/header_bar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698