Koha/koha-tmpl/intranet-tmpl/prog/css/select2.css
Owen Leonard 62aacb5865 Bug 21148: Dropdowns styled by the Select2 plugin do not highlight missing required fields
This patch adds some CSS to target mandatory fields on the add item
screen which are styled by the Select2 plugin.

To test you must have at least one item field marked mandatory and
linked to an authorized value.

Open the add item form for an existing record. Try to submit the form
without making a selection in the mandatory dropdown. You should get an
alert warning you that you have empty mandatory fields, and the field
should be highlighted in yellow.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-08-09 10:44:31 +00:00

12 lines
No EOL
265 B
CSS

.select2-container.subfield_not_filled {
background-color: initial;
}
.select2-container.subfield_not_filled .select2-choice {
background: initial;
background-color : #FFFF99;
}
.select2-container.missing .select2-choice {
background: #ffc none;
}