610 lines
9.6 KiB
SCSS
610 lines
9.6 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;
|
|
}
|
|
}
|
|
|
|
%blue-underlined-link {
|
|
color: $primary-color;
|
|
text-decoration: underline;
|
|
&:hover {
|
|
color: $font-color;
|
|
}
|
|
}
|
|
|
|
|
|
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-mobile-viewport) {
|
|
div#header {
|
|
background: $primary-color;
|
|
}
|
|
}
|
|
|
|
#logo {
|
|
position: absolute;
|
|
@media screen and ($max-mobile-viewport) {
|
|
position: static;
|
|
}
|
|
a {
|
|
text-indent: -10000px;
|
|
display: block;
|
|
height: 150px;
|
|
width: 105px;
|
|
background: url(img/CD31-logo-rvb.svg) top left no-repeat;
|
|
background-size: cover;
|
|
}
|
|
}
|
|
|
|
.site-nav {
|
|
background: $primary-color;
|
|
#nav > ul {
|
|
margin-left: 180px;
|
|
padding-top: 30px;
|
|
padding-bottom: 25px;
|
|
@media screen and ($max-mobile-viewport) {
|
|
padding: 0;
|
|
margin-left: 0;
|
|
}
|
|
a {
|
|
font-size: 1.143rem;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
@media screen and ($max-mobile-viewport) {
|
|
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-mobile-viewport) {
|
|
display: none;
|
|
}
|
|
}
|
|
&.logout {
|
|
display: none;
|
|
}
|
|
}
|
|
@media screen and ($max-mobile-viewport) {
|
|
min-width: 130px;
|
|
right: 10px;
|
|
}
|
|
}
|
|
|
|
body.has-picture .site-nav::after {
|
|
top: 0;
|
|
}
|
|
|
|
div#main-content-wrapper {
|
|
margin-top: 2rem;
|
|
@media screen and ($max-mobile-viewport) {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
div#welcome {
|
|
display: flex;
|
|
@media screen and ($max-mobile-viewport) {
|
|
flex-direction: column;
|
|
}
|
|
div#carrousel {
|
|
width: 700px;
|
|
flex: 1;
|
|
@media screen and ($max-mobile-viewport) {
|
|
width: auto;
|
|
}
|
|
}
|
|
div.textcell {
|
|
margin-left: 20px;
|
|
padding: 20px;
|
|
width: 350px;
|
|
box-shadow: 0 5px 5px 5px #eee;
|
|
border-bottom: 5px solid $primary-color;
|
|
@media screen and ($max-mobile-viewport) {
|
|
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: 2rem;
|
|
width: 100%;
|
|
height: 8rem;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
padding: 1rem;
|
|
strong {
|
|
font-size: $title-font-size;
|
|
font-weight: 600;
|
|
line-height: 120%;
|
|
}
|
|
p {
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
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;
|
|
font-size: 1.929rem;
|
|
border-bottom: 0;
|
|
padding-left: 0;
|
|
&::before {
|
|
content: "▶";
|
|
color: #b7b7b7;
|
|
padding-right: 1ex;
|
|
position: relative;
|
|
top: -2px;
|
|
}
|
|
}
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
|
|
%cell-links-list {
|
|
& > li > a {
|
|
padding: 0.5rem 1rem 0.5rem 2rem;
|
|
&::before {
|
|
content: "> ";
|
|
position: absolute;
|
|
left: 1rem;
|
|
}
|
|
&:hover {
|
|
color: $primary-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
#content div.cell.no-title-border {
|
|
h2 {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
$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;
|
|
border-bottom: none;
|
|
}
|
|
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: 1.571rem;
|
|
}
|
|
form {
|
|
display: flex;
|
|
input {
|
|
margin-right: 1rem;
|
|
width: 8em;
|
|
flex: 1;
|
|
}
|
|
button {
|
|
margin-right: 0;
|
|
flex: 0;
|
|
}
|
|
}
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
body.has-picture {
|
|
h1.form-content--title,
|
|
div#rub_service > h2 {
|
|
color: white;
|
|
border: 0;
|
|
text-align: left;
|
|
font-size: 2.643rem;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
}
|
|
h1.form-content--title,
|
|
div#rub_service > h2 {
|
|
position: absolute;
|
|
top: -200px;
|
|
}
|
|
#mobile-form-title-h1,
|
|
#mobile-form-title-h2 {
|
|
color: white;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
position: relative;
|
|
font-size: 2.643rem;
|
|
top: 0;
|
|
z-index: 100;
|
|
margin-top: -150px;
|
|
min-height: 150px;
|
|
margin-bottom: 10px;
|
|
&.long-title {
|
|
margin-top: -190px;
|
|
min-height: 190px;
|
|
overflow: hidden;
|
|
font-size: 2.143rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
div#rub_service {
|
|
font-size: 1.143rem;
|
|
form {
|
|
h3 {
|
|
@extend %title;
|
|
border-bottom: none;
|
|
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: 1.571rem;
|
|
}
|
|
a {
|
|
margin-top: 1rem;
|
|
display: block;
|
|
text-align: center;
|
|
background: $violet;
|
|
color: white;
|
|
padding-bottom: 4px;
|
|
font-size: 1.929rem;
|
|
text-decoration: underline;
|
|
}
|
|
@media screen and ($max-mobile-viewport) {
|
|
div.tracking-code-part {
|
|
display: flex;
|
|
h3, a {
|
|
display: inline-block;
|
|
font-size: 1.286rem;
|
|
}
|
|
a {
|
|
padding: 2px;
|
|
margin: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.form-content--sidebox {
|
|
width: 23%;
|
|
@media screen and ($max-mobile-viewport) {
|
|
width: auto;
|
|
}
|
|
& + div#rub_service {
|
|
width: 75%;
|
|
@media screen and ($max-mobile-viewport) {
|
|
width: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// Steps
|
|
.wcs-steps {
|
|
font-size: 1.3em;
|
|
@media (min-width: $very-small-limit + 1) {
|
|
font-size: 1.44em;
|
|
}
|
|
@include desktop-vertical-steps() {
|
|
font-size: 1.8em;
|
|
}
|
|
}
|
|
.wcs-step {
|
|
@include desktop-vertical-steps() {
|
|
margin-bottom: $wcs-steps-spacing * 2;
|
|
}
|
|
&--label {
|
|
font-weight: 600;
|
|
letter-spacing: 1px;
|
|
@include desktop-vertical-steps() {
|
|
font-size: 0.56em;
|
|
}
|
|
}
|
|
&.current {
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
|
|
@media screen and ($max-mobile-viewport) {
|
|
body.has-picture .site-nav::after {
|
|
height: 200px;
|
|
margin-top: -6px;
|
|
}
|
|
}
|
|
|
|
div.msg,
|
|
div.comment-field,
|
|
div.textcell {
|
|
line-height: 130%;
|
|
h1 {
|
|
font-size: 2.643rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
h2 {
|
|
font-size: 1.929rem;
|
|
font-weight: 600;
|
|
}
|
|
a {
|
|
@extend %blue-underlined-link;
|
|
|
|
&.pk-button, &.pk-big-button {
|
|
@extend %button;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
footer {
|
|
div.textcell a {
|
|
color: white;
|
|
&:hover {
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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: 0.786rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
div.cell.foldable > div > h2:first-child::after {
|
|
content: "";
|
|
}
|
|
|
|
div.cell.foldable.folded > div > h2:first-child::after {
|
|
content: "+";
|
|
}
|
|
|
|
.grid-1-2 { // Edge hack, https://dev.entrouvert.org/issues/33205
|
|
width: calc(50% - 1rem - 0.1px);
|
|
}
|
|
|
|
|
|
// Specific authentic
|
|
|
|
// Blue underlined links for
|
|
// * accounts/ Bloc gestion du compte
|
|
// * account / FranceConnect
|
|
|
|
div#account-management ul.account-management > li > a,
|
|
#account-management-fc p > a {
|
|
@extend %blue-underlined-link;
|
|
}
|
|
|
|
div#registration-blocks,
|
|
div#login-page {
|
|
margin-top: 5rem;
|
|
@media screen and ($max-mobile-viewport) {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
#toplinks {
|
|
word-spacing: normal;
|
|
}
|
|
|
|
@media ($min-desktop-viewport) {
|
|
.login .toplinks--list-item:not(:last-child)::after {
|
|
content: "/";
|
|
}
|
|
}
|
|
|
|
.connected-user {
|
|
padding-right: 0.7rem;
|
|
}
|
|
|
|
a#ars {
|
|
color: #00789b;
|
|
text-decoration: underline;
|
|
}
|