-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
Develop
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export declare class CopyButton { | ||
element: HTMLElement; | ||
showCheckIcon: boolean; | ||
copy(): void; | ||
private hideCheckIcon; | ||
private IEClipboardCopy; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<template><require from="./styles/copy-button.css"></require><button class="copy-icon-container ${showCheckIcon ? 'tooltipped tooltipped-n m-2 p-2 border' : ''}" aria-label="${showCheckIcon ? 'Gekopieerd!' : ''}" click.delegate="copy()"><i class="fa fa-clipboard" title="Kopiëren" if.bind="!showCheckIcon"></i> <i class="copy-icon fa fa-check" if.bind="showCheckIcon"></i></button></template> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { FrameworkConfiguration } from 'aurelia-framework'; | ||
export * from './copy-button'; | ||
export declare function configure(config: FrameworkConfiguration): void; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,222 @@ | ||
.tabs-content { | ||
background: #ededed; | ||
padding: 5px 10px; | ||
margin-top: 1px; } | ||
|
||
.tabs dd { | ||
margin-right: 1px !important; } | ||
|
||
.tooltipped { | ||
position: relative; } | ||
|
||
.tooltipped::after { | ||
position: absolute; | ||
z-index: 1000000; | ||
display: none; | ||
padding: 0.5em 0.75em; | ||
font: normal normal 11px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | ||
-webkit-font-smoothing: subpixel-antialiased; | ||
color: white; | ||
text-align: center; | ||
text-decoration: none; | ||
text-shadow: none; | ||
text-transform: none; | ||
letter-spacing: normal; | ||
word-wrap: break-word; | ||
white-space: pre; | ||
pointer-events: none; | ||
content: attr(aria-label); | ||
background: black; | ||
border-radius: 3px; | ||
opacity: 0; } | ||
|
||
.tooltipped::before { | ||
position: absolute; | ||
z-index: 1000001; | ||
display: none; | ||
width: 0; | ||
height: 0; | ||
color: black; | ||
pointer-events: none; | ||
content: ""; | ||
border: 6px solid transparent; | ||
opacity: 0; } | ||
|
||
@keyframes tooltip-appear { | ||
from { | ||
opacity: 0; } | ||
to { | ||
opacity: 1; } } | ||
|
||
.tooltipped:hover::before, .tooltipped:hover::after, | ||
.tooltipped:active::before, | ||
.tooltipped:active::after, | ||
.tooltipped:focus::before, | ||
.tooltipped:focus::after { | ||
display: inline-block; | ||
text-decoration: none; | ||
animation-name: tooltip-appear; | ||
animation-duration: 0.1s; | ||
animation-fill-mode: forwards; | ||
animation-timing-function: ease-in; | ||
animation-delay: 0.4s; } | ||
|
||
.tooltipped-no-delay:hover::before, .tooltipped-no-delay:hover::after, | ||
.tooltipped-no-delay:active::before, | ||
.tooltipped-no-delay:active::after, | ||
.tooltipped-no-delay:focus::before, | ||
.tooltipped-no-delay:focus::after { | ||
animation-delay: 0s; } | ||
|
||
.tooltipped-multiline:hover::after, | ||
.tooltipped-multiline:active::after, | ||
.tooltipped-multiline:focus::after { | ||
display: table-cell; } | ||
|
||
.tooltipped-s::after, | ||
.tooltipped-se::after, | ||
.tooltipped-sw::after { | ||
top: 100%; | ||
right: 50%; | ||
margin-top: 6px; } | ||
|
||
.tooltipped-s::before, | ||
.tooltipped-se::before, | ||
.tooltipped-sw::before { | ||
top: auto; | ||
right: 50%; | ||
bottom: -7px; | ||
margin-right: -6px; | ||
border-bottom-color: black; } | ||
|
||
.tooltipped-se::after { | ||
right: auto; | ||
left: 50%; | ||
margin-left: -16px; } | ||
|
||
.tooltipped-sw::after { | ||
margin-right: -16px; } | ||
|
||
.tooltipped-n::after, | ||
.tooltipped-ne::after, | ||
.tooltipped-nw::after { | ||
right: 50%; | ||
bottom: 100%; | ||
margin-bottom: 6px; } | ||
|
||
.tooltipped-n::before, | ||
.tooltipped-ne::before, | ||
.tooltipped-nw::before { | ||
top: -7px; | ||
right: 50%; | ||
bottom: auto; | ||
margin-right: -6px; | ||
border-top-color: black; } | ||
|
||
.tooltipped-ne::after { | ||
right: auto; | ||
left: 50%; | ||
margin-left: -16px; } | ||
|
||
.tooltipped-nw::after { | ||
margin-right: -16px; } | ||
|
||
.tooltipped-s::after, | ||
.tooltipped-n::after { | ||
transform: translateX(50%); } | ||
|
||
.tooltipped-w::after { | ||
right: 100%; | ||
bottom: 50%; | ||
margin-right: 6px; | ||
transform: translateY(50%); } | ||
|
||
.tooltipped-w::before { | ||
top: 50%; | ||
bottom: 50%; | ||
left: -7px; | ||
margin-top: -6px; | ||
border-left-color: black; } | ||
|
||
.tooltipped-e::after { | ||
bottom: 50%; | ||
left: 100%; | ||
margin-left: 6px; | ||
transform: translateY(50%); } | ||
|
||
.tooltipped-e::before { | ||
top: 50%; | ||
right: -7px; | ||
bottom: 50%; | ||
margin-top: -6px; | ||
border-right-color: black; } | ||
|
||
.tooltipped-align-right-1::after, | ||
.tooltipped-align-right-2::after { | ||
right: 0; | ||
margin-right: 0; } | ||
|
||
.tooltipped-align-right-1::before { | ||
right: 10px; } | ||
|
||
.tooltipped-align-right-2::before { | ||
right: 15px; } | ||
|
||
.tooltipped-align-left-1::after, | ||
.tooltipped-align-left-2::after { | ||
left: 0; | ||
margin-left: 0; } | ||
|
||
.tooltipped-align-left-1::before { | ||
left: 5px; } | ||
|
||
.tooltipped-align-left-2::before { | ||
left: 10px; } | ||
|
||
.tooltipped-multiline::after { | ||
width: max-content; | ||
max-width: 250px; | ||
word-wrap: break-word; | ||
white-space: pre-line; | ||
border-collapse: separate; } | ||
|
||
.tooltipped-multiline.tooltipped-s::after, .tooltipped-multiline.tooltipped-n::after { | ||
right: auto; | ||
left: 50%; | ||
transform: translateX(-50%); } | ||
|
||
.tooltipped-multiline.tooltipped-w::after, .tooltipped-multiline.tooltipped-e::after { | ||
right: 100%; } | ||
|
||
@media screen and (min-width: 0\0) { | ||
.tooltipped-multiline::after { | ||
width: 250px; } } | ||
|
||
.tooltipped-sticky::before, .tooltipped-sticky::after { | ||
display: inline-block; } | ||
|
||
.tooltipped-sticky.tooltipped-multiline::after { | ||
display: table-cell; } | ||
|
||
.copy-icon { | ||
cursor: pointer; } | ||
.copy-icon.fa.fa-check { | ||
color: #43AC6A; } | ||
.copy-icon-container { | ||
margin: 0; | ||
text-decoration: none; | ||
display: inline-block; | ||
padding: 0; | ||
background-color: white; | ||
border-color: unset; | ||
color: inherit; | ||
transition: none; | ||
display: inline-block; } | ||
.copy-icon-container:hover { | ||
background-color: white !important; | ||
color: inherit !important; } | ||
.copy-icon-container:focus { | ||
background-color: white !important; | ||
color: inherit !important; | ||
border: none; | ||
outline: none; } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.