From 2ca3ffcb60e2b54bb14d8997cc822901451db84a Mon Sep 17 00:00:00 2001 From: Feu Mourek Date: Mon, 12 Aug 2019 13:34:06 +0200 Subject: [PATCH] Add borders around form inputs (#3908) --- public/css/themes/high-contrast.less | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/public/css/themes/high-contrast.less b/public/css/themes/high-contrast.less index 9f3344b17..cd7eb3ef8 100644 --- a/public/css/themes/high-contrast.less +++ b/public/css/themes/high-contrast.less @@ -146,3 +146,26 @@ } } } + +.icinga-controls { + input[type="text"], + input[type="password"], + input[type="number"], + input[type="datetime-local"], + input[type="date"], + input[type="time"], + textarea, + select, + input[type="checkbox"]:checked + .toggle-switch .toggle-slider:before, + input[type="checkbox"]:checked + .toggle-switch > .toggle-slider, + .toggle-switch .toggle-slider:before, + .toggle-switch > .toggle-slider { + border: 1px solid @icinga-blue; + } + + input[type="checkbox"]:not(:checked) + .toggle-switch .toggle-slider:before { + height: 1.166666667em; + width: 1.166666667em; + margin: 1px; + } +}