Skip to content

Commit

Permalink
fix nested tab style
Browse files Browse the repository at this point in the history
  • Loading branch information
baiyaaaaa committed Mar 4, 2017
1 parent d1a2335 commit 28bb963
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/theme-default/src/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@
position: relative;
}
@m card {
.el-tabs__nav .el-tabs__active-bar {
> .el-tabs__header .el-tabs__active-bar {
display: none;
}
.el-tabs__nav .el-tabs__item .el-icon-close {
> .el-tabs__header .el-tabs__item .el-icon-close {
position: relative;
font-size: 12px;
width: 0;
Expand All @@ -133,7 +133,7 @@
right: -2px;
transform-origin: 100% 50%;
}
.el-tabs__nav .el-tabs__item {
> .el-tabs__header .el-tabs__item {
border: 1px solid transparent;
transition: all .3s cubic-bezier(.645,.045,.355,1);

Expand Down Expand Up @@ -166,14 +166,14 @@
border: 1px solid var(--color-base-gray);
box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.12), 0px 0px 6px 0px rgba(0,0,0,0.04);

&>.el-tabs__content {
>.el-tabs__content {
padding: 15px;
}
&>.el-tabs__header {
>.el-tabs__header {
background-color: var(--color-extra-light-gray);
margin: 0;
}
&>.el-tabs__header>.el-tabs__item {
>.el-tabs__header .el-tabs__item {
transition: all .3s cubic-bezier(.645,.045,.355,1);
border: 1px solid transparent;
border-top: 0;
Expand Down

0 comments on commit 28bb963

Please sign in to comment.