Advertisement
Guest User

Technitium DNS Server - Dark Mode

a guest
Jul 1st, 2025
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 8.51 KB | Source Code | 0 0
  1. html, body {
  2.     height: 100% !important;
  3.     background: #181a1b !important;
  4.     color: #e0e0e0 !important;
  5. }
  6.  
  7. body {
  8.     margin: 0px !important;
  9.     line-height: 1.42857143 !important;
  10.     background: #181a1b !important;
  11.     color: #e0e0e0 !important;
  12. }
  13.  
  14. a {
  15.     color: #80b3ff;
  16. }
  17.  
  18.     a:hover {
  19.         color: #a3d1ff;
  20.     }
  21.  
  22. th a {
  23.     color: #e0e0e0;
  24. }
  25.  
  26.     th a:hover {
  27.         color: #e0e0e0;
  28.         text-decoration: none;
  29.     }
  30.  
  31. #header {
  32.     background-color: #222c3c;
  33.     height: 32px;
  34.     margin-bottom: -32px;
  35.     box-shadow: 0px 1px 15px 0px #111a22;
  36.     width: 100%;
  37.     min-width: 970px;
  38. }
  39.  
  40.     #header .title {
  41.         margin: 0 auto;
  42.         color: #ffffff;
  43.         padding: 0px 15px 0px 15px;
  44.     }
  45.  
  46.         #header .title img {
  47.             vertical-align: text-bottom;
  48.         }
  49.  
  50.         #header .title .text {
  51.             font-size: 24px;
  52.             font-weight: 600;
  53.             font-family: Arial;
  54.             margin-left: 4px;
  55.         }
  56.  
  57.     #header .menu {
  58.         float: right;
  59.         padding: 6px;
  60.     }
  61.  
  62.         #header .menu .menu-title {
  63.             color: #e0e0e0;
  64.             font-family: Arial;
  65.             font-size: 16px;
  66.         }
  67.  
  68. #content {
  69.     min-height: 100%;
  70.     background: #23272a;
  71. }
  72.  
  73. .container {
  74.     margin-left: auto;
  75.     margin-right: auto;
  76.     padding: 55px 15px 60px 15px;
  77.     word-wrap: break-word;
  78.     min-width: 970px;
  79.     background: #23272a;
  80.     color: #e0e0e0;
  81. }
  82.  
  83.     .container .pageLogin {
  84.         display: none;
  85.         margin: auto;
  86.         width: 500px;
  87.         padding: 150px 0 0 0;
  88.     }
  89.  
  90.     .container .page {
  91.         display: none;
  92.     }
  93.  
  94. .auto-resize-img {
  95.     max-width: 100%;
  96.     height: auto;
  97.     display: block;
  98.     margin-right: auto;
  99.     margin-left: auto;
  100. }
  101.  
  102. .center-iframe {
  103.     display: block;
  104.     margin-right: auto;
  105.     margin-left: auto;
  106.     max-width: 640px;
  107.     max-height: 480px;
  108. }
  109.  
  110.     .center-iframe iframe {
  111.         width: 100%;
  112.         height: 100%;
  113.     }
  114.  
  115. #footer {
  116.     background-color: #23272a;
  117.     padding: 20px 0px 20px 0px;
  118.     margin-top: -55px;
  119.     box-shadow: 0px 2px 15px 1px #111a22;
  120.     clear: both;
  121.     position: relative;
  122.     height: 55px;
  123.     min-width: 970px;
  124. }
  125.  
  126.     #footer .content {
  127.         margin: 0 auto;
  128.         color: #b0b0b0;
  129.         font-family: Arial, sans-serif;
  130.         font-size: 11px;
  131.         font-weight: 600;
  132.         text-align: center;
  133.     }
  134.  
  135.         #footer .content a {
  136.             color: #80b3ff;
  137.             text-decoration: none;
  138.         }
  139.  
  140.             #footer .content a:hover {
  141.                 color: #a3d1ff;
  142.             }
  143.  
  144. @media (min-width: 992px) {
  145.     #header .title, .container, #footer .content {
  146.         width: 970px;
  147.     }
  148. }
  149.  
  150. @media (min-width: 1200px) {
  151.     #header .title, .container, #footer .content {
  152.         width: 1170px;
  153.     }
  154. }
  155.  
  156. .form-inline .form-group {
  157.     margin-right: 10px;
  158.     margin-bottom: 10px;
  159. }
  160.  
  161. .AlertPlaceholder {
  162.     position: fixed;
  163.     width: 800px;
  164.     margin: auto;
  165.     left: 0;
  166.     right: 0;
  167.     top: 45px;
  168.     z-index: 1000;
  169. }
  170.  
  171. .zone-list-pane {
  172.     float: left;
  173.     width: 24%;
  174.     background: #23272a;
  175. }
  176.  
  177. .zones {
  178.     font-size: 14px;
  179.     color: #e0e0e0;
  180. }
  181.  
  182.     .zones .zone {
  183.         padding: 4px;
  184.     }
  185.  
  186. .zone-viewer-pane {
  187.     float: right;
  188.     width: 75%;
  189.     display: none;
  190.     background: #23272a;
  191. }
  192.  
  193. .log-list-pane {
  194.     float: left;
  195.     width: 17%;
  196.     background: #23272a;
  197. }
  198.  
  199. .logs {
  200.     font-size: 12px;
  201.     color: #e0e0e0;
  202. }
  203.  
  204.     .logs .log {
  205.         padding: 2px;
  206.     }
  207.  
  208. .log-viewer-pane {
  209.     float: right;
  210.     width: 82%;
  211.     display: none;
  212.     background: #23272a;
  213. }
  214.  
  215. .query-logs tr:hover {
  216.     backdrop-filter: brightness(80%);
  217. }
  218.  
  219. .stats-panel {
  220.     height: 80px;
  221.     padding: 6px 0 6px 0;
  222. }
  223.  
  224.     .stats-panel .total-queries {
  225.         background-color: rgba(80, 120, 200, 0.7);
  226.         color: #ffffff;
  227.     }
  228.  
  229.     .stats-panel .no-error {
  230.         background-color: rgba(60, 160, 60, 0.7);
  231.         color: #ffffff;
  232.     }
  233.  
  234.     .stats-panel .server-failure {
  235.         background-color: rgba(200, 60, 60, 0.7);
  236.         color: #ffffff;
  237.     }
  238.  
  239.     .stats-panel .nxdomain {
  240.         background-color: rgba(80, 80, 80, 0.7);
  241.         color: #ffffff;
  242.     }
  243.  
  244.     .stats-panel .refused {
  245.         background-color: rgba(60, 160, 200, 0.7);
  246.         color: #ffffff;
  247.     }
  248.  
  249.     .stats-panel .auth-hit {
  250.         background-color: rgba(180, 180, 60, 0.7);
  251.         color: #ffffff;
  252.     }
  253.  
  254.     .stats-panel .cache-hit {
  255.         background-color: rgba(120, 80, 180, 0.7);
  256.         color: #ffffff;
  257.     }
  258.  
  259.     .stats-panel .blocked {
  260.         background-color: rgba(255, 180, 60, 0.7);
  261.         color: #23272a;
  262.     }
  263.  
  264.     .stats-panel .dropped {
  265.         background-color: rgba(40, 40, 40, 0.7);
  266.         color: #ffffff;
  267.     }
  268.  
  269.     .stats-panel .recursions {
  270.         background-color: rgba(40, 180, 200, 0.7);
  271.         color: #ffffff;
  272.     }
  273.  
  274.     .stats-panel .clients {
  275.         background-color: rgba(60, 120, 200, 0.7);
  276.         color: #ffffff;
  277.     }
  278.  
  279.     .stats-panel .stats-last-item {
  280.         margin-right: 0% !important;
  281.     }
  282.  
  283.     .stats-panel .stats-item {
  284.         width: 8.818%;
  285.         float: left;
  286.         padding: 4px;
  287.         margin-right: 0.3%;
  288.     }
  289.  
  290.         .stats-panel .stats-item .number {
  291.             font-size: 15px;
  292.             font-weight: bold;
  293.         }
  294.  
  295.         .stats-panel .stats-item .percentage {
  296.             font-size: 10px;
  297.             font-weight: bold;
  298.         }
  299.  
  300.         .stats-panel .stats-item .title {
  301.             font-size: 12px;
  302.             font-weight: bold;
  303.         }
  304.  
  305. .zone-stats-panel {
  306.     margin-bottom: 15px;
  307. }
  308.  
  309.     .zone-stats-panel .stats-last-item {
  310.         margin-right: 0% !important;
  311.     }
  312.  
  313.     .zone-stats-panel .stats-item {
  314.         width: 16.125%;
  315.         float: left;
  316.         padding: 6px 4px;
  317.         margin-right: 0.65%;
  318.         background-color: rgba(60, 120, 200, 0.7);
  319.         color: #ffffff;
  320.     }
  321.  
  322.         .zone-stats-panel .stats-item .number {
  323.             font-size: 14px;
  324.             font-weight: bold;
  325.             padding: 6px 0;
  326.         }
  327.  
  328.         .zone-stats-panel .stats-item .title {
  329.             font-size: 12px;
  330.             font-weight: bold;
  331.         }
  332.  
  333. .about p {
  334.     color: #b0b0b0;
  335.     text-align: center;
  336. }
  337.  
  338. /* Force dark background for the whole page */
  339. body {
  340.   background-color: #181a1b !important;
  341.   color: #e0e0e0 !important;
  342. }
  343.  
  344. /* Override any inline white backgrounds */
  345. [style*="background-color: white"] {
  346.   background-color: #23272e !important;
  347.   color: #e0e0e0 !important;
  348. }
  349.  
  350. /* Override any inline black backgrounds (if you want a slightly lighter dark) */
  351. [style*="background-color: black"] {
  352.   background-color: #181a1b !important;
  353. }
  354.  
  355. /* Override red text for alerts, etc. */
  356. [style*="color: red"] {
  357.   color: #ff6b6b !important;
  358. }
  359.  
  360. /* Panel and container backgrounds */
  361. .panel,
  362. .panel-default,
  363. .well,
  364. .container,
  365. .form-control,
  366. .dropdown-menu,
  367. .table,
  368. .table-hover,
  369. .panel-body,
  370. .panel-heading {
  371.   background-color: #23272e !important;
  372.   color: #e0e0e0 !important;
  373.   border-color: #444 !important;
  374. }
  375.  
  376. /* Buttons */
  377. .btn,
  378. .btn-default,
  379. .btn-primary,
  380. .btn-warning,
  381. .btn-danger {
  382.   background-color: #23272e !important;
  383.   color: #e0e0e0 !important;
  384.   border-color: #444 !important;
  385. }
  386. .btn-primary {
  387.   background-color: #3b82f6 !important;
  388.   color: #fff !important;
  389.   border-color: #2563eb !important;
  390. }
  391. .btn-warning {
  392.   background-color: #f59e42 !important;
  393.   color: #23272e !important;
  394.   border-color: #b45309 !important;
  395. }
  396. .btn-danger {
  397.   background-color: #ef4444 !important;
  398.   color: #fff !important;
  399.   border-color: #991b1b !important;
  400. }
  401.  
  402. /* Table rows and hover */
  403. .table-hover > tbody > tr:hover {
  404.   background-color: #2d323a !important;
  405. }
  406.  
  407. /* Dropdown menus */
  408. .dropdown-menu {
  409.   background-color: #23272e !important;
  410.   color: #e0e0e0 !important;
  411.   border-color: #444 !important;
  412. }
  413.  
  414. /* Inputs and textareas */
  415. input,
  416. textarea,
  417. select {
  418.   background-color: #23272e !important;
  419.   color: #e0e0e0 !important;
  420.   border-color: #444 !important;
  421. }
  422.  
  423. /* Links */
  424. a {
  425.   color: #60aaff !important;
  426. }
  427. a:hover, a:focus {
  428.   color: #a5d6ff !important;
  429.   text-decoration: underline !important;
  430. }
  431.  
  432. /* Caret and icons */
  433. .caret,
  434. .glyphicon {
  435.   color: #e0e0e0 !important;
  436. }
  437.  
  438. /* Miscellaneous: override any other inline color */
  439. [style*="color: black"] {
  440.   color: #e0e0e0 !important;
  441. }
  442. [style*="color: white"] {
  443.   color: #e0e0e0 !important;
  444. }
  445.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement