Home | History | Annotate | Download | only in options
      1 /* Copyright 2014 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. */
      4 
      5 /* These styles are used bby both reset_profile_settings_banner.html and
      6  * automatic_settings_reset_banner.html. */
      7 
      8 .settings-banner {
      9   background-color: #f5f5f5;
     10   border-color: #c8c8c8;
     11   border-radius: 3px;
     12   border-style: solid;
     13   border-width: 1px;
     14   margin-bottom: 24px;
     15   margin-top: 20px;
     16   max-width: 716px;
     17   position: relative;
     18 }
     19 
     20 .settings-banner > .close-button {
     21   background-image: url('chrome://theme/IDR_CLOSE_DIALOG');
     22   background-position: center;
     23   background-repeat: no-repeat;
     24   height: 14px;
     25   opacity: 0.5;
     26   position: absolute;
     27   right: 4px;
     28   top: 4px;
     29   width: 14px;
     30 }
     31 
     32 html[dir='rtl'] .settings-banner > .close-button {
     33   left: 4px;
     34   right: auto;
     35 }
     36 
     37 .settings-banner > .close-button:hover {
     38   background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H');
     39 }
     40 
     41 .settings-banner > .close-button:active {
     42   background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P');
     43 }
     44 
     45 .settings-banner .content-area {
     46   -webkit-box-align: center;
     47   display: -webkit-box;
     48   padding: 17px;
     49 }
     50 
     51 .settings-banner .content-area .badge {
     52   background-image: url(yellow_gear.png);
     53   background-position: center;
     54   background-repeat: no-repeat;
     55   height: 55px;
     56   width: 58px;
     57 }
     58 
     59 .settings-banner .content-area .text {
     60   -webkit-box-flex: 1.0;
     61   -webkit-margin-start: 18px;
     62 }
     63 
     64 .settings-banner .content-area .text p {
     65   -webkit-margin-after: 0;
     66   -webkit-margin-before: 0;
     67 }
     68 
     69 .settings-banner .content-area .button-area  {
     70   -webkit-margin-start: 54px;
     71 }
     72 
     73 .settings-banner .nowrap  {
     74   white-space: nowrap;
     75 }
     76 
     77 .settings-banner button {
     78   margin-bottom: 1px;
     79   margin-right: 0;
     80 }
     81 
     82 #secondary-user-banner .content-area .badge {
     83   background-color: rgb(210, 210, 212);
     84   background-image: url(chrome://theme/IDR_SECONDARY_USER_SETTINGS);
     85 }
     86