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

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

Issue 152143009: Clarify settings UI in multi-profiles mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase... Created 6 years, 10 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 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 display: -webkit-box; 18 display: -webkit-box;
19 } 19 }
20 20
21 .controlled-setting-with-label > input:disabled + span label { 21 .controlled-setting-with-label > input:disabled + span label {
22 color: #999; 22 color: #999;
23 } 23 }
24 24
25 .controlled-setting-with-label label { 25 .controlled-setting-with-label label {
26 display: inline; 26 display: inline;
27 padding: 0; 27 padding: 0;
28 } 28 }
29 29
30 input:-webkit-any([type='text'],[type='url'],:not([type])) +
31 .controlled-setting-indicator {
32 -webkit-margin-start: 5px;
33 }
34
35 .controlled-setting-indicator:not([controlled-by]) { 30 .controlled-setting-indicator:not([controlled-by]) {
36 display: none; 31 display: none;
37 } 32 }
38 33
39 .controlled-setting-indicator[controlled-by='policy'] > div { 34 .controlled-setting-indicator[controlled-by='policy'] > div {
40 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); 35 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
41 } 36 }
42 37
43 .controlled-setting-indicator[controlled-by='owner'] > div { 38 .controlled-setting-indicator[controlled-by='owner'] > div {
44 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); 39 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_OWNER');
45 } 40 }
46 41
47 .controlled-setting-indicator[controlled-by='extension'] > div { 42 .controlled-setting-indicator[controlled-by='extension'] > div {
48 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_EXTENSION'); 43 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_EXTENSION');
49 } 44 }
50 45
46 .controlled-setting-indicator[controlled-by='shared'] > div {
47 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_SHARED');
48 }
49
51 .controlled-setting-indicator:-webkit-any([controlled-by='recommended'], 50 .controlled-setting-indicator:-webkit-any([controlled-by='recommended'],
52 [controlled-by='hasRecommendation']) > div { 51 [controlled-by='hasRecommendation']) > div {
53 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); 52 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
54 } 53 }
55 54
56 .controlled-setting-bubble-action { 55 .controlled-setting-bubble-action {
57 padding: 0 !important; 56 padding: 0 !important;
58 } 57 }
59 58
60 .controlled-setting-bubble-content-row { 59 .controlled-setting-bubble-content-row {
(...skipping 29 matching lines...) Expand all
90 .controlled-setting-bubble-extension-disable-button { 89 .controlled-setting-bubble-extension-disable-button {
91 bottom: 0; 90 bottom: 0;
92 position: absolute; 91 position: absolute;
93 right: 0; 92 right: 0;
94 } 93 }
95 94
96 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { 95 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button {
97 left: 0; 96 left: 0;
98 right: auto; 97 right: auto;
99 } 98 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/content_settings.css ('k') | chrome/browser/resources/options/controlled_setting.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698