Bug 17874: Bug 16239 followup - polishing things
This patch is made on top of bug 16239 to polish things. Makes these changes: - Buttons on add circulation message modal - Dropdowns has top and bottom margin 4px instead of 3px - btn-link class (for example in toolbar on advanced search pages) - Delete circ message is btn-link - Add new circ message is btn-link Test plan: - Confirm that all changes are as described above and that they make sense Signed-off-by: Claire Gravely <claire_gravely@hotmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
c2fcde4135
commit
23cb7ca458
|
|
@ -2404,6 +2404,11 @@ a.btn:visited{
|
|||
color: #333333;
|
||||
}
|
||||
|
||||
a.btn-link:link,
|
||||
a.btn-link:visited {
|
||||
color: #004d99;
|
||||
}
|
||||
|
||||
a.btn-link:hover {
|
||||
color : #538200;
|
||||
}
|
||||
|
|
@ -2420,6 +2425,10 @@ a.dropdown-toggle {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dropdown-menu > li > a {
|
||||
padding: 4px 20px;
|
||||
}
|
||||
|
||||
.dropdown-menu > li > a:hover,
|
||||
.dropdown-menu > li > a:focus {
|
||||
text-decoration: none;
|
||||
|
|
|
|||
|
|
@ -248,8 +248,8 @@ function searchToHold(){
|
|||
<input type="hidden" name="branchcode" value="[% LoginBranchcode %]" />
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn approve" type="submit"><i class="fa fa-check"></i> Save</button>
|
||||
<button class="btn deny" href="#" class="cancel" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i> Cancel</button>
|
||||
<button class="btn btn-default approve" type="submit"><i class="fa fa-check"></i> Save</button>
|
||||
<button class="btn btn-default deny" href="#" class="cancel" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i> Cancel</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -865,12 +865,12 @@ No patron matched <span class="ex">[% message | html %]</span>
|
|||
<i>"[% message.message %]"</i>
|
||||
</span>
|
||||
[% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %]
|
||||
<a class="btn-small" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id %]&borrowernumber=[% message.borrowernumber %]" onclick="return confirm(MSG_CONFIRM_DELETE_MESSAGE);"><i class="fa fa-trash"></i> Delete</a>
|
||||
<a class="btn btn-link btn-sm" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id %]&borrowernumber=[% message.borrowernumber %]" onclick="return confirm(MSG_CONFIRM_DELETE_MESSAGE);"><i class="fa fa-trash"></i> Delete</a>
|
||||
[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
<a id="addnewmessageLabel" href="#add_message_form" data-toggle="modal"><i class="fa fa-plus"></i> Add a new message</a>
|
||||
<a id="addnewmessageLabel" href="#add_message_form" class="btn btn-link btn-sm" data-toggle="modal"><i class="fa fa-plus"></i> Add a new message</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue