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-container
{
91 -webkit-box-align: center
;
96 #profiles-list .profile-name
{
99 text-overflow: ellipsis
;
103 #profiles-list .profile-supervised
{
112 #profiles-list:focus
{
113 border-color: rgb
(77, 144, 254);
119 vertical-align: middle
;
123 .profile-item-current {
132 background: rgb
(255, 219, 219);
133 border: 1px solid rgb
(206, 76, 76);
138 .sync-error [is='action-link'] {
143 #mac-passwords-warning {
147 input
[type
='range'] {
148 vertical-align: middle
;
151 /* CSS tweak to fix crbug.com/151788. Inconsistencies in the CSS rules across
152 * platforms and elements. Too risky to attempt a general fix for M23 at this
153 * time. This fix addresses the immediate problem in the bug report by forcing
154 * the button to align consistently with its neighboring select element.
155 * TODO(kevers): Revisit padding rules for select and buttons to ensure
156 * consistency in the size and baseline across all platforms. */
157 #manage-default-search-engines {
162 .extension-controlled-warning-box {
163 background-color: #fbfbfb;
164 border: 1px solid
#cecece;
169 .extension-controlled-warning {
170 -webkit-padding-start: 35px;
171 background-repeat: no-repeat
;
177 /* Override a platform specific rule in Widgets that may no longer be relevant.
178 * Too late in the development cycle to update Widgets.css due to the number
179 * of pages that depend on it.
180 * TODO(kevers): Rivisit padding rules. */
181 #default-search-engine {
185 .setting-extra-description {
186 -webkit-margin-start: 1.8em;
191 -webkit-margin-start: 22px;
194 .hotword-audio-history {
195 -webkit-margin-start: 1.8em;
202 #hotword-retrain-link {
203 text-decoration: none
;
206 /* Internet settings */
217 #download-location-label.disabled
{
222 -webkit-box-orient: horizontal
;
227 list:not
([disabled
]) > .network-group:hover
,
228 list:not
([disabled
]) > .network-group
[selected
] {
229 background-color: #f8f8f8 !important
;
230 background-image: -webkit-linear-gradient
(rgba
(255, 255, 255, 0.8),
231 rgba
(255, 255, 255, 0)) !important
;
232 box-shadow: inset
0 0 1px 1px #f0f0f0;
235 .network-group-labels {
237 -webkit-box-orient: vertical
;
238 display: -webkit-box
;
243 -webkit-margin-end: 8px;
244 background-position: left top
;
245 background-size: 25px;
252 .network-icon cr-network-icon {
257 @-webkit-keyframes connecting-animation
{
259 background-position: 0 25%;
262 background-position: 0 50%;
265 background-position: 0 75%;
268 background-position: 0 100%;
271 background-position: 0 100%;
274 background-position: 0 75%;
277 background-position: 0 50%;
280 background-position: 0 25%;
284 .network-add-connection
,
285 .network-control-active
,
286 .network-control-inactive {
287 background-position: center center
!important
;
288 background-repeat: no-repeat
;
291 .network-add-connection {
292 background-image: url
(chrome://theme
/IDR_NETWORK_ADD_CONNECTION
);
293 background-size: 16px;
296 .network-control-inactive {
297 background-image: none
;
300 .network-control-active {
301 background-image: url
(chrome://theme
/IDR_PROFILE_SELECTED
);
302 background-size: 16px;
305 .network-options-button {
307 -webkit-transform: scale
(0.6);
308 background-image: none
;
309 background-position: center center
;
312 vertical-align: middle
;
316 .network-group
> .controlled-setting-indicator
,
317 .network-menu-item > .controlled-setting-indicator {
318 -webkit-margin-end: 5px;
321 .network-options-button:hover {
325 @-webkit-keyframes vpn-connecting-animation
{
334 .network-connecting {
335 -webkit-animation: connecting-animation
1s step-end infinite
;
338 .network-vpn.network-connecting {
339 -webkit-animation: vpn-connecting-animation
500ms alternate infinite
;
349 display: inline-block
;
355 text-overflow: ellipsis
;
360 background: right center no-repeat
;
361 background-image: url
(../../../../ui/webui/resources/images/select.png);
368 0 0 0 1px rgba
(0,0,0,0.1),
369 0 5px 1px 1px rgba
(0,0,0,0.1),
370 0 5px 2px 1px rgba
(0,0,0,0.1),
371 0 5px 12px 1px rgba
(0,0,0,0.5);
379 -webkit-box-align: center
;
380 -webkit-box-orient: horizontal
;
381 display: -webkit-box
;
387 .network-menu-item-label {
392 text-overflow: ellipsis
;
401 .network-disabled-control {
405 /* Restrict the size of the networks menu, by limiting the number of
407 .network-menu-group {
411 text-overflow: ellipsis
;
414 .network-menu-item:hover
,
415 .network-menu-item[selected] {
416 background-color: #eee;
427 #web-content-section select
,
428 .web-content-select-label {
432 .web-content-select-label > span:only-of-type {
433 display: inline-block
;
438 display: inline-block
;
439 vertical-align: baseline
;
442 .loading #timezone-value select {
447 #privacy-explanation {
458 -webkit-transition: height
200ms;
462 #keyboard-overlay .option-value
> select
{
466 #keyboard-overlay table
,
467 #power-overlay table
{
468 /* Same as .settings-row {margin}. */
469 -webkit-border-horizontal-spacing: 0;
470 -webkit-border-vertical-spacing: 0.65em;
473 #accessibility-autoclick .controlled-setting-with-label
{
474 -webkit-box-align: baseline
;
477 #accessibility-autoclick-dropdown,
478 #accessibility-autoclick-label {
479 /* Same as .controlled-setting-with-label > input + span. */
480 -webkit-margin-start: 0.6em;
483 #accessibility-screen-magnifier-center-focus-check {
484 -webkit-margin-start: 0.4em;
487 div
[guestmode
=true
] :-webkit-any
(
488 <if expr
="not chromeos">
493 #reset-profile-settings-section) {
497 div
[supervisedMode
=true
] :-webkit-any
(
498 #profiles-enable-guest,
499 #profiles-enable-add-person) {
508 -webkit-margin-end: 30px;
511 /* An input that has no function except to take up the same amount of space as