@ccs-design/rc-pro
Version:
ccs design basic react component
78 lines (72 loc) • 1.36 kB
text/less
.ccs-steps {
&-b-b {
border-bottom: 1px solid #f0f0f0;
}
&-container {
display: flex;
flex-direction: column;
height: 100%;
}
&-header {
display: flex;
align-items: center;
height: 48px;
padding-right: 20px;
}
&-content {
flex-grow: 1;
padding: 16px;
overflow: auto;
}
&-wrapper {
position: relative;
display: inline-block;
display: flex;
flex: auto;
align-self: stretch;
overflow: hidden;
white-space: nowrap;
.ant-steps-item {
flex: inherit;
margin: 0 16px;
padding-right: 10px;
}
.ant-steps-navigation .ant-steps-item:last-child {
flex: inherit;
}
.ant-steps-navigation .ant-steps-item::after {
top: 54%;
}
}
&-left::before {
position: absolute;
top: 0;
bottom: 0;
z-index: 1;
width: 30px;
box-shadow: inset 10px 0 8px -8px #00000014;
opacity: 1;
transition: opacity 0.3s;
content: '';
pointer-events: none;
}
&-right::after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
z-index: 1;
width: 30px;
box-shadow: inset -10px 0 8px -8px #00000014;
transition: opacity 0.3s;
content: '';
pointer-events: none;
}
}
.dark-theme {
.ccs-tabs {
&-b-b {
border-bottom: 1px solid @dark-border-color;
}
}
}