publik-base-theme/static/lille-metropole/_custom.scss

183 lines
2.5 KiB
SCSS

@import '../includes/fonts/lato';
@import '../includes/fonts/montserrat';
a#publik-portal-agent {
right: auto;
left: 5px;
}
span#environment-label {
font-size: 0.714rem;
}
%title {
@extend %title;
text-align: left;
&::before {
content: "";
display: block;
background: $primary-color;
height: 5px;
width: 30px;
margin-bottom: 10px;
}
}
div#page {
background: #f5f5f5;
}
#toplinks {
left: 0;
top: -3rem;
font-size: 90%;
width: 100vw;
text-align: right;
overflow: hidden;
text-overflow: ellipsis;
font-size: 90%;
box-shadow: none;
border: none;
border-radius: 0;
background: $primary-color;
a {
color: white;
}
}
.site-header {
position: fixed;
top: 0;
left: 0;
z-index: 100;
#header {
transition: all ease 0.2s;
margin-top: 3rem;
margin-bottom: 2rem;
h1 {
margin-top: 0.4rem;
a {
display: inline-block;
padding-left: 200px;
background: url(img/logo-mel.svg) 10px 0px no-repeat;
background-size: 168px 40px;
min-width: 180px;
}
}
}
}
div#nav {
position: fixed;
top: 0;
right: 0;
width: 100%;
max-width: none;
text-align: right;
padding-right: 1rem;
border-bottom: 1px solid #aaa;
z-index: 10;
margin-top: 0;
& > ul {
transition: all ease 0.2s;
margin-top: 3rem;
margin-bottom: 2rem;
text-transform: uppercase;
li > a {
font-weight: normal;
}
}
}
div#main-content-wrapper {
z-index: 0;
padding-top: 8rem;
}
body.has-picture {
div#main-content-wrapper {
padding-top: 1rem;
}
div#nav {
border-bottom-color: transparent;
}
}
body.has-picture .site-nav::after {
top: 100px;
}
#logo a {
color: $primary-color;
font-weight: normal;
}
@media screen and ($max-mobile-viewport) {
div#nav, .site-header {
text-align: left;
position: static;
width: auto;
padding-right: 0;
border-bottom: 0;
#header h1 {
margin-top: 0rem;
margin-bottom: 1rem;
}
#header h1 a {
padding-left: 50px;
white-space: pre;
display: inline-block;
text-indent: -1000px;
}
}
header #header {
margin-top: 3rem;
margin-bottom: 0.4rem;
}
div#nav > ul {
margin-top: 0;
margin-bottom: 0px;
}
div#main-content-wrapper {
padding-top: 0;
}
#toplinks {
right: 1vw;
left: auto;
top: -3rem;
width: auto;
}
body.has-picture .site-nav::after {
top: 0px;
}
}
div#gauche, div#rub_service {
background: white;
border-radius: $border-radius;
}
footer {
a {
color: $font-color;
}
}
// Steps
.wcs-steps {
font-size: 1.2em;
@include desktop-vertical-steps() {
font-size: 1.4em;
}
}
div#rub_service div.submit-button {
float: right;
}