meetup + faq + pages forms
This commit is contained in:
72
web/themes/erabletheme/scss/partials/_forms.scss
Normal file
72
web/themes/erabletheme/scss/partials/_forms.scss
Normal file
@@ -0,0 +1,72 @@
|
||||
main.main-login, main.main-user, main.main-register, main.main-contact, main.main-ask {
|
||||
min-height: 50vh;
|
||||
.login, .user, .register, .contact, .ask {
|
||||
padding-top: 5vh;
|
||||
width: 100vw;
|
||||
@include white_beige_gradient();
|
||||
> h2 {
|
||||
@include sous_titre_alt();
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
@include sous_titre_alt();
|
||||
text-align: center;
|
||||
margin-top: 3rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
> div {
|
||||
height: 100%;
|
||||
> div:not(.hidden) {
|
||||
margin-top: 5vh !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
form {
|
||||
width: 95%;
|
||||
@media screen and (min-width: $breakpoint_desktop) {
|
||||
padding: 0 20vw;
|
||||
}
|
||||
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, textarea {
|
||||
margin-top: 0.5rem;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
@@ -23,7 +23,6 @@ body.toolbar-fixed header[role="banner"] {
|
||||
box-shadow: none;
|
||||
}
|
||||
> div {
|
||||
height: 10vh;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(16, 1fr);
|
||||
> div{
|
||||
@@ -151,6 +150,9 @@ body.toolbar-fixed header[role="banner"] {
|
||||
padding: 0;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
@media screen and (min-width: $breakpoint_desktop) {
|
||||
padding-top: 3rem;
|
||||
}
|
||||
> li {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -224,45 +226,51 @@ body.toolbar-fixed header[role="banner"] {
|
||||
}
|
||||
ul.active {
|
||||
padding: 30px 0;
|
||||
padding-top: 3rem;
|
||||
max-height: 100vh;
|
||||
}
|
||||
}
|
||||
#block-erabletheme-navigationprincipale {
|
||||
display: none;
|
||||
grid-column: 1 / 17;
|
||||
grid-row: 2;
|
||||
background-color: white;
|
||||
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
display: block;
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
#block-erabletheme-navigationprincipale {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
margin-top: 10vh;
|
||||
display: none;
|
||||
grid-column: 1 / 17;
|
||||
grid-row: 2;
|
||||
background-color: white;
|
||||
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
display: block;
|
||||
}
|
||||
ul {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
padding: 1rem 10vw;
|
||||
justify-content: space-around;
|
||||
border-top: solid 1px $dark_green;
|
||||
li {
|
||||
font-family: 'Marianne', sans-serif;
|
||||
font-size: $m_font_size;
|
||||
a {
|
||||
font-weight: 800;
|
||||
padding: 4px 6px;
|
||||
color: black;
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
ul {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
padding: 1rem 10vw;
|
||||
justify-content: space-around;
|
||||
border-top: solid 1px $dark_green;
|
||||
li {
|
||||
font-family: 'Marianne', sans-serif;
|
||||
font-size: $m_font_size;
|
||||
a {
|
||||
font-weight: 800;
|
||||
padding: 4px 6px;
|
||||
color: black;
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
a:hover {
|
||||
background-color: $fluo_green;
|
||||
}
|
||||
a.is-active {
|
||||
background-color: $fluo_green;
|
||||
}
|
||||
}
|
||||
a:hover {
|
||||
background-color: $fluo_green;
|
||||
}
|
||||
a.is-active {
|
||||
background-color: $fluo_green;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,61 +0,0 @@
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user