mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
refactor: 修改web版本按钮样式
This commit is contained in:
parent
9873f5db00
commit
7807af68b7
@ -376,7 +376,7 @@ main {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
box-shadow: 1px 2px 3px 1px $primary;
|
box-shadow: 1px 2px 3px $primary;
|
||||||
&.success {
|
&.success {
|
||||||
&:after {
|
&:after {
|
||||||
content: '复制成功';
|
content: '复制成功';
|
||||||
@ -391,20 +391,19 @@ main {
|
|||||||
}
|
}
|
||||||
&:active {
|
&:active {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
color: #444;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
opacity: 0.6;
|
color: rgba(255, 255, 255, 0.6)
|
||||||
box-shadow: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .btn-better {
|
> .btn-better {
|
||||||
@extend .btn-copy;
|
@extend .btn-copy;
|
||||||
background-color: $danger;
|
background-color: $danger;
|
||||||
box-shadow: 1px 2px 3px 1px $danger;
|
box-shadow: 1px 2px 3px $danger;
|
||||||
}
|
}
|
||||||
|
|
||||||
> code {
|
> code {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user