优化组件库显示样式。

This commit is contained in:
vdpAdmin 2023-04-22 11:04:02 +08:00
parent bf15bcb963
commit 6d66308fbb

View File

@ -278,7 +278,8 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.color-svg-icon { .color-svg-icon {
color: $--color-primary; -webkit-font-smoothing: antialiased;
color: #7c7d82;
} }
.side-scroll-bar { .side-scroll-bar {
@ -332,21 +333,28 @@
.container-widget-item, .field-widget-item { .container-widget-item, .field-widget-item {
display: inline-block; display: inline-block;
height: 28px; height: 32px;
line-height: 28px; line-height: 32px;
width: 115px; width: 98px;
float: left; float: left;
margin: 2px 6px 6px 0; margin: 2px 6px 6px 0;
cursor: move; cursor: move;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
background: #f1f2f3; background: #fff;
border: 1px solid #e8e9eb;
border-radius: 4px;
padding: 0 8px;
} }
.container-widget-item:hover, .field-widget-item:hover { .container-widget-item:hover, .field-widget-item:hover {
background: #EBEEF5; background: #F1F2F3;
outline: 1px solid $--color-primary; border-color: $--color-primary;
.color-svg-icon {
color: $--color-primary;
}
} }
.drag-handler { .drag-handler {