Fix cursor for some buttons & links (fix #411)
This commit is contained in:
parent
2dfdb66e0a
commit
e5bf234835
4 changed files with 17 additions and 0 deletions
|
@ -811,6 +811,8 @@ $sidebar-display: "sidebar-display";
|
||||||
i {
|
i {
|
||||||
@include sidebar-links;
|
@include sidebar-links;
|
||||||
|
|
||||||
|
@extend %cursor-pointer;
|
||||||
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 1.05rem;
|
font-size: 1.05rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -914,12 +916,16 @@ $sidebar-display: "sidebar-display";
|
||||||
border: 1px solid var(--search-wrapper-bg);
|
border: 1px solid var(--search-wrapper-bg);
|
||||||
background: var(--search-wrapper-bg);
|
background: var(--search-wrapper-bg);
|
||||||
padding: 0 0.5rem;
|
padding: 0 0.5rem;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
color: var(--search-icon-color);
|
color: var(--search-icon-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.fa-times-circle { /* button 'clean up' */
|
.fa-times-circle { /* button 'clean up' */
|
||||||
|
@extend %cursor-pointer;
|
||||||
|
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -928,6 +934,8 @@ $sidebar-display: "sidebar-display";
|
||||||
color: var(--link-color);
|
color: var(--link-color);
|
||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
|
@extend %cursor-pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
#search-input {
|
#search-input {
|
||||||
|
|
|
@ -51,6 +51,10 @@
|
||||||
margin-top: -2.5rem;
|
margin-top: -2.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%cursor-pointer {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
/* ---------- scss mixin --------- */
|
/* ---------- scss mixin --------- */
|
||||||
|
|
||||||
@mixin no-text-decoration {
|
@mixin no-text-decoration {
|
||||||
|
|
|
@ -199,6 +199,8 @@ div {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
color: var(--highlight-lineno-color);
|
color: var(--highlight-lineno-color);
|
||||||
|
|
||||||
|
@extend %cursor-pointer;
|
||||||
|
|
||||||
&[timeout] {
|
&[timeout] {
|
||||||
color: var(--clipboard-checked-color);
|
color: var(--clipboard-checked-color);
|
||||||
border-color: var(--clipboard-checked-color);
|
border-color: var(--clipboard-checked-color);
|
||||||
|
|
|
@ -242,6 +242,9 @@
|
||||||
> i {
|
> i {
|
||||||
position: relative;
|
position: relative;
|
||||||
bottom: 1px;
|
bottom: 1px;
|
||||||
|
|
||||||
|
@extend %cursor-pointer;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@extend %btn-share-hovor;
|
@extend %btn-share-hovor;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue