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

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

Issue 10827283: This updates the StaticIP configuration UI to match new mocks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 8 years, 4 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
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 body { 5 body {
6 position: relative; 6 position: relative;
7 } 7 }
8 8
9 #main-content { 9 #main-content {
10 bottom: 0; 10 bottom: 0;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 133 }
134 134
135 .settings-list-empty { 135 .settings-list-empty {
136 background-color: #f4f4f4; 136 background-color: #f4f4f4;
137 box-sizing: border-box; 137 box-sizing: border-box;
138 min-height: 125px; 138 min-height: 125px;
139 padding-left: 20px; 139 padding-left: 20px;
140 padding-top: 20px; 140 padding-top: 20px;
141 } 141 }
142 142
143
144 /* Editable text field properties */
145 .editable-text-field > * {
146 -webkit-box-align: center;
147 -webkit-transition: 150ms background-color;
148 border: none;
149 box-sizing: border-box;
150 display: -webkit-box;
151 height: 20px;
152 margin: 0;
153 }
154
155 .editable-text-field > .spacer {
156 /* The above height rule should not apply to spacers. */
157 height: 0;
158 }
159
160 .editable-text-field .editable-text {
161 padding: 2px 3px;
162 }
163
164 .editable-text-field .static-text {
165 height: 24px;
166 overflow: hidden;
167 padding: 3px 4px;
168 text-overflow: ellipsis;
169 white-space: nowrap;
170 }
171
172 .editable-text-field:not([editable]) > [displaymode='edit'] {
173 display: none;
174 }
175
176 .editable-text-field[editable] > [displaymode='static'] {
177 display: none;
178 }
179
180 .editable-text-field[empty] > input[type='text'] {
181 color: #ccc;
182 font-style: italic;
183 }
184
185 .editable-text-field[disabled] {
186 opacity: 0.6;
187 }
188
189 /* Editable List properties */
143 list > * { 190 list > * {
144 -webkit-box-align: center; 191 -webkit-box-align: center;
145 -webkit-transition: 150ms background-color; 192 -webkit-transition: 150ms background-color;
146 border: none; 193 border: none;
147 border-radius: 0; /* TODO(dbeam): Is this necessary? */ 194 border-radius: 0; /* TODO(dbeam): Is this necessary? */
148 box-sizing: border-box; 195 box-sizing: border-box;
149 display: -webkit-box; 196 display: -webkit-box;
150 height: 32px; 197 height: 32px;
151 margin: 0; 198 margin: 0;
152 } 199 }
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 url('../../../../ui/resources/default_200_percent/close_bar_pressed.png') 316 url('../../../../ui/resources/default_200_percent/close_bar_pressed.png')
270 2x); 317 2x);
271 } 318 }
272 319
273 list .static-text { 320 list .static-text {
274 overflow: hidden; 321 overflow: hidden;
275 text-overflow: ellipsis; 322 text-overflow: ellipsis;
276 white-space: nowrap; 323 white-space: nowrap;
277 } 324 }
278 325
279 list[inlineeditable] input { 326 list[type='text'][inlineeditable] input {
280 box-sizing: border-box; 327 box-sizing: border-box;
281 margin: 0; 328 margin: 0;
282 width: 100%; 329 width: 100%;
283 } 330 }
284 331
285 list > :not([editing]) [displaymode='edit'] { 332 list > :not([editing]) [displaymode='edit'] {
286 display: none; 333 display: none;
287 } 334 }
288 335
289 list > [editing] [displaymode='static'] { 336 list > [editing] [displaymode='static'] {
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 background-size: 22px; 575 background-size: 22px;
529 } 576 }
530 577
531 html[dir='rtl'] .controlled-setting-bubble-text { 578 html[dir='rtl'] .controlled-setting-bubble-text {
532 background-position: right top; 579 background-position: right top;
533 } 580 }
534 581
535 .controlled-setting-bubble-action { 582 .controlled-setting-bubble-action {
536 padding: 0 !important; 583 padding: 0 !important;
537 } 584 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698