makes required a pseudo field

This commit is contained in:
Godfrey M 2024-09-24 13:24:50 -07:00
parent c38222e956
commit 2a2666be0b
2 changed files with 7 additions and 4 deletions

View file

@ -384,7 +384,7 @@ a.logo.no-hover a:hover {
background-color: transparent;
}
.required {
input:required, select:required {
border-right: 6px solid orange;
}

View file

@ -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 {