From de52519422f5488ca9697050a44994f04aa41cc7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 10 Oct 2018 18:16:10 +0000 Subject: [PATCH] Bug 20729: Update style of datepickers This patch updates the styling of form fields which are configured to use the jQueryUI datepicker widget. Some CSS has been added, and the default datepicker configuration has been changed. To test, apply the patch, rebuild the staff client CSS file, and clear your cache if necessary. Test pages which include a datepicker to confirm that they look correct and work correctly. Some examples: - Circulation -> Check out -> Specify due date - Patrons -> Add patron -> Date of birth, registration date, expiry date fields - Serials -> Search subscriptions -> Search results page sidebar - Tools -> News -> Add news item And confirm that this change hasn't adversely affected the calendar tool: - Tools -> Calendar Signed-off-by: Lucas Gass Signed-off-by: Pierre-Marc Thibault Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 10 ++++++++++ koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc | 8 ++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index f6ce88418a..56f34da7b6 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -485,6 +485,16 @@ input { border-color: #900; } + &.hasDatepicker { + background-image: url("../img/famfamfam/silk/calendar.png"); + background-position-x: right; + background-position-y: center; + background-repeat: no-repeat; + border-style: inset outset outset inset; + border-width: 1px; + padding-right: 18px; + } + &.submit { @include default-button; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc index 9314a754dd..e6f12ddce0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc @@ -1,6 +1,5 @@ [% USE Koha %] - -- 2.39.5