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 #choose-block { | 5 #choose-block { |
| 6 -webkit-box-orient: horizontal; | 6 -webkit-box-orient: vertical; |
| 7 background: #eee; | 7 background: rgb(238, 238, 255); |
|
Jeffrey Yasskin
2012/08/30 00:15:10
Why rgb(...) instead of #eef?
clintstaley
2012/08/30 21:40:18
The automated style checker dinged me for the #eef
Jeffrey Yasskin
2012/08/31 22:28:16
So weird.
| |
| 8 display: -webkit-box; | 8 display: -webkit-box; |
| 9 } | 9 } |
| 10 | 10 |
| 11 | |
| 11 .spacer { | 12 .spacer { |
| 12 -webkit-box-flex: 1; | 13 -webkit-box-flex: 1; |
| 13 } | 14 } |
| 14 | 15 |
| 15 /* |charts| is the style for the div enclosing all charts, collectively. Its | 16 /* |charts| is the style for the div enclosing all charts, collectively. Its |
| 16 * dimensions must increase if the div encloses more than one chart. | 17 * dimensions must increase if the div encloses more than one chart. |
| 17 * |chart| is the style for any div that encloses a single chart -- a | 18 * |chart| is the style for any div that encloses a single chart -- a |
| 18 * child div of the larger #charts div. */ | 19 * child div of the larger #charts div. */ |
| 19 #charts, | 20 #charts, |
| 20 .chart { | 21 .chart { |
| 21 height: 500px; | 22 height: 500px; |
| 22 width: 900px; | 23 margin-left: 1.5em; |
| 24 margin-top: 1.5em; | |
| 25 min-width: 800px; | |
| 26 width: 80%; | |
| 23 } | 27 } |
| 24 | 28 |
| 25 div.event-label { | 29 .event-label { |
| 26 background: white; | 30 background: #eee; |
| 27 border: 1px solid; | 31 border: 1px solid; |
| 28 font: 0.6em; | 32 font-family: Arial, sans-serif; |
| 33 font-size: 0.7em; | |
| 29 position: absolute; | 34 position: absolute; |
| 30 } | 35 } |
| 36 | |
| 37 /* Three levels of label for lefthand control navigation.*/ | |
| 38 .tab-label { | |
| 39 font: 1.4em bold; | |
| 40 margin-bottom: .5em; | |
| 41 margin-top: 1em; | |
| 42 } | |
| 43 | |
| 44 .category-label { | |
| 45 font: 1.1em bold; | |
| 46 margin-top: .3em; | |
| 47 } | |
| 48 | |
| 49 .detail-label { | |
| 50 font: 1em; | |
| 51 } | |
| 52 | |
| 53 .detail-checkbox, | |
| 54 .radio { | |
| 55 margin-left: 18px; | |
| 56 } | |
| 57 | |
| 58 .color-icon { | |
| 59 height: 1em; | |
| 60 min-height: 1em; | |
| 61 min-width: 1em; | |
| 62 opacity: 0.7; | |
| 63 visibility: hidden; | |
| 64 width: 1em; | |
| 65 } | |
| 66 | |
| 67 .horizontal-box { | |
| 68 -webkit-box-orient: horizontal; | |
| 69 display: -webkit-box; | |
| 70 } | |
| 71 | |
| 72 button { | |
| 73 -webkit-padding-end: 10px; | |
| 74 -webkit-padding-start: 10px; | |
| 75 background-color: buttonface; | |
| 76 background-image: -webkit-linear-gradient(#EDEDED, #EDEDED 38%, #DEDEDE); | |
| 77 border: 1px solid rgba(0, 0, 0, 0.25); | |
| 78 border-radius: 2px; | |
| 79 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), | |
| 80 inset 0 1px 2px rgba(255, 255, 255, 0.75); | |
| 81 color: #444; | |
| 82 font: inherit; | |
| 83 height: 1.5em; | |
| 84 margin: 0 1px 0 0; | |
| 85 min-width: 4em; | |
| 86 text-shadow: #F0F0F0 0px 1px 0px; | |
| 87 } | |
| 88 | |
| 89 button:active { | |
| 90 background-image: -webkit-linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7); | |
| 91 box-shadow: none; | |
| 92 text-shadow: none; | |
| 93 } | |
| OLD | NEW |