hautes-alpes-territoire: display cell picture on left of cell title (#47194)
This commit is contained in:
parent
c5d54050b9
commit
cfbba53685
|
@ -139,6 +139,42 @@ main {
|
|||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
//
|
||||
// CELLS
|
||||
//
|
||||
|
||||
// Forms of category & link-list
|
||||
.gru-content div.link-list-cell,
|
||||
.gru-content div.wcsformsofcategorycell {
|
||||
// Picture position
|
||||
&.has-asset-picture {
|
||||
$picture-width: 120px;
|
||||
> div {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
|
||||
> * {
|
||||
flex: 0 0 100%;
|
||||
}
|
||||
|
||||
> h2:first-child {
|
||||
flex: 1 0 50%;
|
||||
}
|
||||
|
||||
> picture {
|
||||
display: block;
|
||||
order: -1;
|
||||
flex: 0 0 $picture-width;
|
||||
z-index: 1;
|
||||
img {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// WCS
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue