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 | |
484 input:-webkit-any([type='text'],[type='url'],:not([type])) + | 480 input:-webkit-any([type='text'],[type='url'],:not([type])) + |
485 .controlled-setting-indicator { | 481 .controlled-setting-indicator { |
486 -webkit-margin-start: 5px; | 482 -webkit-margin-start: 5px; |
487 } | 483 } |
488 | 484 |
489 .controlled-setting-indicator[controlled-by] { | 485 .controlled-setting-indicator:not([controlled-by]) { |
490 display: inline-block; | 486 display: none; |
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; | |
503 } | 487 } |
504 | 488 |
505 .controlled-setting-indicator[controlled-by='policy'] > div { | 489 .controlled-setting-indicator[controlled-by='policy'] > div { |
506 background-image: | 490 background-image: |
507 url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY_GRAY'); | 491 url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY_GRAY'); |
508 } | 492 } |
509 | 493 |
510 .controlled-setting-indicator[controlled-by='policy'] > | 494 .controlled-setting-indicator[controlled-by='policy'] > |
511 div:-webkit-any(:hover,.showing-bubble) { | 495 div:-webkit-any(:hover,.showing-bubble) { |
512 background-image: | 496 background-image: |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); | 544 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); |
561 } | 545 } |
562 | 546 |
563 html[dir='rtl'] .controlled-setting-bubble-content { | 547 html[dir='rtl'] .controlled-setting-bubble-content { |
564 background-position: right top; | 548 background-position: right top; |
565 } | 549 } |
566 | 550 |
567 .controlled-setting-bubble-action { | 551 .controlled-setting-bubble-action { |
568 padding: 0 !important; | 552 padding: 0 !important; |
569 } | 553 } |
OLD | NEW |