You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.7 KiB
SCSS
70 lines
1.7 KiB
SCSS
// Chips
|
|
.chip {
|
|
display: inline-block;
|
|
height: $chip-height;
|
|
font-size: $chip-font-size;
|
|
font-weight: $chip-font-weight;
|
|
color: $chip-font-color;
|
|
line-height: $chip-line-height;
|
|
padding: 0 $chip-padding-right;
|
|
border-radius: $chip-br;
|
|
background-color: $chip-background-color;
|
|
margin-bottom: $chip-margin-bottom;
|
|
margin-right: $chip-margin-right;
|
|
img {
|
|
float: left;
|
|
margin: 0 $chip-img-margin-right 0 $chip-img-margin-left;
|
|
height: $chip-img-height;
|
|
width: $chip-img-width;
|
|
border-radius: 50%;
|
|
}
|
|
.close {
|
|
cursor: pointer;
|
|
float: right;
|
|
font-size: $chip-close-font-size;
|
|
line-height: $chip-close-line-height;
|
|
padding-left: $chip-close-padding-left;
|
|
transition: all 0.1s linear;
|
|
}
|
|
}
|
|
|
|
.chips {
|
|
outline: none;
|
|
box-shadow: none;
|
|
border: none;
|
|
border-bottom: 1px solid $input-border-color;
|
|
margin-bottom: $chips-margin-bottom;
|
|
min-height: $chips-min-height;
|
|
padding-bottom: $chips-padding-bottom;
|
|
transition: all .3s;
|
|
&.focus {
|
|
border-bottom: 1px solid $input-focus-color;
|
|
box-shadow: 0 1px 0 0 $input-focus-color;
|
|
}
|
|
&:hover {
|
|
cursor: text;
|
|
}
|
|
.tag.selected {
|
|
border-bottom: 1px solid $input-focus-color;
|
|
color: $white;
|
|
}
|
|
.input {
|
|
display: inline-block;
|
|
background: none;
|
|
border: 0;
|
|
outline: 0;
|
|
padding: 0 !important;
|
|
width: $chips-input-width !important;
|
|
color: $chips-input-font-color;
|
|
font-size: $chips-input-font-size;
|
|
font-weight: $chips-input-font-weight;
|
|
height: $chips-input-height;
|
|
margin-right: $chips-input-margin-right;
|
|
line-height: $chips-input-line-height;
|
|
&:focus {
|
|
border: 0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
}
|
|
}
|