Browse Source

return red border around invalid form fields

addresses  #111

The 0-width border in this theme prevented the red error border from showing. This commit returns a 1px solid border with the same CSS selector as PVE's built-in theme and corrects for the corresponding layout disruption by adding a -1px margin. The built-in theme currently sets the border color to #cf4c35, which is not overridden.
pull/116/head
masonh 3 years ago
parent
commit
98c2ad5c02
  1. 2
      PVEDiscordDark/sass/PVEDiscordDark.css
  2. 5
      PVEDiscordDark/sass/x/_form.sass

2
PVEDiscordDark/sass/PVEDiscordDark.css

File diff suppressed because one or more lines are too long

5
PVEDiscordDark/sass/x/_form.sass

@ -40,3 +40,8 @@
.x-form-field-date .x-form-date-trigger
background-image: url('/pve2/images/dd_date-trigger.png')
.x-form-trigger-wrap-default.x-form-trigger-wrap-invalid
border-style: solid
border-width: 1px
margin: -1px

Loading…
Cancel
Save