1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Changed homepage card header links to be bottom-card-links

The old links in the headers were not obvious. This changes the
header-based links to instead be a link at the bottom of the card.

Related to #3046
This commit is contained in:
Dan Brown
2021-11-23 18:18:49 +00:00
parent 096ed722dd
commit 197caddf96
4 changed files with 24 additions and 10 deletions

View File

@ -87,6 +87,20 @@
.card-title a {
line-height: 1;
}
.card-footer-link {
display: block;
padding: $-s $-m;
line-height: 1;
border-top: 1px solid;
@include lightDark(border-color, #DDD, #555);
border-radius: 0 0 3px 3px;
font-size: 0.9em;
margin-top: $-xs;
&:hover {
text-decoration: none;
@include lightDark(background-color, #f2f2f2, #2d2d2d);
}
}
.card.border-card {
border: 1px solid #DDD;