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

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

Issue 5646124035604480: Issue 154 - Added UI for devtools panel on Chrome (Closed)
Patch Set: Added new request types Created Jan. 28, 2016, 7:37 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
« no previous file with comments | « ext/devtools.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
(Empty)
1 *
2 {
3 font-family: 'Lucida Grande', 'Segoe UI', Ubuntu, Tahoma, Arial, sans-serif;
4 font-size: 11px;
5 box-sizing: border-box;
6 }
7
8 html
9 {
10 height: 100%;
11 overflow: hidden;
12 }
13
14 body
15 {
16 margin: 0;
17 color: #303942;
18 display: flex;
19 height: 100%;
20 flex-direction: column;
21 }
22
23 table
24 {
25 table-layout: fixed;
26 width: 100%;
27 border-collapse: collapse;
28 }
29
30 table *
31 {
32 overflow: hidden;
33 text-overflow: ellipsis;
34 }
35
36 td
37 {
38 padding: 3px;
39 white-space: nowrap;
40 border-left: 1px solid #cdcdcd;
41 }
42
43 td:first-child
44 {
45 border-left-style: none;
46 }
47
48 col:nth-child(2)
49 {
50 width: 115px;
51 }
52
53 col:nth-child(3)
54 {
55 width: 50%;
56 }
57
58 header
59 {
60 overflow-y: scroll;
61 border-bottom: 1px solid #cdcdcd;
62 flex-shrink: 0;
63 }
64
65 /*
66 * We have to add a scrollbar to the header to have the columns there aligned
67 * with the table below. But we don't want the scrollbar to be visible there.
68 */
69 header::-webkit-scrollbar
70 {
71 visibility: hidden;
72 }
73
74 #items
75 {
76 overflow-y: scroll;
77 flex-grow: 1;
78 }
79
80 #items table
81 {
82 line-height: 17px;
83
84 /* This background image gives every other row a gray background.
85 * This is simlar to "tr:nth-child(odd) background-color: #eee;".
86 * However, we can't do it that way, since some rows might be hidden.
87 */
88 background-image: url(data:image/gif;base64,R0lGODdhAQBQAIABAO7u7v///ywAAAAAAQ BQAAACC4SPqcsYD6OctMYCADs=);
89 background-repeat: repeat;
90 }
91
92 #items tr
93 {
94 height: 40px;
95 }
96
97 #items tr[data-state=blocked]
98 {
99 color: red;
100 }
101
102 #items tr[data-state=whitelisted]
103 {
104 color: green;
105 }
106
107 #items[data-filter-state=blocked] tr:not([data-state=blocked]),
108 #items[data-filter-state=whitelisted] tr:not([data-state=whitelisted]),
109 #items[data-filter-type=SUBDOCUMENT] tr:not([data-type=SUBDOCUMENT]),
110 #items[data-filter-type=IMAGE] tr:not([data-type=IMAGE]),
111 #items[data-filter-type=STYLESHEET] tr:not([data-type=STYLESHEET]),
112 #items[data-filter-type=SCRIPT] tr:not([data-type=SCRIPT]),
113 #items[data-filter-type=OBJECT] tr:not([data-type=OBJECT]),
114 #items[data-filter-type=XMLHTTPREQUEST] tr:not([data-type=XMLHTTPREQUEST]),
115 #items[data-filter-type=FONT] tr:not([data-type=FONT]),
116 #items[data-filter-type=PING] tr:not([data-type=PING]),
117 #items[data-filter-type=POPUP] tr:not([data-type=POPUP]),
118 #items[data-filter-type=ELEMHIDE] tr:not([data-type=ELEMHIDE]),
119 #items[data-filter-type=OTHER] tr:not([data-type=OTHER])
120 {
121 display: none;
122 }
123
124 .changed, .unnamed
125 {
126 font-style: italic
127 }
128
129 .request-wrapper, .filter-wrapper
130 {
131 display: flex;
132 height: 100%;
133 flex-direction: column;
134 }
135
136 tr:not(:hover) .action
137 {
138 display: none;
139 }
140
141 .url
142 {
143 width: 100%;
144 }
145
146 .resourceLink
147 {
148 cursor: pointer;
149 }
150
151 .resourceLink:hover {
152 text-decoration: underline;
153 }
154
155 .action-wrapper
156 {
157 display: flex;
158 width: 100%;
159 }
160
161 .action
162 {
163 background: #555;
164 color: white;
165 font-style: normal;
166 border-radius: 7px;
167 padding: 2px 6px;
168 margin: auto;
169 margin-left: 5px;
170 cursor: pointer;
171 flex-shrink: 0;
172 }
173
174 .filter-wrapper, .filter, .origin, .domain
175 {
176 flex-grow: 1;
177 }
178
179 .domain, .origin,
180 .changed .request-wrapper,
181 .changed .filter-wrapper,
182 .changed .type
183 {
184 opacity: 0.6;
185 }
186
187 footer
188 {
189 width: 100%;
190 height: 23px;
191 margin-bottom: -23px;
192 padding: 4px 3px;
193 border-top: 1px solid #cdcdcd;
194 flex-shrink: 0;
195 }
196
197 .has-changes + footer
198 {
199 margin-bottom: 0;
200 transition: margin-bottom 0.5s;
201 }
202
203 #reload
204 {
205 color: blue;
206 text-decoration: underline;
207 cursor: pointer;
208 }
OLDNEW
« no previous file with comments | « ext/devtools.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld