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 header { |
| 6 margin: 10px 10px 34px 10px; | 6 align-items: center; |
| 7 display: flex; | |
| 8 margin: 0 12px; | |
|
benjhayden
2014/08/22 16:54:01
I know most of these magic numbers were here befor
Dan Beam
2014/08/22 23:33:47
https://codereview.chromium.org/502613003
| |
| 7 } | 9 } |
| 8 | 10 |
| 9 .header { | 11 header h2 { |
| 10 clear: both; | 12 flex: 1; |
| 11 overflow: auto; | 13 font-size: 1.5em; |
| 14 margin: 15px 0; | |
| 12 } | 15 } |
| 13 | 16 |
| 14 .header .logo { | 17 #term { |
| 15 float: left; | 18 flex: none; |
| 16 } | |
| 17 | |
| 18 html[dir='rtl'] .logo, | |
| 19 html[dir='rtl'] .form { | |
|
benjhayden
2014/08/22 16:54:01
Yay, no more floats!
Sorry, I'm not very familiar
Dan Beam
2014/08/22 23:33:47
http://imgur.com/a/89oEk
| |
| 20 float: right; | |
| 21 } | |
| 22 | |
| 23 .header .form { | |
| 24 -webkit-margin-start: 12px; | |
| 25 float: left; | |
| 26 margin-top: 4px; | |
| 27 } | 19 } |
| 28 | 20 |
| 29 #downloads-summary { | 21 #downloads-summary { |
| 30 background-color: rgb(235, 239, 249); | 22 background-color: rgb(235, 239, 249); |
| 31 border-top: 1px solid rgb(156, 194, 239); | 23 border-top: 1px solid rgb(156, 194, 239); |
| 32 margin-bottom: 6px; | 24 display: flex; |
| 33 margin-top: 12px; | 25 padding: 5px 10px; |
| 34 padding: 3px; | |
| 35 } | 26 } |
| 36 | 27 |
| 37 #downloads-summary-text { | 28 #downloads-summary-text { |
| 29 flex: 1; | |
| 38 font-weight: bold; | 30 font-weight: bold; |
| 39 } | 31 } |
| 40 | 32 |
| 41 #downloads-actions { | 33 #downloads-actions { |
| 42 float: right; | 34 flex: none; |
| 43 } | |
| 44 | |
| 45 html[dir=rtl] #downloads-actions { | |
| 46 float: left; | |
| 47 } | 35 } |
| 48 | 36 |
| 49 .disabled-link { | 37 .disabled-link { |
| 50 color: #999; | 38 color: #999; |
| 51 text-decoration: none; | 39 text-decoration: none; |
| 52 } | 40 } |
| 53 | 41 |
| 54 #downloads-actions > a, | 42 #downloads-actions > a, |
| 55 #downloads-actions > .disabled-link { | 43 #downloads-actions > .disabled-link { |
| 56 -webkit-margin-start: 10px; | 44 -webkit-margin-start: 10px; |
| 57 } | 45 } |
| 58 | 46 |
| 59 #downloads-actions > a:first-child { | 47 #downloads-actions > a:first-child { |
| 60 -webkit-margin-start: 0; | 48 -webkit-margin-start: 0; |
| 61 } | 49 } |
| 62 | 50 |
| 63 #open-downloads-folder { | 51 #open-downloads-folder { |
| 64 -webkit-margin-end: 16px; | 52 -webkit-margin-end: 16px; |
| 65 } | 53 } |
| 66 | 54 |
| 67 #downloads-display { | 55 #downloads-display { |
| 68 max-width: 740px; | 56 max-width: 740px; |
| 57 padding: 0 10px 34px; | |
| 69 } | 58 } |
| 70 | 59 |
| 71 .download { | 60 .download { |
| 72 -webkit-margin-start: 114px; | 61 -webkit-margin-start: 114px; |
| 73 -webkit-padding-start: 56px; | 62 -webkit-padding-start: 56px; |
| 74 margin-bottom: 15px; | 63 margin-bottom: 15px; |
| 75 margin-top: 6px; | 64 margin-top: 6px; |
| 76 position: relative; | 65 position: relative; |
| 77 } | 66 } |
| 78 | 67 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 178 | 167 |
| 179 .controls a { | 168 .controls a { |
| 180 -webkit-margin-end: 16px; | 169 -webkit-margin-end: 16px; |
| 181 color: #777; | 170 color: #777; |
| 182 } | 171 } |
| 183 | 172 |
| 184 #downloads-pagination { | 173 #downloads-pagination { |
| 185 -webkit-margin-start: 18px; | 174 -webkit-margin-start: 18px; |
| 186 padding-top: 24px; | 175 padding-top: 24px; |
| 187 } | 176 } |
| OLD | NEW |