Home | History | Annotate | Download | only in options
      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. */
      4 
      5 #autofill-edit-address-overlay {
      6   min-width: 55em;
      7 }
      8 
      9 #autofill-edit-credit-card-overlay {
     10   min-width: 500px;
     11 }
     12 
     13 #full-name-list input,
     14 #company-name,
     15 #addr-line-1,
     16 #addr-line-2 {
     17   width: 16em;
     18 }
     19 
     20 #country {
     21   max-width: 450px;
     22 }
     23 
     24 #autofill-edit-address-overlay list {
     25   -webkit-margin-start: -3px;
     26   /* Min height is a multiple of the list item height (32px). */
     27   min-height: 32px;
     28 }
     29 
     30 #autofill-edit-address-overlay list div.static-text {
     31   -webkit-border-radius: 2px;
     32   -webkit-box-flex: 1;
     33   -webkit-padding-end: 4px;
     34   -webkit-padding-start: 4px;
     35   border: 1px solid darkGray;
     36   /* Set the line-height and min-height to match the height of an input element,
     37    * so that even empty cells renderer with the correct height. */
     38   line-height: 1.75em;
     39   min-height: 1.75em;
     40 }
     41 
     42 :-webkit-any(#autofill-edit-credit-card-overlay, #autofill-edit-address-overlay)
     43     .settings-row div + :-webkit-any(input, select) {
     44   margin-top: 4px;
     45 }
     46 
     47 #autofill-name-labels {
     48   display: -webkit-inline-box;
     49 }
     50 
     51 #autofill-name-labels span {
     52   -webkit-box-flex: 1;
     53   display: block;
     54 }
     55 
     56 #full-name-list {
     57   display: inline-block;
     58 }
     59 
     60 #full-name-list div[role='listitem'] > div {
     61   display: -webkit-box;
     62 }
     63 
     64 #full-name-list div[role='listitem'] > div > div,
     65 #autofill-name-labels span {
     66   -webkit-margin-end: 5px;
     67   width: 16em;
     68 }
     69 
     70 :-webkit-any(#phone-list, #email-list) div[role='listitem'] > div > div,
     71 :-webkit-any(#phone-list, #email-list) input {
     72   width: 14em;
     73 }
     74 
     75 .input-group > * {
     76   -webkit-box-orient: vertical;
     77   -webkit-margin-end: 2px;
     78   display: -webkit-inline-box;
     79   vertical-align: top;
     80 }
     81 
     82 #autofill-edit-credit-card-overlay .content-area > *:first-child {
     83   margin-top: 0;
     84 }
     85