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

Side by Side Diff: chrome/browser/resources/options/options_page.css

Issue 7926010: Fix X button size of subpage for touch ui (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Use pp_ifdef in main CSS file instead of creat a separate CSS file for touch UI 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 .hbox { 1 .hbox {
2 display: -webkit-box; 2 display: -webkit-box;
3 -webkit-box-orient: horizontal; 3 -webkit-box-orient: horizontal;
4 } 4 }
5 5
6 .vbox { 6 .vbox {
7 display: -webkit-box; 7 display: -webkit-box;
8 -webkit-box-orient: vertical; 8 -webkit-box-orient: vertical;
9 } 9 }
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 padding: 1px 6px; 53 padding: 1px 6px;
54 } 54 }
55 55
56 .close-subpage { 56 .close-subpage {
57 background-image: url('chrome://theme/IDR_CLOSE_BAR'); 57 background-image: url('chrome://theme/IDR_CLOSE_BAR');
58 height: 16px; 58 height: 16px;
59 min-width: 0; 59 min-width: 0;
60 position: relative; 60 position: relative;
61 top: 16px; 61 top: 16px;
62 width: 16px; 62 width: 16px;
63 <if expr="pp_ifdef('touchui')"> /* In TOUCH_UI builds, the IDR_CLOSE_BAR resou rce is double-size. */
Rick Byers 2011/09/20 13:18:50 Cool, I didn't realize that grit processed <if>s i
64 height: 32px;
65 width: 32px;
66 </if>
arv (Not doing code reviews) 2011/09/19 22:22:14 Can you use else?
Rick Byers 2011/09/20 13:18:50 I don't think Grit has any support for <else>, doe
63 } 67 }
64 68
65 .close-subpage:hover { 69 .close-subpage:hover {
66 background-image: url('chrome://theme/IDR_CLOSE_BAR_H'); 70 background-image: url('chrome://theme/IDR_CLOSE_BAR_H');
67 } 71 }
68 72
69 .close-subpage:active { 73 .close-subpage:active {
70 background-image: url('chrome://theme/IDR_CLOSE_BAR_P'); 74 background-image: url('chrome://theme/IDR_CLOSE_BAR_P');
71 } 75 }
72 76
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 display: table-cell; 584 display: table-cell;
581 vertical-align: baseline; 585 vertical-align: baseline;
582 border-bottom: 1px solid #eeeeee; 586 border-bottom: 1px solid #eeeeee;
583 } 587 }
584 588
585 /* do not display a border after the last section in the table */ 589 /* do not display a border after the last section in the table */
586 .displaytable:not([searching='true']) > section:last-child > * { 590 .displaytable:not([searching='true']) > section:last-child > * {
587 border-bottom: none; 591 border-bottom: none;
588 } 592 }
589 593
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698