Files
vuefilemanager/resources/sass/vuefilemanager/_inapp-forms.scss
2021-03-20 10:25:10 +01:00

81 lines
1.2 KiB
SCSS
Vendored

@import '@assets/vuefilemanager/_variables';
@import '@assets/vuefilemanager/_mixins';
// Forms
.form-wrapper {
padding: 0 20px;
}
.input-wrapper {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
input {
width: 100%;
color: $text;
&.is-error {
border-color: $danger;
//box-shadow: 0 0 7px rgba($danger, 0.3);
}
}
}
.inline-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
&.icon-append {
.input-text {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.icon {
background: black;
padding: 15px 18px;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
text-align: center;
line-height: 0;
path, polyline {
stroke: white;
}
}
}
}
.input-label {
@include font-size(14);
color: $text;
font-weight: 700;
display: block;
margin-bottom: 8px;
}
@media (prefers-color-scheme: dark) {
.inline-wrapper {
&.icon-append {
.icon {
background: rgba($theme, 0.1);
path, polyline {
stroke: $theme;
}
}
}
}
.input-label {
color: $dark_mode_text_primary;
}
}