OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 body { | 5 body { |
6 position: relative; | 6 position: relative; |
7 } | 7 } |
8 | 8 |
9 #main-content { | 9 #main-content { |
10 bottom: 0; | 10 bottom: 0; |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 | 470 |
471 .controlled-setting-with-label > input:disabled + span label { | 471 .controlled-setting-with-label > input:disabled + span label { |
472 color: #999; | 472 color: #999; |
473 } | 473 } |
474 | 474 |
475 .controlled-setting-with-label label { | 475 .controlled-setting-with-label label { |
476 display: inline; | 476 display: inline; |
477 padding: 0; | 477 padding: 0; |
478 } | 478 } |
479 | 479 |
| 480 .controlled-setting-indicator { |
| 481 display: none; |
| 482 } |
| 483 |
480 input:-webkit-any([type='text'],[type='url'],:not([type])) + | 484 input:-webkit-any([type='text'],[type='url'],:not([type])) + |
481 .controlled-setting-indicator { | 485 .controlled-setting-indicator { |
482 -webkit-margin-start: 5px; | 486 -webkit-margin-start: 5px; |
483 } | 487 } |
484 | 488 |
485 .controlled-setting-indicator:not([controlled-by]) { | 489 .controlled-setting-indicator[controlled-by] { |
486 display: none; | 490 display: inline-block; |
| 491 height: 0; |
| 492 line-height: 1; |
| 493 vertical-align: middle; |
| 494 width: 16px; |
| 495 } |
| 496 |
| 497 .controlled-setting-indicator[controlled-by] > div { |
| 498 background-size: 16px; |
| 499 height: 16px; |
| 500 position: relative; |
| 501 top: -8px; |
| 502 width: 16px; |
487 } | 503 } |
488 | 504 |
489 .controlled-setting-indicator[controlled-by='policy'] > div { | 505 .controlled-setting-indicator[controlled-by='policy'] > div { |
490 background-image: | 506 background-image: |
491 url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY_GRAY'); | 507 url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY_GRAY'); |
492 } | 508 } |
493 | 509 |
494 .controlled-setting-indicator[controlled-by='policy'] > | 510 .controlled-setting-indicator[controlled-by='policy'] > |
495 div:-webkit-any(:hover,.showing-bubble) { | 511 div:-webkit-any(:hover,.showing-bubble) { |
496 background-image: | 512 background-image: |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); | 560 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); |
545 } | 561 } |
546 | 562 |
547 html[dir='rtl'] .controlled-setting-bubble-content { | 563 html[dir='rtl'] .controlled-setting-bubble-content { |
548 background-position: right top; | 564 background-position: right top; |
549 } | 565 } |
550 | 566 |
551 .controlled-setting-bubble-action { | 567 .controlled-setting-bubble-action { |
552 padding: 0 !important; | 568 padding: 0 !important; |
553 } | 569 } |
OLD | NEW |