Skip to content
Snippets Groups Projects
Verified Commit cf93abcd authored by Gaëlle Morin's avatar Gaëlle Morin
Browse files

update: style for sib-form-file on mobile

parent 4f7635e8
No related branches found
No related tags found
No related merge requests found
...@@ -224,18 +224,18 @@ sib-form-date { ...@@ -224,18 +224,18 @@ sib-form-date {
} }
sib-form-file { sib-form-file {
margin-top: 1.8rem;
div { div {
display: flex; display: flex;
flex-direction: row-reverse; flex-direction: column-reverse;
align-items: center; align-items: center;
justify-content: flex-end; margin-top: 1.8rem;
input[type='text'] { @include breakpoint(lg) {
margin-bottom: 0.8rem; flex-direction: row-reverse;
justify-content: flex-end;
} }
input[type='file'] { input[type='file'] {
height: 0.1px; height: 0.1px;
opacity: 0; opacity: 0;
...@@ -244,6 +244,15 @@ sib-form-file { ...@@ -244,6 +244,15 @@ sib-form-file {
width: 0.1px; width: 0.1px;
z-index: -1; z-index: -1;
} }
input[type='text'] {
margin-bottom: 0.8rem;
width: 100%;
@include breakpoint(lg) {
width: auto;
}
}
label { label {
@extend .button, @extend .button,
...@@ -251,27 +260,14 @@ sib-form-file { ...@@ -251,27 +260,14 @@ sib-form-file {
.text-uppercase, .text-uppercase,
.button-primary, .button-primary,
.bordered; .bordered;
margin: auto 2.2rem; text-align: center;
} width: 100%;
input[type='file']:focus, @include breakpoint(lg) {
label:hover ~ input[type='file'] { margin: auto 2.2rem;
background-color: var(--color-secondary); width: auto;
} }
label ~ input[type='file']:focus {
outline: 1px dotted #000;
outline: -webkit-focus-ring-color auto 5px;
} }
/*label {
align-items: baseline;
clear: both;
display: flex;
flex-direction: row;
flex-wrap: wrap;
max-width: 100%;
}*/
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment