element-plus/website/demo-styles/input.scss

66 lines
1.2 KiB
SCSS
Raw Normal View History

.demo-input {
2021-02-04 16:29:23 +08:00
.#{$namespace}-select .#{$namespace}-input {
width: 130px;
}
2021-02-04 16:29:23 +08:00
.#{$namespace}-input {
width: 180px;
}
2021-02-04 16:29:23 +08:00
.#{$namespace}-textarea {
width: 414px;
}
2021-02-04 16:29:23 +08:00
.#{$namespace}-input-group {
width: 100%;
}
.demo-input-size {
2021-02-04 16:29:23 +08:00
.#{$namespace}-input {
vertical-align: top;
margin: 0 10px 10px 0;
}
}
2021-02-04 16:29:23 +08:00
.input-with-select .#{$namespace}-input-group__prepend {
background-color: #fff;
}
.demo-autocomplete {
text-align: center;
.sub-title {
margin-bottom: 10px;
font-size: 14px;
color: #8492a6;
}
2021-02-04 16:29:23 +08:00
.#{$namespace}-col:not(:last-child) {
border-right: 1px solid rgba(224, 230, 237, 0.5);
}
2021-02-04 16:29:23 +08:00
.#{$namespace}-autocomplete {
text-align: left;
}
}
}
2021-02-04 16:29:23 +08:00
.#{$namespace}-autocomplete-suggestion.my-autocomplete {
li {
line-height: normal;
padding-top: 7px;
padding-bottom: 7px;
.name {
text-overflow: ellipsis;
overflow: hidden;
}
.addr {
font-size: 12px;
color: #b4b4b4;
}
.highlighted .addr {
color: #ddd;
}
}
}
.demo-input-suffix {
margin-bottom: 15px;
2021-02-04 16:29:23 +08:00
.#{$namespace}-input {
margin-right: 15px;
}
}