| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 :host { |
| 8 } |
| 9 |
| 10 .hbox { |
| 11 overflow-y: auto; |
| 12 overflow-x: hidden; |
| 13 } |
| 14 |
| 15 .release-note-top-section { |
| 16 color: white; |
| 17 height: 36px; |
| 18 line-height: 36px; |
| 19 padding: 0 15px; |
| 20 font-size: 16px; |
| 21 flex: none; |
| 22 background-color: #3367d6; |
| 23 box-shadow: 0 2px 4px rgba(0,0,0,.28); |
| 24 } |
| 25 |
| 7 .release-note-container { | 26 .release-note-container { |
| 8 display: flex; | 27 display: flex; |
| 9 flex-direction: column; | 28 flex-direction: column; |
| 10 overflow: hidden; | |
| 11 } | 29 } |
| 12 | 30 |
| 13 .release-note-update-text { | 31 .release-note-container ul { |
| 14 font-weight: bold; | 32 display: flex; |
| 33 padding: 10px 16px; |
| 34 flex-direction: column; |
| 35 flex: none; |
| 36 margin: 4px 12px 0 2px; |
| 37 max-width: 600px; |
| 15 } | 38 } |
| 16 | 39 |
| 17 .release-note-content-container { | 40 .release-note-container li { |
| 18 display: flex; | 41 display: flex; |
| 19 flex-direction: row; | 42 flex-direction:column; |
| 20 overflow-x: hidden; | 43 flex: none; |
| 21 overflow-y: auto; | 44 line-height: 24px; |
| 22 padding: 12px 12px 0 12px; | 45 font-size: 14px; |
| 23 } | 46 } |
| 24 | 47 |
| 25 .release-note-text-container { | 48 |
| 26 min-width: 220px; | 49 .release-note-container li:hover { |
| 27 max-width: 300px; | 50 color: #039be5; |
| 51 } |
| 52 |
| 53 .release-note-title, |
| 54 .release-note-subtitle { |
| 55 color: inherit; |
| 56 text-decoration: none; |
| 57 } |
| 58 |
| 59 .release-note-subtitle { |
| 60 font-size: 13px; |
| 61 line-height: 13px; |
| 62 padding-bottom: 8px; |
| 63 } |
| 64 |
| 65 .release-note-container li:not(:hover) .release-note-subtitle { |
| 66 color: #999; |
| 67 } |
| 68 |
| 69 .release-note-action-container > button, |
| 70 .release-note-action-container > button:hover { |
| 71 margin: 10px 20px; |
| 72 background: none; |
| 73 border: none; |
| 74 font-weight: 500; |
| 75 text-transform: uppercase; |
| 76 color: #757575; |
| 77 font-size: 13px; |
| 78 } |
| 79 |
| 80 .release-note-action-container > button:hover { |
| 81 cursor: pointer; |
| 82 color: #666; |
| 28 } | 83 } |
| 29 | 84 |
| 30 .release-note-action-container { | 85 .release-note-action-container { |
| 31 padding: 12px; | 86 flex: none; |
| 32 min-height: 48px; | |
| 33 } | |
| 34 | |
| 35 .release-note-highlight-container { | |
| 36 line-height: 1.5; | |
| 37 -webkit-padding-start: 16px; | |
| 38 -webkit-margin-after: 0; | |
| 39 } | |
| 40 | |
| 41 .release-note-link, .release-note-featured-link { | |
| 42 color: #039be5; | |
| 43 text-decoration: none; | |
| 44 } | |
| 45 | |
| 46 .release-note-link:hover, | |
| 47 .release-note-featured-link:hover, | |
| 48 .image-hover .release-note-featured-link { | |
| 49 text-decoration: underline; | |
| 50 } | 87 } |
| 51 | 88 |
| 52 .release-note-image { | 89 .release-note-image { |
| 53 width: 200px; | 90 flex-shrink: 2; |
| 54 margin-left: 12px; | |
| 55 border: 1px solid lightgrey; | |
| 56 } | 91 } |
| 57 | 92 |
| 58 .close-release-note { | 93 img { |
| 59 margin-left: 4px; | 94 margin: 20px; |
| 95 width: 260px; |
| 96 height: 200px; |
| 97 flex: none; |
| 98 box-shadow: 0 2px 4px rgba(0, 0, 0, .3); |
| 60 } | 99 } |
| 100 |
| 101 img:hover { |
| 102 box-shadow: 0 2px 4px rgba(0, 0, 0, .5); |
| 103 } |
| OLD | NEW |