Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 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 | :host { |
| 8 | } |
| 9 | |
| 10 | .hbox { |
| 11 | overflow-y: auto; |
| 12 | overflow-x: hidden; |
| 13 | } |
| 14 | |
| 15 | .release-note-top-section { |
| 16 | height: 27px; |
| 17 | line-height: 27px; |
| 18 | padding: 0 15px; |
| 19 | flex: none; |
| 20 | background-color: var(--toolbar-bg-color); |
| 21 | border-bottom: var(--divider-border); |
| 22 | overflow: hidden; |
| 23 | white-space: nowrap; |
| 24 | text-overflow: ellipsis; |
| 25 | } |
| 26 | |
| 27 | :host-context(.-theme-with-dark-background) .release-note-top-section { |
| 28 | color: white; |
| 29 | } |
| 30 | |
| 31 | .release-note-container { |
| 32 | display: flex; |
| 33 | flex-direction: column; |
| 34 | } |
| 35 | |
| 36 | .release-note-container ul { |
| 37 | display: flex; |
| 38 | padding: 10px 16px; |
| 39 | flex-direction: column; |
| 40 | flex: none; |
| 41 | margin: 4px 12px 0 2px; |
| 42 | max-width: 600px; |
| 43 | } |
| 44 | |
| 45 | .release-note-container li { |
| 46 | display: flex; |
| 47 | flex-direction:column; |
| 48 | flex: none; |
| 49 | line-height: 24px; |
| 50 | font-size: 14px; |
| 51 | } |
| 52 | |
| 53 | |
| 54 | .release-note-container li:hover { |
| 55 | color: #039be5; |
| 56 | } |
| 57 | |
| 58 | .release-note-title, |
| 59 | .release-note-subtitle { |
| 60 | color: inherit; |
| 61 | text-decoration: none; |
| 62 | } |
| 63 | |
| 64 | .release-note-subtitle { |
| 65 | font-size: 13px; |
| 66 | line-height: 13px; |
| 67 | padding-bottom: 8px; |
| 68 | } |
| 69 | |
| 70 | .release-note-container li:not(:hover) .release-note-subtitle { |
| 71 | color: #999; |
| 72 | } |
| 73 | |
| 74 | .release-note-action-container > button { |
| 75 | margin: 10px 0 20px 20px; |
| 76 | color: #757575; |
| 77 | } |
| 78 | |
| 79 | .release-note-action-container { |
| 80 | flex: none; |
| 81 | } |
| 82 | |
| 83 | .release-note-image { |
| 84 | flex-shrink: 2; |
| 85 | } |
| 86 | |
| 87 | img { |
| 88 | margin: 20px; |
| 89 | width: 260px; |
| 90 | height: 200px; |
| 91 | flex: none; |
| 92 | box-shadow: 0 2px 4px rgba(0, 0, 0, .3); |
| 93 | } |
| 94 | |
| 95 | img:hover { |
| 96 | box-shadow: 0 2px 4px rgba(0, 0, 0, .5); |
| 97 | } |