fix style and favicon

This commit is contained in:
ddcat1115 2017-12-01 11:24:05 +08:00
parent 071149cfbb
commit 5458c6a40c
2 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,5 @@
@header-height: 64px; @header-height: 64px;
@menu-item-border: 2px;
#header { #header {
transition: opacity 0.5s; transition: opacity 0.5s;
@ -91,19 +92,19 @@
& > .ant-menu-item { & > .ant-menu-item {
height: @header-height; height: @header-height;
line-height: @header-height; line-height: @header-height - @menu-item-border * 2;
min-width: 72px; min-width: 72px;
border-top: 2px solid transparent; border-top: @menu-item-border solid transparent;
&:hover { &:hover {
border-top: 2px solid @primary-color; border-top: @menu-item-border solid @primary-color;
border-bottom: 2px solid transparent; border-bottom: @menu-item-border solid transparent;
} }
} }
& > .ant-menu-item-selected { & > .ant-menu-item-selected {
border-top: 2px solid @primary-color; border-top: @menu-item-border solid @primary-color;
border-bottom: 2px solid transparent; border-bottom: @menu-item-border solid transparent;
a { a {
color: @primary-color; color: @primary-color;
} }

View File

@ -57,7 +57,7 @@
document.documentElement.className += isZhCN(pathname) ? 'zh-cn' : 'en-us'; document.documentElement.className += isZhCN(pathname) ? 'zh-cn' : 'en-us';
})() })()
</script> </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-1.css"/>
<link rel="stylesheet" type="text/css" href="{{ root }}index-2.css"/> <link rel="stylesheet" type="text/css" href="{{ root }}index-2.css"/>
<link rel="stylesheet/less" type="text/css" href="{{ root }}color.less"/> <link rel="stylesheet/less" type="text/css" href="{{ root }}color.less"/>