Use clipboardjs to copy shot ID to clipboard
Using Zeno Rocha's clipboardjs https://zenorocha.github.io/clipboard.js
This commit is contained in:
@@ -142,27 +142,11 @@
|
||||
margin-left: 10px
|
||||
width: 40px
|
||||
border: thin solid transparent
|
||||
background-color: white
|
||||
color: $color-text-dark-secondary
|
||||
box-shadow: none
|
||||
border-color: $color-text-dark-hint
|
||||
|
||||
&:hover
|
||||
border-color: $color-text-dark-hint
|
||||
|
||||
&:active
|
||||
background-color: $color-background
|
||||
|
||||
.btn.copy-to-clipboard.item-id
|
||||
color: transparent
|
||||
position: relative
|
||||
&::selection
|
||||
color: transparent
|
||||
background-color: transparent
|
||||
|
||||
.btn.copy-to-clipboard+.copy-to-clipboard-icon
|
||||
position: relative
|
||||
height: 40px
|
||||
pointer-events: none
|
||||
color: $color-text-dark-primary
|
||||
i
|
||||
position: absolute
|
||||
top: 8px
|
||||
left: -32px
|
||||
font-size: 1.2em
|
||||
color: $color-text-dark-primary
|
||||
border-color: $color-text-dark-primary
|
||||
|
Reference in New Issue
Block a user