-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from ballcat-projects/dev
Dev
- Loading branch information
Showing
32 changed files
with
820 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
@import '~antd/es/style/themes/default.less'; | ||
|
||
@multi-tab-prefix-cls: ballcat-multi-tab; | ||
|
||
.@{multi-tab-prefix-cls} { | ||
position: relative; | ||
z-index: 16; | ||
height: 40px; | ||
background: #fff; | ||
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08); | ||
|
||
&-fixed { | ||
top: 48px; | ||
} | ||
} | ||
|
||
.@{multi-tab-prefix-cls} .ant-tabs .ant-tabs-nav { | ||
margin: 0; | ||
border-bottom: none; | ||
} | ||
|
||
.@{multi-tab-prefix-cls} .ant-tabs .ant-tabs-nav .ant-tabs-nav-wrap .ant-tabs-tab { | ||
height: 40px; | ||
margin: 0; | ||
padding: 0; | ||
line-height: 40px; | ||
background: none; | ||
border: none; | ||
border-radius: 0; | ||
transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), | ||
color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); | ||
} | ||
|
||
.@{multi-tab-prefix-cls} .ant-tabs .ant-tabs-nav .ant-tabs-nav-wrap .ant-tabs-tab-next, | ||
.@{multi-tab-prefix-cls} .ant-tabs .ant-tabs-nav .ant-tabs-nav-wrap .ant-tabs-tab-prev { | ||
width: 40px; | ||
line-height: 1; | ||
opacity: 1; | ||
transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), | ||
opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); | ||
pointer-events: auto; | ||
|
||
.anticon { | ||
font-size: 14px; | ||
} | ||
} | ||
|
||
.@{multi-tab-prefix-cls} .ant-tabs .ant-tabs-nav .ant-tabs-nav-wrap { | ||
height: auto; | ||
} | ||
|
||
.@{multi-tab-prefix-cls} .ant-tabs .ant-tabs-nav .ant-tabs-nav-wrap .ant-tabs-tab > div { | ||
padding: 0 0 0 16px; | ||
} | ||
|
||
.@{multi-tab-prefix-cls} .ant-tabs .ant-tabs-nav .ant-tabs-nav-wrap .ant-tabs-tab-active { | ||
background: rgba(24, 144, 255, 0.08); | ||
} | ||
|
||
.@{multi-tab-prefix-cls} | ||
.ant-tabs | ||
.ant-tabs-nav | ||
.ant-tabs-nav-wrap | ||
.ant-tabs-tab | ||
> div.ant-tabs-tab-unclosable { | ||
padding-right: 16px; | ||
} | ||
|
||
.@{multi-tab-prefix-cls} | ||
.ant-tabs | ||
.ant-tabs-nav | ||
.ant-tabs-nav-wrap | ||
.ant-tabs-tab | ||
.ant-tabs-tab-remove { | ||
height: 40px; | ||
margin: -4px 0 0 0; | ||
} | ||
|
||
.@{multi-tab-prefix-cls} .ant-tabs .multi-tab-drop { | ||
width: 40px; | ||
height: 40px; | ||
line-height: 40px; | ||
text-align: center; | ||
cursor: pointer; | ||
|
||
.anticon { | ||
font-size: 14px; | ||
} | ||
} | ||
|
||
.@{multi-tab-prefix-cls} .ant-tabs-nav-operations .ant-tabs-nav-more { | ||
cursor: pointer; | ||
} |
Oops, something went wrong.