Skip to content

Commit

Permalink
chore: delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-huxiyang committed Nov 5, 2024
1 parent 06dc64a commit 9cc38b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 88 deletions.
4 changes: 2 additions & 2 deletions src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@
"author": "张晶发"
},
{
"version": "3.0.0",
"version": "2.0.0",
"name": "Tabs",
"type": "component",
"cName": "水平选项卡",
Expand All @@ -398,7 +398,7 @@
"author": "oasis"
},
{
"version": "3.0.0",
"version": "2.0.0",
"name": "VerticalTabs",
"type": "component",
"cName": "垂直选项卡",
Expand Down
86 changes: 0 additions & 86 deletions src/packages/verticaltabs/verticaltabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,6 @@
}
}

.nut-tabs-horizontal {
flex-direction: column;
position: relative;
}

.nut-tabs-vertical {
flex-direction: row;
width: 100%;
Expand Down Expand Up @@ -299,42 +294,6 @@
}
}

.nut-tabs-horizontal {
.nut-tabs-titles {
flex-direction: row;
overflow-x: auto;
overflow-y: hidden;
height: $tabs-titles-height;

.nut-tabs-list {
width: 100%;
display: flex;
flex-direction: row;
flex-shrink: 0;
}
}

.nut-tabs-content {
flex-direction: row;
}

.nut-tabs-titles-item-active {
background-color: initial;

.nut-tabs-titles-item-line {
left: 50%;
transform: translate(-50%, 0);
}

.nut-tabs-titles-item-smile {
left: 50%;
right: auto;
bottom: -3px;
transform: translate(-50%, 0) rotate(0deg);
}
}
}

.nut-tabs-content {
flex-direction: column;
height: 100%;
Expand All @@ -347,35 +306,6 @@
height: 100%;
}
}

.nut-tabs-horizontal {
.nut-tabs-titles {
display: flex;
flex-direction: row;
padding: 0 !important;
width: 100%;

.nut-tabs-titles-item {
display: flex;
align-items: center;
justify-content: center;
flex: 1 0 auto;

&-active {
color: $color-primary;
font-weight: $tabs-titles-item-active-font-weight;
font-size: $tabs-titles-item-active-font-size;

.nut-tabs-titles-item-line {
content: ' ';
width: $tabs-tab-line-width;
height: $tabs-tab-line-height;
background: $tabs-tab-line-color;
}
}
}
}
}
}

[dir='rtl'] .nut-tabs-vertical,
Expand Down Expand Up @@ -403,22 +333,6 @@
}
}
}

.nut-tabs-horizontal {
.nut-tabs-titles-item-active {
.nut-tabs-titles-item-line {
left: auto;
right: 50%;
transform: translate(50%, 0);
}

.nut-tabs-titles-item-smile {
right: 50%;
left: auto;
transform: translate(50%, 0) rotate(0deg);
}
}
}
}

.nut-tabs-content {
Expand Down

0 comments on commit 9cc38b8

Please sign in to comment.