OLD | NEW |
1 /* | 1 /* |
2 * TODO(xiyuan): Remove the section overrides when options_page.css uses the | 2 * TODO(xiyuan): Remove the section overrides when options_page.css uses the |
3 * new style. | 3 * new style. |
4 */ | 4 */ |
5 #inetTitle { | 5 #inetTitle { |
6 border: none; | 6 border: none; |
7 } | 7 } |
8 | 8 |
9 #internetPage > section > h3 { | 9 #internetPage > section > h3 { |
10 font-size: 100%; | 10 font-size: 100%; |
11 width: auto; | 11 width: auto; |
12 } | 12 } |
13 | 13 |
14 #internetPage > section[hidden] { | 14 #internetPage > section[hidden] { |
15 display: none; | 15 display: none; |
16 } | 16 } |
17 | 17 |
18 #networkingControls { | 18 #internetPage > section > div:only-of-type > div.checkbox { |
| 19 margin: 10px 0; |
| 20 -webkit-margin-start: 10px; |
| 21 } |
| 22 |
| 23 #networking-controls { |
19 display: -webkit-box; | 24 display: -webkit-box; |
20 -webkit-margin-start: 10px; | 25 -webkit-margin-start: 10px; |
21 } | 26 } |
22 | 27 |
23 .networks { | 28 .networks { |
24 -webkit-margin-start: 15px; | 29 -webkit-margin-start: 15px; |
25 padding: 2px; | 30 padding: 2px; |
26 } | 31 } |
27 | 32 |
28 .network-password { | 33 .network-password { |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 #planWarning { | 144 #planWarning { |
140 width: 350px; | 145 width: 350px; |
141 padding-top: 5px; | 146 padding-top: 5px; |
142 font-weight: bold; | 147 font-weight: bold; |
143 } | 148 } |
144 | 149 |
145 html[dir='rtl'] .details-button { | 150 html[dir='rtl'] .details-button { |
146 float: left; | 151 float: left; |
147 } | 152 } |
148 | 153 |
149 #lockedNetworkBanner { | 154 #locked-network-banner { |
150 height: 31px; | 155 height: 31px; |
151 width: 100%; | 156 width: 100%; |
152 margin: 0; | 157 margin: 0; |
153 padding-top: 10px; | 158 padding-top: 10px; |
154 vertical-align: middle; | 159 vertical-align: middle; |
155 } | 160 } |
156 | 161 |
157 #lockedNetworkIcon { | 162 #locked-network-icon { |
158 background-image: url("chrome://theme/IDR_WARNING"); | 163 background-image: url("chrome://theme/IDR_WARNING"); |
159 background-repeat: no-repeat; | 164 background-repeat: no-repeat; |
160 background-position:center; | 165 background-position:center; |
161 display: inline-block; | 166 display: inline-block; |
162 padding: 5px; | 167 padding: 5px; |
163 height: 21px; | 168 height: 21px; |
164 vertical-align: middle; | 169 vertical-align: middle; |
165 width: 24px; | 170 width: 24px; |
166 } | 171 } |
167 | 172 |
168 #accessLockedText { | 173 #access-locked-text { |
169 vertical-align: middle; | 174 vertical-align: middle; |
170 } | 175 } |
171 | 176 |
172 #internetPage:not([accesslocked]) #lockedNetworkBanner, | 177 #internet-owner-only-warning { |
173 #internetPage[accesslocked] #wirelessButtons, | 178 margin-bottom: 10px; |
174 #internetPage[accesslocked] #wiredSection, | 179 margin-top: 10px; |
175 #internetPage[accesslocked] #wirelessSection, | 180 padding-bottom: 1px; |
176 #internetPage[accesslocked] #rememberedSection, | 181 -webkit-margin-start: 10px; |
| 182 -webkit-padding-start: 20px; |
| 183 background-repeat: no-repeat; |
| 184 background-image: url('warning.png'); |
| 185 } |
| 186 |
| 187 #internetPage:not([accesslocked]) #locked-network-banner, |
| 188 #internetPage[accesslocked] #wireless-buttons, |
| 189 #internetPage[accesslocked] #wired-section, |
| 190 #internetPage[accesslocked] #wireless-section, |
| 191 #internetPage[accesslocked] #remembered-section, |
177 #internetPage[accesslocked] #detailsInternetPage { | 192 #internetPage[accesslocked] #detailsInternetPage { |
178 display: none; | 193 display: none; |
179 } | 194 } |
180 | 195 |
181 #detailsInternetPage:not([connected]) > #advancedSection, | 196 #detailsInternetPage:not([connected]) > #advancedSection, |
182 #detailsInternetPage:not([wireless]) > * > #detailsInternetOk, | 197 #detailsInternetPage:not([wireless]) > * > #detailsInternetOk, |
183 #detailsInternetPage[ethernet] .wifi-details, | 198 #detailsInternetPage[ethernet] .wifi-details, |
184 #detailsInternetPage[ethernet] .cellular-details, | 199 #detailsInternetPage[ethernet] .cellular-details, |
185 #detailsInternetPage[cellular] .wifi-details, | 200 #detailsInternetPage[cellular] .wifi-details, |
186 #detailsInternetPage[wireless] .cellular-details, | 201 #detailsInternetPage[wireless] .cellular-details, |
187 #detailsInternetPage[cellplanloading] .no-plan-info, | 202 #detailsInternetPage[cellplanloading] .no-plan-info, |
188 #detailsInternetPage[cellplanloading] .plan-details-info, | 203 #detailsInternetPage[cellplanloading] .plan-details-info, |
189 #detailsInternetPage[cellplanloading] #planList, | 204 #detailsInternetPage[cellplanloading] #planList, |
190 #detailsInternetPage[hascellplan] .plan-loading-info, | 205 #detailsInternetPage[hascellplan] .plan-loading-info, |
191 #detailsInternetPage[hascellplan] .no-plan-info, | 206 #detailsInternetPage[hascellplan] .no-plan-info, |
192 #detailsInternetPage[nocellplan] .plan-loading-info, | 207 #detailsInternetPage[nocellplan] .plan-loading-info, |
193 #detailsInternetPage[nocellplan] .plan-details-info, | 208 #detailsInternetPage[nocellplan] .plan-details-info, |
194 #detailsInternetPage:not([gsm]) .gsm-only, | 209 #detailsInternetPage:not([gsm]) .gsm-only, |
195 #detailsInternetPage:not([password]) .password-details, | 210 #detailsInternetPage:not([password]) .password-details, |
196 #detailsInternetPage[cert] .password-details, | 211 #detailsInternetPage[cert] .password-details, |
197 #detailsInternetPage[certPkcs] .password-details, | 212 #detailsInternetPage[certPkcs] .password-details, |
198 #detailsInternetPage:not([cert]) .cert-details, | 213 #detailsInternetPage:not([cert]) .cert-details, |
199 #detailsInternetPage:not([certPkcs]) .cert-pkcs-details { | 214 #detailsInternetPage:not([certPkcs]) .cert-pkcs-details { |
200 display: none; | 215 display: none; |
201 } | 216 } |
202 | 217 |
203 #wirelessButtons > * > button { | 218 #wireless-buttons > * > button { |
204 margin-left: 5px; | 219 margin-left: 5px; |
205 } | 220 } |
OLD | NEW |