publik-base-theme/static/haute-garonne-cd31/_custom.scss

543 lines
8.8 KiB
SCSS

%button {
@extend %button;
box-shadow: none;
border: 0px solid $button-background;
border-right-color: transparent;
border-width: 0px 20px;
padding-left: 10px;
padding-right: 10px;
text-transform: uppercase;
&:hover {
border-left-color: $button-background;
box-shadow: none;
}
&:active {
border-left-color: transparent;
}
}
a:hover {
color: $primary-color;
}
footer a:hover {
color: white;
text-decoration: underline;
}
div#header-wrapper {
position: relative;
z-index: 105;
}
@media screen and (max-width: $mobile-limit) {
div#header {
background: $primary-color;
}
}
div#header h1 {
position: absolute;
@media screen and (max-width: $mobile-limit) {
position: static;
}
a {
text-indent: -10000px;
display: block;
height: 150px;
width: 100px;
background: url(img/CD31-logo-rvb.svg) top left no-repeat;
background-size: cover;
}
}
nav {
background: $primary-color;
#nav > ul {
margin-left: 180px;
padding-top: 30px;
padding-bottom: 25px;
@media screen and (max-width: $mobile-limit) {
padding: 0;
margin-left: 0;
}
a {
text-transform: uppercase;
font-size: 16px;
font-weight: 600;
}
}
@media screen and (max-width: $mobile-limit) {
background: transparent;
}
}
#toplinks {
top: 40px;
background: $jaune;
box-shadow: none;
border: none;
border-radius: 0;
padding: 0;
a {
background: transparent url(img/picto-cadenas.svg) 5px 50% no-repeat;
background-size: 35px 35px;
font-weight: 600;
color: black;
padding: 20px 10px 14px 50px;
display: inline-block;
&.registration {
padding-left: 10px;
background: transparent;
@media screen and (max-width: $mobile-limit) {
display: none;
}
}
}
@media screen and (max-width: $mobile-limit) {
min-width: 130px;
right: 10px;
}
}
body.has-picture nav::after {
top: 0;
}
div#main-content-wrapper {
margin-top: 2rem;
@media screen and (max-width: $mobile-limit) {
margin-top: 0;
}
}
div#welcome {
display: flex;
@media screen and (max-width: $mobile-limit) {
flex-direction: column;
}
div#carrousel {
width: 700px;
flex: 1;
@media screen and (max-width: $mobile-limit) {
width: auto;
}
}
div.textcell {
box-sizing: border-box;
margin-left: 20px;
padding: 20px;
width: 350px;
box-shadow: 0 5px 5px 5px #eee;
border-bottom: 5px solid $primary-color;
@media screen and (max-width: $mobile-limit) {
width: auto;
margin-left: 0;
}
h2:first-child {
margin-top: 0;
}
}
margin-bottom: 1rem;
}
div.carrousel-content input + div div.carrousel-item div.carrousel-item-content {
left: 0;
bottom: 3rem;
width: 100%;
height: 7rem;
background: rgba(0, 0, 0, 0.5);
padding: 1rem;
box-sizing: border-box;
strong {
font-size: $title-font-size;
font-weight: 600;
line-height: 120%;
}
}
div#vos-demarches {
border-bottom: 2px solid $primary-color;
margin-bottom: 3rem;
h1 {
background: white;
padding-top: 0;
margin-top: 0;
display: inline-block;
position: relative;
top: 25px;
@extend %title;
border-bottom: 0;
}
}
div.gru-content div.cell {
margin-bottom: 2rem;
}
.gru-content .cell.wcsformsofcategorycell {
h2:first-child {
font-weight: normal;
border-bottom: 0;
}
&.foldable {
box-shadow: 0 0 5px 5px #eee;
}
&.foldable.folded {
box-shadow: none;
h2 {
background: $primary-color;
color: white;
}
}
a {
&:hover {
color: $primary-color;
}
}
div.description {
display: none;
}
}
div#rub_service div.category ul,
div#services > ul > li > ul,
div#account-management ul,
div.links-list ul,
div.menucell ul,
div.wcsformcell,
div.notificationscell ul,
div.categoriescell ul,
div.wcsformsofcategorycell ul,
div.wcscurrentdraftscell ul,
div.wcscurrentformscell ul {
& > li > a {
padding: 0.5rem 1rem 0.5rem 2rem;
&::before {
content: "> ";
position: absolute;
left: 1rem;
}
&:hover {
color: $primary-color;
}
}
}
$cell_colors: ( ("bleu", $bleu),
("violet", $violet),
("bleufonce", $bleufonce),
("bleuclair", $bleuclair),
("jaune", $jaune),
("orange", $orange) );
@each $color_class, $color in $cell_colors {
#content div.cell.#{$color_class} {
h2 {
color: $color;
border-color: $color;
}
button {
background: $color;
border-left-color: $color;
&:hover {
border-left-color: $color;
}
}
input {
border-color: $color;
}
&.inverse {
background: $color;
color: white;
h2 {
color: white;
}
button {
border: 1px solid white;
}
a {
&:hover {
color: white;
text-decoration: underline;
}
}
}
&.ombre {
box-shadow: 0 5px 5px 5px #eee;
}
}
}
#content div.feedcell {
h2 {
background: url(img/picto-rss.svg) left center no-repeat;
background-size: 30px 30px;
padding-left: 40px;
}
div {
padding-left: 0;
padding-right: 0;
}
}
#content div.searchcell {
h2 {
background: url(img/picto-loupe.svg) left center no-repeat;
background-size: 30px 30px;
padding-left: 40px;
}
button {
width: 100%;
}
}
#content div.mon-compte {
h2 {
background: url(img/picto-mon-compte.svg) left center no-repeat;
background-size: 30px 30px;
padding-left: 40px;
}
}
#content div.trackingcodeinputcell {
h2 {
background: url(img/picto-code-suivi.svg) left top no-repeat;
background-size: 120px 80px;
padding-left: 120px;
font-size: 22px;
}
form {
display: flex;
input {
margin-right: 1rem;
}
}
padding-bottom: 0.5rem;
}
body.has-picture {
div#rub_service {
& > h2 {
color: white;
border: 0;
text-align: left;
position: absolute;
top: -200px;
font-size: 37px;
text-transform: uppercase;
@media screen and (max-width: $mobile-limit) {
top: 200px;
padding-left: 0.5rem;
}
}
}
}
div#rub_service {
font-size: 16px;
form {
h3 {
@extend %title;
padding-left: 0;
}
}
div.widget div.title label {
color: $primary-color;
font-weight: 600;
}
}
form.quixote div.buttons {
border-top: 1px solid $primary-color;
padding-top: 2rem;
button {
text-transform: uppercase;
font-weight: 600;
}
.submit-button {
button::after {
content: " >";
}
}
.cancel-button {
float: right;
button {
margin-right: 0;
padding-right: 0;
color: black;
background: transparent;
border: 0;
&:hover {
}
}
}
.previous-button {
float: left;
button::before {
content: "< ";
}
}
}
div#tracking-code {
h3 {
background: url(img/picto-code-suivi-violet.svg) left top no-repeat;
background-size: 120px 80px;
color: $violet;
border-bottom: 0;
padding-left: 110px;
font-size: 22px;
}
a {
margin-top: 1rem;
display: block;
text-align: center;
background: $violet;
color: white;
padding-bottom: 4px;
font-size: 27px;
text-decoration: underline;
}
@media screen and (max-width: $mobile-limit) {
div.tracking-code-part {
display: flex;
h3, a {
display: inline-block;
font-size: 18px;
}
a {
padding: 2px;
margin: 1rem;
}
}
}
}
div#gauche {
width: 23%;
@media screen and (max-width: $mobile-limit) {
width: auto;
}
& + div#rub_service {
width: 75%;
@media screen and (max-width: $mobile-limit) {
width: auto;
}
}
}
div#steps {
ol {
li {
position: relative;
overflow: visible;
border: none;
span.marker {
display: inline-block;
position: absolute;
left: 0;
border-radius: 100%;
background: #b6b6b6;
box-shadow: 0 0 0 4px white;
text-align: center;
width: 60px;
height: 60px;
line-height: 60px;
color: white;
&::after {
content: "";
height: 36px;
width: 1px;
position: absolute;
left: 30px;
bottom: -40px;
background: #b6b6b6;
}
}
span.label {
display: inline-block;
margin-left: 70px;
margin-top: 20px;
font-weight: 600;
color: black;
}
padding-bottom: 2rem;
&.step-before, &.current {
span.marker {
background: $primary-color;
}
span.label {
font-weight: 600;
}
}
&.step-before {
span.marker {
&::after {
background: $primary-color;
}
}
}
&.last {
span.marker {
&::after {
content: none;
}
}
}
@media screen and (max-width: $mobile-limit) {
&.step-before, &.step-after {
display: none;
}
&.current {
span.marker {
border-radius: 100%;
padding: 0;
border: 0;
color: white;
}
}
}
}
}
}
@media screen and (max-width: $mobile-limit) {
body.has-picture nav::after {
height: 200px;
margin-top: -6px;
}
}
div.textcell {
h1 {
font-size: 37px;
font-weight: 600;
text-transform: uppercase;
}
h2 {
font-size: 27px;
font-weight: 600;
}
}
.gru-content div.wcsformcell {
padding: 0.5rem 1rem 0.1rem 1rem;
a {
font-weight: 600;
}
}
#pwa-navigation {
text-transform: uppercase;
a {
background-position: 50% 10px;
padding-top: 38px;
span {
font-size: 11px;
}
}
}