Bug 21229: Correct nesting and specificity for some button styles

This patch corrects some Bootstrap button-related CSS which was causing
some buttons to have the wrong color:

 - Circulation -> Check out: "Add a new message" link is black
 - Catalog -> Details page: "Print" button is blue

To test, apply the patch and rebuild CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

Clear your browser cache if necessary and view the above pages to
confirm the problem is fixed.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2018-08-15 13:14:02 +00:00 committed by Nick Clemens
parent df06587b76
commit 4d2e8d6c91

View file

@ -30,16 +30,6 @@ a {
text-decoration: none;
}
&.btn {
color: #004D99;
text-decoration: none;
&:link,
&:visited {
color: #333333;
}
}
&:hover,
&:active {
color: #538200;
@ -52,18 +42,24 @@ a {
}
}
.btn-link {
&.btn {
&:link,
&:visited {
color: #004D99;
color: #333333;
}
&:hover {
color: #538200;
&.btn-link {
&:link,
&:visited {
color: #004D99;
}
&:hover {
color: #538200;
}
}
}
&.cancel {
padding-left: 1em;
}