Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/devtools/devtools-panel.css

Issue 6393086494113792: Issue 154 - Added devtools panel showing blocked and blockable items (Closed)
Patch Set: Created Jan. 4, 2015, 9:48 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 *
2 {
3 font-family: 'Lucida Grande', 'Segoe UI', Tahoma, Arial, sans-serif;
4 font-size: 11px;
5 box-sizing: border-box;
6 }
7
8 body
9 {
10 margin: 0;
11 color: #303942;
12 display: -webkit-flex;
13 height: 100%;
14 -webkit-flex-direction: column;
15 }
16
17 table
18 {
19 table-layout: fixed;
20 width: 100%;
21 border-collapse: collapse;
22 }
23
24 table *
25 {
26 overflow: hidden;
27 text-overflow: ellipsis;
28 }
29
30 td
31 {
32 padding: 3px;
33 white-space: nowrap;
34 }
35
36 td:nth-child(2)
37 {
38 border-left: 1px solid #cdcdcd;
39 }
40
41 #header
42 {
43 overflow-y: scroll;
44 border-bottom: 1px solid #cdcdcd;
45 -webkit-flex-shrink: 0;
46 }
47
48 #header::-webkit-scrollbar
49 {
50 visibility: hidden;
51 }
52
53 #items
54 {
55 overflow-y: scroll;
56 -webkit-flex-grow: 1;
57 }
58
59 #items table
60 {
61 line-height: 17px;
62 background-image: url(data:image/gif;base64,R0lGODdhAQBQAIABAO7u7v///ywAAAAAAQ BQAAACC4SPqcsYD6OctMYCADs=);
63 background-repeat: repeat;
64 }
65
66 #items tr
67 {
68 height: 40px;
69 }
70
71 #items tr[data-state=blocked]
72 {
73 color: red;
74 }
75
76 #items tr[data-state=whitelisted]
77 {
78 color: green;
79 }
80
81 #items[data-filter-state=blocked] tr:not([data-state=blocked]),
82 #items[data-filter-state=whitelisted] tr:not([data-state=whitelisted]),
83 #items[data-filter-type=SUBDOCUMENT] tr:not([data-type=SUBDOCUMENT]),
84 #items[data-filter-type=IMAGE] tr:not([data-type=IMAGE]),
85 #items[data-filter-type=STYLESHEET] tr:not([data-type=STYLESHEET]),
86 #items[data-filter-type=SCRIPT] tr:not([data-type=SCRIPT]),
87 #items[data-filter-type=OBJECT] tr:not([data-type=OBJECT]),
88 #items[data-filter-type=XMLHTTPREQUEST] tr:not([data-type=XMLHTTPREQUEST]),
89 #items[data-filter-type=POPUP] tr:not([data-type=POPUP]),
90 #items[data-filter-type=ELEMHIDE] tr:not([data-type=ELEMHIDE]),
91 #items[data-filter-type=OTHER] tr:not([data-type=OTHER])
92 {
93 display: none;
94 }
95
96 .changed, .unnamed
97 {
98 font-style: italic
99 }
100
101 .request-wrapper
102 {
103 display: -webkit-flex;
104 width: 100%;
105 -webkit-flex-wrap: wrap;
106 }
107
108 tr:not(:hover) .action
109 {
110 display: none;
111 }
112
113 .url
114 {
115 width: 100%;
116 }
117
118 .resourceLink
119 {
120 cursor: pointer;
121 }
122
123 .resourceLink:hover {
124 text-decoration: underline;
125 }
126
127 .domain
128 {
129 -webkit-flex: 1 1px;
130 }
131
132 .type
133 {
134 -webkit-flex: 0 105px;
135 }
136
137 .action-wrapper
138 {
139 display: -webkit-flex;
140 width: 100%;
141 }
142
143 .action
144 {
145 background: #555;
146 color: white;
147 font-style: normal;
148 border-radius: 7px;
149 padding: 2px 6px;
150 margin: auto;
151 margin-left: 5px;
152 cursor: pointer;
153 -webkit-flex-shrink: 0;
154 }
155
156 .filter-wrapper
157 {
158 display: -webkit-flex;
159 height: 100%;
160 -webkit-flex-direction: column;
161 -webkit-flex-grow: 1;
162 }
163
164 .filter, .origin
165 {
166 -webkit-flex-grow: 1;
167 }
168
169 .domain, .type, .origin,
170 .changed .request-wrapper,
171 .changed .filter-wrapper
172 {
173 opacity: 0.6;
174 }
175
176 #footer
177 {
178 width: 100%;
179 padding: 3px;
180 border-top: 1px solid #cdcdcd;
181 -webkit-flex-shrink: 0;
182 }
183
184 #items:not(.has-changes) + #footer
185 {
186 display: none;
187 }
188
189 #reload
190 {
191 color: blue;
192 text-decoration: underline;
193 cursor: pointer;
194 }
OLDNEW

Powered by Google App Engine
This is Rietveld