mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 22:13:11 -04:00
does what it says on the tin, and is also consistent with prior art: https://components.publishing.service.gov.uk/component-guide/copy_to_clipboard
34 lines
435 B
SCSS
34 lines
435 B
SCSS
.copy-to-clipboard {
|
|
|
|
position: relative;
|
|
padding-bottom: 38px; // height of button
|
|
display: flex;
|
|
|
|
&__name {
|
|
@include bold-19;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
&__notice,
|
|
&__key {
|
|
font-family: monospace;
|
|
display: block;
|
|
padding: 0 0 10px 0;
|
|
margin: auto 0;
|
|
}
|
|
|
|
&__button--show,
|
|
&__button--copy {
|
|
|
|
position: absolute;
|
|
bottom: 2px;
|
|
left: 0px;
|
|
|
|
&:active {
|
|
top: auto;
|
|
}
|
|
|
|
}
|
|
|
|
}
|