From d4c4206ea464e88a659c014fc5b8ca84ce94ca21 Mon Sep 17 00:00:00 2001 From: Kid Date: Thu, 27 Feb 2020 09:59:32 +0800 Subject: [PATCH 1/2] improve basic layout style --- src/themes/basic/_layout.styl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/themes/basic/_layout.styl b/src/themes/basic/_layout.styl index 387fd7994..1788c98a7 100644 --- a/src/themes/basic/_layout.styl +++ b/src/themes/basic/_layout.styl @@ -120,6 +120,7 @@ li input[type='checkbox'] margin 0 1rem padding 5px 0 position relative + cursor pointer ul background-color #fff @@ -277,6 +278,7 @@ main.hidden transition opacity 0.3s width $sidebar-width - 16px z-index 30 + cursor pointer .sidebar-toggle-button:hover opacity 0.4 From d6eeb4f5511611ae77fc3c96ff6313d51658b4a4 Mon Sep 17 00:00:00 2001 From: Kid Date: Thu, 27 Feb 2020 10:06:33 +0800 Subject: [PATCH 2/2] add missing modification --- src/themes/basic/_layout.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/themes/basic/_layout.styl b/src/themes/basic/_layout.styl index 1788c98a7..a353d6323 100644 --- a/src/themes/basic/_layout.styl +++ b/src/themes/basic/_layout.styl @@ -280,7 +280,7 @@ main.hidden z-index 30 cursor pointer - .sidebar-toggle-button:hover + &:hover .sidebar-toggle-button opacity 0.4 span