chore: refactor css styles for forms (#2240)
* chore: refactor css styles for forms Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
This commit is contained in:
committed by
GitHub
parent
899ddcef0d
commit
055008cf03
@@ -358,7 +358,7 @@ $form-label-font-weight: $font-weight-medium;
|
|||||||
$form-label-line-height: 1.8;
|
$form-label-line-height: 1.8;
|
||||||
$select-background: $white;
|
$select-background: $white;
|
||||||
$select-triangle-color: $dark-gray;
|
$select-triangle-color: $dark-gray;
|
||||||
$select-radius: $global-radius;
|
$select-radius: var(--border-radius-normal);
|
||||||
$input-color: $header-color;
|
$input-color: $header-color;
|
||||||
$input-placeholder-color: $light-gray;
|
$input-placeholder-color: $light-gray;
|
||||||
$input-font-family: inherit;
|
$input-font-family: inherit;
|
||||||
@@ -374,8 +374,8 @@ $input-shadow-focus: 0;
|
|||||||
$input-cursor-disabled: not-allowed;
|
$input-cursor-disabled: not-allowed;
|
||||||
$input-transition: border-color 0.25s ease-in-out;
|
$input-transition: border-color 0.25s ease-in-out;
|
||||||
$input-number-spinners: true;
|
$input-number-spinners: true;
|
||||||
$input-radius: $global-radius;
|
$input-radius: var(--border-radius-normal);
|
||||||
$form-button-radius: $global-radius;
|
$form-button-radius: var(--border-radius-normal);
|
||||||
|
|
||||||
// 20. Label
|
// 20. Label
|
||||||
// ---------
|
// ---------
|
||||||
|
|||||||
@@ -51,25 +51,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
input,
|
|
||||||
textarea,
|
|
||||||
select {
|
|
||||||
border-radius: var(--space-smaller) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.input-group {
|
|
||||||
.input-group-label:first-child {
|
|
||||||
border-bottom-left-radius: var(--space-smaller);
|
|
||||||
border-top-left-radius: var(--space-smaller);
|
|
||||||
}
|
|
||||||
|
|
||||||
.input-group-field {
|
|
||||||
border-bottom-left-radius: 0 !important;
|
|
||||||
border-top-left-radius: 0 !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.justify-space-between {
|
.justify-space-between {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,3 +24,4 @@
|
|||||||
|
|
||||||
@import 'foundation-custom';
|
@import 'foundation-custom';
|
||||||
@import 'widgets/buttons';
|
@import 'widgets/buttons';
|
||||||
|
@import 'widgets/forms';
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
.error {
|
.error {
|
||||||
|
|
||||||
#{$all-text-inputs},
|
#{$all-text-inputs},
|
||||||
select,
|
select,
|
||||||
.multiselect > .multiselect__tags {
|
.multiselect>.multiselect__tags {
|
||||||
@include thin-border(var(--r-400));
|
@include thin-border(var(--r-400));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -33,3 +34,10 @@ input {
|
|||||||
.help-text {
|
.help-text {
|
||||||
font-weight: $font-weight-normal;
|
font-weight: $font-weight-normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.input-group.small {
|
||||||
|
input {
|
||||||
|
font-size: var(--font-size-small);
|
||||||
|
height: var(--space-large);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user