From 28f4e0e0ec2210d557ca68839bb74fdb8596e80e Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Fri, 20 Jul 2018 18:28:25 +0200 Subject: [PATCH] webui: redable color of invalid fields on login-screen-like pages Pages with widgets like LoginScreen, MigrateScreen use login-pf styling. This page has dark background instead of light. Thus styling for labels for fields with error has color which makes the label hard to read or almost invisible. Change it to white so it is still readable. Fixes: https://pagure.io/freeipa/issue/7641 Reviewed-By: Alexander Bokovoy Reviewed-By: Petr Vobornik Reviewed-By: Serhii Tsymbaliuk --- install/ui/less/login.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/ui/less/login.less b/install/ui/less/login.less index 281ad2568..8996560d3 100644 --- a/install/ui/less/login.less +++ b/install/ui/less/login.less @@ -29,6 +29,10 @@ background: @login-bg-color url("@{img-path}/@{img-bg-login}") repeat-x 50% 0; background-size: auto; color: #fff; + + .has-error .control-label { + color: #fff; + } } .reset-login-pf-height() {