publik-base-theme/static/vandoeuvre-les-nancy-2021/_custom.scss

230 lines
3.4 KiB
SCSS

#header-wrapper {
background-image:
linear-gradient(
to top,
$primary-color 160px,
white 160px
);
@media ($min-desktop-viewport) {
background-image:
linear-gradient(
to bottom,
white 3rem,
$primary-color 3rem
);
}
h1 {
padding-left: 0;
a {
display: block;
font-size: 2.857rem;
line-height: 1.2;
font-weight: bold;
color: $font-color;
@media ($max-mobile-viewport) {
font-size: 2rem;
}
@media ($min-desktop-viewport) {
padding-top: 1.2em;
padding-bottom: 1.2em;
}
}
}
}
#top {
display: flex;
flex-direction: column;
background: url(img/header_transparent.png) no-repeat;
@media ($min-desktop-viewport) {
background-size: 250px;
background-position: center right;
padding-right: 250px;
}
@media ($max-mobile-viewport) {
background-size: 205px;
background-position: center bottom;
padding-bottom: 205px;
}
}
#toplinks {
// reset
position: static;
top: 0;
left: 0;
border: none;
box-shadow: none;
padding: 0;
border-radius: 0;
background: none;
order: -1;
text-align: left;
a {
line-height: 3rem;
color: $font-color;
&:hover {
text-decoration: underline;
}
&:not(:first-child) {
margin-left: .7em;
}
}
}
#nav-wrapper {
border-top: solid 2px #000;
background: $nav-background;
margin-top: 0;
ul {
margin-top: 0;
}
}
#messages {
li.warning, li.success, li.error, li.info {
color: $font-color;
}
}
#footer-wrapper {
border-top: solid 2px #CFCFCF;
padding-bottom: 0;
overflow: hidden;
}
#footer {
position: relative;
}
#footer .menucell {
width: 100vw;
clear: both;
text-align: left;
border-top: solid 2px #000;
background-color: $nav-background;
margin-left: calc(-50vw + 50%);
padding-left: calc(50vw - (#{$width / 2}));
padding-right: calc(50vw - (#{$width / 2}));
padding-top: 0.5em;
padding-bottom: 0.5em;
@media ($max-mobile-viewport) {
padding-bottom: $back-top-icon-size + 1;
}
li a {
color: white;
padding: 0.75em 30px;
&::before {
content: none;
}
}
}
#footer .textcell {
@media ($max-mobile-viewport) {
text-align: center;
}
}
.back-top {
position: absolute;
right: 0.7em;
bottom: 1em;
}
.back-top--link {
color: white !important;
}
.back-top--link-label {
@extend .sr-only;
}
.gru-content div.cell {
box-shadow: 2px 2px #CFCFCF;
.description, .intro {
color: $wcs-step-color;
}
}
%button {
box-shadow: none;
padding: 5px 10px;
&:hover, &:focus {
border-color: #0049DB;
}
}
h1 {
margin: 0.7em 1rem;
}
h2 {
@extend h1;
border-bottom: 1px solid $font-color;
padding-bottom: 6px;
font-weight: normal;
}
h3 {
color: #0E8668;
border-top: 1px solid currentColor;
padding-top: 2px;
@media ($min-desktop-viewport) {
display: flex;
align-items: center;
border-top: 0;
padding-top: 0;
&::after {
content: "";
height: 0;
flex: 1 0 0;
border-top: 1px solid currentColor;
margin-left: .66em;
}
}
}
.tracking-code-input-cell {
input, button {
width: 100%;
}
}
%cell-links-list {
& > li > a {
padding-left: 2em;
position: relative;
&::before {
content: "\f061"; /* fa-arrow-right */
font-family: FontAwesome;
color: $link-color;
font-size: 0.8em;
display: inline-block;
position: absolute;
top: 1.6em;
left: 1em;
width: 1em;
}
}
}
.pk-transparent {
box-shadow: none !important;
h2:first-child, ul > li {
background: transparent !important;
border-color: transparent !important;
& > a::before {
content: none !important;
}
}
}