publik-base-theme/static/publik-famille-demo/_custom_classes.scss

113 lines
1.8 KiB
SCSS

.pf-cloud {
position: relative;
&::before {
background: url('img/cloud.svg');
bottom: -120px;
content: "";
height: 264px;
position: absolute;
right: 50px;
width: 342px;
z-index: -1;
}
}
.gray-cell {
.gru-content &.cell {
background-color: $gray-light;
padding-bottom: 1rem;
}
}
.green-cell {
.gru-content &.cell {
background-color: $green-light;
padding-bottom: 1rem;
}
}
div.pf-icon-list {
ul > li:not(.add-more-items) > a {
background: url(img/bubble.svg);
background-position: bottom left;
background-repeat: no-repeat;
transition: background-position 0.2s ease-out;
&::before {
@extend %pf-icon;
width: 35px;
height: 35px;
font-size: 35px;
margin-right: 1rem;
}
&:hover {
background-position-x: 10px;
background-size: contain;
}
}
}
div.card.pf-card-detail {
h2:first-child {
border-bottom: 2px solid $gray;
padding: 1rem 0;
border-radius: 0;
}
.label {
color: $gray-dark;
font-size: $fz-3;
font-weight: 700;
margin-bottom: 0.3rem;
margin-top: 0.3rem;
text-align: right;
}
.value {
@extend %pf-field;
margin-bottom: 0.3rem;
margin-top: 0.3rem;
}
}
%icon-button {
&:not(.pf-big-button) {
div.links-list {
ul > li > a {
&::before {
@extend %pf-icon;
padding-right: 1rem;
}
}
}
}
&.pf-big-button {
div.links-list {
ul > li > a {
border: 2px solid $orange;
padding: 0.3rem 1.5rem;
width: max-content;
color: $orange;
&::after {
@extend %pf-icon;
margin-left: 1rem;
font-size: 35px;
width: 35px;
height: 35px;
margin-bottom: 3px;
}
}
}
}
}
.pf-icon-famille {
@extend %icon-button;
--pf-icon-picture: url('img/icon_famille.svg');
}
.pf-icon-add {
@extend %icon-button;
--pf-icon-content: '\f055';
}