toulouse-2022: add styles for back btn element (#85031)
gitea/publik-base-theme/pipeline/head This commit looks good Details

This commit is contained in:
Thomas Jund 2023-12-21 16:35:46 +01:00 committed by Thomas Jund
parent eb7fa922e9
commit 60310bc25b
2 changed files with 21 additions and 0 deletions

View File

@ -114,6 +114,20 @@ a {
}
}
a.return-btn {
&::before {
content: url(img/back-btn-arrow.svg);
margin-right: .66em;
}
text-decoration: none;
font-weight: bold;
border-bottom: 2px solid $salmon-dark;
transition: color 0.2s ease-in-out;
&:hover {
color: $salmon-dark;
}
}
// details
details {
&.header-white, &.header-gray {
@ -602,6 +616,9 @@ div#rub_service {
.previous-button button::before {
content: "\2190\2002";
}
.back-home-button a {
@extend .return-btn;
}
}
select {

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="16" height="11" version="1.1" viewBox="0 16 11" xmlns="http://www.w3.org/2000/svg">
<path d="m5.7074 0.79926q-0.13894-0.13894-0.32064-0.2191t-0.38477-0.08016-0.38477 0.08016-0.32064 0.2191l-3.9973 4.0508q-0.13894 0.13894-0.2191 0.32599-0.080161 0.18704-0.080161 0.39011 0 0.19238 0.080161 0.37943 0.080161 0.18704 0.2191 0.32599l3.9973 4.0508q0.13894 0.13894 0.32064 0.21376t0.38477 0.07482q0.19238-0.01069 0.37408-0.0855 0.1817-0.07482 0.32064-0.21376 0.13894-0.13894 0.21376-0.32599 0.074817-0.18704 0.074817-0.37943 0.010688-0.20307-0.064129-0.38477-0.074817-0.1817-0.21376-0.33133l-2.2872-2.3193h11.575q0.20307 0 0.38477-0.074816 0.1817-0.074816 0.33133-0.22445 0.13894-0.13894 0.21376-0.32599 0.074821-0.18704 0.074821-0.37943 0-0.20307-0.074821-0.39011-0.07482-0.18704-0.21376-0.32599-0.14963-0.14963-0.33133-0.22445-0.1817-0.074816-0.38477-0.074816h-11.575l2.2872-2.3193q0.13894-0.13894 0.2191-0.32599 0.080161-0.18704 0.080161-0.39011t-0.080161-0.39011-0.2191-0.32599z" fill="#D8522A"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB