619 lines
11 KiB
SCSS
619 lines
11 KiB
SCSS
body {
|
|
background: url('img/fond.png');
|
|
}
|
|
|
|
@mixin trapesoid($background-color: $secondary-color, $top: 0, $bottom: 0, $width: 1em, $border-color: #fff) {
|
|
position: relative;
|
|
padding-left: 1.75em;
|
|
border-left: 20px solid $border-color;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
border-left: 0;
|
|
}
|
|
&::before {
|
|
content: '';
|
|
display: block;
|
|
width: $width;
|
|
background: $background-color;
|
|
position: absolute;
|
|
top: $top;
|
|
left: -0.7em;
|
|
bottom: $bottom;
|
|
transform: skew(-25deg);
|
|
border-right: 10px solid $border-color;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
@mixin button {
|
|
padding: 1ex 1em;
|
|
margin: 1ex 0;
|
|
background: $primary-color;
|
|
color: #fff;
|
|
text-transform: uppercase;
|
|
@include trapesoid;
|
|
}
|
|
|
|
div#main-content-wrapper {
|
|
margin-top: 2ex;
|
|
}
|
|
|
|
#top #logo a {
|
|
display: block;
|
|
text-indent: -10000px;
|
|
color: #4D4D4D;
|
|
font-size: 30px;
|
|
font-weight: normal;
|
|
background: url(img/logo.png) center left no-repeat;
|
|
height: 66px;
|
|
}
|
|
|
|
div.departement {
|
|
a {
|
|
background: url(img/departement-logo.png) center right no-repeat;
|
|
height: 66px;
|
|
width: 275px;
|
|
display: block;
|
|
}
|
|
@media screen and (max-width: $mobile-limit) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
div#header-wrapper {
|
|
display: flex;
|
|
margin: 0 2ex;
|
|
}
|
|
|
|
div#header {
|
|
max-width: 100%;
|
|
}
|
|
|
|
h2:first-child {
|
|
@include trapesoid;
|
|
}
|
|
|
|
div.homepage-container {
|
|
width: 100%;
|
|
h2 {
|
|
display: block;
|
|
width: 50%;
|
|
margin: 0 auto;
|
|
}
|
|
div.cell {
|
|
background: transparent;
|
|
}
|
|
div.homepage-intro, div.homepage-suggestions {
|
|
margin: 3ex 0;
|
|
}
|
|
div.homepage-header {
|
|
width: 50%;
|
|
margin: 0 auto;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
div.homepage-intro {
|
|
background: url('img/fond-intro.png') transparent no-repeat;
|
|
background-position: center center;
|
|
color: $primary-color;
|
|
}
|
|
div.homepage-suggestions, div.events, div.homepage-prefooter-body {
|
|
display: flex;
|
|
@include vendor-prefix(justify-content, center);
|
|
@include vendor-prefix(align-items, center);
|
|
@include vendor-prefix(flex-wrap, wrap);
|
|
}
|
|
div.homepage-suggestions {
|
|
background: url('img/fond-suggestions.png') transparent no-repeat;
|
|
background-position: center center;
|
|
text-align: center;
|
|
height: 200px;
|
|
.cell {
|
|
border: 3px solid $secondary-color;
|
|
height: 200px;
|
|
width: 200px;
|
|
border-radius: 50%;
|
|
@each $suggestion in (suggestion-privatisation, suggestion-maison-apa, suggestion-aceduc) {
|
|
&.#{$suggestion} {
|
|
background: #fff;
|
|
a {
|
|
font-size: 75%;
|
|
&::before {
|
|
content: '';
|
|
display: block;
|
|
height: 85px;
|
|
width: auto;
|
|
margin-bottom: 1ex;
|
|
background: url('img/#{$suggestion}-icon.png') no-repeat;
|
|
background-size: contain;
|
|
background-position: center center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
div.homepage-events {
|
|
background: url('img/fond-evenements.png') center right no-repeat, url('img/fond-rose-evenements.png') center center no-repeat;
|
|
background-color: #fff;
|
|
padding-top: 3ex;
|
|
div.cell {
|
|
background: transparent;
|
|
h2 {
|
|
width: 50%;
|
|
margin: 0 auto;
|
|
@include trapesoid($ternary-color);
|
|
}
|
|
}
|
|
div.events {
|
|
div.cell {
|
|
margin: 2ex 2em;
|
|
text-align: center;
|
|
background: $primary-color;
|
|
color: #fff;
|
|
a {
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
div.homepage-prefooter {
|
|
background: $primary-color;
|
|
padding: 3ex 0;
|
|
div.cell:first-child {
|
|
width: 50%;
|
|
margin: 0 auto;
|
|
}
|
|
h2:first-child {
|
|
color: $secondary-color;
|
|
background: #fff;
|
|
@include trapesoid($background-color: $ternary-color, $border-color: $primary-color);
|
|
};
|
|
div.homepage-prefooter-body {
|
|
color: #fff;
|
|
padding: 3ex 3em;
|
|
div.cell {
|
|
width: 40%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
div.large div#rub_service, div#rub_service {
|
|
h2 {
|
|
text-transform: uppercase;
|
|
text-align: left;
|
|
border-bottom: 0;
|
|
color: #fff;
|
|
@include trapesoid;
|
|
}
|
|
h3, div#summary h2, div#evolution-log h2 {
|
|
text-transform: uppercase;
|
|
text-align: left;
|
|
border-bottom: 0;
|
|
color: $primary-color;
|
|
background: #fff;
|
|
font-size: 125%;
|
|
font-weight: normal;
|
|
margin: 1ex 0;
|
|
@include trapesoid;
|
|
}
|
|
div.form-validation, div.dataview {
|
|
h3 {
|
|
background: $primary-color;
|
|
color: #fff;
|
|
margin-top: 0;
|
|
padding-bottom: 1ex;
|
|
&::before {
|
|
display: none;
|
|
}
|
|
}
|
|
input, textarea {
|
|
border: 0;
|
|
}
|
|
div.widget div.title, div.field span.label {
|
|
font-weight: bold;
|
|
&::after {
|
|
content: ':';
|
|
margin-left: 0.3em;
|
|
}
|
|
}
|
|
div.field {
|
|
margin: 0;
|
|
}
|
|
div.title, div.content, div.value {
|
|
display: inline;
|
|
}
|
|
div.page {
|
|
margin: 2em 0;
|
|
padding: 0;
|
|
background: #fff;
|
|
border: 3px solid $primary-color;
|
|
> div {
|
|
padding: 0 1em;
|
|
h3 {
|
|
color: #000;
|
|
background: transparent;
|
|
padding: 0;
|
|
}
|
|
}
|
|
}
|
|
span.value {
|
|
display: inline;
|
|
}
|
|
}
|
|
div.dataview {
|
|
padding: 1rem;
|
|
border: 3px solid $primary-color;
|
|
h3 {
|
|
background: transparent;
|
|
color: #000;
|
|
padding: 0;
|
|
text-transform: none;
|
|
font-weight: bold;
|
|
}
|
|
div.page {
|
|
div.title h3 {
|
|
font-weight: normal;
|
|
}
|
|
border: 0;
|
|
> div {
|
|
padding: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
div.SubmitWidget {
|
|
margin-left: 1em;
|
|
}
|
|
|
|
div.back-home-button {
|
|
text-align: center;
|
|
}
|
|
div.back-home-button a, a.custom-button {
|
|
@include button;
|
|
}
|
|
|
|
div.buttons {
|
|
button {
|
|
text-transform: uppercase;
|
|
box-shadow: none;
|
|
position: relative;
|
|
}
|
|
div.cancel-button button {
|
|
color: #000;
|
|
background: transparent;
|
|
}
|
|
div.previous-button button {
|
|
background: $ternary-color;
|
|
@include trapesoid($secondary-color, -1px, -1px);
|
|
}
|
|
div.submit-button {
|
|
button {
|
|
background: $secondary-color;
|
|
@include trapesoid($ternary-color, -1px, -1px);
|
|
}
|
|
}
|
|
}
|
|
|
|
ul#evolutions li span.item {
|
|
border: 1px solid $ternary-color;
|
|
&::before {
|
|
background: $ternary-color;
|
|
height: 21px;
|
|
width: 21px;
|
|
top: 4px;
|
|
left: 4px;
|
|
border-radius: 10px;
|
|
}
|
|
}
|
|
|
|
|
|
/* steps */
|
|
|
|
div#steps ol {
|
|
background: #fff;
|
|
li {
|
|
background: #fff;
|
|
max-width: 15em;
|
|
position: relative;
|
|
margin-right: 3em;
|
|
span {
|
|
color: $primary-color;
|
|
font-size: 100%;
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
margin-left: 0.5em;
|
|
&.marker {
|
|
border: 2px solid $primary-color;
|
|
border-radius: 50%;
|
|
font-size: 175%;
|
|
font-weight: bold;
|
|
width: 2em;
|
|
height: 2em;
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
font-size: 100%;
|
|
background: #fff;
|
|
color: $primary-color;
|
|
width: 1.25em;
|
|
}
|
|
}
|
|
&.label {
|
|
padding-left: 0.5em;
|
|
text-align: left;
|
|
width: 8em;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
&.current {
|
|
background: #fff;
|
|
span.marker {
|
|
background: $primary-color;
|
|
color: #fff;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
}
|
|
}
|
|
@media screen and (max-width: $mobile-limit) {
|
|
padding: 0;
|
|
}
|
|
&:not(:last-child) {
|
|
&::after {
|
|
content: '';
|
|
width: 2.5em;
|
|
height: 3px;
|
|
background: $secondary-color;
|
|
position: absolute;
|
|
right: -3em;
|
|
top: 50%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* tracking code */
|
|
div#gauche {
|
|
text-align: left;
|
|
div#tracking-code {
|
|
display: block;
|
|
h3 {
|
|
font-size: 150%;
|
|
background: #fff;
|
|
color: #000;
|
|
border: 0;
|
|
display: inline-block;
|
|
padding-right: 0;
|
|
&::after {
|
|
content: ':';
|
|
margin: 0 0.3em;
|
|
}
|
|
&::before {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
div#nav-wrapper {
|
|
text-align: center;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
div#footer-wrapper {
|
|
background: $footer-background url('img/footer.png') 75% 50%;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
}
|
|
|
|
div.cell {
|
|
padding-top: 2em;
|
|
&.header {
|
|
h2:first-child {
|
|
margin: 1em 0;
|
|
display: inline-block;
|
|
}
|
|
|
|
}
|
|
h2 {
|
|
@extend %title;
|
|
}
|
|
}
|
|
|
|
h2 + h2 {
|
|
margin-top: 0.3ex !important;;
|
|
text-align: right;
|
|
padding-left: 1em !important;
|
|
}
|
|
|
|
.section-demarches div#page {
|
|
background: url('img/page-header.png') no-repeat;
|
|
background-position: center 170px;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
background-position: center 110px;
|
|
}
|
|
div.cell.textcell:first-child {
|
|
background: transparent;
|
|
display: inline-block;
|
|
h2:first-child {
|
|
@include trapesoid($border-color: $ternary-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
.page-connexion div#page {
|
|
background: url('img/login-background.png') center 75px;
|
|
background-repeat: no-repeat;
|
|
div.cell, div.block {
|
|
background: transparent;
|
|
}
|
|
div#left, div#right {
|
|
width: 40%;
|
|
margin-left: 4em;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
}
|
|
div#left h2:first-child {
|
|
@include trapesoid($border-color: $ternary-color);
|
|
}
|
|
div.block, div.a2-block {
|
|
&:first-child {
|
|
color: #fff;
|
|
background: $primary-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
div.block, div.a2-block {
|
|
button, input[type="submit"] {
|
|
background: #fff;
|
|
color: $primary-color;
|
|
}
|
|
input[type="text"], input[type="password"] {
|
|
width: 100%;
|
|
}
|
|
h2 {
|
|
margin-bottom: 1ex;
|
|
}
|
|
}
|
|
|
|
div#frontend-registration-email form {
|
|
padding: 1rem;
|
|
}
|
|
|
|
div#login-page {
|
|
.forgot-password {
|
|
float: right;
|
|
}
|
|
&.methods2 {
|
|
div.block {
|
|
float: none;
|
|
width: 75%;
|
|
color: #fff;
|
|
a {
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
a.tip-button {
|
|
background: $ternary-color;
|
|
color: #fff;
|
|
padding: 1ex 1em;
|
|
position: relative;
|
|
&::before, &::after {
|
|
content: '';
|
|
display: block;
|
|
width: 30px;
|
|
height: 30px;
|
|
position: absolute;
|
|
background-size: contain;
|
|
}
|
|
&::before {
|
|
background: url('img/left-tip-arrow.png') no-repeat;
|
|
background-size: contain;
|
|
top: -20px;
|
|
left: -40px;
|
|
}
|
|
&::after {
|
|
background: url('img/wow.png') no-repeat;
|
|
background-size: contain;
|
|
top: -30px;
|
|
right: -30px;
|
|
}
|
|
}
|
|
|
|
div.textcell {
|
|
@each $class in (doc, eco, computer) {
|
|
&.#{$class} {
|
|
margin: 5ex 0 5ex 150px;
|
|
position: relative;
|
|
h3 {
|
|
color: $primary-color;
|
|
}
|
|
&::before {
|
|
content: '';
|
|
width: 90px;
|
|
height: 90px;
|
|
background: url('img/#{$class}-icon.png') no-repeat;
|
|
background-size: contain;
|
|
display: block;
|
|
position: absolute;
|
|
left: -130px;
|
|
}
|
|
}
|
|
ul.categories {
|
|
&.turquoise-items, &.pink-items {
|
|
li {
|
|
list-style-type: none;
|
|
display: inline-grid;
|
|
position: relative;
|
|
width: 25%;
|
|
margin: 5ex 2em;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
margin: 2em;
|
|
}
|
|
&::after {
|
|
content: '';
|
|
display: block;
|
|
height: 5px;
|
|
width: 4em;
|
|
position: absolute;
|
|
background: $ternary-color;
|
|
left: 100px;
|
|
top: -10px;
|
|
}
|
|
a {
|
|
@each $category in (aceduc, apprentis, brevet, college, etablissement, apa, bus, mdph, aide, suivi, aide-personnalisee) {
|
|
&.#{$category} {
|
|
position: relative;
|
|
padding-left: 100px;
|
|
display: block;
|
|
&::before {
|
|
content: '';
|
|
display: block;
|
|
background: url('img/#{$category}-icon.png') no-repeat;
|
|
background-size: contain;
|
|
width: 90px;
|
|
height: 90px;
|
|
position: absolute;
|
|
left: 0;
|
|
top: -25px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.pink-items li::after {
|
|
background: $secondary-color;
|
|
}
|
|
}
|
|
}
|
|
&.turquoise-header, &.pink-header {
|
|
h3 {
|
|
font-size: 150%;
|
|
color: $primary-color;
|
|
}
|
|
}
|
|
&.turquoise-header h3 {
|
|
@include trapesoid($background-color: $ternary-color);
|
|
}
|
|
&.pink-header h3 {
|
|
@include trapesoid($background-color: $secondary-color);
|
|
}
|
|
}
|