dashboard.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. margin: 0;
  19. border: 0;
  20. padding: 0;
  21. font: 15px sans-serif;
  22. position: relative;
  23. width: 100vw;
  24. height: 100vh;
  25. overflow: hidden;
  26. }
  27. #dashboard-nav {
  28. margin: 0;
  29. border: 0;
  30. padding: 0;
  31. position: absolute;
  32. top: 0;
  33. width: 100vw;
  34. height: 50px;
  35. z-index: 10;
  36. }
  37. #dashboard-nav-widgets {
  38. margin: 0;
  39. border-bottom: 1px solid #ccc;
  40. padding: 4px 0 0 0;
  41. white-space: nowrap;
  42. background-color: white;
  43. }
  44. #dashboard-nav-widgets span {
  45. padding: 0 0.5em;
  46. font-size: larger;
  47. }
  48. .tabButton {
  49. margin: 0;
  50. border: 1px solid #ccc;
  51. border-top-left-radius: 3px;
  52. border-top-right-radius: 3px;
  53. padding: 4px;
  54. display: inline-block;
  55. position: relative;
  56. top: 1px;
  57. color: black;
  58. background-color: #eee;
  59. font: inherit;
  60. cursor: pointer;
  61. text-decoration: none;
  62. }
  63. .tabButton:focus {
  64. outline: 0;
  65. }
  66. .tabButton:active,.tabButton:visited {
  67. color: inherited;
  68. }
  69. .tabButton.selected {
  70. border-bottom: 1px solid white;
  71. background-color: white;
  72. }
  73. iframe {
  74. margin: 0;
  75. border: 0;
  76. padding: 0;
  77. background-color: transparent;
  78. overflow: auto;
  79. position: absolute;
  80. top: 50px;
  81. width: 100%;
  82. height: calc(100% - 50px);
  83. }