From d4609fbaeed99a6e7e2ecc7414ced2bacfa3b7ef Mon Sep 17 00:00:00 2001 From: liushuai Date: Mon, 23 Oct 2017 22:52:07 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/zendapi/layout/_partial/header.ejs | 10 ++++++++++ .../zendapi/layout/_partial/inject_site_menu.ejs | 7 +++++++ themes/zendapi/source/statics/css/base.scss | 16 ++++++++++++++++ 3 files changed, 33 insertions(+) diff --git a/themes/zendapi/layout/_partial/header.ejs b/themes/zendapi/layout/_partial/header.ejs index c5dd2c6..13524b9 100644 --- a/themes/zendapi/layout/_partial/header.ejs +++ b/themes/zendapi/layout/_partial/header.ejs @@ -10,6 +10,7 @@ let menuItems = site.data.category;
\ No newline at end of file diff --git a/themes/zendapi/source/statics/css/base.scss b/themes/zendapi/source/statics/css/base.scss index 57a83eb..15e822d 100644 --- a/themes/zendapi/source/statics/css/base.scss +++ b/themes/zendapi/source/statics/css/base.scss @@ -156,6 +156,13 @@ a:hover { } ul { padding-left: 0; + margin-bottom: 0px; + } + li.uk-parent { + height: auto; + } + ul.uk-nav-sub { + padding-left: 15px; } li { list-style-type: none; @@ -256,6 +263,15 @@ li { transition-property: border-bottom-color; } } + .uk-navbar-dropdown { + a { + line-height: 14px; + &:hover { + color: #000; + } + } + padding: 8px; + } .nav-menu { color: #dddddd!important; width:20px; From d68a766be7de6c319e75595a9d02c740f94878df Mon Sep 17 00:00:00 2001 From: liushuai Date: Mon, 23 Oct 2017 23:32:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix=20=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/zendapi/source/statics/css/base.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/zendapi/source/statics/css/base.scss b/themes/zendapi/source/statics/css/base.scss index 15e822d..d10da75 100644 --- a/themes/zendapi/source/statics/css/base.scss +++ b/themes/zendapi/source/statics/css/base.scss @@ -267,7 +267,7 @@ li { a { line-height: 14px; &:hover { - color: #000; + color: $zapi-base-color; } } padding: 8px;