logger-ui.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. /*******************************************************************************
  2. ηMatrix - a browser extension to black/white list requests.
  3. Copyright (C) 2019-2022 Alessio Vanni
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see {http://www.gnu.org/licenses/}.
  14. Home: https://gitlab.com/vannilla/ematrix
  15. uMatrix Home: https://github.com/gorhill/uMatrix
  16. */
  17. body {
  18. background-color: white;
  19. border: 0;
  20. box-sizing: border-box;
  21. -moz-box-sizing: border-box;
  22. color: black;
  23. margin: 0;
  24. overflow-x: hidden;
  25. padding: 0;
  26. width: 100%;
  27. }
  28. #toolbar {
  29. background-color: white;
  30. border: 0;
  31. border-bottom: 1px solid #ccc;
  32. box-sizing: border-box;
  33. -moz-box-sizing: border-box;
  34. left: 0;
  35. margin: 0;
  36. padding: 0.5em 1em;
  37. position: fixed;
  38. top: 0;
  39. width: 100%;
  40. z-index: 10;
  41. }
  42. #toolbar .button {
  43. background-color: white;
  44. border: none;
  45. box-sizing: border-box;
  46. -moz-box-sizing: border-box;
  47. cursor: pointer;
  48. display: inline-block;
  49. font-size: 150%;
  50. margin: 0;
  51. padding: 8px;
  52. }
  53. #toolbar .button.disabled {
  54. opacity: 0.2;
  55. pointer-events: none;
  56. }
  57. #toolbar .button:hover {
  58. background-color: #eee;
  59. }
  60. #toolbar > div {
  61. white-space: nowrap;
  62. }
  63. #toolbar > div:first-of-type {
  64. font-size: 120%;
  65. }
  66. #toolbar > div > * {
  67. vertical-align: middle;
  68. }
  69. #pageSelector {
  70. width: 28em;
  71. padding: 0.2em 0;
  72. }
  73. body #compactViewToggler.button:before {
  74. content: '\f102';
  75. }
  76. body.compactView #compactViewToggler.button:before {
  77. content: '\f103';
  78. }
  79. #filterButton {
  80. opacity: 0.25;
  81. }
  82. body.f #filterButton {
  83. opacity: 1;
  84. }
  85. #filterInput.bad {
  86. background-color: #fee;
  87. }
  88. #maxEntries {
  89. margin: 0 2em;
  90. }
  91. input:focus {
  92. background-color: #ffe;
  93. }
  94. #content {
  95. font-family: "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  96. font-size: 13px;
  97. width: 100%;
  98. }
  99. #content table {
  100. border: 0;
  101. border-collapse: collapse;
  102. direction: ltr;
  103. table-layout: fixed;
  104. width: 100%;
  105. }
  106. #content table > colgroup > col:nth-of-type(1) {
  107. width: 4.6em;
  108. }
  109. #content table > colgroup > col:nth-of-type(2) {
  110. width: 2.2em;
  111. }
  112. #content table > colgroup > col:nth-of-type(3) {
  113. width: 2.2em;
  114. }
  115. #content table > colgroup > col:nth-of-type(4) {
  116. width: 5.4em;
  117. }
  118. #content table > colgroup > col:nth-of-type(5) {
  119. width: calc(100% - 14.4em);
  120. }
  121. #content table tr {
  122. background-color: #fafafa;
  123. }
  124. body.f table tr.f {
  125. display: none;
  126. }
  127. #content table tr:nth-of-type(2n+1) {
  128. background-color: #eee;
  129. }
  130. #content table tr.cat_info {
  131. color: #00f;
  132. }
  133. #content table tr.blocked {
  134. color: #f00;
  135. }
  136. #content table tr.doc {
  137. background-color: #666;
  138. color: white;
  139. text-align: center;
  140. }
  141. body #content td {
  142. border: 1px solid #ccc;
  143. min-width: 0.5em;
  144. padding: 3px;
  145. vertical-align: top;
  146. white-space: normal;
  147. word-break: break-all;
  148. word-wrap: break-word;
  149. }
  150. #content table tr td:first-of-type {
  151. border-left: none;
  152. }
  153. #content table tr td:last-of-type {
  154. border-right: none;
  155. }
  156. body.compactView #content tr:not(.vExpanded) td {
  157. overflow: hidden;
  158. text-overflow: ellipsis;
  159. white-space: nowrap;
  160. }
  161. #content table tr td:nth-of-type(1) {
  162. cursor: default;
  163. text-align: right;
  164. white-space: nowrap;
  165. }
  166. #content table tr td:nth-of-type(2) {
  167. text-align: center;
  168. white-space: nowrap;
  169. }
  170. #content table tr.tab_bts > td:nth-of-type(2):before {
  171. content: '\f070';
  172. font: 1em FontAwesome;
  173. }
  174. #content table tr.tab:not(.canMtx) {
  175. opacity: 0.3;
  176. }
  177. #content table tr.tab:not(.canMtx):hover {
  178. opacity: 0.7;
  179. }
  180. #content table tr.tab:not(.canMtx) > td:nth-of-type(2):before {
  181. content: '\f00d';
  182. font: 1em FontAwesome;
  183. }
  184. body:not(.popupOn) #content table tr.canMtx td:nth-of-type(2) {
  185. cursor: zoom-in;
  186. }
  187. body:not(.popupOn) #content table tr.canMtx td:nth-of-type(2):hover {
  188. background: #ccc;
  189. }
  190. #content table tr.cat_net td:nth-of-type(3) {
  191. font: 12px monospace;
  192. text-align: center;
  193. white-space: nowrap;
  194. }
  195. #content table tr.cat_net td:nth-of-type(5) {
  196. }
  197. #content table tr.cat_net td:nth-of-type(5) > span > * {
  198. opacity: 0.6;
  199. }
  200. #content table tr.cat_net td:nth-of-type(5) > span > b:first-of-type {
  201. opacity: 1;
  202. }
  203. #popupContainer {
  204. background: white;
  205. border: 1px solid gray;
  206. display: none;
  207. overflow: hidden;
  208. position: fixed;
  209. right: 1em;
  210. top: 0;
  211. z-index: 200;
  212. }
  213. body.popupOn #popupContainer {
  214. display: block;
  215. }
  216. #popupContainer > div {
  217. background: #888;
  218. border: 0;
  219. }
  220. #popupContainer > div {
  221. text-align: right;
  222. }
  223. #popupContainer > div > span {
  224. color: #ccc;
  225. cursor: pointer;
  226. display: inline-block;
  227. font: 14px FontAwesome;
  228. padding: 3px;
  229. }
  230. #popupContainer > div > span:hover {
  231. color: white;
  232. }
  233. #popupContainer > iframe {
  234. border: 0;
  235. padding: 0;
  236. margin: 0;
  237. width: 100%;
  238. }
  239. #popupContainer.hide {
  240. width: 6em !important;
  241. }
  242. #popupContainer.hide > iframe {
  243. display: none;
  244. }