mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
- 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>
132 lines
2.5 KiB
CSS
132 lines
2.5 KiB
CSS
/* Copyright (c) 2015 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.
|
|
*/
|
|
|
|
.title-section {
|
|
padding: 16px 0 24px 0;
|
|
border-bottom: 1px solid rgb(230 230 230);
|
|
}
|
|
|
|
.title-section-header {
|
|
padding-left: 16px;
|
|
padding-bottom: 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.security-origin-view {
|
|
overflow-x: hidden;
|
|
overflow-y: scroll;
|
|
display: block;
|
|
user-select: text;
|
|
}
|
|
|
|
.security-origin-view .origin-view-section {
|
|
border-bottom: 1px solid rgb(230 230 230);
|
|
padding: 12px 6px 12px 24px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.origin-view-notes {
|
|
margin-top: 2px;
|
|
color: #8c8c8c;
|
|
}
|
|
|
|
.origin-view-section-notes {
|
|
margin-top: 6px;
|
|
color: #8c8c8c;
|
|
}
|
|
|
|
.security-origin-view .origin-display {
|
|
font-size: 12px;
|
|
padding-left: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.title-section > .view-network-button {
|
|
padding: 6px 0 0 16px;
|
|
}
|
|
|
|
.security-origin-view .origin-display .security-property {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
position: absolute;
|
|
left: 13px;
|
|
}
|
|
|
|
.security-origin-view .origin-view-section-title {
|
|
margin-top: 4px;
|
|
margin-bottom: 4px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.security-origin-view .details-table-row {
|
|
display: flex;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.security-origin-view .details-table-row > div {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.security-origin-view .details-table-row > div:first-child {
|
|
color: rgb(140 140 140);
|
|
width: 110px;
|
|
margin-right: 1em;
|
|
flex: none;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.security-origin-view .details-table-row > div:nth-child(2) {
|
|
flex: auto;
|
|
white-space: normal;
|
|
}
|
|
|
|
.security-origin-view .sct-details .details-table .details-table-row:last-child div:last-child {
|
|
border-bottom: 1px solid rgb(230 230 230);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.security-origin-view .sct-details .details-table:last-child .details-table-row:last-child div:last-child {
|
|
border-bottom: none;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.security-origin-view .details-toggle {
|
|
margin-left: 126px;
|
|
}
|
|
|
|
.security-origin-view .sct-toggle {
|
|
margin-left: 145px;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.security-origin-view .details-table .empty-san {
|
|
color: rgb(140 140 140);
|
|
}
|
|
|
|
.security-origin-view .details-table .san-entry {
|
|
display: block;
|
|
}
|
|
|
|
.security-origin-view .truncated-san .truncated-entry {
|
|
display: none;
|
|
}
|
|
|
|
.origin-button {
|
|
margin-top: 4px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.origin-view-section:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.devtools-link {
|
|
display: inline-flex;
|
|
}
|