2019-07-29 16:40:11 +08:00
|
|
|
@import './mixins/mixins.scss';
|
|
|
|
@import './theme/default.scss';
|
|
|
|
|
|
|
|
@include b(tab) {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
.n-tab--label {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-items: flex-start;
|
|
|
|
background-color: bisque;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
.n-tab--label-item {
|
|
|
|
padding: 2px 5px;
|
|
|
|
border-right: 1px solid #cccccc;
|
|
|
|
}
|
|
|
|
.n-tab--label-item_active {
|
|
|
|
color: aquamarine;
|
|
|
|
}
|
|
|
|
}
|
2019-07-30 10:59:21 +08:00
|
|
|
.n-tab--slot {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include b(tab-panel) {
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
visibility: hidden;
|
2019-07-30 13:50:13 +08:00
|
|
|
transition: transform 0.3s;
|
2019-07-30 10:59:21 +08:00
|
|
|
&.n-tab-panel_active {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
2019-07-29 16:40:11 +08:00
|
|
|
}
|