1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00
Files
tabler/scss/ui/forms/_input.custom.scss
2019-09-26 00:13:52 +02:00

48 lines
610 B
SCSS

/**
Icon input
*/
.input-icon {
position: relative;
.form-control:not(:last-child) {
padding-right: 2.5rem;
}
.form-control:not(:first-child) {
padding-left: 2.5rem;
}
}
.input-icon-addon {
position: absolute;
top: 0;
bottom: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
min-width: 2.5rem;
color: $text-muted;
pointer-events: none;
svg {
width: 1rem;
height: 1rem;
}
&:last-child {
right: 0;
left: auto;
}
}
/**
Bootstrap color input
*/
.form-control-color {
&::-webkit-color-swatch {
border: none;
}
}