-Fix formLayout/NewsLayout

This commit is contained in:
ossan KASSEGNE 2021-06-08 19:33:24 +02:00
parent 2f40c2a4f8
commit 178186936d
4 changed files with 76 additions and 3 deletions

35
resources/js/vendor/dropdown.js vendored Normal file
View file

@ -0,0 +1,35 @@
dropContent = function dropContent() {
var x = document.getElementById("mainNav");
var y = document.getElementById("loginNav");
if (x.className === "navbar-links") {
x.className += " responsive";
y.className = "dropdown-content-mobile";
} else {
x.className = "navbar-links";
}
}
dropLoginInfo = function dropLoginInfo() {
var x = document.getElementById("mainNav");
var y = document.getElementById("loginNav");
if (y.className === "dropdown-content-mobile") {
y.className += " resp";
x.className = "navbar-links";
} else {
y.className = "dropdown-content-mobile";
}
}
showContent = function showContent() {
var current = document.getElementById("current");
var next = document.getElementById("next");
if (current.className === "container-main__content bounceInLeft animated active") {
current.className = "container-main__content bounceInLeft animated";
next.className += " active";
} else {
next.className = "container-main__content bounceInLeft animated";
current.className += " active";
}
}

View file

@ -99,6 +99,10 @@
padding: 0px
h1
margin-bottom: 10px
font-size: 1em
.date
font-size: 0.8em
#info-slider
.swiper-button-prev, .swiper-button-next
width: 100px

View file

@ -112,33 +112,43 @@ $clouds: #ecf0f1
margin-top: 20px
margin-bottom: 30px
//form
form
width: 100%
display: block
margin: auto
border-radius: none
background: none
label
margin-left: 0px
font-size: 1em
.form
display: flex
flex-direction: column
&-identity
display: flex
flex-flow: row wrap
justify-content: space-between
.input--disabled
background: $body-color
&-items
margin-top: 10px
margin-bottom: 20px
flex-grow: 1
label
margin-top: 10px
font-weight: bold
input
width: 80%
margin-top: 10px
padding: 5px
border: 1px solid black
border-radius: 3px
&-message
label
margin-top: 10px
font-weight: bold
textarea
margin-top: 10px
margin-left: 10px
width: 100%
border: 1px solid black
padding: 20px

View file

@ -115,6 +115,15 @@ body
.container-main__MDP //Page Changer MDP
display: flex
flex-direction: column
//form
form
width: 100%
display: block
margin: auto
border-radius: none
background: none
label
margin-left: 0px
.instructions
margin: 10px 20px 10px 20px
background: white
@ -166,8 +175,17 @@ body
font-size: 15px
margin: 10px
padding: 12px
.formConnexion-bottom
margin-top: 30px
form
margin: 10px
width: 100%
display: block
margin: auto
border-radius: none
background: none
label
margin-left: 0px
font-size : 0.8em
.instructions
margin: 20px
@ -236,6 +254,9 @@ body
p
font-size: $font-size_4k_normal_plus
.container-main__Sondage
form
label
font-size: $font-size_4k_normal
&__Theme
font-size: $font-size_4k_normal_plus
.instructions
@ -273,6 +294,8 @@ body
//for mobile-smaller
@media screen and (max-width: map-get($breakpoints, mobile-small))
.wrapper .container .container-main__Sondage form .container__body .container__reponse
margin: 0 5px 7px 5px
.swiper-container
border-radius: 3px
.wrapper
@ -315,3 +338,4 @@ body
padding: 10px
.btn-center-secondary
width: 100%