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

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

Issue 29368730: Issue 4136 - Support Chrome's dark devtools theme (Closed)
Patch Set: Addressed feedback Created Jan. 5, 2017, 4:22 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 | « devtools-panel.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 * 1 *
2 { 2 {
3 font-family: 'Lucida Grande', 'Segoe UI', Ubuntu, Tahoma, Arial, sans-serif; 3 font-family: 'Lucida Grande', 'Segoe UI', Ubuntu, Tahoma, Arial, sans-serif;
4 font-size: 11px; 4 font-size: 11px;
5 box-sizing: border-box; 5 box-sizing: border-box;
6 } 6 }
7 7
8 html 8 html
9 { 9 {
10 height: 100%; 10 height: 100%;
11 overflow: hidden; 11 overflow: hidden;
12 } 12 }
13 13
14 body 14 body
15 { 15 {
16 margin: 0; 16 margin: 0;
17 color: #303942; 17 color: #303942;
18 display: flex; 18 display: flex;
19 height: 100%; 19 height: 100%;
20 flex-direction: column; 20 flex-direction: column;
21 } 21 }
22 22
23 body.default
24 {
25 background-color: #ffffff;
26 }
27
28 body.dark
29 {
30 color: #ffffff;
31 }
32
23 table 33 table
24 { 34 {
25 table-layout: fixed; 35 table-layout: fixed;
26 width: 100%; 36 width: 100%;
27 border-collapse: collapse; 37 border-collapse: collapse;
28 } 38 }
29 39
30 table * 40 table *
31 { 41 {
32 overflow: hidden; 42 overflow: hidden;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 line-height: 17px; 92 line-height: 17px;
83 93
84 /* This background image gives every other row a gray background. 94 /* This background image gives every other row a gray background.
85 * This is simlar to "tr:nth-child(odd) background-color: #eee;". 95 * 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. 96 * However, we can't do it that way, since some rows might be hidden.
87 */ 97 */
88 background-image: url(data:image/gif;base64,R0lGODdhAQBQAIABAO7u7v///ywAAAAAAQ BQAAACC4SPqcsYD6OctMYCADs=); 98 background-image: url(data:image/gif;base64,R0lGODdhAQBQAIABAO7u7v///ywAAAAAAQ BQAAACC4SPqcsYD6OctMYCADs=);
89 background-repeat: repeat; 99 background-repeat: repeat;
90 } 100 }
91 101
102 body.dark #items table
103 {
104 background-image: url(data:image/gif;base64,R0lGODdhAQBQAIACACQkJExMTCwAAAAAAQ BQAAACC4yPqcsID6OctMYCADs=);
105 }
106
92 #items tr 107 #items tr
93 { 108 {
94 height: 40px; 109 height: 40px;
95 } 110 }
96 111
97 #items tr[data-state=blocked] 112 #items tr[data-state=blocked]
98 { 113 {
99 color: red; 114 color: red;
100 } 115 }
101 116
117 body.dark #items tr[data-state=blocked]
118 {
119 color: #ff3a3a;
120 }
121
102 #items tr[data-state=whitelisted] 122 #items tr[data-state=whitelisted]
103 { 123 {
104 color: green; 124 color: green;
105 } 125 }
106 126
127 body.dark #items tr[data-state=whitelisted]
128 {
129 color: #389c22;
130 }
131
107 #items[data-filter-state=blocked] tr:not([data-state=blocked]), 132 #items[data-filter-state=blocked] tr:not([data-state=blocked]),
108 #items[data-filter-state=whitelisted] tr:not([data-state=whitelisted]), 133 #items[data-filter-state=whitelisted] tr:not([data-state=whitelisted]),
109 #items[data-filter-type=SUBDOCUMENT] tr:not([data-type=SUBDOCUMENT]), 134 #items[data-filter-type=SUBDOCUMENT] tr:not([data-type=SUBDOCUMENT]),
110 #items[data-filter-type=IMAGE] tr:not([data-type=IMAGE]), 135 #items[data-filter-type=IMAGE] tr:not([data-type=IMAGE]),
111 #items[data-filter-type=STYLESHEET] tr:not([data-type=STYLESHEET]), 136 #items[data-filter-type=STYLESHEET] tr:not([data-type=STYLESHEET]),
112 #items[data-filter-type=SCRIPT] tr:not([data-type=SCRIPT]), 137 #items[data-filter-type=SCRIPT] tr:not([data-type=SCRIPT]),
113 #items[data-filter-type=OBJECT] tr:not([data-type=OBJECT]), 138 #items[data-filter-type=OBJECT] tr:not([data-type=OBJECT]),
114 #items[data-filter-type=XMLHTTPREQUEST] tr:not([data-type=XMLHTTPREQUEST]), 139 #items[data-filter-type=XMLHTTPREQUEST] tr:not([data-type=XMLHTTPREQUEST]),
115 #items[data-filter-type=FONT] tr:not([data-type=FONT]), 140 #items[data-filter-type=FONT] tr:not([data-type=FONT]),
116 #items[data-filter-type=PING] tr:not([data-type=PING]), 141 #items[data-filter-type=PING] tr:not([data-type=PING]),
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 { 230 {
206 color: blue; 231 color: blue;
207 text-decoration: underline; 232 text-decoration: underline;
208 cursor: pointer; 233 cursor: pointer;
209 } 234 }
210 235
211 .filtered-by-search 236 .filtered-by-search
212 { 237 {
213 display: none; 238 display: none;
214 } 239 }
240
241 body.dark #reload
242 {
243 color: #2a67e7;
244 }
OLDNEW
« no previous file with comments | « devtools-panel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld