OLD | NEW |
(Empty) | |
| 1 /* Copyright 2017 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 @import url(https://fonts.googleapis.com/css?family=Roboto); |
| 6 |
| 7 body { |
| 8 margin: 0 0 20px 0; |
| 9 padding: 0; |
| 10 } |
| 11 |
| 12 body, |
| 13 button, |
| 14 input, |
| 15 select { |
| 16 background-color: rgb(241, 241, 241); |
| 17 font-family: Roboto; |
| 18 } |
| 19 |
| 20 h1 { |
| 21 background: rgb(247, 152, 58); |
| 22 color: white; |
| 23 display: block; |
| 24 font-size: 16px; |
| 25 height: 56px; |
| 26 line-height: 56px; |
| 27 text-align: center; |
| 28 width: 100%; |
| 29 } |
| 30 |
| 31 h2 { |
| 32 color: rgb(97, 97, 97); |
| 33 font-size: 13px; |
| 34 height: 15px; |
| 35 margin-top: 21px; |
| 36 } |
| 37 |
| 38 .container { |
| 39 margin-left: auto; |
| 40 margin-right: auto; |
| 41 width: 646px; |
| 42 } |
| 43 |
| 44 .option { |
| 45 background-color: #fff; |
| 46 border: 1px solid #ddd; |
| 47 font-size: 13px; |
| 48 line-height: 60px; |
| 49 min-height: 60px; |
| 50 padding: 0 20px; |
| 51 vertical-align: middle; |
| 52 width: 646px; |
| 53 } |
| 54 |
| 55 .option input[type='checkbox'] { |
| 56 -webkit-appearance: none; |
| 57 background-color: #fff; |
| 58 background-image: url(unchecked.png); |
| 59 background-position: center center; |
| 60 background-repeat: no-repeat; |
| 61 border: 0; |
| 62 float: right; |
| 63 height: 60px; |
| 64 margin: 0; |
| 65 padding: 0; |
| 66 width: 40px; |
| 67 } |
| 68 |
| 69 .option input[type='checkbox']:checked { |
| 70 background-image: url(checked.png); |
| 71 } |
| 72 |
| 73 .option select { |
| 74 background-color: #fff; |
| 75 border-color: #ddd; |
| 76 border-width: 0 0 1px 0; |
| 77 height: 20px; |
| 78 line-height: 60px; |
| 79 margin: 20px 0; |
| 80 padding: 0; |
| 81 } |
| 82 |
| 83 .option input { |
| 84 background-color: #fff; |
| 85 border-color: #ddd; |
| 86 border-width: 0 0 2px 0; |
| 87 outline: none; |
| 88 } |
| 89 |
| 90 .option input:focus { |
| 91 border-color: rgb(0, 0, 255); |
| 92 } |
| 93 |
| 94 .option button { |
| 95 background-color: #ddd; |
| 96 border-width: 0; |
| 97 font-weight: bold; |
| 98 height: 30px; |
| 99 margin-left: 20px; |
| 100 padding: 0 20px; |
| 101 } |
OLD | NEW |