change the style of copy-btn
This commit is contained in:
parent
81966ce9d5
commit
b83804c92b
2 changed files with 8 additions and 8 deletions
|
@ -803,7 +803,7 @@ ul.footer-menu>li {
|
|||
|
||||
.highlight:hover .highlight-copy-btn {
|
||||
display: inline-block;
|
||||
border: 1px solid var(--bg-color);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.highlight-copy-btn {
|
||||
|
@ -812,20 +812,20 @@ ul.footer-menu>li {
|
|||
top: 18px;
|
||||
right: 2px;
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
border-radius: 6px;
|
||||
padding: 1px;
|
||||
font-size: 0.7em;
|
||||
line-height: 1.8;
|
||||
color: #fff;
|
||||
background-color: #777;
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
min-width: 25px;
|
||||
text-align: center;
|
||||
transition: border 0.3s;
|
||||
}
|
||||
|
||||
.highlight-copy-btn:hover {
|
||||
transition-duration: .1s;
|
||||
background-color: #666;
|
||||
border: 1px solid var(--bq-color) !important;
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue