From 4e6dc73a46d4d316e851b87ac06a219a5ffbe008 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 --- 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 0000000..82367f6 --- /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 bad2c7a..0be1ee0 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 @@ +