mirror of
https://github.com/tabler/tabler.git
synced 2025-12-26 11:16:12 +04:00
input-group-flat
This commit is contained in:
@@ -22,6 +22,19 @@ Form label
|
||||
font-size: $small-font-size ;
|
||||
}
|
||||
|
||||
/**
|
||||
Form hint
|
||||
*/
|
||||
.form-hint {
|
||||
font-size: $small-font-size;
|
||||
color: $text-muted;
|
||||
margin: 0 0 .5rem;
|
||||
|
||||
.form-label + & {
|
||||
margin-top: -.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
Form control
|
||||
*/
|
||||
@@ -113,3 +126,51 @@ Input group
|
||||
*/
|
||||
.input-group-prepend .input-group-text { border-right: 0; }
|
||||
.input-group-append .input-group-text { border-left: 0; }
|
||||
|
||||
.input-group-flat {
|
||||
&:focus-within {
|
||||
box-shadow: $input-focus-box-shadow;
|
||||
border-radius: $input-border-radius;
|
||||
|
||||
.form-control,
|
||||
.input-group-text {
|
||||
border-color: $input-focus-border-color !important;
|
||||
}
|
||||
}
|
||||
|
||||
.form-control {
|
||||
&:focus {
|
||||
border-color: $input-border-color;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:not(:last-child) {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
&:not(:first-child) {
|
||||
border-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-prepend {
|
||||
margin-right: 0;
|
||||
|
||||
.input-group-text {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-append {
|
||||
margin-left: 0;
|
||||
|
||||
.input-group-text {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-text {
|
||||
background: transparent;
|
||||
transition: $input-transition;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user