From ae199581bee28349c56ef6f90beee4a5f65b471d Mon Sep 17 00:00:00 2001 From: hankhill19580 Date: Sat, 18 Apr 2020 22:29:27 +0000 Subject: [PATCH] Fix up the dark CSS for use with the new collapsing tables so tables line up, set ::selection highlighting on input text to a non-000 color so it shows up when you highlight it --- .../resources/themes/console/dark/console.css | 4 +- .../themes/console/dark/i2ptunnel.css | 67 +++++++++++++++++-- 2 files changed, 62 insertions(+), 9 deletions(-) diff --git a/installer/resources/themes/console/dark/console.css b/installer/resources/themes/console/dark/console.css index 1e5598a1c..977042d38 100644 --- a/installer/resources/themes/console/dark/console.css +++ b/installer/resources/themes/console/dark/console.css @@ -4968,8 +4968,8 @@ ul#banlist + hr { } #ipv4, #ipv6, #permabanned tr:nth-child(2) { - background: #000 url(images/header.png) center center repeat-x; - background: linear-gradient(to bottom, #002000, #000 75%) !important; + background: #1f1a24 url(images/header.png) center center repeat-x; + background: linear-gradient(to bottom, #1f1a24, #000 75%) !important; border-top: 1px solid #524b5e; border-bottom: 1px solid #524b5e; } diff --git a/installer/resources/themes/console/dark/i2ptunnel.css b/installer/resources/themes/console/dark/i2ptunnel.css index 7f43e6bd3..60babf78d 100644 --- a/installer/resources/themes/console/dark/i2ptunnel.css +++ b/installer/resources/themes/console/dark/i2ptunnel.css @@ -19,13 +19,28 @@ body.iframed { overflow: hidden; } +input::selection { + background: #433e47 !important; +} + +input::-moz-selection { + background: #433e47 !important; +} + +.displayText::selection { + background: #433e47 !important; +} + +.displayText::-moz-selection { + background: #433e47 !important; +} + + ::selection { - /*background: #030 !important;*/ color: white; } ::-moz-selection { - /*background: #030 !important;*/ color: white; } @@ -304,13 +319,51 @@ td.infohelp { border-right: 1px solid #433e47; } -.tunnelConfigExpanded { - background: url(images/dropdown_active.png) left center no-repeat #1f1a24 !important; +html body#tunnelEditPage form div.panel table#serverTunnelEdit.tunnelConfig tbody tr th{ + background: url(images/dropdown.png) #433e47; + background-repeat: no-repeat !important; + background-position: 1%, 15% !important; + padding-left: 30px; } -table.tunnelConfig th { - background: url(images/dropdown.png) left center no-repeat #1f1a24; - padding-left: 18px; +html body#tunnelEditPage form div.panel table#serverTunnelEdit.tunnelConfig tbody tr th:hover { + background: url(images/dropdown_hover.png) #433e47; + background-repeat: no-repeat !important; + background-position: 1%, 15% !important; + padding-left: 30px; +} + +table.tunnelConfig th, +html body#tunnelEditPage form div.panel table#serverTunnelEdit.tunnelConfig tbody tr th[colspan='2'], +html body#tunnelEditPage form div.panel table#serverTunnelEdit.tunnelConfig tbody tr th[colspan='2'] { + background: url(images/dropdown.png) #433e47; + background-repeat: no-repeat !important; + background-position: .5%, 15% !important; + padding-left: 30px; +} + +table.tunnelConfig th:hover, +html body#tunnelEditPage form div.panel table#clientTunnelEdit.tunnelConfig tbody tr th[colspan='2']:hover, +html body#tunnelEditPage form div.panel table#serverTunnelEdit.tunnelConfig tbody tr th[colspan='2']:hover { + background: url(images/dropdown_hover.png) #433e47; + background-repeat: no-repeat !important; + background-position: .5%, 15% !important; + padding-left: 30px; +} + +.tunnelConfigExpanded { + background: url(images/dropdown_active.png) #433e47 !important; + padding-left: 30px; +} + +.tunnelConfigContracted { + background: url(images/dropdown.png) #433e47 !important; + padding-left: 30px; +} + +.excludeBackgroundImage { + background-image: none !important; + padding-left: 30px; } #clientTunnels tr, #serverTunnels tr, .tunnelConfig tr {