parallax ornements + modifs d'après kanboard
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
.paragraph--type--membre-equipe {
|
||||
height: auto;
|
||||
display: grid;
|
||||
grid-template-columns: 30vw 1fr;
|
||||
grid-template-columns: 30vw auto 1fr;
|
||||
grid-auto-rows: auto;
|
||||
margin-bottom: 5vh;
|
||||
> div:first-of-type {
|
||||
@@ -33,21 +33,23 @@
|
||||
}
|
||||
}
|
||||
|
||||
> div:nth-of-type(2) {
|
||||
> div:nth-of-type(2),
|
||||
> div:nth-of-type(3) {
|
||||
@include sous_titre();
|
||||
margin-bottom: 2vh;
|
||||
align-self: center;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
> div:nth-of-type(3) {
|
||||
display: none;
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
|
||||
> div:last-of-type {
|
||||
@include main_text_content();
|
||||
grid-column: 2 / 4;;
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
grid-template-columns: 10vw 1fr;
|
||||
grid-template-columns: 10vw auto 1fr;
|
||||
> div:first-of-type > div {
|
||||
width: 10vw;
|
||||
height: 10vw;
|
||||
|
@@ -56,6 +56,7 @@
|
||||
}
|
||||
|
||||
.home_consultation {
|
||||
position: relative;
|
||||
@include beige_gradient();
|
||||
width: 100%;
|
||||
padding: 4rem 0;
|
||||
@@ -70,6 +71,13 @@
|
||||
max-width: 50vw;
|
||||
}
|
||||
}
|
||||
h2 + div {
|
||||
h2, h3 {
|
||||
@include sous_titre_alt();
|
||||
margin-left: 12.5vw;
|
||||
max-width: 50vw;
|
||||
}
|
||||
}
|
||||
article > div {
|
||||
height: unset !important;
|
||||
p {
|
||||
|
@@ -4,11 +4,12 @@
|
||||
}
|
||||
.retour_actus {
|
||||
padding-top: 3vh;
|
||||
font-size: $sm_font_size;
|
||||
font-weight: 800;
|
||||
color: $teal;
|
||||
padding-left: $x_margin;
|
||||
cursor: pointer;
|
||||
a {
|
||||
font-size: $sm_font_size;
|
||||
font-weight: 800;
|
||||
color: $teal;
|
||||
}
|
||||
}
|
||||
.article_meta {
|
||||
padding-left: $x_margin;
|
||||
|
61
web/themes/erabletheme/scss/partials/_login.scss
Normal file
61
web/themes/erabletheme/scss/partials/_login.scss
Normal file
@@ -0,0 +1,61 @@
|
||||
.login, .user {
|
||||
width: 100vw;
|
||||
height: 50vh;
|
||||
@include beige_gradient();
|
||||
padding-top: 15vh;
|
||||
> h2 {
|
||||
@include sous_titre_alt();
|
||||
text-align: center;
|
||||
}
|
||||
> div {
|
||||
height: 100%;
|
||||
> div:not(.hidden) {
|
||||
// height: 100%;
|
||||
margin-top: 5vh !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
form {
|
||||
font-family: 'Marianne', sans-serif;
|
||||
.form-item {
|
||||
margin: 1.8rem 0;
|
||||
.form-checkbox {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
-webkit-appearance: auto;
|
||||
}
|
||||
.form-required {
|
||||
font-weight: 800;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
.description {
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
}
|
||||
input {
|
||||
border: solid 1px $teal;
|
||||
}
|
||||
.button {
|
||||
font-family: 'Marianne', sans-serif;
|
||||
font-weight: 800;
|
||||
border: solid 1px $teal;
|
||||
background-color: white;
|
||||
cursor: pointer;
|
||||
}
|
||||
.button:hover {
|
||||
background-color: rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.user {
|
||||
.contextual-region > div {
|
||||
display: flex;
|
||||
font-family: 'Marianne', sans-serif;
|
||||
> h4 {
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
@@ -6,12 +6,14 @@
|
||||
right: -55vw;
|
||||
top: -5vh;
|
||||
z-index: 0;
|
||||
transition: left 0.05s ease, top 0.05s ease;
|
||||
> div {
|
||||
position: absolute;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transition: left 0.05s ease, top 0.05s ease;
|
||||
}
|
||||
> div:first-of-type {
|
||||
background-image: url(../assets/formes/forme_4.png);
|
||||
@@ -29,7 +31,7 @@
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
left: -40vw;
|
||||
top: -10vw;
|
||||
top: -16vw;
|
||||
> div {
|
||||
transform: scaleX(-1);
|
||||
left: -55vw;
|
||||
@@ -50,12 +52,14 @@
|
||||
}
|
||||
|
||||
.ornements_top_under {
|
||||
pointer-events: none;
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
height: 30vh;
|
||||
left: -30vw;
|
||||
top: 0vw;
|
||||
transition: left 0.05s ease, top 0.05s ease;
|
||||
> div {
|
||||
position: absolute;
|
||||
background-repeat: no-repeat;
|
||||
@@ -63,6 +67,7 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transform: scaleX(-1);
|
||||
transition: left 0.05s ease, top 0.05s ease;
|
||||
}
|
||||
> div:first-of-type {
|
||||
background-image: url(../assets/formes/forme_4.png);
|
||||
@@ -248,10 +253,10 @@
|
||||
}
|
||||
|
||||
.ornements_presentation_left {
|
||||
pointer-events: none;
|
||||
position: absolute !important;
|
||||
height: 20vh;
|
||||
width: 20vw;
|
||||
// background-color: red;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 0;
|
||||
@@ -296,6 +301,7 @@
|
||||
}
|
||||
|
||||
.ornements_presentation_right {
|
||||
pointer-events: none;
|
||||
position: absolute !important;
|
||||
height: 20vh;
|
||||
width: 20vw;
|
||||
@@ -313,12 +319,113 @@
|
||||
> div:first-of-type {
|
||||
background-image: url(../assets/formes/forme_1.png);
|
||||
transform: rotate(-90deg);
|
||||
bottom: -3vh;
|
||||
right: -6vw;
|
||||
right: -15vw;
|
||||
bottom: -6vh;
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
bottom: -3vh;
|
||||
right: -6vw;
|
||||
}
|
||||
}
|
||||
> div:nth-of-type(2) {
|
||||
background-image: url(../assets/formes/forme_2.png);
|
||||
bottom: -12vh;
|
||||
right: -12vw;
|
||||
}
|
||||
}
|
||||
|
||||
.ornements_consultation_left {
|
||||
pointer-events: none;
|
||||
position: absolute !important;
|
||||
height: 20vh;
|
||||
width: 30vw;
|
||||
bottom: -8vh;
|
||||
left: 0;
|
||||
z-index: 0;
|
||||
overflow: hidden;
|
||||
> div {
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
> div:first-of-type {
|
||||
background-image: url(../assets/formes/forme_4.png);
|
||||
transform: rotate(180deg);
|
||||
width: 200%;
|
||||
height: 120%;
|
||||
left: -30vw;
|
||||
bottom: -10vh;
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
transform: rotate(0deg);
|
||||
bottom: unset;
|
||||
top: -5vh;
|
||||
left: 0;
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
}
|
||||
> div:nth-of-type(2) {
|
||||
background-image: url(../assets/formes/forme_5.png);
|
||||
transform: rotate(180deg);
|
||||
left: -12vw;
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
left: -20vw;
|
||||
top: -5vh;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
top:0;
|
||||
}
|
||||
}
|
||||
|
||||
.ornements_consultation_right {
|
||||
pointer-events: none;
|
||||
position: absolute !important;
|
||||
height: 20vh;
|
||||
width: 30vw;
|
||||
bottom: -8vh;
|
||||
right: 0;
|
||||
z-index: 0;
|
||||
overflow: hidden;
|
||||
> div {
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
> div:first-of-type {
|
||||
background-image: url(../assets/formes/forme_1.png);
|
||||
transform: rotate(-90deg);
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
right: -8vw;
|
||||
bottom: -2vh;
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
right: -3vw;
|
||||
bottom: 6vh;
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
> div:nth-of-type(2) {
|
||||
background-image: url(../assets/formes/forme_3.png);
|
||||
transform: rotate(180deg);
|
||||
right: -4vw;
|
||||
width: 100%;
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
width: 30%;
|
||||
bottom: 3vh;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
transform: none;
|
||||
right: -4vw;
|
||||
width: 60%;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
bottom: unset;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
}
|
@@ -13,6 +13,7 @@
|
||||
@import "partials/_articles";
|
||||
@import "partials/_articles_teaser";
|
||||
@import "partials/_ornements.scss";
|
||||
@import "partials/_login.scss";
|
||||
|
||||
/* PAGES */
|
||||
|
||||
|
Reference in New Issue
Block a user