lille-metropole-2022: refactor links cells rendering (#73376)
gitea-wip/publik-base-theme/pipeline/head This commit looks good Details

This commit is contained in:
Serghei Mihai 2023-01-13 10:53:34 +01:00 committed by Gitea
parent f3eddd4b05
commit 931d1de5b1
1 changed files with 9 additions and 6 deletions

View File

@ -229,7 +229,8 @@ div.cell {
}
}
&.wcs-forms-of-category-cell, &.link-list-cell {
border: 2px solid $font-color;
background: transparent;
border: 0;
&.foldable {
h2:first-child {
padding-top: 1.25rem;
@ -251,6 +252,8 @@ div.cell {
align-items: baseline;
flex-wrap: wrap;
padding: 5px 2px 0 2px;
border: 2px solid $font-color;
background: $cell-background;
> * {
flex: 0 0 100%;
}
@ -263,11 +266,11 @@ div.cell {
position: relative;
z-index: 1;
}
}
&:hover {
border-color: $primary-color;
box-shadow: inset 0px 0px 0px 2px $primary-color;
transition: box-shadow 0.2s ease-in-out;
&:hover {
border-color: $primary-color;
box-shadow: inset 0px 0px 0px 2px $primary-color;
transition: box-shadow 0.2s ease-in-out;
}
}
h2:first-child {
flex: 1 0 50%;