148 lines
2.3 KiB
SCSS
148 lines
2.3 KiB
SCSS
.cell + .pf-page-header--default {
|
|
display: none;
|
|
}
|
|
|
|
.page-template-homepage .gru-content div.cell {
|
|
margin-top: 2rem;
|
|
padding-bottom: 2rem;
|
|
border-radius: 0;
|
|
|
|
&:not(:last-child) {
|
|
border-bottom: 3px solid $orange;
|
|
}
|
|
}
|
|
|
|
// Links
|
|
%cell-links-list {
|
|
& > li {
|
|
margin: 0 1em;
|
|
}
|
|
& > li:not(.add-more-items) > a {
|
|
font-size: $fz-3;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
li div.description {
|
|
padding: 0;
|
|
|
|
p {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.add-more-items--button {
|
|
font-size: $fz-2;
|
|
color: $orange;
|
|
}
|
|
|
|
// Notifications
|
|
div.cell.notifications-cell {
|
|
h2:first-child {
|
|
color: $orange;
|
|
font-size: $fz-3;
|
|
&:before {
|
|
content: '\f0f3';
|
|
font-family: FontAwesome;
|
|
margin-right: 2rem;
|
|
}
|
|
}
|
|
|
|
.links-list {
|
|
background: $orange;
|
|
border-radius: $border-radius;
|
|
|
|
ul {
|
|
padding: 2rem 4rem;
|
|
> li {
|
|
border: none;
|
|
padding: 0.3rem 0;
|
|
|
|
&:not(:last-child) {
|
|
border-bottom: 1px solid white;
|
|
}
|
|
|
|
> a {
|
|
font-size: $font-size;
|
|
text-decoration: underline;
|
|
color: white;
|
|
}
|
|
|
|
> div.description {
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
// Tracking code
|
|
div.cell.tracking-code-input-cell {
|
|
h2:first-child {
|
|
font-size: $font-size;
|
|
text-transform: uppercase;
|
|
border-bottom: 1px solid $gray-dark;
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
// Carrousel
|
|
div.carrousel-content {
|
|
background: $green-light;
|
|
overflow: visible;
|
|
margin-top:150px;
|
|
|
|
@media($min-desktop-viewport) {
|
|
&::before {
|
|
background-image: url('img/carrousel-banner.png');
|
|
background-position:center;
|
|
background-repeat: no-repeat;
|
|
content: "";
|
|
position: absolute;
|
|
height: 150px;
|
|
width: 100%;
|
|
top:-110px;
|
|
}
|
|
}
|
|
|
|
@media($max-mobile-viewport) {
|
|
.carrousel-item-content {
|
|
text-align: center;
|
|
background: $green-light;
|
|
}
|
|
}
|
|
|
|
input + div {
|
|
padding: 3rem;
|
|
div.carrousel-item {
|
|
&:after {
|
|
background-color: transparent;
|
|
}
|
|
color: black;
|
|
background-repeat: no-repeat;
|
|
background-size: 30%;
|
|
background-position-x: 10%;
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Custom classes
|
|
.errornotice,
|
|
.warningnotice,
|
|
.successnotice,
|
|
.infonotice {
|
|
border-radius: $border-radius;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
padding-right: 1rem;
|
|
min-height: calc(#{$notification-icon-size} + 2rem);
|
|
&::before {
|
|
top: 1rem;
|
|
}
|
|
}
|