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 /* Override a platform specific rule in Widgets that may no longer be relevant.
152 * Too late in the development cycle to update Widgets.css due to the number
153 * of pages that depend on it.
154 * TODO(kevers): Rivisit padding rules. */
155 #default-search-engine {
159 /* Internet settings */
170 #download-location-label.disabled
{
175 -webkit-box-orient: horizontal
;
180 list:not
([disabled
]) > .network-group:hover
,
181 list:not
([disabled
]) > .network-group
[selected
] {
182 background-color: #f8f8f8 !important
;
183 background-image: -webkit-linear-gradient
(rgba
(255, 255, 255, 0.8),
184 rgba
(255, 255, 255, 0)) !important
;
185 box-shadow: inset
0 0 1px 1px #f0f0f0;
188 .network-group-labels {
190 -webkit-box-orient: vertical
;
191 display: -webkit-box
;
196 .network-menu-item-icon {
197 -webkit-margin-end: 8px;
198 background-position: left top
;
199 background-size: 25px;
204 .other-cellulars > .network-menu-item-icon {
205 background-position: left top
;
208 @-webkit-keyframes connecting-animation
{
210 background-position: 0 25%;
213 background-position: 0 50%;
216 background-position: 0 75%;
219 background-position: 0 100%;
222 background-position: 0 100%;
225 background-position: 0 75%;
228 background-position: 0 50%;
231 background-position: 0 25%;
235 .network-add-connection
,
236 .network-control-active
,
237 .network-control-inactive {
238 background-position: center center
!important
;
239 background-repeat: no-repeat
;
242 .network-add-connection {
243 background-image: url
('chrome://theme/IDR_NETWORK_ADD_CONNECTION');
244 background-size: 16px;
247 .network-control-inactive {
248 background-image: none
;
251 .network-control-active {
252 background-image: url
('chrome://theme/IDR_PROFILE_SELECTED');
253 background-size: 16px;
256 .network-options-button {
258 -webkit-transform: scale
(0.6);
259 background-image: none
;
260 background-position: center center
;
263 vertical-align: middle
;
267 .network-group
> .controlled-setting-indicator
,
268 .network-menu-item > .controlled-setting-indicator {
269 -webkit-margin-end: 5px;
272 .network-options-button:hover {
276 @-webkit-keyframes vpn-connecting-animation
{
285 .network-connecting {
286 -webkit-animation: connecting-animation
1s step-end infinite
;
289 .network-vpn.network-connecting {
290 -webkit-animation: vpn-connecting-animation
500ms alternate infinite
;
300 display: inline-block
;
306 text-overflow: ellipsis
;
311 background: right center no-repeat
;
312 background-image: url
('../../../../ui/webui/resources/images/select.png');
318 0 0 0 1px rgba
(0,0,0,0.1),
319 0 5px 1px 1px rgba
(0,0,0,0.1),
320 0 5px 2px 1px rgba
(0,0,0,0.1),
321 0 5px 12px 1px rgba
(0,0,0,0.5);
330 -webkit-box-align: center
;
331 -webkit-box-orient: horizontal
;
332 display: -webkit-box
;
338 .network-menu-item-label {
343 text-overflow: ellipsis
;
352 .network-disabled-control {
356 /* Restrict the size of the networks menu, by limiting the number of
358 .network-menu-group {
362 text-overflow: ellipsis
;
365 .network-menu-item:hover {
366 background-color: #eee;
377 #web-content-section select
,
378 .web-content-select-label {
382 .web-content-select-label > span:only-of-type {
383 display: inline-block
;
388 display: inline-block
;
389 vertical-align: baseline
;
392 #privacy-explanation {
402 #auto-open-file-types-label {
407 -webkit-transition: height
200ms;
411 #keyboard-overlay .option-value
> select
{
415 #keyboard-overlay table
{
416 /* Same as .settings-row {margin}. */
417 -webkit-border-vertical-spacing: 0.65em;
420 #accessibility-autoclick .controlled-setting-with-label
{
421 -webkit-box-align: baseline
;
424 #accessibility-autoclick label
+ select
{
425 /* Same as .controlled-setting-with-label > input + span. */
426 -webkit-margin-start: 0.6em;