From a2f1864da01e76c59d682b897398b100eb3bc25a Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Thu, 3 Aug 2017 19:08:54 +0800 Subject: Update the Docs HTML structure --- src/menus.less | 10 +++++++--- src/pagination.less | 5 ++++- src/typography.less | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/menus.less b/src/menus.less index 2533c99..077cf6f 100644 --- a/src/menus.less +++ b/src/menus.less @@ -24,12 +24,12 @@ border-radius: @border-radius; color: inherit; display: block; - margin: @unit-1 -@unit-2; - padding: 4px 8px; + margin: 0 -@unit-2; + padding: @unit-1 @unit-2; text-decoration: none; &:focus, &:hover { - background: @secondary-color-light; + background: @secondary-color; color: @primary-color; } &:active, @@ -38,6 +38,10 @@ color: @primary-color; } } + + & + .menu-item { + margin-top: @unit-1; + } } .menu-badge { diff --git a/src/pagination.less b/src/pagination.less index e4e5c94..a51032d 100644 --- a/src/pagination.less +++ b/src/pagination.less @@ -21,7 +21,10 @@ &:hover { color: @primary-color; } - &.disabled { + } + + &.disabled { + a { cursor: default; opacity: .5; pointer-events: none; diff --git a/src/typography.less b/src/typography.less index ad5ee84..ae8a424 100644 --- a/src/typography.less +++ b/src/typography.less @@ -34,7 +34,7 @@ h6 { // Paragraphs p { line-height: 1.2 * @line-height; - margin: 0 0 @unit-3; + margin: 0 0 @unit-4; } // Semantic text elements -- cgit v1.3.1-23-gd82d