mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
fix style and favicon
This commit is contained in:
parent
071149cfbb
commit
5458c6a40c
@ -1,4 +1,5 @@
|
||||
@header-height: 64px;
|
||||
@menu-item-border: 2px;
|
||||
|
||||
#header {
|
||||
transition: opacity 0.5s;
|
||||
@ -91,19 +92,19 @@
|
||||
|
||||
& > .ant-menu-item {
|
||||
height: @header-height;
|
||||
line-height: @header-height;
|
||||
line-height: @header-height - @menu-item-border * 2;
|
||||
min-width: 72px;
|
||||
border-top: 2px solid transparent;
|
||||
border-top: @menu-item-border solid transparent;
|
||||
|
||||
&:hover {
|
||||
border-top: 2px solid @primary-color;
|
||||
border-bottom: 2px solid transparent;
|
||||
border-top: @menu-item-border solid @primary-color;
|
||||
border-bottom: @menu-item-border solid transparent;
|
||||
}
|
||||
}
|
||||
|
||||
& > .ant-menu-item-selected {
|
||||
border-top: 2px solid @primary-color;
|
||||
border-bottom: 2px solid transparent;
|
||||
border-top: @menu-item-border solid @primary-color;
|
||||
border-bottom: @menu-item-border solid transparent;
|
||||
a {
|
||||
color: @primary-color;
|
||||
}
|
||||
|
@ -57,7 +57,7 @@
|
||||
document.documentElement.className += isZhCN(pathname) ? 'zh-cn' : 'en-us';
|
||||
})()
|
||||
</script>
|
||||
<link rel="icon" href="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" type="image/x-icon">
|
||||
<link rel="icon" href="https://gw.alipayobjects.com/zos/rmsportal/rlpTLlbMzTNYuZGGCVYM.png" type="image/x-icon">
|
||||
<link rel="stylesheet" type="text/css" href="{{ root }}index-1.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="{{ root }}index-2.css"/>
|
||||
<link rel="stylesheet/less" type="text/css" href="{{ root }}color.less"/>
|
||||
|
Loading…
Reference in New Issue
Block a user