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

Unified Diff: chrome/browser/resources/uber/uber_shared.css

Issue 9584038: [uber] fix up header (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/uber/uber_shared.css
diff --git a/chrome/browser/resources/uber/uber_shared.css b/chrome/browser/resources/uber/uber_shared.css
index e25110059c1cd7b0d262282aadf17ee9aa150791..290ff5f102096e88f5475c7e95916a0e6a64b7c6 100644
--- a/chrome/browser/resources/uber/uber_shared.css
+++ b/chrome/browser/resources/uber/uber_shared.css
@@ -18,30 +18,68 @@ body.uber-frame #extension-settings.page,
body.uber-frame #mainview-content .page,
body.uber-frame .subpage-sheet-container .page,
body.uber-frame > .page {
+ -webkit-margin-end: 24px;
+ min-width: 576px;
padding-top: 55px;
}
body.uber-frame header {
background: white;
left: 155px;
- min-width: 700px;
+ min-width: 600px;
/* <section>s in options currently amount to 638px total, broken up into
* 600px max-width + 18px -webkit-padding-start + 20px -webkit-margin-end
* so we mirror this value here so the headers match width and horizontal
* alignment when scrolling sideways. */
max-width: 738px;
position: fixed;
- right: 155px;
+ right: 0;
top: 0;
z-index: 2;
}
+html[dir='rtl'] body.uber-frame header {
+ left: 0;
+ right: 155px;
+}
+
+body.uber-frame header > .search-field-container,
+body.uber-frame header > .header-extras,
+body.uber-frame header > button {
+ position: absolute;
+ right: 20px;
+ top: 21px;
+}
+
+body.uber-frame html[dir='rtl'] header > .search-field-container,
+body.uber-frame html[dir='rtl'] header > .header-extras,
+body.uber-frame html[dir='rtl'] header > button {
+ left: 20px;
+ right: auto;
+}
+
+body.uber-frame header input,
+body.uber-frame header button {
+ margin: 0;
+}
+
body.uber-frame header > h1 {
- border-bottom: 1px solid #eee;
margin: 0;
padding: 21px 0 13px;
}
+/* Create a border under the h1 (but before anything that gets appended
+ * to the end of the header, such as the managed prefs banner). */
+body.uber-frame header > h1::after {
Dan Beam 2012/03/05 22:56:36 didn't know :: meant "pseudo-element", that's cool
+ -webkit-margin-end: 20px;
+ content: ' ';
+ display: block;
+ height: 1px;
+ background-color: #eee;
+ position: relative;
+ top: 13px;
+}
+
body.uber-frame footer {
border-top: 1px solid #eee;
margin-top: 16px;

Powered by Google App Engine
This is Rietveld 408576698