mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
78 lines
1.2 KiB
SCSS
78 lines
1.2 KiB
SCSS
textarea {
|
|
&[cols] {
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
.form-label {
|
|
font-size: $h4-font-size;
|
|
font-weight: $font-weight-bold;
|
|
display: block;
|
|
margin-bottom: .5rem;
|
|
}
|
|
|
|
.form-control {
|
|
vertical-align: middle;
|
|
|
|
&:-webkit-autofill {
|
|
box-shadow: 0 0 0 1000px #fff inset;
|
|
}
|
|
|
|
&:disabled,
|
|
&.disabled {
|
|
color: $text-muted;
|
|
user-select: none;
|
|
}
|
|
}
|
|
|
|
.form-control-light {
|
|
background-color: $gray-100;
|
|
border-color: transparent;
|
|
}
|
|
|
|
.form-footer {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.form-fieldset {
|
|
padding: 1rem;
|
|
margin-bottom: 1rem;
|
|
background: $min-black;
|
|
border: 1px solid $border-color;
|
|
border-radius: $border-radius;
|
|
}
|
|
|
|
.form-required {
|
|
color: $red;
|
|
}
|
|
|
|
.custom-control-label::before {
|
|
background: transparent;
|
|
border: 1px solid $border-color;
|
|
}
|
|
|
|
/**
|
|
Form help
|
|
*/
|
|
.form-help {
|
|
display: inline-block;
|
|
width: 1rem;
|
|
height: 1rem;
|
|
font-size: $h5-font-size;
|
|
line-height: 1rem;
|
|
color: $text-muted;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
background: $gray-100;
|
|
border-radius: 50%;
|
|
transition: .3s background-color, .3s color;
|
|
|
|
&:hover,
|
|
&[aria-describedby] {
|
|
color: #fff;
|
|
background: $primary;
|
|
}
|
|
}
|