Files
react-native-devtools-frontend/front_end/help/releaseNote.css
T
Mathias Bynens ca9fa2d73f Consistently format CSS color and opacity values
- Prefer the modern comma-free CSS color function syntax over the
  legacy syntax. [1]
- Explicitly use the `deg` suffix for angle values in colors, to
  clarify the range.
- Explicitly use the `%` suffix for percentages instead of formatting
  the value as a number, again to clarify the range.

[1]: https://twitter.com/mathias/status/1253242715304857601
[2]: https://goo.gle/devtools-css-color

Bug: chromium:1083142
Fixed: chromium:1073885
Change-Id: I8e1582a2dee3553a61df88564051ea84c2011d76
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2209091
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Auto-Submit: Mathias Bynens <mathias@chromium.org>
2020-05-19 16:50:26 +00:00

126 lines
2.2 KiB
CSS

/*
* Copyright 2017 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
:host {
}
.hbox {
overflow-y: auto;
overflow-x: hidden;
}
.release-note-top-section {
height: 27px;
line-height: 27px;
padding: 0 15px;
flex: none;
background-color: var(--toolbar-bg-color);
border-bottom: var(--divider-border);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
:host-context(.-theme-with-dark-background) .release-note-top-section {
color: white;
}
.release-note-container {
display: flex;
flex-direction: column;
}
.release-note-container ul {
display: flex;
padding: 10px 16px;
flex-direction: column;
flex: none;
margin: 4px 12px 0 2px;
max-width: 600px;
}
.release-note-container li {
display: flex;
flex-direction: column;
flex: none;
line-height: 24px;
font-size: 14px;
}
.release-note-container li:hover {
color: #039be5;
}
.release-note-container .release-note-link {
border: 1px solid rgb(0 0 0 / 20%);
padding-left: 8px;
padding-right: 8px;
margin-bottom: 4px;
text-decoration: none;
}
.release-note-container .release-note-link:hover {
box-shadow: 0 0 0 1px rgb(0 0 0 / 50%) inset;
}
.release-note-title,
.release-note-subtitle {
color: inherit;
text-decoration: none;
}
.release-note-subtitle {
font-size: 13px;
line-height: 13px;
padding-bottom: 8px;
}
.release-note-container li:not(:hover) .release-note-subtitle {
color: #999;
}
.release-note-action-container > button {
margin: 10px 0 20px 20px;
color: #757575;
}
.release-note-action-container {
flex: none;
}
.release-note-image {
flex-shrink: 2;
}
img {
margin: 20px;
width: 260px;
height: 200px;
flex: none;
box-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}
img:hover {
box-shadow: 0 2px 4px rgb(0 0 0 / 50%);
}
@media (forced-colors: active) {
.release-note-container .release-note-link {
border-color: ButtonText;
}
.release-note-container .release-note-link:hover {
forced-color-adjust: none;
border-color: Highlight;
}
.release-note-container li .release-note-title,
.release-note-container li:not(:hover) .release-note-subtitle {
forced-color-adjust: none;
color: linktext;
}
}