优化链接点击效果

pull/96/head
lyswhut 2019-12-01 13:42:16 +08:00
parent 8a0b960985
commit cfc6967fdc
2 changed files with 12 additions and 2 deletions

View File

@ -57,6 +57,10 @@ table {
}
}
a {
color: #000;
}
.badge {
display: inline-block;
padding: 0.25em 0.4em;
@ -112,7 +116,7 @@ svg {
transition-property: fill;
}
.hover {
.hover, a {
cursor: pointer;
transition: color .2s ease;
&:hover {
@ -150,7 +154,7 @@ svg {
each(@themes, {
#container.@{value} {
.hover {
.hover, a {
&:hover {
color: ~'@{color-@{value}-theme}';
}

View File

@ -115,6 +115,9 @@ export default {
&:hover:not(.active) {
background-color: @color-theme-hover;
}
&:hover:not(.active) {
background-color: @color-theme-active;
}
}
}
}
@ -141,6 +144,9 @@ each(@themes, {
&:hover:not(.active) {
background-color: ~'@{color-@{value}-theme-hover}';
}
&:active:not(.active) {
background-color: ~'@{color-@{value}-theme-active}';
}
}
}
}