mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-13 02:34:03 +00:00
copy button
This commit is contained in:
parent
53f9125946
commit
c19bac12f7
13 changed files with 17751 additions and 34 deletions
11
source/_assets/css/clipboard.css
Normal file
11
source/_assets/css/clipboard.css
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
.code-block-wrapper .copyBtn {
|
||||
@apply absolute right-2 top-2 outline-none text-gray-200 opacity-25;
|
||||
}
|
||||
|
||||
.code-block-wrapper .copyBtn:hover {
|
||||
@apply text-gray-500 opacity-100;
|
||||
}
|
||||
|
||||
.code-block-wrapper .copyBtn:active {
|
||||
@apply text-white outline-none opacity-100;
|
||||
}
|
||||
|
|
@ -7,6 +7,6 @@
|
|||
@import 'base';
|
||||
@import 'navigation';
|
||||
@import 'search';
|
||||
|
||||
@import 'clipboard';
|
||||
|
||||
@tailwind utilities;
|
||||
Loading…
Add table
Add a link
Reference in a new issue