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