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

Side by Side Diff: chrome/browser/resources/new_new_tab.css

Issue 3767009: UI changes to support syncing foreign sessions. Changes were largely made to ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebased + comments Created 10 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/resources/new_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 html { 1 html {
2 /* This is needed because of chrome://theme/css/new_tab.css */ 2 /* This is needed because of chrome://theme/css/new_tab.css */
3 height: 100%; 3 height: 100%;
4 } 4 }
5 5
6 body { 6 body {
7 margin: 0; 7 margin: 0;
8 height: 100%; 8 height: 100%;
9 overflow: auto; 9 overflow: auto;
10 -webkit-user-select: none; 10 -webkit-user-select: none;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 to(rgb(228, 229, 240))); 196 to(rgb(228, 229, 240)));
197 width: auto; 197 width: auto;
198 max-width: 300px; 198 max-width: 300px;
199 } 199 }
200 200
201 .hbox { 201 .hbox {
202 display: -webkit-box; 202 display: -webkit-box;
203 -webkit-box-orient: horizontal; 203 -webkit-box-orient: horizontal;
204 } 204 }
205 205
206 .foreign-session-client {
207 float: left;
208 max-width: 114px; /* Selected so that we can fit 5 items in EN-US */
209 font-weight: normal;
210 margin: 0;
211 position: relative;
212 }
213
214 html[dir=rtl] .foreign-session-client {
215 float: right;
216 }
217
218 .foreign-session-client > p {
219 display: block;
220 white-space: nowrap;
221 overflow: hidden;
222 text-overflow: ellipsis;
223 font-size: 100%;
224 margin: 0 10px;
225 }
226
227 #foreign-sessions .nav {
228 max-width: none !important;
229 }
230
231 .nav > a {
232 /* no icon */
233 padding: 0;
234 }
235
236 .nav > a:after {
237 content: '\u00bb'; /* raque gets flipped automatically in rtl */
238 font-size: 115%;
239 -webkit-padding-start: 2px;
240 }
241
206 #sync-status > div { 242 #sync-status > div {
207 border-radius: 6px; 243 border-radius: 6px;
208 padding: 5px 0; 244 padding: 5px 0;
209 margin: 10px 0 20px; 245 margin: 10px 0 20px;
210 white-space: nowrap; 246 white-space: nowrap;
211 overflow-x: hidden; 247 overflow-x: hidden;
212 } 248 }
213 249
214 #sync-status > div > * { 250 #sync-status > div > * {
215 display: inline-block; 251 display: inline-block;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 } 514 }
479 } 515 }
480 516
481 /* Ensure we have at least 10px horizontal marging. */ 517 /* Ensure we have at least 10px horizontal marging. */
482 @media (max-width: 712px) { 518 @media (max-width: 712px) {
483 #main { 519 #main {
484 margin-left: 10px; 520 margin-left: 10px;
485 margin-right: 10px; 521 margin-right: 10px;
486 } 522 }
487 } 523 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/new_new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698