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

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

Issue 6350005: DOMUI: Polish the navbar-container. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CSS fixups. Created 9 years, 11 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/options/options.js ('k') | 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 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 cursor: pointer;
10 font-size: 200%; 11 font-size: 200%;
11 font-weight: normal; 12 font-weight: normal;
12 margin: 0; 13 margin: 0;
13 padding-bottom: 14px; 14 padding-bottom: 14px;
14 padding-top: 13px; 15 padding-top: 13px;
15 text-align: end; 16 text-align: end;
16 } 17 }
17 18
18 #main-content { 19 #main-content {
19 display: -webkit-box; 20 display: -webkit-box;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 115
115 #navbar { 116 #navbar {
116 margin: 0; 117 margin: 0;
117 } 118 }
118 119
119 #navbar-container { 120 #navbar-container {
120 -webkit-border-end: 1px solid #c6c9ce; 121 -webkit-border-end: 1px solid #c6c9ce;
121 background: -webkit-linear-gradient(rgba(234, 238, 243, 0), #eaeef3), 122 background: -webkit-linear-gradient(rgba(234, 238, 243, 0), #eaeef3),
122 -webkit-linear-gradient(left, #eaeef3, #eaeef3 97%, #d3d7db); 123 -webkit-linear-gradient(left, #eaeef3, #eaeef3 97%, #d3d7db);
123 bottom: 0; 124 bottom: 0;
124 cursor: pointer;
125 display: none; 125 display: none;
126 left: 0; 126 left: 0;
127 position: fixed; 127 position: fixed;
128 top: 0; 128 top: 0;
129 width: 266px; 129 width: 266px;
130 z-index: 2; 130 z-index: 2;
131 } 131 }
132 132
133 html[dir='rtl'] #navbar-container { 133 html[dir='rtl'] #navbar-container {
134 background: -webkit-linear-gradient(rgba(255, 255, 255, 0)), 134 background: -webkit-linear-gradient(rgba(234, 238, 243, 0), #EAEEF3),
135 rgba(255, 255, 255, 0) 70%, 135 -webkit-linear-gradient(right, #EAEEF3, #EAEEF3 97%, #D3D7DB);
136 white),
137 -webkit-linear-gradient(right, white, white 80%, #f3f3f3);
138 left: auto; 136 left: auto;
139 right: 0; 137 right: 0;
140 } 138 }
141 139
142 html[hide-menu=false] #navbar-container { 140 html[hide-menu=false] #navbar-container {
143 display: block; 141 display: block;
144 } 142 }
145 143
146 #navbar-container > hr {
147 -webkit-margin-start: 35%;
148 background-color: #dbdbdb;
149 border: 0;
150 height: 1px;
151 width: 65%;
152 }
153
154 #navbar-container > ul { 144 #navbar-container > ul {
155 list-style-type: none; 145 list-style-type: none;
156 margin: 0; 146 margin: 0;
157 padding: 0; 147 padding: 0;
158 } 148 }
159 149
160 .navbar-item, .navbar-item2 { 150 .navbar-item, .navbar-item2 {
151 border-bottom: 1px solid transparent;
152 border-top: 1px solid transparent;
161 color: #426dc9; 153 color: #426dc9;
154 cursor: pointer;
162 display: block; 155 display: block;
163 font-size: 105%; 156 font-size: 105%;
164 outline: none; 157 outline: none;
165 padding: 7px 0; 158 padding: 7px 0;
166 text-align: end; 159 text-align: end;
167 -webkit-padding-end: 24px; 160 -webkit-padding-end: 24px;
168 } 161 }
169 162
170 .navbar-item-selected { 163 .navbar-item-selected {
171 background: #bbcee9; 164 background: -webkit-linear-gradient(left, #bbcee9, #bbcee9 97%, #96b1cd);
172 border-bottom: 1px solid #8faad9; 165 border-bottom: 1px solid #8faad9;
173 border-top: 1px solid #8faad9; 166 border-top: 1px solid #8faad9;
174 color: black; 167 color: black;
175 font-weight: bold;
176 }
177
178 .navbar-item-normal {
179 background-color: #dfdfdf;
180 } 168 }
181 169
182 #mainview { 170 #mainview {
183 -webkit-box-align: stretch; 171 -webkit-box-align: stretch;
184 -webkit-padding-start: 267px; 172 -webkit-padding-start: 267px;
185 margin: 0; 173 margin: 0;
186 position: absolute; 174 position: absolute;
187 left: 0; 175 left: 0;
188 right: 0; 176 right: 0;
189 top: 0; 177 top: 0;
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 } 532 }
545 533
546 .suboption { 534 .suboption {
547 -webkit-margin-start: 16px; 535 -webkit-margin-start: 16px;
548 } 536 }
549 537
550 html[os=mac] label > input[type=checkbox], 538 html[os=mac] label > input[type=checkbox],
551 html[os=mac] label > input[type=radio] { 539 html[os=mac] label > input[type=radio] {
552 margin-top: 2px; 540 margin-top: 2px;
553 } 541 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698