mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
8e27cf986f
* 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
55 lines
909 B
Plaintext
55 lines
909 B
Plaintext
@import '../../../static/theme.less';
|
|
@import (reference) '../../../style/themes/index.less';
|
|
|
|
@header-height: 64px;
|
|
@menu-item-border: 2px;
|
|
@mobile-max-width: 767.99px;
|
|
|
|
#header {
|
|
position: relative;
|
|
z-index: 10;
|
|
max-width: 100%;
|
|
background: @component-background;
|
|
box-shadow: 0 2px 8px rgba(240, 241, 242, 65);
|
|
|
|
.menu-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 0;
|
|
|
|
> * {
|
|
flex: none;
|
|
margin: 0 12px 0 0;
|
|
|
|
&:last-child {
|
|
margin-right: 40px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Adjust github button style
|
|
|
|
.ant-row-rtl {
|
|
.menu-row {
|
|
> * {
|
|
&:last-child {
|
|
margin-right: 12px;
|
|
margin-left: 40px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Buttons
|
|
.header-button {
|
|
color: @text-color;
|
|
border-color: @border-color-base;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: @mobile-max-width) {
|
|
#header {
|
|
text-align: center;
|
|
}
|
|
}
|