ant-design/site/theme/template/Resources/AffixTabs.less
MadCcc 8e27cf986f
chore: rm component less file (#36244)
* chore: rm component less file

* refactor: less file

* refactor: rm less

* refactor: rm page-header and comment

* chore: rm less in components

* chore: update dist config

* chore: update image test

* chore: update dekko

* chore: rm lib dekko

* chore: update dist dekko

* chore: udpate bundle size

* test: update snapshot

* test: rm theme test

* test: update snapshot

* test: update snapshot

* chore: copy reset.css

* test: update image test

* chore: copy reset.css to es

* chore: update site script
2022-07-05 21:55:21 +08:00

39 lines
631 B
Plaintext

@import (reference) '../../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;
}
}
}
}