Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(794)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/security/originView.css

Issue 1742743002: Add CSP information to Security Panel. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update to cleaner UX. Always shows CSP data, whether on HTTPS page or not. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 .security-origin-view { 6 .security-origin-view {
7 overflow-x: hidden; 7 overflow-x: hidden;
8 overflow-y: scroll; 8 overflow-y: scroll;
9 display: block; 9 display: block;
10 -webkit-user-select: text; 10 -webkit-user-select: text;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 display: block; 69 display: block;
70 } 70 }
71 71
72 .security-origin-view .truncated-san .truncated-entry { 72 .security-origin-view .truncated-san .truncated-entry {
73 display: none; 73 display: none;
74 } 74 }
75 75
76 .security-certificate-button { 76 .security-certificate-button {
77 margin-top: 4px; 77 margin-top: 4px;
78 } 78 }
79
80 .security-origin-view .csp-directive {
81 margin: 6px 0;
82 }
83
84 .csp-directive {
85 width: 100%;
86 }
87
88 .csp-directive_hidden {
89 display: none;
90 }
91
92 .csp-directive .lock-icon {
93 display: inline-block;
94 }
95
96 .csp-directive tr {
97 display: flex;
98 flex-direction: row;
99 }
100
101 .csp-directive th {
102 display: flex;
103 flex-direction: row;
104 justify-content: center;
105 align-content: center;
106 align-items: center;
107 flex-basis: 50%;
108 }
109
110 .csp-directive th p {
111 display: inline-block;
112 font-weight: 500;
113 }
114
115 .csp-directive td {
116 flex-basis: 50%;
117 }
118
119 .csp-directive td p {
120 display: flex;
121 flex-direction: row;
122 flex-wrap: wrap;
123 }
124
125 .csp-directive td p b {
126 flex-basis: 25%;
127 }
128
129 .csp-directive td p span {
130 flex-basis: 70%;
131 }
132
133 .csp-directive .lock-icon-unsafe {
134 background-image: none;
135 background-color: #5a5a5a;
136 -webkit-mask-image: url(Images/securityPropertyInsecure.svg);
137 -webkit-mask-size: cover;
138 }
139
140 .csp-directive .lock-icon-possibly-unsafe {
141 background-image: none;
142 background-color: #5a5a5a;
143 -webkit-mask-image: url(Images/securityPropertyWarning.svg);
144 -webkit-mask-size: cover;
145 }
146
147 .csp-rule-heading {
148 display: flex;
149 justify-content: center;
150 border-top: 1px solid rgba(0, 0, 0, 0.2);
151 border-bottom: 1px solid rgba(0, 0, 0, 0.2);
152 }
153
154 .csp-rule-heading .icon {
155 background-image: none;
156 background-color: #5a5a5a;
157 -webkit-mask-image: url(Images/securityPropertyWarning.svg);
158 -webkit-mask-size: cover;
159 background-size: cover;
160 height: 16px;
161 width: 16px;
162 display: inline-block;
163 margin-left: 6px;
164 pointer-events: none;
165 }
166
167 .csp-rule-heading.directive-is-hidden .icon {
168 transform: rotate(0.5turn);
169 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698