diff --git a/resources/js/vendor/dropdown.js b/resources/js/vendor/dropdown.js new file mode 100644 index 0000000..b1d0dd6 --- /dev/null +++ b/resources/js/vendor/dropdown.js @@ -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"; + } +} \ No newline at end of file diff --git a/resources/sass/front/partial/_news.sass b/resources/sass/front/partial/_news.sass index f0701f1..83b0ce9 100644 --- a/resources/sass/front/partial/_news.sass +++ b/resources/sass/front/partial/_news.sass @@ -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 diff --git a/resources/sass/front/partial/_question_informations.sass b/resources/sass/front/partial/_question_informations.sass index 48828db..392d546 100644 --- a/resources/sass/front/partial/_question_informations.sass +++ b/resources/sass/front/partial/_question_informations.sass @@ -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 diff --git a/resources/sass/front/style.sass b/resources/sass/front/style.sass index 542602e..0769936 100644 --- a/resources/sass/front/style.sass +++ b/resources/sass/front/style.sass @@ -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% + \ No newline at end of file