From fcb3d01194989128decfb1336013d374dcafe3e4 Mon Sep 17 00:00:00 2001 From: Safihre Date: Mon, 4 Mar 2024 09:57:45 +0100 Subject: [PATCH] Correct input placeholder styling in Night themes --- .../Config/templates/staticcfg/css/Night.css | 13 ++----------- .../static/stylesheets/colorschemes/Night.css | 15 +++------------ 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/interfaces/Config/templates/staticcfg/css/Night.css b/interfaces/Config/templates/staticcfg/css/Night.css index 745c3b236..46a6ba8c4 100644 --- a/interfaces/Config/templates/staticcfg/css/Night.css +++ b/interfaces/Config/templates/staticcfg/css/Night.css @@ -288,18 +288,9 @@ col2 h3 a, fill: #555555; } -/* Placeholders - Will not work if grouped! */ -::-webkit-input-placeholder { - color: #EBEBEB !important; -} - -::-moz-placeholder { - color: #EBEBEB !important; - opacity: 1 !important; -} - -:-ms-input-placeholder { +::placeholder { color: #EBEBEB !important; + opacity: 0.5; } .tooltip-inner { diff --git a/interfaces/Glitter/templates/static/stylesheets/colorschemes/Night.css b/interfaces/Glitter/templates/static/stylesheets/colorschemes/Night.css index 73d8e4e51..3d5170f9f 100644 --- a/interfaces/Glitter/templates/static/stylesheets/colorschemes/Night.css +++ b/interfaces/Glitter/templates/static/stylesheets/colorschemes/Night.css @@ -272,16 +272,7 @@ button:focus { outline: initial; } -/* Placeholders - Will not work if grouped! */ -::-webkit-input-placeholder { - color: #EBEBEB !important; -} - -::-moz-placeholder { - color: #EBEBEB !important; - opacity: 1 !important; -} - -:-ms-input-placeholder { - color: #EBEBEB !important; +::placeholder { + color: #EBEBEB !important; + opacity: 0.5 !important; } \ No newline at end of file