element-plus/website/demo-styles/input.scss
kooriookami d9b7ef56ea
style(docs): Optimized style of documentation (#3010)
* style(docs): use css var

* style: update

* style: demo-icon use grid layout

* style: remove demo-block.vue style scoped

* docs: remove strange character
2021-08-26 09:57:56 +08:00

66 lines
1.2 KiB
SCSS

.demo-input {
.#{$namespace}-select .#{$namespace}-input {
width: 130px;
}
.#{$namespace}-input {
width: 180px;
}
.#{$namespace}-textarea {
width: 414px;
}
.#{$namespace}-input-group {
width: 100%;
}
.demo-input-size {
.#{$namespace}-input {
vertical-align: top;
margin: 0 10px 10px 0;
}
}
.input-with-select .#{$namespace}-input-group__prepend {
background-color: var(--el-color-white);
}
.demo-autocomplete {
text-align: center;
.sub-title {
margin-bottom: 10px;
font-size: 14px;
color: var(--el-text-color-secondary);
}
.#{$namespace}-col:not(:last-child) {
border-right: 1px solid var(--el-border-color-base);
}
.#{$namespace}-autocomplete {
text-align: left;
}
}
}
.#{$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;
.#{$namespace}-input {
margin-right: 15px;
}
}