| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 * | |
| 2 { | |
| 3 font-family: 'Lucida Grande', 'Segoe UI', Tahoma, Arial, sans-serif; | |
|
Thomas Greiner
2015/01/12 10:37:54
In the Networks panel they're using the following
Sebastian Noack
2015/01/12 11:55:07
Done.
| |
| 4 font-size: 11px; | |
| 5 box-sizing: border-box; | |
| 6 } | |
| 7 | |
| 8 body | |
| 9 { | |
| 10 margin: 0; | |
| 11 color: #303942; | |
| 12 display: flex; | |
|
Thomas Greiner
2015/01/12 10:37:54
According to http://caniuse.com/#search=flex Chrom
Sebastian Noack
2015/01/12 11:55:07
Yep, we are dropping support for Chrome 28 (see th
Thomas Greiner
2015/01/16 18:17:21
Ok, thanks for the info.
| |
| 13 height: 100%; | |
| 14 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 flex-shrink: 0; | |
| 46 } | |
| 47 | |
| 48 /* | |
| 49 * We have to add a scrollbar to the header to have the columns there aligned | |
| 50 * with the table below. But we don't want the scrollbar to be visible there. | |
| 51 */ | |
| 52 #header::-webkit-scrollbar | |
| 53 { | |
| 54 visibility: hidden; | |
| 55 } | |
| 56 | |
| 57 #items | |
| 58 { | |
| 59 overflow-y: scroll; | |
| 60 flex-grow: 1; | |
| 61 } | |
| 62 | |
| 63 #items table | |
| 64 { | |
| 65 line-height: 17px; | |
| 66 | |
| 67 /* This background image gives every other row a gray background. | |
| 68 * This is simlar to "tr:nth-child(odd) background-color: #eee;". | |
| 69 * However, we can't do it that way, since some rows might be hidden. | |
| 70 */ | |
| 71 background-image: url(data:image/gif;base64,R0lGODdhAQBQAIABAO7u7v///ywAAAAAAQ BQAAACC4SPqcsYD6OctMYCADs=); | |
| 72 background-repeat: repeat; | |
| 73 } | |
| 74 | |
| 75 #items tr | |
| 76 { | |
| 77 height: 40px; | |
| 78 } | |
| 79 | |
| 80 #items tr[data-state=blocked] | |
| 81 { | |
| 82 color: red; | |
| 83 } | |
| 84 | |
| 85 #items tr[data-state=whitelisted] | |
| 86 { | |
| 87 color: green; | |
| 88 } | |
| 89 | |
| 90 #items[data-filter-state=blocked] tr:not([data-state=blocked]), | |
| 91 #items[data-filter-state=whitelisted] tr:not([data-state=whitelisted]), | |
| 92 #items[data-filter-type=SUBDOCUMENT] tr:not([data-type=SUBDOCUMENT]), | |
| 93 #items[data-filter-type=IMAGE] tr:not([data-type=IMAGE]), | |
| 94 #items[data-filter-type=STYLESHEET] tr:not([data-type=STYLESHEET]), | |
| 95 #items[data-filter-type=SCRIPT] tr:not([data-type=SCRIPT]), | |
| 96 #items[data-filter-type=OBJECT] tr:not([data-type=OBJECT]), | |
| 97 #items[data-filter-type=XMLHTTPREQUEST] tr:not([data-type=XMLHTTPREQUEST]), | |
| 98 #items[data-filter-type=POPUP] tr:not([data-type=POPUP]), | |
| 99 #items[data-filter-type=ELEMHIDE] tr:not([data-type=ELEMHIDE]), | |
| 100 #items[data-filter-type=OTHER] tr:not([data-type=OTHER]) | |
| 101 { | |
| 102 display: none; | |
| 103 } | |
| 104 | |
| 105 .changed, .unnamed | |
| 106 { | |
| 107 font-style: italic | |
| 108 } | |
| 109 | |
| 110 .request-wrapper | |
| 111 { | |
| 112 display: flex; | |
| 113 width: 100%; | |
| 114 flex-wrap: wrap; | |
| 115 } | |
| 116 | |
| 117 tr:not(:hover) .action | |
| 118 { | |
| 119 display: none; | |
| 120 } | |
| 121 | |
| 122 .url | |
| 123 { | |
| 124 width: 100%; | |
| 125 } | |
| 126 | |
| 127 .resourceLink | |
| 128 { | |
| 129 cursor: pointer; | |
| 130 } | |
| 131 | |
| 132 .resourceLink:hover { | |
| 133 text-decoration: underline; | |
|
Sebastian Noack
2015/01/12 11:55:07
I disagree. Making the document domain clickable w
Thomas Greiner
2015/01/16 18:17:21
It already is confusing since the upper half of th
Sebastian Noack
2015/02/04 14:17:29
This changed when I addressed Sven's feedback. The
| |
| 134 } | |
| 135 | |
| 136 .domain | |
| 137 { | |
| 138 flex: 1 1px; | |
| 139 } | |
| 140 | |
| 141 .type | |
| 142 { | |
| 143 flex: 0 105px; | |
| 144 } | |
| 145 | |
| 146 .action-wrapper | |
| 147 { | |
| 148 display: flex; | |
| 149 width: 100%; | |
| 150 } | |
| 151 | |
| 152 .action | |
| 153 { | |
| 154 background: #555; | |
| 155 color: white; | |
| 156 font-style: normal; | |
| 157 border-radius: 7px; | |
| 158 padding: 2px 6px; | |
| 159 margin: auto; | |
| 160 margin-left: 5px; | |
| 161 cursor: pointer; | |
| 162 flex-shrink: 0; | |
| 163 } | |
| 164 | |
| 165 .filter-wrapper | |
| 166 { | |
| 167 display: flex; | |
| 168 height: 100%; | |
| 169 flex-direction: column; | |
| 170 flex-grow: 1; | |
| 171 } | |
| 172 | |
| 173 .filter, .origin | |
| 174 { | |
| 175 flex-grow: 1; | |
| 176 } | |
| 177 | |
| 178 .domain, .type, .origin, | |
| 179 .changed .request-wrapper, | |
| 180 .changed .filter-wrapper | |
| 181 { | |
| 182 opacity: 0.6; | |
| 183 } | |
| 184 | |
| 185 #footer | |
| 186 { | |
| 187 width: 100%; | |
| 188 padding: 3px; | |
| 189 border-top: 1px solid #cdcdcd; | |
| 190 flex-shrink: 0; | |
| 191 } | |
| 192 | |
| 193 #items:not(.has-changes) + #footer | |
| 194 { | |
| 195 display: none; | |
| 196 } | |
| 197 | |
| 198 #reload | |
| 199 { | |
| 200 color: blue; | |
| 201 text-decoration: underline; | |
| 202 cursor: pointer; | |
| 203 } | |
| OLD | NEW |