MODIF CONFIGS DRUPAL centre de ressources: tri par étape + ressources mis en avant
This commit is contained in:
@@ -1590,12 +1590,27 @@ body{
|
||||
> .ressource-item > div {
|
||||
display: flex;
|
||||
gap: 0.8rem;
|
||||
|
||||
@media screen and (min-width: $desktop-min-width) {
|
||||
gap: 1.2rem;
|
||||
}
|
||||
cursor: pointer;
|
||||
transform: scale(1);
|
||||
transition: transform 0.2s ease-in-out;
|
||||
&.promoted {
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
left: -10px;
|
||||
width: 20px !important;
|
||||
height: 20px !important;
|
||||
background-color: $brand-color;
|
||||
mask-image: url("/themes/custom/caravane/assets/pictograms/hexagone.svg");
|
||||
mask-size: contain;
|
||||
mask-repeat: no-repeat;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
Reference in New Issue
Block a user