Advertisement
pidzero

aredn_dark.css

Oct 20th, 2021 (edited)
1,001
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.60 KB | None | 0 0
  1. /*
  2.   aredn_dark.css by KM6IAU on 2021/OCT/20
  3.  
  4.   A "dark-mode" style sheet for AREDN nodes, as described here:
  5.   https://www.arednmesh.org/content/aredn-dark-mode-theme
  6.  
  7.   2023/DEC/30: Added Message box styling, ping status icon styling
  8.  
  9. */
  10.  
  11. body { font-family:Verdana,arial,sans-serif; background: #181818; color:#c0c0c0; }
  12. a:link, a:visited, a:active { color: #be1e28; }
  13.  
  14.  
  15. h1 {
  16.   font-family:Verdana,arial,sans-serif;
  17.   color: #be1e28;
  18.   text-shadow: -1px 0 #606060, 0 1px #000000, 1px 0 #000000, 0 -1px #606060;
  19. }
  20.  
  21.  
  22. hr {
  23.   width           : 100%;
  24.   height          : 2px;
  25.   margin-left     : auto;
  26.   margin-right    : auto;
  27.   color           : #1ebeb4;
  28.   background-color: #0b4744;
  29.   border-top      : 1px solid #606060;
  30.   border-left     : 1px solid #606060;
  31.   border-right    : 1px solid #000000;
  32.   border-bottom   : 1px solid #000000;
  33. }
  34.  
  35. body table { font-size: 12px; }
  36.  
  37. .dist-alert { border: medium solid red; }
  38. .dist-norm  { border: none;             }
  39.  
  40.  
  41. .navbar_select { background: #0b4744; color: #ffffff; border-radius: 2px; }
  42. .navbar_select a:link, .navbar_select a:visited, .navbar_select a:active { color:#ffffff; }
  43.  
  44.  
  45. input[type=text], input[type=password], textarea, select { filter: invert(1) saturate(0) contrast(0.75); }
  46. button, input[type=submit], input[type=button]           { filter: invert(1) saturate(0) contrast(0.75); }
  47. input[type=file]                                         { filter: invert(1) saturate(0) contrast(0.5) ; }
  48.  
  49. input[type=checkbox], input[type=range] { filter: invert(1) sepia(1) saturate(2) hue-rotate(127deg) brightness(0.75); }
  50.  
  51. /* This colorizes the various "question mark" icons on throughout the config pages */
  52. body center form table tbody tr td table tbody tr td span img,
  53. body center form table tbody tr td table tbody tr td table tbody tr td a img
  54. {
  55.   filter:
  56.     brightness(0)
  57.     invert(54%) sepia(79%) saturate(432%) hue-rotate(127deg) brightness(99%) contrast(89%);
  58. }
  59.  
  60.  
  61. .TopBanner { width:100%; }
  62. .LogoDiv { position:absolute left:0px; width:100%; height:95; }
  63. .AREDNLogo { filter: invert(1) brightness(0.75); position:absolute; left:10%; width:175; height:95; border-style: none; }
  64. .PartOfAREDN { font-family:Verdana,arial,sans-serif; font-size:xx-small; text-align:center; }
  65.  
  66. /* Message box styling */
  67. body > form > center > div:nth-child(2) > div { background-color:#403d20 !important; color:#c0c0c0 !important; }
  68.  
  69. /* ping status icon styling */
  70. img.ping_true   { filter: brightness(0) invert(54%) sepia(79%) saturate( 432%) hue-rotate(127deg) brightness( 99%) contrast( 89%) opacity(100%) !important; }
  71. img.ping_false  { filter: brightness(0) invert(54%) sepia(79%) saturate( 432%) hue-rotate(127deg) brightness( 99%) contrast( 89%) opacity( 25%) !important; }
  72.  
  73.  
  74. /* WiFi Scan page styling */
  75. table.sortable thead { background: #303030 !important;  color: #be1e28 !important; }
  76. table.sortable thead th { text-decoration: underline; cursor:pointer; }
  77. .wscan-row-node { background-color: #0c4744; color: #ffffff; }
  78.  
  79.  
  80. /* Tunnel Page styling */
  81. .tun_network_row td {
  82.   padding: 5px;
  83.   border-top   : 1px solid #606060;
  84.   border-left  : 1px solid #606060;
  85.   border-right : 1px solid #000000;
  86.   border-bottom: 1px solid #000000;
  87.   border-radius: 2px;
  88.   background-color: #0e5a5a;
  89. }
  90. .tun_client_row td { padding: 2px; }
  91. .tun_client_list1:nth-child(even) { background: #30303020; }
  92. .tun_client_list1:nth-child(odd)  { background: #60606020; }
  93. .tun_client_list2:nth-child(odd)  { background: #30303020; }
  94. .tun_client_list2:nth-child(even) { background: #60606020; }
  95. .tun_client_center_item { vertical-align:middle; text-align:center; }
  96. img.tun_client_active_img   { filter: brightness(0) invert(54%) sepia(79%) saturate( 432%) hue-rotate(127deg) brightness( 99%) contrast( 89%)   ; }
  97. img.tun_client_inactive_img { filter: brightness(0); }
  98. img.tun_client_mailto_img   {
  99.   filter:
  100.     invert(8%) sepia(98%) saturate(6725%) hue-rotate(354deg) brightness(97%) contrast(79%)
  101.     drop-shadow(-1px  0px #606060)
  102.     drop-shadow( 0px -1px #606060)
  103.     drop-shadow( 1px  0px #000000)
  104.     drop-shadow( 0px  1px #000000);
  105. }
  106.  
  107.  
  108. #node_description_entry {
  109. vertical-align: middle;
  110. resize: none;
  111. }
  112. #node_description_display {
  113.   text-align       : center;
  114.   vertical-align   : middle;
  115.   background-color : #242424;
  116.   border-radius    : 2px;
  117.   font-size        : 12pt;
  118.   width            : 40%;
  119. }
  120.  
  121. /* Mesh Status page styling */
  122. td.hidden-hosts { filter: opacity(25%); }
  123. .aliased-hosts { color: #225383; }
  124.  
  125. /* Charts page styling */
  126. div.canvasjs-chart-container canvas.canvasjs-chart-canvas:nth-child(1) {
  127.   filter: invert(1) hue-rotate(165deg);
  128. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement