ant-design/site/theme/template/Layout/Header/Github.less
MadCcc cdbfe45df1
feat: generate anchor style for all components (#36460)
* test: fix lint

* chore: code clean

* doc: anchor color

* chore: style order
2022-07-11 15:35:58 +08:00

52 lines
732 B
Plaintext

@import '../../../static/theme.less';
@import (reference) '../../../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;
color: #000;
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;
}
}
}