2019-08-08 18:00:30 +08:00
|
|
|
@import './mixins/mixins.scss';
|
2019-09-17 19:21:07 +08:00
|
|
|
@import './themes/vars.scss';
|
2019-08-08 18:00:30 +08:00
|
|
|
|
2019-09-20 00:25:56 +08:00
|
|
|
@include themes-mixin {
|
|
|
|
@include b(divider) {
|
|
|
|
color: $divider-color;
|
|
|
|
@include once {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 16px;
|
|
|
|
.n-divider__line {
|
|
|
|
height: 1px;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 24px;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
background-color: rgba(255, 255, 255, 0.3)
|
2019-08-08 18:00:30 +08:00
|
|
|
}
|
2019-09-20 00:25:56 +08:00
|
|
|
.n-divider__content {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: 12px;
|
|
|
|
margin-right: 12px;
|
|
|
|
white-space: nowrap;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
&.n-divider--content-position-left {
|
|
|
|
.n-divider__line {
|
|
|
|
&.n-divider__line--left {
|
|
|
|
width: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.n-divider--content-position-right {
|
|
|
|
.n-divider__line {
|
|
|
|
&.n-divider__line--right {
|
|
|
|
width: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.n-divider--dashed {
|
|
|
|
.n-divider__line {
|
|
|
|
height: 0px;
|
|
|
|
width: 100%;
|
|
|
|
background: none;
|
|
|
|
border-color: rgba(255, 255, 255, 0.3);
|
|
|
|
border-style: dashed;
|
|
|
|
border-width: 1px 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.n-divider--vertical {
|
|
|
|
display: inline-block;
|
|
|
|
height: 1em;
|
|
|
|
margin: 0 8px;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 1px;
|
|
|
|
background-color: rgba(255, 255, 255, 0.3)
|
2019-08-08 18:00:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|