ant-design/site/theme/template/Resources/AffixTabs.less
二货机器人 b926c535ea
docs: site build script update (#32984)
* chore: rm color-less

* refactor: MV theme to variable

* docs: fix header

* chore: clean up

* chore: enable esbuild
2021-11-23 18:57:59 +08:00

39 lines
648 B
Plaintext

@import (reference) '../../../../components/style/themes/index.less';
@import './index.less';
.resource-affix-tabs {
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 11;
padding: 0 @resource-padding;
background: #fff;
box-shadow: @shadow-2;
transform: translateY(-100%);
opacity: 0;
transition: opacity 0.3s, transform 0.3s;
&-fixed {
transform: translateY(0);
opacity: 1;
}
.ant-tabs {
max-width: 1208px;
margin: 0 auto;
.ant-tabs-nav {
margin: 0;
&::before {
border-bottom-color: transparent;
}
.ant-tabs-tab {
padding: 21px 0;
}
}
}
}