From 971590196e86cbd68cf99e32f7cf730ae085bb96 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sun, 25 Mar 2018 22:08:37 +0200 Subject: [PATCH] Label, icon and underline are now themed in edit bookmark form --- templates/base.html | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 97eb232..0454708 100644 --- a/templates/base.html +++ b/templates/base.html @@ -30,7 +30,25 @@ /* label color */ .input-field .prefix ~ input, .input-field .prefix ~ textarea, .input-field .prefix ~ label, .input-field .prefix ~ .validate ~ label, .input-field .prefix ~ .autocomplete-content, .input-field input[type=text] { - color: {{ theme.TEXTHEX }} !important; + color: {{ theme.TEXTHEX }}; + } + /* label focus color */ + .input-field input[type=text]:focus + label, + .input-field .prefix ~ input[type=text]:focus + label + { + color: {{ theme.BUTTON }}; + } + /* label underline focus color */ + .input-field input[type=text]:focus, + .input-field .prefix ~ input[type=text]:focus + { + border-bottom: 1px solid {{ theme.BUTTON }}; + box-shadow: 0 1px 0 0 {{ theme.BUTTON }}; + } + /* icon prefix focus color */ + .input-field .prefix.active + { + color: {{ theme.BUTTON }}; } .btn, .btn:visited {