Chromium Code Reviews| 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 background: url('images/stripe.png') rgb(140, 0, 0); | 6 background: url('images/stripe.png') rgb(140, 0, 0); |
| 7 font-family: Arial, Helvetica, sans-serif; | |
| 8 margin: 0; | 7 margin: 0; |
| 9 } | 8 } |
| 10 | 9 |
| 11 .cell { | 10 .cell { |
| 12 padding: 40px; | 11 padding: 40px; |
| 13 } | 12 } |
| 14 | 13 |
| 15 .box { | 14 .box { |
| 16 -webkit-border-radius: 5px; | 15 -webkit-border-radius: 5px; |
| 17 -webkit-box-shadow: 3px 3px 8px rgb(140, 0, 0); | 16 -webkit-box-shadow: 3px 3px 8px rgb(140, 0, 0); |
| 18 background-color: white; | 17 background-color: white; |
| 19 color: rgb(75, 75, 77); | 18 color: rgb(75, 75, 77); |
| 20 font-size: 13px; | 19 padding: 40px 50px; |
| 21 line-height: 21px; | |
| 22 padding: 20px; | |
| 23 position: relative; | 20 position: relative; |
| 24 text-align: start; | 21 text-align: start; |
| 25 width: 700px; | 22 width: 700px; |
| 26 } | 23 } |
| 27 | 24 |
| 28 .float { | 25 .float { |
| 29 float: right; | 26 float: right; |
| 30 } | 27 } |
| 31 | 28 |
| 32 html[dir='rtl'] .float { | 29 html[dir='rtl'] .float { |
| 33 float: left; | 30 float: left; |
| 34 } | 31 } |
| 35 | 32 |
| 33 #malware-icon { | |
| 34 margin-top: 20px; | |
| 35 } | |
| 36 | |
| 37 #subresource-icon { | |
| 38 margin-top: 50px; | |
| 39 } | |
| 40 | |
| 36 .clear { | 41 .clear { |
| 37 clear: both; | 42 clear: both; |
| 38 } | 43 } |
| 39 | 44 |
| 40 .logo { | 45 #logo { |
| 41 max-height: 54px; | 46 content: -webkit-image-set( |
| 42 padding: 15px; | 47 url('../../../app/theme/%DISTRIBUTION%/product_logo_name_48.png') 1x, |
|
Dan Beam
2012/09/07 22:48:12
I thought there was a grit regex/preprocessing ste
mattm
2012/09/07 22:53:47
I think I could also have done it with the 2x/ dir
| |
| 48 url('../../../app/theme/%DISTRIBUTION%/product_logo_name_96.png') 2x); | |
| 49 padding: 3px 0; | |
| 43 } | 50 } |
| 44 | 51 |
| 45 #headline { | 52 #headline { |
| 46 /* 20px of left margin, 90px of right margin in LTR. | 53 -webkit-margin-end: 260px; |
| 47 * In RTL, 20px of right margin and 90px of left margin. */ | |
| 48 -webkit-margin-end: 90px; | |
| 49 -webkit-margin-start: 20px; | |
| 50 color: #333; | 54 color: #333; |
| 51 font-size: 19px; | 55 font-size: 22px; |
| 52 font-weight: bold; | 56 font-weight: bold; |
| 53 margin-bottom: 8px; | 57 margin-top: 20px; |
| 54 } | 58 } |
| 55 | 59 |
| 56 .main { | 60 .main { |
| 57 -webkit-margin-end: 210px; | 61 -webkit-margin-end: 260px; |
| 58 -webkit-margin-start: 20px; | 62 font-size: 16px; |
| 59 font-size: 14px; | 63 line-height: 22px; |
| 60 margin-bottom: 10px; | 64 margin-bottom: 21px; |
| 61 margin-top: 5px; | 65 margin-top: 14px; |
| 62 } | 66 } |
| 63 | 67 |
| 64 .dropdown { | 68 .advanced { |
| 65 -webkit-margin-end: 40px; | 69 -webkit-margin-start: 10px; |
| 66 -webkit-margin-start: 20px; | 70 font-size: 13px; |
| 67 font-size: 12px; | |
| 68 } | 71 } |
| 69 | 72 |
| 70 footer { | 73 footer { |
| 71 -webkit-margin-end: 20px; | 74 font-size: 13px; |
| 72 -webkit-margin-start: 15px; | 75 margin-top: 50px; |
| 73 font-size: 12px; | |
| 74 } | 76 } |
| 75 | 77 |
| 76 #learn-more-link { | 78 #learn-more-link { |
| 77 font-size: 12px; | 79 font-size: 13px; |
| 78 } | 80 } |
| 79 | 81 |
| 80 .submission { | 82 .submission { |
| 81 -webkit-margin-end: 5px; | 83 -webkit-margin-end: 5px; |
| 82 margin-bottom: 15px; | 84 margin-bottom: 15px; |
| 83 margin-top: 15px; | |
| 84 padding: 0; | 85 padding: 0; |
| 85 } | 86 } |
| 86 | 87 |
| 87 button { | 88 button { |
| 88 -webkit-box-shadow: inset 0 1px 0 0 rgb(129, 169, 243), | 89 -webkit-box-shadow: inset 0 1px 0 0 rgb(129, 169, 243), |
| 89 0 1px 2px rgba(0, 0, 0, .2); | 90 0 1px 2px rgba(0, 0, 0, .2); |
| 90 background: -webkit-linear-gradient(rgb(112, 154, 241), | 91 background: -webkit-linear-gradient(rgb(112, 154, 241), |
| 91 rgb(108, 148, 240) 44%, rgb(95, 132, 238)); | 92 rgb(108, 148, 240) 44%, rgb(95, 132, 238)); |
| 92 border: 1px solid rgb(53, 116, 203); | 93 border: 1px solid rgb(53, 116, 203); |
| 93 border-radius: 3px; | 94 border-radius: 3px; |
| 94 color: white; | 95 color: white; |
| 95 cursor: pointer; | 96 cursor: pointer; |
| 96 display: inline-block; | 97 display: inline-block; |
| 97 font: bold 14px/1 arial, helvetica, sans-serif; | 98 font-size: 14px; |
| 99 font-weight: bold; | |
| 100 line-height: 1; | |
| 98 padding: 11px 38px 10px 38px; | 101 padding: 11px 38px 10px 38px; |
| 99 text-align: center; | 102 text-align: center; |
| 100 text-decoration: none; | 103 text-decoration: none; |
| 101 text-shadow: 0 -1px 0 rgb(72, 101, 228); | 104 text-shadow: 0 -1px 0 rgb(72, 101, 228); |
| 102 } | 105 } |
| 103 | 106 |
| 104 button:hover, | 107 button:hover, |
| 105 button:focus { | 108 button:focus { |
| 106 -webkit-box-shadow: inset 0 1px 0 0 rgb(129, 169, 243), | 109 -webkit-box-shadow: inset 0 1px 0 0 rgb(129, 169, 243), |
| 107 0 1px 2px rgba(0, 0, 0, .3); | 110 0 1px 2px rgba(0, 0, 0, .3); |
| 108 background: -webkit-linear-gradient(rgb(165, 188, 245), | 111 background: -webkit-linear-gradient(rgb(165, 188, 245), |
| 109 rgb(108, 148, 240) 70%, rgb(95, 132, 238)); | 112 rgb(108, 148, 240) 70%, rgb(95, 132, 238)); |
| 110 border: 1px solid rgb(53, 116, 203); | 113 border: 1px solid rgb(53, 116, 203); |
| 111 } | 114 } |
| 112 | 115 |
| 113 button:active { | 116 button:active { |
| 114 -webkit-box-shadow: inset 1px 1px 1px 1px rgba(0, 0, 0, .1); | 117 -webkit-box-shadow: inset 1px 1px 1px 1px rgba(0, 0, 0, .1); |
| 115 background: -webkit-linear-gradient(rgb(112, 154, 241), | 118 background: -webkit-linear-gradient(rgb(112, 154, 241), |
| 116 rgb(108, 148, 240) 44%, rgb(95, 132, 238)); | 119 rgb(108, 148, 240) 44%, rgb(95, 132, 238)); |
| 117 border: 1px solid rgb(53, 116, 203); | 120 border: 1px solid rgb(53, 116, 203); |
| 118 } | 121 } |
| 119 | 122 |
| 120 hr { | |
| 121 margin: 0 20px; | |
| 122 } | |
| 123 | |
| 124 a { | 123 a { |
| 125 color: rgb(17, 84, 204); | 124 color: rgb(17, 84, 204); |
| 126 } | 125 } |
| 127 | 126 |
| 128 a:link, | 127 a:link, |
| 129 a:visited { | 128 a:visited { |
| 130 text-decoration: none; | 129 text-decoration: none; |
| 131 } | 130 } |
| 132 | 131 |
| 133 a:hover, | 132 a:hover, |
| 134 a:active { | 133 a:active { |
| 135 text-decoration: underline; | 134 text-decoration: underline; |
| 136 } | 135 } |
| 137 | 136 |
| 138 .checkbox { | 137 .checkbox { |
| 139 -webkit-margin-end: 80px; | 138 margin-top: 11px; |
| 140 -webkit-margin-start: 5px; | |
| 141 position: relative; | 139 position: relative; |
| 142 } | 140 } |
| 143 | 141 |
| 144 .checkbox input { | 142 .checkbox input { |
| 145 -webkit-margin-start: 1px; | 143 -webkit-margin-start: 1px; |
| 146 margin-top: 5px; | 144 margin-top: 3px; |
| 147 position: absolute; | 145 position: absolute; |
| 148 } | 146 } |
| 149 | 147 |
| 150 .checkbox span { | 148 .checkbox span { |
| 151 -webkit-margin-start: 21px; | 149 -webkit-margin-start: 21px; |
| 152 display: inline-block; | 150 display: inline-block; |
| 153 } | 151 } |
| 154 | 152 |
| OLD | NEW |