From 0ad9dbb1d78cb418ef16f39b3f370c67065b5f51 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Fri, 19 Aug 2016 13:48:13 +0200 Subject: [PATCH] Bug 13501: Highlight select2 control if field is required and value is missing Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- koha-tmpl/intranet-tmpl/prog/css/select2.css | 8 ++++++++ koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc | 1 + 2 files changed, 9 insertions(+) create mode 100644 koha-tmpl/intranet-tmpl/prog/css/select2.css diff --git a/koha-tmpl/intranet-tmpl/prog/css/select2.css b/koha-tmpl/intranet-tmpl/prog/css/select2.css new file mode 100644 index 0000000000..82367f6120 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/css/select2.css @@ -0,0 +1,8 @@ +.select2-container.subfield_not_filled { + background-color: initial; +} + +.select2-container.subfield_not_filled .select2-choice { + background: initial; + background-color : #FFFF99; +} diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc index bad2c7add7..0be1ee07fc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc @@ -1,5 +1,6 @@ +