From 92056a39d9fd599e6f0655e6a89cbecaa4469059 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 31 Oct 2013 19:47:24 +0100 Subject: Display required, enabled and error widget states in fluid layout https://fedorahosted.org/freeipa/ticket/3904 --- install/ui/less/forms-override.less | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'install/ui/less/forms-override.less') diff --git a/install/ui/less/forms-override.less b/install/ui/less/forms-override.less index 3b4ec6f42..7c356a576 100644 --- a/install/ui/less/forms-override.less +++ b/install/ui/less/forms-override.less @@ -115,6 +115,11 @@ input[type="radio"]:checked:disabled + label { } } +// this style directly negates the same in forms.less +.help-inline { + margin-top: 0; +} + .control-group .control-label { position: relative; @@ -122,3 +127,22 @@ input[type="radio"]:checked:disabled + label { margin-bottom: 0; } } + +// implicit required indicator +.control-group.required .control-label label:after { + display: inline-block; + position: absolute; + right: -11px; + top: 0px; + font-size: 125%; + font-weight: bold; + content: '*'; + color: #1d85d9; +} + +@media (max-width: 480px) { + .control-group.required .control-label label:after { + position: relative; + right: -2px; + } +} -- cgit