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

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

Issue 2897015: Clean up browser_resources.grd:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 5 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 | « chrome/browser/resources/minus.png ('k') | chrome/browser/resources/ntp/checkbox_black.png » ('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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 padding-right: 18px; 149 padding-right: 18px;
150 padding-left: 2px; 150 padding-left: 2px;
151 text-align: right; 151 text-align: right;
152 } 152 }
153 153
154 .window { 154 .window {
155 overflow: visible; /* We use visible so that the menu can be a child and shown 155 overflow: visible; /* We use visible so that the menu can be a child and shown
156 on :hover. To get this to work we have to set visibility 156 on :hover. To get this to work we have to set visibility
157 to visible which unfortunately breaks the ellipsis for t 157 to visible which unfortunately breaks the ellipsis for t
158 he window items */ 158 he window items */
159 background-image: url(chrome://theme/IDR_NEWTAB_CLOSED_WINDOW); 159 background-image: url('ntp/closed_window.png');
160 } 160 }
161 161
162 .window-menu { 162 .window-menu {
163 position: absolute; 163 position: absolute;
164 display: none; 164 display: none;
165 border: 1px solid #999; 165 border: 1px solid #999;
166 -webkit-box-shadow: 2px 2px 3px hsla(0, 0%, 0%, .3); 166 -webkit-box-shadow: 2px 2px 3px hsla(0, 0%, 0%, .3);
167 color: black; 167 color: black;
168 background-color: white; 168 background-color: white;
169 left: 0; 169 left: 0;
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 background-repeat: no-repeat; 333 background-repeat: no-repeat;
334 width: 14px; 334 width: 14px;
335 } 335 }
336 336
337 html[dir=rtl] #option-menu > [command=show]:before, 337 html[dir=rtl] #option-menu > [command=show]:before,
338 html[dir=rtl] #option-menu > [command=hide]:before { 338 html[dir=rtl] #option-menu > [command=hide]:before {
339 background-position-x: 100%; 339 background-position-x: 100%;
340 } 340 }
341 341
342 #option-menu > [command=hide]:before { 342 #option-menu > [command=hide]:before {
343 background-image: url(chrome://theme/IDR_NEWTAB_CHECKBOX_BLACK); 343 background-image: url('ntp/checkbox_black.png');
344 } 344 }
345 345
346 #option-menu > [selected][command=hide]:active:before { 346 #option-menu > [selected][command=hide]:active:before {
347 background-image: url(chrome://theme/IDR_NEWTAB_CHECKBOX_WHITE); 347 background-image: url('ntp/checkbox_white.png');
348 } 348 }
349 349
350 #attribution { 350 #attribution {
351 margin: 10px 0; 351 margin: 10px 0;
352 } 352 }
353 353
354 .sync-button { 354 .sync-button {
355 font-size: inherit; 355 font-size: inherit;
356 padding: 0; 356 padding: 0;
357 margin: 0; 357 margin: 0;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 #footer hr { 489 #footer hr {
490 border: 0; 490 border: 0;
491 display: inline; 491 display: inline;
492 margin: 0; 492 margin: 0;
493 padding: 0; 493 padding: 0;
494 } 494 }
495 495
496 #footer hr:after { 496 #footer hr:after {
497 content: "|"; 497 content: "|";
498 } 498 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/minus.png ('k') | chrome/browser/resources/ntp/checkbox_black.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698