ant-design/site/theme/template/Layout/Header/Github.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

51 lines
732 B
Plaintext

@import '../../../static/theme.less';
@import (reference) '../../../../../components/style/themes/index.less';
#github-btn {
display: flex;
flex-flow: nowrap;
height: auto;
.gh-btn {
height: auto;
padding: 1px 4px;
background: transparent;
border: 0;
.gh-ico {
width: 20px;
height: 20px;
margin: 0;
}
.gh-text {
display: none;
}
}
.gh-count {
height: auto;
padding: 4px 8px;
font-weight: normal;
background: #fff;
&:hover {
color: @primary-color;
}
}
&.responsive-mode {
.gh-count {
display: none !important;
}
}
}
.ant-row-rtl {
#github-btn {
.gh-count {
display: none !important;
}
}
}