Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 body { | |
| 6 background-color: rgb(140, 0, 0); | |
| 7 background-image: url('images/stripe.png'); | |
|
Dan Beam
2012/08/22 02:34:03
combine into a background rule
mattm
2012/08/22 20:33:47
done
| |
| 8 font-family: Arial,Helvetica,sans-serif; | |
|
Dan Beam
2012/08/22 02:34:03
spaces in front of commas, you might want to figur
arv (Not doing code reviews)
2012/08/22 14:33:45
Dan meant space after comma ;-)
mattm
2012/08/22 20:33:47
Done.
| |
| 9 margin: 0; | |
| 10 } | |
| 11 | |
| 12 .cell { | |
| 13 padding: 40px; | |
| 14 } | |
| 15 | |
| 16 .box { | |
| 17 -webkit-border-radius: 5px; | |
| 18 -webkit-box-shadow: 3px 3px 8px rgb(140, 0, 0); | |
| 19 background-color: white; | |
| 20 color: rgb(75, 75, 77); | |
| 21 font-size: 10pt; | |
|
arv (Not doing code reviews)
2012/08/22 14:33:45
Use px sizes
mattm
2012/08/22 20:33:47
Done.
| |
| 22 line-height: 16pt; | |
| 23 padding: 20px; | |
| 24 position: relative; | |
| 25 text-align: start; | |
| 26 width: 700px; | |
| 27 } | |
| 28 | |
| 29 .float { | |
| 30 float: right; | |
|
arv (Not doing code reviews)
2012/08/22 14:33:45
Don't use float. Floats are hard to reason about
mattm
2012/08/22 20:33:47
Do you mind if I leave the float for now? I don't
| |
| 31 } | |
| 32 | |
| 33 html[dir=rtl] .float { | |
|
Dan Beam
2012/08/22 02:34:03
nit: [dir='rtl'] (single quotes)
mattm
2012/08/22 20:33:47
Done.
| |
| 34 float: left; | |
| 35 } | |
| 36 | |
| 37 .clear { | |
| 38 clear: both; | |
| 39 } | |
| 40 | |
| 41 .logo { | |
| 42 max-height: 54px; | |
| 43 padding: 15px; | |
| 44 } | |
| 45 | |
| 46 #headline { | |
| 47 color: #333; | |
| 48 font-size: 14pt; | |
| 49 font-weight: bold; | |
| 50 margin: 0 90px 0 20px; | |
|
Dan Beam
2012/08/22 02:34:03
nothing that sets (margin/padding)-(left/right) wi
mattm
2012/08/22 20:33:47
Thanks, done.
| |
| 51 margin-bottom: 6pt; | |
|
Dan Beam
2012/08/22 02:34:03
combine with above margin statement
mattm
2012/08/22 20:33:47
Done.
| |
| 52 } | |
| 53 | |
| 54 .main { | |
| 55 font-size: 14px; | |
| 56 margin: 5px 210px 10px 20px; | |
| 57 } | |
| 58 | |
| 59 .dropdown { | |
| 60 font-size: 12px; | |
| 61 margin: 0 40px 0 20px; | |
| 62 } | |
| 63 | |
| 64 #footer { | |
| 65 font-size: 12px; | |
| 66 margin: 0 20px 0 15px; | |
| 67 } | |
| 68 | |
| 69 #learn-more-link { | |
| 70 font-size: 12px; | |
| 71 } | |
| 72 | |
| 73 .submission { | |
| 74 margin: 15px 5px 15px 0; | |
| 75 padding: 0; | |
| 76 } | |
| 77 | |
| 78 input { | |
| 79 margin: 0; | |
|
arv (Not doing code reviews)
2012/08/22 14:33:45
This should not be needed
mattm
2012/08/22 20:33:47
Done.
| |
| 80 } | |
| 81 | |
| 82 button { | |
| 83 -webkit-box-shadow: inset 0 1px 0 0 rgb(129, 169, 243), | |
|
arv (Not doing code reviews)
2012/08/22 14:33:45
Can you import a shared button css file?
mattm
2012/08/22 20:33:47
When I implement the new versions of the other sb
| |
| 84 0 1px 2px rgba(0,0,0,0.2); | |
|
Dan Beam
2012/08/22 02:34:03
nit: rgba(0, 0, 0, 0.2)
mattm
2012/08/22 20:33:47
Done.
| |
| 85 background: -webkit-linear-gradient(rgb(112, 154, 241), | |
| 86 rgb(108, 148, 240) 44%, rgb(95, 132, 238)); | |
| 87 border: 1px solid rgb(53, 116, 203); | |
| 88 border-bottom: 1px solid rgb(53, 116, 203); | |
|
Dan Beam
2012/08/22 02:34:03
border-bottom-color: (and below as well there are
mattm
2012/08/22 20:33:47
Done.
| |
| 89 border-radius: 3px; | |
| 90 color: white; | |
| 91 cursor: pointer; | |
| 92 display: inline-block; | |
| 93 font-family: arial, helvetica, sans-serif; | |
|
Dan Beam
2012/08/22 02:34:03
font: bold 14px/1 arial, helvetica, sans-serif;
mattm
2012/08/22 20:33:47
Done.
| |
| 94 font-size: 14px; | |
| 95 font-weight: bold; | |
| 96 line-height: 1; | |
| 97 padding: 11px 38px 10px 38px; | |
| 98 text-align: center; | |
| 99 text-decoration: none; | |
| 100 text-shadow: 0 -1px 0 rgb(72, 101, 228); | |
| 101 } | |
| 102 | |
| 103 button:hover, | |
| 104 button:focus { | |
| 105 -webkit-box-shadow: inset 0 1px 0 0 rgb(129, 169, 243), | |
| 106 0 1px 2px rgba(0,0,0,0.3); | |
| 107 background: -webkit-linear-gradient(rgb(165, 188, 245), | |
| 108 rgb(108, 148, 240) 70%, rgb(95, 132, 238)); | |
| 109 border: 1px solid rgb(53, 116, 203); | |
| 110 border-bottom: 1px solid rgb(53, 116, 203); | |
| 111 } | |
| 112 | |
| 113 button:active { | |
| 114 -webkit-box-shadow: inset 1px 1px 1px 1px rgba(0, 0, 0, 0.1); | |
| 115 background: -webkit-linear-gradient(rgb(112, 154, 241), | |
| 116 rgb(108, 148, 240) 44%, rgb(95, 132, 238)); | |
| 117 border: 1px solid rgb(53, 116, 203); | |
| 118 border-bottom: 1px solid rgb(53, 116, 203); | |
| 119 border-top: 1px solid rgb(53, 116, 203); | |
| 120 } | |
| 121 | |
| 122 hr { | |
| 123 margin: 0 20px 0 20px; | |
|
Dan Beam
2012/08/22 02:34:03
shorten to 0 20px;
mattm
2012/08/22 20:33:47
Done.
| |
| 124 } | |
| 125 | |
| 126 a { | |
| 127 color: rgb(17, 84, 204); | |
| 128 } | |
| 129 | |
| 130 a:link { | |
|
Dan Beam
2012/08/22 02:34:03
combine, i.e.
a:link,
a:visited {
text-de
mattm
2012/08/22 20:33:47
Done.
| |
| 131 text-decoration: none; | |
|
arv (Not doing code reviews)
2012/08/22 14:33:45
Why? I don't think we do this in any other part of
mattm
2012/08/22 20:33:47
In this case it's to de-emphasize the links so the
| |
| 132 } | |
| 133 | |
| 134 a:visited { | |
| 135 text-decoration: none; | |
| 136 } | |
| 137 | |
| 138 a:hover { | |
| 139 text-decoration: underline; | |
| 140 } | |
| 141 | |
| 142 a:active { | |
| 143 text-decoration: underline; | |
| 144 } | |
| 145 | |
| 146 .checkbox { | |
| 147 position: relative; | |
| 148 margin: 0 80px 0 5px | |
| 149 } | |
| 150 | |
| 151 .checkbox input { | |
| 152 margin-left: 1px; | |
| 153 margin-top: 5px; | |
| 154 position: absolute; | |
| 155 } | |
| 156 | |
| 157 .checkbox span { | |
| 158 -webkit-margin-start: 21px; | |
| 159 display: inline-block; | |
| 160 } | |
| 161 | |
| OLD | NEW |