mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
92eade7502
[web] BS5 pdf toolbar GitOrigin-RevId: a04091c9e936e52f47c3977b3149ffe613d43bb9
31 lines
556 B
SCSS
31 lines
556 B
SCSS
$stripe-width: 20px;
|
|
|
|
@keyframes pdf-toolbar-stripes {
|
|
from {
|
|
background-position: 0 0;
|
|
}
|
|
|
|
to {
|
|
background-position: $stripe-width 0;
|
|
}
|
|
}
|
|
|
|
.btn-striped-animated {
|
|
@include striped;
|
|
|
|
background-size: $stripe-width $stripe-width;
|
|
background-origin: content-box;
|
|
|
|
@include animation(pdf-toolbar-stripes 2s linear infinite);
|
|
}
|
|
|
|
.detach-compile-button {
|
|
&[disabled],
|
|
&[disabled]:active {
|
|
background-color: var(--bs-btn-bg);
|
|
color: var(--bs-btn-color);
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
cursor: not-allowed;
|
|
}
|
|
}
|