Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright 2017 The Chromium Authors. All rights reserved. | |
| 3 * Use of this source code is governed by a BSD-style license that can be | |
| 4 * found in the LICENSE file. | |
| 5 */ | |
| 6 | |
| 7 .console-note-level .console-message { | |
| 8 padding: 0 !important; | |
|
luoe
2017/02/11 00:30:54
!!!are there any alternatives?
| |
| 9 } | |
| 10 | |
| 11 .release-note-header { | |
| 12 font-size: 15px; | |
| 13 } | |
| 14 | |
| 15 .release-note-toolbar { | |
| 16 position: absolute; | |
| 17 right: 0; | |
| 18 } | |
| 19 | |
| 20 .release-note-container { | |
| 21 margin: 16px 0 0 0; | |
| 22 display: flex; | |
| 23 flex-direction: row; | |
| 24 flex-wrap: wrap-reverse; | |
| 25 } | |
| 26 | |
| 27 .release-note-highlight-container { | |
| 28 margin-left: -25px; | |
| 29 line-height: 1.5; | |
| 30 margin-top: 14px; | |
| 31 margin-bottom: 14px; | |
| 32 width: 100%; | |
| 33 } | |
| 34 | |
| 35 .release-note-link { | |
| 36 color: #039be5; | |
| 37 outline: 0; | |
| 38 text-decoration: none; | |
| 39 cursor: pointer; | |
| 40 } | |
| 41 | |
| 42 .release-note-link:hover, .image-hover .release-note-featured-link { | |
| 43 text-decoration: underline; | |
| 44 } | |
| 45 | |
| 46 .release-note-image { | |
| 47 width: 200px; | |
| 48 padding-right: 8px; | |
| 49 margin-bottom: 16px; | |
| 50 } | |
| 51 | |
| 52 .release-note-text-container { | |
| 53 display: inline-block; | |
| 54 width: 220px; | |
| 55 vertical-align: top; | |
| 56 padding: 0; | |
| 57 margin-bottom: 16px; | |
| 58 font-size: 12px; | |
| 59 | |
| 60 /* This is a hack, don't know how to properly override with platform default s*/ | |
| 61 font-family: '.SFNSDisplay-Regular', sans-serif !important; | |
|
chenwilliam
2017/02/09 23:39:48
ideas on how to override the monospace font with t
| |
| 62 } | |
| 63 | |
| 64 .close-release-note-message { | |
| 65 margin-left: 4px; | |
| 66 } | |
| 67 | |
| 68 .release-note-image-container { | |
| 69 cursor: pointer; | |
| 70 } | |
| 71 | |
| 72 /* Buttons and dropdowns */ | |
| 73 .dth-button { | |
|
chenwilliam
2017/02/09 23:39:48
shouldn't actually be in here... @einbinder is lan
| |
| 74 -webkit-appearance: none; | |
| 75 box-sizing: border-box; | |
| 76 outline: 0; | |
| 77 height: 24px; | |
| 78 font-family: ".SFNSDisplay-Regular", "Segoe UI", "Oxygen", "Ubuntu", "Cantar ell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; | |
| 79 font-size: 12px; | |
| 80 line-height: 16px; | |
| 81 border: 1px solid; | |
| 82 border-radius: 2px; | |
| 83 padding: 3px 12px; | |
| 84 font-weight: 600; | |
| 85 color: #333; | |
| 86 background-color: #fff; | |
| 87 border-color: rgba(0, 0, 0, 0.2); | |
| 88 } | |
| 89 | |
| 90 .dth-button:hover, .dth-button:focus, .dth-button:active { | |
| 91 background-color: #fafafa; | |
| 92 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); | |
| 93 } | |
| 94 | |
| 95 .dth-button:active { | |
| 96 background-color: #f2f2f2; | |
| 97 } | |
| 98 | |
| 99 .dth-button:focus { | |
| 100 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(66, 133, 244, 0.4); | |
| 101 } | |
| 102 | |
| 103 .dth-button.is-primary { | |
| 104 background-color: #4285F4; | |
| 105 border: 0; | |
| 106 color: #fff; | |
| 107 } | |
| 108 | |
| 109 .dth-button.is-primary:hover, .dth-button.is-primary:focus { | |
| 110 background-color: #3B78E7; | |
| 111 } | |
| OLD | NEW |