mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-30 16:38:31 +02:00
* custom code highlighter thema * icons * styles * icons without additional html * new copy icon + styles, mobile fix * neutral color for unknown languages * http tab, mask size * fallback icon * fix * fix * fix
38 lines
611 B
SCSS
38 lines
611 B
SCSS
/* copy button for documentation */
|
|
|
|
.copy-code {
|
|
position: absolute;
|
|
right: 8px;
|
|
top: 8px;
|
|
}
|
|
|
|
.copy-code__btn {
|
|
padding: 4px;
|
|
background: var(--neutral-n-50);
|
|
i {
|
|
display: block;
|
|
width: 24px;
|
|
height: 24px;
|
|
background-color: var(--neutral-n-700);
|
|
-webkit-mask-image: url("/css/assets/copy.svg");
|
|
mask-image: url("/css/assets/copy.svg");
|
|
mask-size: contain;
|
|
mask-repeat: no-repeat;
|
|
mask-position: center;
|
|
}
|
|
}
|
|
|
|
.copy-code__btn:hover {
|
|
i {
|
|
background-color: var(--neutral-n-600);
|
|
}
|
|
}
|
|
|
|
.copy-code__btn_light {
|
|
color: white;
|
|
}
|
|
|
|
.copy-code__btn_light:hover {
|
|
background: transparent;
|
|
}
|