Skip to content

Commit

Permalink
fix baserproject#1931 inputにform-errorクラスが当たらない
Browse files Browse the repository at this point in the history
  • Loading branch information
seto1 committed May 17, 2023
1 parent 6f743cb commit 4e70eb2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@
}
}

&:has(.form-error) input {
border: 1px solid $color_danger;
}

&__date {
&-label {
@include bca-icon(datetimepicker-date);
Expand Down Expand Up @@ -124,4 +128,4 @@
justify-content: start;
margin-bottom: 0.5em;
}
}
}
4 changes: 4 additions & 0 deletions plugins/bc-admin-third/src/css/components/_radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@
//background: #EEEEEE;
}

&.form-error + label:before {
border: 1px solid $color_danger;
}

&:checked + label:before {
background: $color_primary;
box-shadow: 0 0 0 4px #fff inset;
Expand Down
8 changes: 7 additions & 1 deletion plugins/bc-admin-third/webroot/css/admin/style.css

Large diffs are not rendered by default.

0 comments on commit 4e70eb2

Please sign in to comment.