From 52c4b655fbb12ac518edaf9fd1b4d161e8f5805e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 25 Feb 2014 13:00:30 -0500 Subject: [PATCH] Bug 10865 [Follow-up] Add style to warning This patch adds a new "hint" class for displaying information relating to a form field. On the list edit screen the hint also has an alert class to highlight it. Signed-off-by: Broust --- koha-tmpl/opac-tmpl/bootstrap/css/opac.css | 7 +++++++ .../opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/less/opac.less | 4 ++++ koha-tmpl/opac-tmpl/bootstrap/less/responsive.less | 3 +++ 4 files changed, 15 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css b/koha-tmpl/opac-tmpl/bootstrap/css/opac.css index 99719d5..542ecd2 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css +++ b/koha-tmpl/opac-tmpl/bootstrap/css/opac.css @@ -744,6 +744,10 @@ fieldset.rows li.lradio label { width: auto; margin: 0 0 0 1em; } +fieldset.rows .hint { + display: block; + margin-left: 11em; +} fieldset.action { clear: both; float: none; @@ -2357,6 +2361,9 @@ a.reviewlink:visited { fieldset.rows ol { margin-left: 0; } + fieldset.rows .hint { + margin-left: 0; + } body { padding: 0; } diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index 39159cc..7d77432 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -559,7 +559,7 @@ [% END %] [% IF ( category2 && !OpacAllowPublicListCreation ) %] - The library has disabled the ability for patrons to create new public lists. If you make your list private, you will not be able to make it public again. + The library has disabled the ability for patrons to create new public lists. If you make your list private, you will not be able to make it public again. [% END %] [% INCLUDE list_permissions %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less index 4e1e422..0737cfa 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less +++ b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less @@ -733,6 +733,10 @@ fieldset { } } } + .hint { + display: block; + margin-left : 11em; + } } &.action { clear : both; diff --git a/koha-tmpl/opac-tmpl/bootstrap/less/responsive.less b/koha-tmpl/opac-tmpl/bootstrap/less/responsive.less index 4714ee7..5b4ed29 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/less/responsive.less +++ b/koha-tmpl/opac-tmpl/bootstrap/less/responsive.less @@ -81,6 +81,9 @@ ol { margin-left : 0; } + .hint { + margin-left: 0; + } } } body { -- 1.7.2.5