diff --git a/lib/default-theme/DropdownLink.vue b/lib/default-theme/DropdownLink.vue index 12fc6fde3d..270071b083 100644 --- a/lib/default-theme/DropdownLink.vue +++ b/lib/default-theme/DropdownLink.vue @@ -2,34 +2,37 @@ + + diff --git a/lib/default-theme/SidebarGroup.vue b/lib/default-theme/SidebarGroup.vue index 9305c9adbe..d10882f230 100644 --- a/lib/default-theme/SidebarGroup.vue +++ b/lib/default-theme/SidebarGroup.vue @@ -4,37 +4,26 @@ {{ item.title }} + :class="open ? 'down' : 'right'">

- + - + @@ -71,7 +60,4 @@ export default { .sidebar-group-items transition height .1s ease-out overflow hidden - -.sidebar-group-enter, .sidebar-group-leave-to - height 0 !important diff --git a/lib/default-theme/styles/arrow.styl b/lib/default-theme/styles/arrow.styl index ed650eacbe..20bffc0dc8 100644 --- a/lib/default-theme/styles/arrow.styl +++ b/lib/default-theme/styles/arrow.styl @@ -7,16 +7,16 @@ &.up border-left 4px solid transparent border-right 4px solid transparent - border-bottom 6px solid $textColor + border-bottom 6px solid $arrowBgColor &.down border-left 4px solid transparent border-right 4px solid transparent - border-top 6px solid $textColor + border-top 6px solid $arrowBgColor &.right border-top 4px solid transparent border-bottom 4px solid transparent - border-left 6px solid $textColor + border-left 6px solid $arrowBgColor &.left border-top 4px solid transparent border-bottom 4px solid transparent - border-right 6px solid $textColor + border-right 6px solid $arrowBgColor diff --git a/lib/default-theme/styles/config.styl b/lib/default-theme/styles/config.styl index 65084e13a5..158de9024f 100644 --- a/lib/default-theme/styles/config.styl +++ b/lib/default-theme/styles/config.styl @@ -3,6 +3,7 @@ $accentColor = #3eaf7c $textColor = #2c3e50 $borderColor = #eaecef $codeBgColor = #282c34 +$arrowBgColor = #ccc // layout $navbarHeight = 3.6rem