@ccs-design/rc-pro
Version:
ccs design basic react component
47 lines (41 loc) • 807 B
text/less
.ccs-drawer {
display: flex;
flex-direction: column;
&-title {
display: flex;
align-items: center;
justify-content: space-between;
padding-right: 20px;
border-bottom: 1px solid #f0f0f0;
cursor: pointer;
& > .ant-tabs-top > .ant-tabs-nav::before {
border: 0;
}
}
&-content {
flex-grow: 1;
padding: 16px;
overflow-y: auto;
}
&-buttons {
z-index: 99;
flex: 0 0 80px;
height: 80px;
line-height: 80px;
text-align: center;
background: #fff;
box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.05);
opacity: 1;
}
}
.dark-theme {
.ccs-drawer {
&-title {
border-bottom: 1px solid @dark-border-color;
}
&-buttons {
background: #1f1f1f;
box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.6);
}
}
}