2019-08-08 18:00:30 +08:00
|
|
|
@import './mixins/mixins.scss';
|
|
|
|
@import './theme/default.scss';
|
|
|
|
|
|
|
|
@include b(divider) {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
.n-divider__line {
|
|
|
|
height: 1px;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 24px;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
background-color: rgba(255, 255, 255, 0.3)
|
|
|
|
}
|
|
|
|
.n-divider__content {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-08-12 14:30:08 +08:00
|
|
|
margin-left: 12px;
|
|
|
|
margin-right: 12px;
|
2019-08-08 18:00:30 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
color: rgba(233, 233, 236, 1);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
&.n-divider--content-position-left {
|
|
|
|
.n-divider__line {
|
|
|
|
&.n-divider__line--left {
|
2019-08-12 14:30:08 +08:00
|
|
|
width: 28px;
|
2019-08-08 18:00:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.n-divider--content-position-right {
|
|
|
|
.n-divider__line {
|
|
|
|
&.n-divider__line--right {
|
2019-08-12 14:30:08 +08:00
|
|
|
width: 28px;
|
2019-08-08 18:00:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.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)
|
|
|
|
}
|
|
|
|
}
|