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

Side by Side Diff: chrome/browser/resources/ntp4/new_tab.css

Issue 1312163007: Update the alignment of the chrome://apps theme attribution when theme is installed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@theme_handler_crash
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 html { 5 html {
6 /* It's necessary to put this here instead of in body in order to get the 6 /* It's necessary to put this here instead of in body in order to get the
7 background-size of 100% to work properly */ 7 background-size of 100% to work properly */
8 height: 100%; 8 height: 100%;
9 overflow: hidden; 9 overflow: hidden;
10 } 10 }
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 } 121 }
122 122
123 #page-list { 123 #page-list {
124 /* fill the apps-frame */ 124 /* fill the apps-frame */
125 display: -webkit-box; 125 display: -webkit-box;
126 height: 100%; 126 height: 100%;
127 } 127 }
128 128
129 #attribution { 129 #attribution {
130 bottom: 0; 130 bottom: 0;
131 left: auto;
132 margin-left: 8px; 131 margin-left: 8px;
133 /* Leave room for the scrollbar. */ 132 /* Leave room for the scrollbar. */
134 margin-right: 13px; 133 margin-right: 13px;
135 position: absolute; 134 position: absolute;
136 right: 0;
137 text-align: left;
138 z-index: -5; 135 z-index: -5;
139 } 136 }
140 137
141 /* For themes that right-align their images, we flip the attribution to the
142 * left to avoid conflicts. */
143 html[themegravity='right'] #attribution,
144 html[dir='rtl'] #attribution { 138 html[dir='rtl'] #attribution {
145 left: 0; 139 left: 0;
146 right: auto; 140 right: auto;
147 text-align: right; 141 text-align: right;
148 } 142 }
149 143
150 #attribution > span { 144 #attribution > span {
151 display: block; 145 display: block;
152 } 146 }
153 147
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 padding: 0; 413 padding: 0;
420 } 414 }
421 415
422 .other-sessions-promo-message:only-child { 416 .other-sessions-promo-message:only-child {
423 display: block; 417 display: block;
424 } 418 }
425 419
426 .other-sessions-promo-message p { 420 .other-sessions-promo-message p {
427 margin: 0; 421 margin: 0;
428 } 422 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698