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

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

Issue 536703002: Get rid of some <label for> misuse in browser_options.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix related css Created 6 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
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 2013 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 /* Controlled setting indicator and bubble. */ 5 /* Controlled setting indicator and bubble. */
6 6
7 .controlled-setting-with-label { 7 .controlled-setting-with-label {
8 -webkit-box-align: center; 8 -webkit-box-align: center;
9 display: -webkit-box; 9 display: -webkit-box;
10 padding-bottom: 7px; 10 padding-bottom: 7px;
11 padding-top: 7px; 11 padding-top: 7px;
12 } 12 }
13 13
14 .controlled-setting-with-label input + span { 14 .controlled-setting-with-label input + span {
15 -webkit-box-align: center; 15 -webkit-box-align: center;
16 -webkit-box-flex: 1; 16 -webkit-box-flex: 1;
17 -webkit-margin-start: 0.6em; 17 -webkit-margin-start: 0.6em;
18 -webkit-user-select: none;
Evan Stade 2014/09/03 00:41:34 I added this in a recent cl, but it should be move
19 display: -webkit-box; 18 display: -webkit-box;
20 } 19 }
21 20
22 .controlled-setting-with-label input:disabled + span label { 21 .controlled-setting-with-label input:disabled + span label {
23 color: #999; 22 color: #999;
24 } 23 }
25 24
26 .controlled-setting-with-label label { 25 .controlled-setting-with-label label {
27 display: inline; 26 display: inline;
28 padding: 0; 27 padding: 0;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 .controlled-setting-bubble-extension-disable-button { 94 .controlled-setting-bubble-extension-disable-button {
96 bottom: 0; 95 bottom: 0;
97 position: absolute; 96 position: absolute;
98 right: 0; 97 right: 0;
99 } 98 }
100 99
101 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { 100 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button {
102 left: 0; 101 left: 0;
103 right: auto; 102 right: auto;
104 } 103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698