From 2a2666be0b4210075ac1786ffb9e8cbfa6dbd632 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Tue, 24 Sep 2024 13:24:50 -0700 Subject: [PATCH] makes required a pseudo field --- resources/assets/less/app.less | 2 +- resources/assets/less/overrides.less | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/resources/assets/less/app.less b/resources/assets/less/app.less index 94f5f4098b..37514e5cfd 100644 --- a/resources/assets/less/app.less +++ b/resources/assets/less/app.less @@ -384,7 +384,7 @@ a.logo.no-hover a:hover { background-color: transparent; } -.required { +input:required, select:required { border-right: 6px solid orange; } diff --git a/resources/assets/less/overrides.less b/resources/assets/less/overrides.less index f3261a19b7..2f9d59a827 100644 --- a/resources/assets/less/overrides.less +++ b/resources/assets/less/overrides.less @@ -156,10 +156,10 @@ a.accordion-header { height: 150px; } - .select2-container { width: 100%; } + .error input { color: #a94442; border: 2px solid #a94442 !important; @@ -341,8 +341,11 @@ a.logo.no-hover a:hover { } -.required { - border-right: 6px solid orange; +input:required, select:required { + border-right: 4px solid orange; +} +select:required + .select2-container .select2-selection { + border-right: 4px solid orange; } body {