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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 { | 56 .controlled-setting-bubble-content { |
57 -webkit-padding-start: 30px; | |
58 background-repeat: no-repeat; | 57 background-repeat: no-repeat; |
59 background-size: 22px; | 58 background-size: 22px; |
Dan Beam
2014/01/07 17:28:53
can you combine this?
.controlled-setting-bubbl
| |
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 } | 59 } |
70 | 60 |
71 .controlled-setting-bubble-content[controlled-by='extension'] { | 61 .controlled-setting-bubble-content[controlled-by='extension'] { |
72 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_EXTENSION'); | 62 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_EXTENSION'); |
Dan Beam
2014/01/07 17:28:53
^ why does this version of the bubble still get an
dconnelly
2014/01/08 09:18:23
It shouldn't. Brain failure. Thanks. That obviates
| |
73 } | 63 } |
74 | 64 |
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 { | 65 html[dir='rtl'] .controlled-setting-bubble-content { |
81 background-position: right top; | 66 background-position: right top; |
82 } | 67 } |
83 | 68 |
84 .controlled-setting-bubble-action { | 69 .controlled-setting-bubble-action { |
85 padding: 0 !important; | 70 padding: 0 !important; |
86 } | 71 } |
87 | 72 |
88 .controlled-setting-bubble-content-row { | 73 .controlled-setting-bubble-content-row { |
89 height: 35px; | 74 height: 35px; |
(...skipping 28 matching lines...) Expand all Loading... | |
118 .controlled-setting-bubble-extension-disable-button { | 103 .controlled-setting-bubble-extension-disable-button { |
119 bottom: 0; | 104 bottom: 0; |
120 position: absolute; | 105 position: absolute; |
121 right: 0; | 106 right: 0; |
122 } | 107 } |
123 | 108 |
124 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { | 109 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { |
125 left: 0; | 110 left: 0; |
126 right: auto; | 111 right: auto; |
127 } | 112 } |
OLD | NEW |