jjb-lc-designable
Version:
基于alibaba-designable源码二次封装的表单设计器。
106 lines (88 loc) • 1.98 kB
text/less
@import 'jjb-lc-common/lib/style/index.less';
.dn-reactions-setter {
width: 100%;
min-height: 623px;
overflow: hidden;
::-webkit-scrollbar {
width: 5px;
height: 5px;
}
::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.2);
border-radius: 0;
transition: all 0.25s ease-in-out;
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, 0.3);
}
.@{ant-prefix}-collapse {
border: 1px solid @border-color-split;
&-header {
padding: 8px 10px ;
background-color: @component-background ;
border-bottom: 1px solid @border-color-split ;
font-weight: 500 ;
.@{ant-prefix}-collapse-arrow {
margin-right: 4px ;
}
}
&-item {
border: none ;
}
&-content {
border: none ;
transition: none ;
}
&-content-box {
padding: 12px ;
}
}
.reaction-runner {
.@{ant-prefix}-collapse-content-box {
padding: 12px 0 ;
}
}
.reaction-state {
.@{ant-prefix}-collapse-content-box {
padding: 12px 0 ;
}
}
.dn-field-property-setter {
display: flex;
height: 300px;
&-coder-wrapper {
display: flex;
flex-grow: 2;
height: 100%;
padding-left: 10px;
position: relative;
flex-direction: column;
}
&-coder-start {
font-size: 18px;
line-height: 30px;
margin-bottom: 4px;
color: @text-color;
font-weight: 300;
flex-grow: 0;
opacity: 0.96;
height: 31px;
}
&-coder-end {
font-size: 18px;
height: 31px;
color: @text-color;
margin-top: 4px;
margin-bottom: 4px;
line-height: 30px;
font-weight: 300;
flex-grow: 0;
opacity: 0.96;
}
&-coder {
min-width: 0;
flex-grow: 2;
padding-left: 10px;
}
}
}