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

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

Issue 5518006: DOMUI Prefs: Add a close button to sub-pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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
OLDNEW
1 body { 1 body {
2 -webkit-user-select: none; 2 -webkit-user-select: none;
3 cursor: default; 3 cursor: default;
4 font-size: 100%; 4 font-size: 100%;
5 } 5 }
6 6
7 #settings-title { 7 #settings-title {
8 -webkit-padding-end: 24px; 8 -webkit-padding-end: 24px;
9 color: #53637d; 9 color: #53637d;
10 font-size: 200%; 10 font-size: 200%;
(...skipping 20 matching lines...) Expand all
31 background: rgba(0, 0, 0, .2); 31 background: rgba(0, 0, 0, .2);
32 top: 0; 32 top: 0;
33 bottom: 0; 33 bottom: 0;
34 z-index: 10; 34 z-index: 10;
35 padding: 20px; 35 padding: 20px;
36 display: -webkit-box; 36 display: -webkit-box;
37 -webkit-box-align: center; 37 -webkit-box-align: center;
38 -webkit-box-pack: center; 38 -webkit-box-pack: center;
39 } 39 }
40 40
41 #close-overlay { 41 .close-subpage {
42 /* TODO(stuartmorgan): Replace with real images once they are available. */
43 background-image: url("../../../app/theme/close_bar.png");
42 position: relative; 44 position: relative;
43 top: -20px; 45 top: 12px;
44 width: 20px; 46 height: 16px;
45 height: 20px; 47 width: 16px;
46 } 48 }
47 49
48 html[dir='ltr'] #close-overlay { 50 .close-subpage:hover {
49 float: right; 51 background-image: url("../../../app/theme/close_bar_h.png");
50 right: -20px;
51 } 52 }
52 53
53 html[dir='rtl'] #close-overlay { 54 .close-subpage:active {
55 background-image: url("../../../app/theme/close_bar_p.png");
56 }
57
58 html[dir='ltr'] .close-subpage {
59 float: right;
60 right: 0;
61 }
62
63 html[dir='rtl'] .close-subpage {
54 float: left; 64 float: left;
55 left: -20px; 65 left: 0;
56 } 66 }
57 67
58 .action-area { 68 .action-area {
59 -webkit-box-orient: horizontal; 69 -webkit-box-orient: horizontal;
60 -webkit-box-align: center; 70 -webkit-box-align: center;
61 padding: 12px; 71 padding: 12px;
62 position: absolute; 72 position: absolute;
63 right: 0px; 73 right: 0px;
64 bottom: 0px; 74 bottom: 0px;
65 display: -webkit-box; 75 display: -webkit-box;
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 label.radio > span, 466 label.radio > span,
457 .suboption { 467 .suboption {
458 -webkit-margin-start: 16px; 468 -webkit-margin-start: 16px;
459 display: block; 469 display: block;
460 } 470 }
461 471
462 html[os=mac] label.checkbox > input, 472 html[os=mac] label.checkbox > input,
463 html[os=mac] label.radio > input { 473 html[os=mac] label.radio > input {
464 margin-top: 2px; 474 margin-top: 2px;
465 } 475 }
OLDNEW
« chrome/browser/resources/options.html ('K') | « chrome/browser/resources/options.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698