Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / resources / options / browser_options.css
bloba3dcba14d10be54657c79129c5329baa86c1c4b5
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 {
6 margin-left: 30px;
9 #home-page-url {
10 display: inline-block;
11 max-width: 400px;
12 overflow: hidden;
13 text-overflow: ellipsis;
14 vertical-align: top;
17 #default-browser-state,
18 #profiles-supervised-dashboard-tip {
19 margin-top: 6px;
22 #sync-overview p {
23 display: inline;
26 #account-picture-wrapper {
27 float: left;
28 margin: 0 2px 10px 0;
31 html[dir=rtl] #account-picture-wrapper {
32 float: right;
35 #account-picture-control {
36 border: 1px solid rgba(0, 0, 0, 0.3);
37 border-radius: 4px;
38 display: inline-block;
39 padding: 3px;
40 position: relative;
43 #account-picture {
44 height: 56px;
45 vertical-align: middle;
46 width: 56px;
49 #account-picture:disabled {
50 cursor: default;
53 #change-picture-caption {
54 background: rgba(0, 0, 0, 0.5);
55 bottom: 0;
56 color: white;
57 cursor: pointer;
58 font-size: small;
59 margin: 3px 0;
60 position: absolute;
61 text-align: center;
62 visibility: hidden;
63 /* Width of #account-picture. */
64 width: 56px;
67 #account-picture:not(:disabled):hover + #change-picture-caption,
68 #account-picture:not(:disabled) + #change-picture-caption:hover {
69 visibility: visible;
72 #account-picture-indicator {
73 -webkit-margin-end: 3px;
76 #sync-general {
77 -webkit-margin-start: 76px;
78 margin-bottom: 10px;
81 #sync-buttons {
82 clear: both;
85 #profiles-list {
86 margin-bottom: 10px;
87 min-height: 0;
90 #profiles-list .profile-name {
91 -webkit-box-flex: 1;
92 overflow: hidden;
93 text-overflow: ellipsis;
94 white-space: nowrap;
97 #profiles-list > * {
98 height: 40px;
101 #profiles-list:focus {
102 border-color: rgb(77, 144, 254);
105 .profile-img {
106 height: 31px;
107 padding: 3px;
108 vertical-align: middle;
109 width: 38px;
112 .profile-item-current {
113 font-weight: bold;
116 #profiles-buttons {
117 white-space: nowrap;
120 .sync-error {
121 background: rgb(255, 219, 219);
122 border: 1px solid rgb(206, 76, 76);
123 border-radius: 2px;
124 padding: 10px;
127 .sync-error .link-button {
128 margin: 0 1ex;
129 padding: 0;
132 #mac-passwords-warning {
133 margin-top: 10px;
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 {
147 padding-bottom: 0;
148 padding-top: 0;
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 {
156 padding-bottom: 0;
159 /* Internet settings */
161 #network-settings {
162 position: relative;
165 #network-list {
166 min-height: 0;
167 width: 320px;
170 #download-location-label.disabled {
171 color: #999;
174 .network-group {
175 -webkit-box-orient: horizontal;
176 height: 42px;
177 overflow: visible;
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 {
189 -webkit-box-flex: 1;
190 -webkit-box-orient: vertical;
191 display: -webkit-box;
192 padding-top: 3px;
195 .network-icon,
196 .network-menu-item-icon {
197 -webkit-margin-end: 8px;
198 background-position: left top;
199 background-size: 25px;
200 height: 25px;
201 width: 25px;
204 .other-cellulars > .network-menu-item-icon {
205 background-position: left top;
208 @-webkit-keyframes connecting-animation {
209 0% {
210 background-position: 0 25%;
212 12.5% {
213 background-position: 0 50%;
215 25% {
216 background-position: 0 75%;
218 37.5% {
219 background-position: 0 100%;
221 50% {
222 background-position: 0 100%;
224 62.5% {
225 background-position: 0 75%;
227 75% {
228 background-position: 0 50%;
230 87.5% {
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 {
257 -webkit-box-flex: 0;
258 -webkit-transform: scale(0.6);
259 background-image: none;
260 background-position: center center;
261 display: block;
262 opacity: 0.5;
263 vertical-align: middle;
264 width: 19px;
267 .network-group > .controlled-setting-indicator,
268 .network-menu-item > .controlled-setting-indicator {
269 -webkit-margin-end: 5px;
272 .network-options-button:hover {
273 opacity: 1;
276 @-webkit-keyframes vpn-connecting-animation {
277 from {
278 opacity: 1;
280 to {
281 opacity: 0.2;
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;
293 .network-title {
294 font-weight: 600;
295 line-height: 120%;
298 .network-subtitle {
299 color: #333;
300 display: inline-block;
301 line-height: 100%;
302 max-width: 260px;
303 opacity: 0.4;
304 overflow: hidden;
305 padding-bottom: 3px;
306 text-overflow: ellipsis;
307 white-space: nowrap;
310 .network-selector {
311 background: right center no-repeat;
312 background-image: url('../../../../ui/webui/resources/images/select.png');
313 padding-right: 20px;
316 .network-menu {
317 -webkit-box-shadow:
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);
322 background: #fff;
323 display: block;
324 position: absolute;
325 width: 320px;
326 z-index: 1;
329 .network-menu-item {
330 -webkit-box-align: center;
331 -webkit-box-orient: horizontal;
332 display: -webkit-box;
333 height: 32px;
334 margin-left: 4px;
335 margin-right: 4px;
338 .network-menu-item-label {
339 -webkit-box-flex: 1;
340 color: #555;
341 display: block;
342 overflow-x: hidden;
343 text-overflow: ellipsis;
344 white-space: nowrap;
347 .active-network {
348 color: black;
349 font-weight: bold;
352 .network-disabled-control {
353 color: #999;
356 /* Restrict the size of the networks menu, by limiting the number of
357 visible networks. */
358 .network-menu-group {
359 max-height: 192px;
360 overflow-x: hidden;
361 overflow-y: auto;
362 text-overflow: ellipsis;
365 .network-menu-item:hover {
366 background-color: #eee;
369 .network-menu > hr {
370 opacity: 0.4;
373 #shared-proxies {
374 margin-top: 12px;
377 #web-content-section select,
378 .web-content-select-label {
379 min-width: 145px;
382 .web-content-select-label > span:only-of-type {
383 display: inline-block;
384 min-width: 100px;
387 #timezone-value {
388 display: inline-block;
389 vertical-align: baseline;
392 #privacy-explanation {
393 line-height: 1.8em;
396 #advanced-settings {
397 height: 0;
398 margin-top: 8px;
399 overflow: hidden;
402 #auto-open-file-types-label {
403 padding: 0.45em 0
406 .sliding {
407 -webkit-transition: height 200ms;
408 overflow-y: hidden;
411 #keyboard-overlay .option-value > select {
412 width: 100%;
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;