diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index c320cd0..44d0ccf 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -811,6 +811,8 @@ $sidebar-display: "sidebar-display"; i { @include sidebar-links; + @extend %cursor-pointer; + margin: 0; font-size: 1.05rem; text-align: center; @@ -914,12 +916,16 @@ $sidebar-display: "sidebar-display"; border: 1px solid var(--search-wrapper-bg); background: var(--search-wrapper-bg); padding: 0 0.5rem; + i { z-index: 2; font-size: 0.9rem; color: var(--search-icon-color); } + .fa-times-circle { /* button 'clean up' */ + @extend %cursor-pointer; + visibility: hidden; } } @@ -928,6 +934,8 @@ $sidebar-display: "sidebar-display"; color: var(--link-color); margin-left: 1rem; display: none; + + @extend %cursor-pointer; } #search-input { diff --git a/_sass/addon/module.scss b/_sass/addon/module.scss index aa06874..b5b9f8f 100644 --- a/_sass/addon/module.scss +++ b/_sass/addon/module.scss @@ -51,6 +51,10 @@ margin-top: -2.5rem; } +%cursor-pointer { + cursor: pointer; +} + /* ---------- scss mixin --------- */ @mixin no-text-decoration { diff --git a/_sass/addon/syntax.scss b/_sass/addon/syntax.scss index cdcd089..fcd2ca3 100644 --- a/_sass/addon/syntax.scss +++ b/_sass/addon/syntax.scss @@ -199,6 +199,8 @@ div { background-color: inherit; color: var(--highlight-lineno-color); + @extend %cursor-pointer; + &[timeout] { color: var(--clipboard-checked-color); border-color: var(--clipboard-checked-color); diff --git a/_sass/layout/post.scss b/_sass/layout/post.scss index 6ac20ac..88ff230 100644 --- a/_sass/layout/post.scss +++ b/_sass/layout/post.scss @@ -242,6 +242,9 @@ > i { position: relative; bottom: 1px; + + @extend %cursor-pointer; + &:hover { @extend %btn-share-hovor; }