1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

Show if search result is template

Helps to distinguish between docs and templates when listing search results.
This commit is contained in:
sauls8t 2019-04-11 15:49:58 +01:00
parent 1da49974cb
commit 82ed36478b
2 changed files with 16 additions and 0 deletions

View file

@ -72,6 +72,19 @@
margin-bottom: 10px;
}
> .template {
@include border-radius(3px);
@extend .no-select;
display: inline-block;
margin: 5px 5px 5px 0;
padding: 0.3rem 0.7rem;
font-size: 0.9rem;
font-weight: 500;
background-color: map-get($yellow-shades, 300);
color: map-get($yellow-shades, 800);
text-transform: uppercase;
}
&:hover {
> .title {
color: $color-link;