Files
react-native-devtools-frontend/front_end/security/originView.css
T
Michael Liao c20eb36aa7 DevTools [Security]: Show More/Show Less SR fix
Re-upload of https://chromium-review.googlesource.com/c/chromium/src/+/1767482 to DevTools repository

Issue:
- SR would not announce "Show More/Show Less" and "Show Full Details/Hide Full Details" button text change
Changes:
- The "Show More/Show Less" type buttons now announce the change in button text content and expanded/collapse state.

The button work for Security Panel has been moved to this CL:
https://chromium-review.googlesource.com/c/chromium/src/+/1819626/5

GIF of SR/Button behavior:
https://imgur.com/aUXwXXY

Bug: 963183
Change-Id: I6550fbf7023e0162964f0096b8057efedce87114
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1873208
Reviewed-by: Lorne Mitchell <lomitch@microsoft.com>
Reviewed-by: Jan Scheffler <janscheffler@chromium.org>
Commit-Queue: Michael Liao <michael.liao@microsoft.com>
2019-10-25 22:03:56 +00:00

131 lines
2.6 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;
-webkit-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;
}