@ttk/component
Version:
ttk组件库
116 lines (108 loc) • 3.64 kB
text/less
@import '../../assets/theme/index';
.@{mk-prefix}-timeline{
font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif;
&-componentwrap {
background: #fff;
border: 1px solid #d9d9d9;
border-right: none;
font-size: 13px;
padding: 0 10px;
height: 100%;
// width: 75px;
// display: flex;
// flex-direction: column;
// justify-content: center;
overflow-y: auto;
&::-webkit-scrollbar{
width: 0px ;
height: 0px ;
}
&:hover{
&::-webkit-scrollbar{
width: 6px ;
height: 6px ;
}
}
ul{
list-style-type: none;
padding-left: 0 ;
height: 100%;
margin-bottom: 0px;
.@{ant-prefix}-timeline-item-tail,.@{ant-prefix}-timeline-item-tail-title,.@{ant-prefix}-timeline-item-tail-title-head {
position: absolute;
top: 10px;
left: 4px;
height: calc(100% - 10px);
// border-left: 2px solid #f0f0f0;
border-left: 1px dashed #dfdfdf;
}
.@{ant-prefix}-timeline-item-tail-title {
top: 20px;
}
.@{ant-prefix}-timeline-item-tail-title-head {
top: 0px;
height: 20px;
}
.@{ant-prefix}-timeline-item-head {
position: absolute;
width: 10px;
height: 10px;
background-color: #fff;
// border: 2px solid transparent;
border: 1px solid #666;
border-radius: 100px;
}
.@{ant-prefix}-timeline-item-head-blue {
color: #0066B3;
border-color: #0066B3;
}
.@{ant-prefix}-timeline-item-content {
position: relative;
top: -5px;
word-break: break-word;
font-size: 12px;
padding: 0 0 0 16px;
margin-left: 0px ;
}
.@{ant-prefix}-timeline-item {
position: relative;
margin: 0;
padding-bottom: 20px;
list-style: none;
cursor: pointer;
.title {
font-size: 13px;
// font-weight: bold;
color: #0066B3;
// color: #333;
}
.anticon-arrow-down {
color: #0066B3;
}
}
.@{ant-prefix}-timeline-itemDis {
position: relative;
margin: 0;
padding-bottom: 20px;
list-style: none;
.title {
font-size: 13px;
color: #333;
}
&:hover{
cursor: not-allowed ;
}
opacity: 0.6;
}
.@{ant-prefix}-timeline-item-selectItem {
height: 25px;
color: #fff;
background: #0066B3;
border-radius: 25px;
line-height: 25px;
left: -5px;
cursor: pointer;
}
}
}
}