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 div#chooseMetrics { | 5 div#chooseMetrics { |
|
Evan Stade
2012/07/28 01:01:16
you don't need any other qualifier than the id
clintstaley
2012/07/31 02:34:32
CSS newbie mistakes: I thought perhaps greater spe
| |
| 6 float: left; | 6 float: left; |
|
Evan Stade
2012/07/31 22:57:02
don't use float for layout. It's mostly just usefu
clintstaley
2012/08/01 00:25:45
I'd prefer not locking things down in absolute pix
Evan Stade
2012/08/01 02:06:08
I don't actually know what the layout of this page
clintstaley
2012/08/01 21:37:40
Flexbox worked fine, much better than that float t
| |
| 7 } | 7 } |
| 8 | 8 |
| 9 div#chooseEvents { | 9 div#chooseEvents { |
| 10 float: left; | 10 float: left; |
| 11 margin-left: 20px; | 11 margin-left: 20px; |
| 12 } | 12 } |
| 13 | 13 |
| 14 div#chooseTimeRange { | 14 div#chooseTimeRange { |
| 15 float: right; | 15 float: right; |
| 16 } | 16 } |
| 17 | 17 |
| 18 div#chooseBlock { | 18 div#chooseBlock { |
| 19 background: #eee; | 19 background: #eee; |
| 20 overflow: hidden; | 20 overflow: hidden; |
| 21 } | 21 } |
| 22 | 22 |
| 23 div#charts { | 23 div#charts { |
| 24 height: 500px; | 24 height: 500px; |
| 25 width: 900px; | 25 width: 900px; |
| 26 } | 26 } |
| 27 | 27 |
| 28 div.chart { | 28 div.chart { |
|
Evan Stade
2012/07/28 01:01:16
combine with the above
also I doubt you need the
clintstaley
2012/07/31 02:34:32
Removed the tag name, but the #charts style applie
Evan Stade
2012/07/31 22:57:02
in this case are you sure you need the height/widt
clintstaley
2012/08/01 00:25:45
Well, I am still a little mystified on how to get
| |
| 29 height: 500px; | 29 height: 500px; |
| 30 width: 900px; | 30 width: 900px; |
| 31 } | 31 } |
| 32 | 32 |
| 33 div.event-label { | 33 div.event-label { |
| 34 background: #fff; | 34 background: #fff; |
|
Evan Stade
2012/07/28 01:01:16
white
clintstaley
2012/07/31 02:34:32
Done.
| |
| 35 border: 1px solid; | 35 border: 1px solid; |
| 36 font: 0.6em; | 36 font: 0.6em; |
| 37 position: absolute; | 37 position: absolute; |
| 38 } | 38 } |
| 39 | 39 |
| 40 .hidden { | 40 .hidden { |
|
Evan Stade
2012/07/28 01:01:16
what is the point of this rule? normally .hidden m
clintstaley
2012/07/31 02:34:32
Ditto on CSS newbie comment. Fixed to display: no
Evan Stade
2012/07/31 22:57:02
ah. You should be using the hidden attribute, not
clintstaley
2012/08/01 00:25:45
Done.
| |
| 41 visibility: hidden; | 41 visibility: hidden; |
| 42 } | 42 } |
| OLD | NEW |