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

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

Issue 2231383003: DevTools Security panel: Update the sidebar to match 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 .tree-outline { 6 .tree-outline {
7 padding: 0; 7 padding: 0;
8 } 8 }
9 9
10 .tree-outline li { 10 .tree-outline li::before {
11 display: flex; 11 /* Hide dropdown triangles, since the Security panel doesn't use them. */
pfeldman 2016/08/13 00:08:09 They still work though.
lgarron 2016/08/13 00:42:27 Really? I can't click on them. (Note: this is not
12 flex-direction: row; 12 content: none;
13 align-items: center;
14 } 13 }
15 14
16 .tree-outline:focus li.selected .lock-icon, 15 .tree-outline:focus li.selected .icon {
17 .tree-outline:focus .security-sidebar-tree-item.selected .icon
18 {
19 background-color: white; 16 background-color: white;
20 } 17 }
21 18
22 .tree-outline .security-main-view-sidebar-tree-item { 19 .tree-outline .security-main-view-sidebar-tree-item {
23 border-bottom: 1px solid rgb(230, 230, 230); 20 border-bottom: 1px solid #DDD;
24 padding: 16px 0; 21 padding: 16px 12px;
25 }
26
27 .tree-outline .security-sidebar-origins {
28 padding: 1px 8px 6px 8px;
29 margin-top: 1em;
30 margin-bottom: 0.5em;
31 color: rgb(90, 90, 90);
32 }
33
34 .tree-outline ol {
35 padding-left: 0;
36 }
37
38 .tree-outline li::before {
39 content: none;
40 }
41
42 .tree-outline .security-main-view-sidebar-tree-item,
43 .tree-outline .security-sidebar-origins,
44 .tree-outline .sidebar-tree-section + .children > .sidebar-tree-item {
45 padding-left: 16px;
46 } 22 }
47 23
48 .tree-outline .sidebar-tree-item .lock-icon, 24 .tree-outline .sidebar-tree-item .lock-icon,
49 .tree-outline .sidebar-tree-item .security-property { 25 .tree-outline .sidebar-tree-item .security-property {
50 margin-right: 4px; 26 margin-right: 4px;
51 flex: none; 27 }
28
29 .tree-outline .security-sidebar-origins {
30 color: rgba(0, 0, 0, 0.5);
31 padding: 16px 12px 8px;
52 } 32 }
53 33
54 .security-sidebar-tree-item { 34 .security-sidebar-tree-item {
55 padding: 2px 0; 35 padding: 2px 0px;
56 }
57
58 .security-sidebar-tree-item .titles {
59 overflow: hidden;
60 margin-right: 5px;
61 } 36 }
62 37
63 .sidebar-tree-item.security-main-view-reload-message .title { 38 .sidebar-tree-item.security-main-view-reload-message .title {
64 color: rgba(0, 0, 0, 0.5); 39 color: rgba(0, 0, 0, 0.5);
65 padding-left: 8px; 40 padding-left: 8px;
66 } 41 }
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