From b7587bc800a1b74c18b638daff74049719784c9f Mon Sep 17 00:00:00 2001 From: dr|z3d Date: Sat, 14 Aug 2021 21:08:04 +0000 Subject: [PATCH] Console: REALLY make sure tick displays when NTCP2 enabled --- daemon/HTTPServer.cpp | 2 +- webconsole/style.css | 18 ++++++------------ 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp index da2d3183..6a4217c1 100644 --- a/daemon/HTTPServer.cpp +++ b/daemon/HTTPServer.cpp @@ -1115,7 +1115,7 @@ namespace http { { s << "NTCP2"; if (address->host.is_v6 ()) s << "v6"; - s << "" << tr("supported") << "\r\n\r\n"; + s << "" << tr("supported") << "\r\n\r\n"; continue; } switch (address->transportStyle) diff --git a/webconsole/style.css b/webconsole/style.css index 79dc255b..7bc242db 100644 --- a/webconsole/style.css +++ b/webconsole/style.css @@ -516,10 +516,6 @@ td:last-child { border-top: 1px solid var(--button-border); } -/*.listitem:nth-child(odd) { - background: var(--tr-alt); -}*/ - .listitem:last-child { border-bottom: 1px solid var(--button-border); } @@ -548,8 +544,6 @@ td:last-child { display: inline-block; width: calc(100% - 24px); background: linear-gradient(to bottom, rgba(96,16,96,.15), rgba(160,56,160,.15)); -/* background: radial-gradient(at bottom center, rgba(48,8,48,.3), rgba(0,0,0,0) 70%), - linear-gradient(to bottom, rgba(32,0,32,.2), rgba(24,0,24,.2));*/ box-shadow: 0 0 0 1px rgba(255,160,255,.3), inset 0 0 0 2px #000, inset 0 0 0 3px #303; box-sizing: border-box; text-shadow: 0 1px 1px #000; @@ -600,19 +594,19 @@ td:last-child { vertical-align: middle; } -#main .enabled { +.enabled { background: var(--yes) no-repeat left 12px center / 10px; } -#main .disabled { +.disabled { background: var(--no) no-repeat left 12px center / 10px; } -#main .enabled.fixedsize { +.enabled.fixedsize { margin-top: -5px; - width: 14px; - height: 14px; - background: var(--yes) no-repeat center center / 14px; + width: 14px !important; + height: 14px !important; + background: var(--yes) no-repeat center center / 14px !important; } /*.sensitive {