OLD | NEW |
---|---|
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; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
46 | 46 |
47 .controlled-setting-indicator[controlled-by='extension'] > div { | 47 .controlled-setting-indicator[controlled-by='extension'] > div { |
48 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_EXTENSION'); | 48 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_EXTENSION'); |
49 } | 49 } |
50 | 50 |
51 .controlled-setting-indicator:-webkit-any([controlled-by='recommended'], | 51 .controlled-setting-indicator:-webkit-any([controlled-by='recommended'], |
52 [controlled-by='hasRecommendation']) > div { | 52 [controlled-by='hasRecommendation']) > div { |
53 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); | 53 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); |
54 } | 54 } |
55 | 55 |
56 .controlled-setting-bubble-content { | |
57 -webkit-padding-start: 30px; | |
58 background-repeat: no-repeat; | |
59 background-size: 22px; | |
60 min-height: 32px; | |
61 } | |
62 | |
63 .controlled-setting-bubble-content[controlled-by='policy'] { | |
64 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); | |
65 } | |
66 | |
67 .controlled-setting-bubble-content[controlled-by='owner'] { | |
68 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); | |
69 } | |
70 | |
71 .controlled-setting-bubble-content[controlled-by='extension'] { | |
72 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_EXTENSION'); | |
Dan Beam
2014/01/08 21:55:35
^ where else is this used now?
dconnelly
2014/01/09 08:25:32
Do you mean the resource? It's still used to mark
| |
73 } | |
74 | |
75 .controlled-setting-bubble-content:-webkit-any([controlled-by='recommended'], | |
76 [controlled-by='hasRecommendation']) { | |
77 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); | |
78 } | |
79 | |
80 html[dir='rtl'] .controlled-setting-bubble-content { | |
81 background-position: right top; | |
82 } | |
83 | |
84 .controlled-setting-bubble-action { | 56 .controlled-setting-bubble-action { |
85 padding: 0 !important; | 57 padding: 0 !important; |
86 } | 58 } |
87 | 59 |
88 .controlled-setting-bubble-content-row { | 60 .controlled-setting-bubble-content-row { |
89 height: 35px; | 61 height: 35px; |
90 position: relative; | 62 position: relative; |
91 } | 63 } |
92 | 64 |
93 .controlled-setting-bubble-extension-name { | 65 .controlled-setting-bubble-extension-name { |
(...skipping 24 matching lines...) Expand all Loading... | |
118 .controlled-setting-bubble-extension-disable-button { | 90 .controlled-setting-bubble-extension-disable-button { |
119 bottom: 0; | 91 bottom: 0; |
120 position: absolute; | 92 position: absolute; |
121 right: 0; | 93 right: 0; |
122 } | 94 } |
123 | 95 |
124 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { | 96 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { |
125 left: 0; | 97 left: 0; |
126 right: auto; | 98 right: auto; |
127 } | 99 } |
OLD | NEW |