Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* Copyright (c) 2015 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 | |
| 6 .security-origin-view { | |
| 7 overflow-x: hidden; | |
| 8 overflow-y: scroll; | |
| 9 display: block; | |
| 10 -webkit-user-select: text; | |
| 11 } | |
| 12 | |
| 13 .security-origin-view .origin-view-section { | |
| 14 padding: 0.5em 1.5em 1.5em; | |
| 15 border-bottom: 1px solid rgb(230, 230, 230); | |
| 16 } | |
| 17 | |
| 18 .security-origin-view .title-section { | |
| 19 padding-bottom: 1.5em; | |
| 20 } | |
| 21 | |
| 22 .security-origin-view .origin-display .security-property { | |
| 23 margin: -1px 2px 0px 0px; | |
| 24 display: inline-block; | |
| 25 vertical-align: middle; | |
| 26 } | |
| 27 | |
| 28 .security-origin-view h1 { | |
|
dgozman
2015/08/21 19:44:37
We usually use div with specific class which refle
lgarron
2015/08/21 21:50:07
I've removed the use of `h1` and `h2` in the origi
| |
| 29 font-weight: normal; | |
| 30 font-size: 1.25em; | |
| 31 margin-top: 0.5em; | |
| 32 margin-bottom: 0.25em; | |
| 33 } | |
| 34 | |
| 35 .security-origin-view h2 { | |
| 36 font-size: 1em; | |
| 37 margin-top: 0.5em; | |
| 38 } | |
| 39 | |
| 40 .security-origin-view table.details-table { | |
|
dgozman
2015/08/21 19:44:37
Looking at the screenshot, you don't really need a
lgarron
2015/08/21 21:50:07
A table seems very straightforward to me. How woul
| |
| 41 border-collapse: collapse; | |
| 42 } | |
| 43 | |
| 44 .security-origin-view table.details-table td { | |
| 45 padding: 3px 0.5em; | |
| 46 vertical-align: top; | |
|
dgozman
2015/08/21 19:44:37
Use the modern display:flex and align-items:center
lgarron
2015/08/21 21:50:07
(Will do if I change to divs.)
| |
| 47 } | |
| 48 | |
| 49 .security-origin-view table.details-table td:first-child { | |
| 50 color: rgb(140, 140, 140); | |
| 51 text-align: right; | |
| 52 width: 96px; | |
| 53 } | |
| 54 | |
| 55 .security-origin-view table.details-table .san-entry { | |
| 56 display: block; | |
| 57 } | |
| OLD | NEW |