Fix cursor for some buttons & links (fix #411)

This commit is contained in:
Cotes Chung 2021-09-17 16:58:32 +08:00
parent 2dfdb66e0a
commit e5bf234835
4 changed files with 17 additions and 0 deletions

View File

@ -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 {

View File

@ -51,6 +51,10 @@
margin-top: -2.5rem;
}
%cursor-pointer {
cursor: pointer;
}
/* ---------- scss mixin --------- */
@mixin no-text-decoration {

View File

@ -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);

View File

@ -242,6 +242,9 @@
> i {
position: relative;
bottom: 1px;
@extend %cursor-pointer;
&:hover {
@extend %btn-share-hovor;
}