1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 #change-home-page-section {
10 display: inline-block;
13 text-overflow: ellipsis;
17 #default-browser-state,
18 #profiles-supervised-dashboard-tip {
26 #account-picture-wrapper {
31 html[dir=rtl] #account-picture-wrapper {
35 #account-picture-control {
36 border: 1px solid rgba(0, 0, 0, 0.3);
38 display: inline-block;
45 vertical-align: middle;
49 #account-picture:disabled {
53 #change-picture-caption {
54 background: rgba(0, 0, 0, 0.5);
63 /* Width of #account-picture. */
67 #account-picture:not(:disabled):hover + #change-picture-caption,
68 #account-picture:not(:disabled) + #change-picture-caption:hover {
72 #account-picture-indicator {
73 -webkit-margin-end: 3px;
77 -webkit-margin-start: 76px;
90 #profiles-list .profile-name {
93 text-overflow: ellipsis;
101 #profiles-list:focus {
102 border-color: rgb(77, 144, 254);
108 vertical-align: middle;
112 .profile-item-current {
121 background: rgb(255, 219, 219);
122 border: 1px solid rgb(206, 76, 76);
127 .sync-error .link-button {
132 #mac-passwords-warning {
136 input[type='range'] {
137 vertical-align: middle;
140 /* CSS tweak to fix crbug.com/151788. Inconsistencies in the CSS rules across
141 * platforms and elements. Too risky to attempt a general fix for M23 at this
142 * time. This fix addresses the immediate problem in the bug report by forcing
143 * the button to align consistently with its neighboring select element.
144 * TODO(kevers): Revisit padding rules for select and buttons to ensure
145 * consistency in the size and baseline across all platforms. */
146 #manage-default-search-engines {
151 .extension-controlled-warning-box {
152 background-color: #fbfbfb;
153 border: 1px solid #cecece;
158 .extension-controlled-warning {
159 -webkit-padding-start: 35px;
160 background-repeat: no-repeat;
166 /* Override a platform specific rule in Widgets that may no longer be relevant.
167 * Too late in the development cycle to update Widgets.css due to the number
168 * of pages that depend on it.
169 * TODO(kevers): Rivisit padding rules. */
170 #default-search-engine {
175 -webkit-margin-start: 22px;
178 /* Internet settings */
189 #download-location-label.disabled {
194 -webkit-box-orient: horizontal;
199 list:not([disabled]) > .network-group:hover,
200 list:not([disabled]) > .network-group[selected] {
201 background-color: #f8f8f8 !important;
202 background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.8),
203 rgba(255, 255, 255, 0)) !important;
204 box-shadow: inset 0 0 1px 1px #f0f0f0;
207 .network-group-labels {
209 -webkit-box-orient: vertical;
210 display: -webkit-box;
215 .network-menu-item-icon {
216 -webkit-margin-end: 8px;
217 background-position: left top;
218 background-size: 25px;
223 .other-cellulars > .network-menu-item-icon {
224 background-position: left top;
227 @-webkit-keyframes connecting-animation {
229 background-position: 0 25%;
232 background-position: 0 50%;
235 background-position: 0 75%;
238 background-position: 0 100%;
241 background-position: 0 100%;
244 background-position: 0 75%;
247 background-position: 0 50%;
250 background-position: 0 25%;
254 .network-add-connection,
255 .network-control-active,
256 .network-control-inactive {
257 background-position: center center !important;
258 background-repeat: no-repeat;
261 .network-add-connection {
262 background-image: url('chrome://theme/IDR_NETWORK_ADD_CONNECTION');
263 background-size: 16px;
266 .network-control-inactive {
267 background-image: none;
270 .network-control-active {
271 background-image: url('chrome://theme/IDR_PROFILE_SELECTED');
272 background-size: 16px;
275 .network-options-button {
277 -webkit-transform: scale(0.6);
278 background-image: none;
279 background-position: center center;
282 vertical-align: middle;
286 .network-group > .controlled-setting-indicator,
287 .network-menu-item > .controlled-setting-indicator {
288 -webkit-margin-end: 5px;
291 .network-options-button:hover {
295 @-webkit-keyframes vpn-connecting-animation {
304 .network-connecting {
305 -webkit-animation: connecting-animation 1s step-end infinite;
308 .network-vpn.network-connecting {
309 -webkit-animation: vpn-connecting-animation 500ms alternate infinite;
319 display: inline-block;
325 text-overflow: ellipsis;
330 background: right center no-repeat;
331 background-image: url('../../../../ui/webui/resources/images/select.png');
337 0 0 0 1px rgba(0,0,0,0.1),
338 0 5px 1px 1px rgba(0,0,0,0.1),
339 0 5px 2px 1px rgba(0,0,0,0.1),
340 0 5px 12px 1px rgba(0,0,0,0.5);
349 -webkit-box-align: center;
350 -webkit-box-orient: horizontal;
351 display: -webkit-box;
357 .network-menu-item-label {
362 text-overflow: ellipsis;
371 .network-disabled-control {
375 /* Restrict the size of the networks menu, by limiting the number of
377 .network-menu-group {
381 text-overflow: ellipsis;
384 .network-menu-item:hover {
385 background-color: #eee;
396 #web-content-section select,
397 .web-content-select-label {
401 .web-content-select-label > span:only-of-type {
402 display: inline-block;
407 display: inline-block;
408 vertical-align: baseline;
411 #privacy-explanation {
421 #auto-open-file-types-label {
426 -webkit-transition: height 200ms;
430 #keyboard-overlay .option-value > select {
434 #keyboard-overlay table {
435 /* Same as .settings-row {margin}. */
436 -webkit-border-vertical-spacing: 0.65em;
439 #accessibility-autoclick .controlled-setting-with-label {
440 -webkit-box-align: baseline;
443 #accessibility-autoclick label + select {
444 /* Same as .controlled-setting-with-label > input + span. */
445 -webkit-margin-start: 0.6em;