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

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

Issue 2237393002: DevTools Security panel: Update the security overview to match the new Material specs. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | 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-main-view { 6 .security-main-view {
7 -webkit-user-select: text; 7 -webkit-user-select: text;
8 overflow-x: hidden; 8 overflow-x: hidden;
9 overflow-y: auto; 9 overflow-y: auto;
10 background-color: #f9f9f9; 10 background-color: #FAFAFA;
11 } 11 }
12 12
13 .security-main-view > div { 13 .security-main-view > div {
14 flex-shrink: 0; 14 flex-shrink: 0;
15 } 15 }
16 16
17 .security-summary {
18 background-color: #fff;
19 }
20
21 .security-summary-section-title { 17 .security-summary-section-title {
22 font-size: 14px; 18 font-size: 14px;
23 margin: 12px 16px; 19 margin: 14px 16px 12px;
24 } 20 }
25 21
26 .lock-spectrum { 22 .lock-spectrum {
27 margin: 8px 16px; 23 margin: 8px 16px;
28 display: flex; 24 display: flex;
29 align-items: flex-start; 25 align-items: flex-start;
30 } 26 }
31 27
32 .security-summary .lock-icon { 28 /* Separate the middle lock icon from the other two. */
33 flex: none;
34 width: 16px;
35 height: 16px;
36 margin: 0 0;
37 }
38
39 /* Separate the middle icon from the other two. */
40 .security-summary .lock-icon-neutral { 29 .security-summary .lock-icon-neutral {
41 margin: 0 16px; 30 margin: 0 16px;
42 } 31 }
43 32
44 .security-summary:not(.security-summary-secure) .lock-icon-secure, 33 .security-summary:not(.security-summary-secure) .lock-icon-secure,
45 .security-summary:not(.security-summary-neutral) .lock-icon-neutral, 34 .security-summary:not(.security-summary-neutral) .lock-icon-neutral,
46 .security-summary:not(.security-summary-insecure) .lock-icon-insecure { 35 .security-summary:not(.security-summary-insecure) .lock-icon-insecure {
47 background-color: rgba(90, 90, 90, 0.25); 36 background-color: rgba(90, 90, 90, 0.25);
48 } 37 }
49 38
50 .triangle-pointer-container { 39 .triangle-pointer-container {
51 margin: 8px 24px 0; 40 margin: 8px 24px 0;
52 padding: 0 0; 41 padding: 0 0;
53 } 42 }
54 43
55 .triangle-pointer-wrapper { 44 .triangle-pointer-wrapper {
56 /* Defaults for dynamic properties. */ 45 /* Defaults for dynamic properties. */
57 transform: translateX(0); 46 transform: translateX(32px);
58 transition: transform 0.3s; 47 transition: transform 0.3s;
59 } 48 }
60 49
61 .triangle-pointer {
62 width: 12px;
63 height: 12px;
64 margin-bottom: -6px;
65 margin-left: -6px;
66 transform: rotate(-45deg);
67 border-style: solid;
68 border-width: 1px 1px 0 0;
69
70 /* Defaults for dynamic properties. */
71 background: rgb(243, 243, 243);
72 border-color: rgb(217, 217, 217);
73 }
74
75 .security-summary-secure .triangle-pointer-wrapper { 50 .security-summary-secure .triangle-pointer-wrapper {
76 transform: translateX(0px); 51 transform: translateX(0px);
77 } 52 }
78 53
79 .security-summary-neutral .triangle-pointer-wrapper { 54 .security-summary-neutral .triangle-pointer-wrapper {
80 transform: translateX(32px); 55 transform: translateX(32px);
81 } 56 }
82 57
83 .security-summary-insecure .triangle-pointer-wrapper { 58 .security-summary-insecure .triangle-pointer-wrapper {
84 transform: translateX(64px); 59 transform: translateX(64px);
85 } 60 }
86 61
87 .security-summary-text { 62 .triangle-pointer {
88 padding: 12px 24px; 63 width: 12px;
64 height: 12px;
65 margin-bottom: -6px;
66 margin-left: -6px;
67 transform: translateY(0.3px) rotate(-45deg);
89 border-style: solid; 68 border-style: solid;
90 border-width: 1px 0; 69 border-width: 1px 1px 0 0;
91 70 background: white;
92 /* Defaults for dynamic properties. */ 71 border-color: rgba(0, 0, 0, 0.14);
93 background: rgb(243, 243, 243);
94 border-color: rgb(217, 217, 217);
95 color: rgb(127, 127, 127);
96 } 72 }
97 73
98 .security-summary-secure .triangle-pointer, 74 .security-summary-text {
99 .security-summary-secure .security-summary-text { 75 padding: 18px 16px 12px;
100 background: rgb(243, 252, 244); 76 background: white;
101 border-color: rgb(137, 222, 144); 77 font-size: 14px;
102 color: rgb(42, 194, 57); 78 border-top: 1px solid rgba(0, 0, 0, 0.14);
103 } 79 }
104 80
105 .security-summary-neutral .triangle-pointer, 81 .security-summary-secure .security-summary-text {
106 .security-summary-neutral .security-summary-text { 82 color: #0B8043;
107 background: rgb(255, 251, 243);
108 border-color: rgb(253, 214, 129);
109 color: rgb(253, 177, 48);
110 } 83 }
111 84
112 .security-summary-insecure .triangle-pointer, 85 .security-summary-neutral .security-summary-text,
113 .security-summary-insecure .security-summary-text { 86 .security-summary-insecure .security-summary-text {
114 background: rgb(253, 245, 245); 87 color: #C63626;
115 border-color: rgb(243, 157, 151); 88 }
116 color: rgb(216, 70, 60); 89
90 .security-explanation-list:not(.security-explanations-extra) {
91 background: white;
92 padding-bottom: 16px;
93 border-bottom: 1px solid rgb(230, 230, 230);
117 } 94 }
118 95
119 .security-explanation { 96 .security-explanation {
120 padding: 16px; 97 padding: 12px 16px;
121 border-bottom: 1px solid rgb(230, 230, 230);
122 background-color: #fff;
123
124 display: flex; 98 display: flex;
125 white-space: nowrap;
126 }
127
128 .security-explanation-text {
129 flex: auto;
130 white-space: normal;
131 max-width: 400px;
132 }
133
134 .security-explanations-extra .security-explanation {
135 background-color: transparent;
136 }
137
138 .security-explanations-extra .security-explanation:only-child {
139 border-bottom: none;
140 } 99 }
141 100
142 .security-certificate-button { 101 .security-certificate-button {
143 margin-top: 8px; 102 margin-top: 8px;
144 } 103 }
145 104
146 .security-explanation .security-property { 105 .security-explanation .security-property {
147 flex: none; 106 flex: none;
148 width: 16px;
149 height: 16px;
150 margin-right: 16px; 107 margin-right: 16px;
151 } 108 }
152 109
153 .security-explanation-title { 110 .security-explanation-title {
154 color: rgb(90, 90, 90); 111 color: black;
155 margin-top: 1px; 112 margin-bottom: 4px;
156 margin-bottom: 8px;
157 } 113 }
158 114
159 .security-explanation-neutral .security-section-title, 115 .security-explanation-text {
160 .security-explanation-warning .security-section-title 116 max-width: 400px;
161 { 117 color: rgba(0, 0, 0, 0.55);
162 color: rgb(253, 177, 48);
163 font-weight: bold;
164 }
165 .security-explanation-insecure .security-section-title
166 {
167 color: rgb(216, 71, 60);
168 font-weight: bold;
169 } 118 }
170 119
171 .security-mixed-content { 120 .security-mixed-content {
172 margin-top: 8px; 121 margin-top: 4px;
173 } 122 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698