introducing cta--load-more and cta--centered
This commit is contained in:
parent
128774255e
commit
cb8d52ecc6
|
|
@ -32,11 +32,30 @@
|
||||||
@apply bg-secondary text-white;
|
@apply bg-secondary text-white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&--centered {
|
||||||
|
@apply mx-auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
&--load-more {
|
||||||
|
@apply relative;
|
||||||
|
&:after {
|
||||||
|
filter: invert(17%) sepia(69%) saturate(4735%) hue-rotate(351deg) brightness(94%)
|
||||||
|
contrast(94%);
|
||||||
|
content: ' ';
|
||||||
|
@apply inline-block ml-2 w-3 h-3;
|
||||||
|
background-image: url('../resources/img/graphic-assets/chevron_down.svg');
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center;
|
||||||
|
background-size: contain;
|
||||||
|
transform: translateY(1px);
|
||||||
|
}
|
||||||
|
}
|
||||||
&--download {
|
&--download {
|
||||||
@apply relative h-16 w-16 shadowed;
|
@apply relative h-16 w-16 shadowed;
|
||||||
transition: scale 0.3s ease-in-out;
|
transition: scale 0.3s ease-in-out;
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
@apply w-full h-full absolute;
|
@apply w-full h-full absolute;
|
||||||
/* content: url('../resources/img/graphic-assets/icone-external-link.svg'); */
|
/* content: url('../resources/img/graphic-assets/icone-external-link.svg'); */
|
||||||
content: ' ';
|
content: ' ';
|
||||||
background-image: url('../resources/img/graphic-assets/arrow_download.svg');
|
background-image: url('../resources/img/graphic-assets/arrow_download.svg');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user