Skip to content

Commit d694199

Browse files
style: update tag hover styles and button hover effects for consistency
Signed-off-by: wangsimiao1 <wangsimiao1@xiaomi.com>
1 parent 82929e3 commit d694199

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

_sass/abstracts/_placeholders.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232

3333
%tag-hover {
34-
color: var(--sidebar-active-color) !important;
34+
@extend %link-color;
3535

3636
background: var(--tag-hover);
3737
border-color: var(--tag-hover);

_sass/base/_base.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,9 @@ a.card.post-preview {
386386
/* Overwrite bootstrap outline button */
387387
.btn.btn-outline-primary {
388388
&:not(.disabled):hover {
389-
border-color: #007bff !important;
389+
background-color: var(--tag-hover) !important;
390+
border-color: var(--tag-hover) !important;
391+
color: var(--link-color) !important;
390392
}
391393
}
392394

_sass/layout/_panel.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
margin: 0 0.35rem 0.5rem 0;
4545

4646
&:hover {
47+
color: var(--link-color) !important;
4748
transition: all 0.3s ease-in;
4849
}
4950
}

0 commit comments

Comments
 (0)