2023-02-21 09:34:35 -05:00
|
|
|
@stripe-width: 20px;
|
|
|
|
@keyframes pdf-toolbar-stripes {
|
|
|
|
from {
|
|
|
|
background-position: 0 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
background-position: @stripe-width 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.detach-compile-button-container {
|
|
|
|
border-radius: @btn-border-radius-base 0 0 @btn-border-radius-base;
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
2023-06-30 05:46:46 -04:00
|
|
|
// only apply for legacy editor
|
|
|
|
.toolbar-pdf-right {
|
|
|
|
// because 2px border on :active state
|
2023-11-27 05:02:32 -05:00
|
|
|
.detach-compile-button-container {
|
2023-06-30 05:46:46 -04:00
|
|
|
margin-right: -3px;
|
|
|
|
}
|
2023-02-21 09:34:35 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-striped-animated {
|
|
|
|
// prettier-ignore
|
|
|
|
#gradient > .striped(@color: rgba(255, 255, 255, 0.2), @angle: -45deg);
|
|
|
|
background-size: @stripe-width @stripe-width;
|
2024-01-23 08:00:42 -05:00
|
|
|
background-origin: content-box;
|
2023-02-21 09:34:35 -05:00
|
|
|
.animation(pdf-toolbar-stripes 2s linear infinite);
|
|
|
|
}
|
|
|
|
|
|
|
|
.detach-compile-button {
|
|
|
|
height: 28px;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
|
|
|
&.detach-compile-button-disabled {
|
|
|
|
&,
|
|
|
|
&:hover {
|
|
|
|
color: @white;
|
|
|
|
background-color: @ol-green;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-27 05:02:32 -05:00
|
|
|
.detach-compile-button {
|
2023-02-21 09:34:35 -05:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detach-compile-button-label {
|
|
|
|
margin-left: @line-height-computed / 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes compile-button-flash {
|
|
|
|
from,
|
|
|
|
to {
|
|
|
|
background: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
25%,
|
|
|
|
75% {
|
|
|
|
background: rgba(0, 0, 0, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes compile-button-bounce {
|
|
|
|
from,
|
|
|
|
50%,
|
|
|
|
to {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
25%,
|
|
|
|
75% {
|
|
|
|
transform: translateY(2px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.detach-compile-button-animate {
|
|
|
|
animation-duration: 1.2s;
|
|
|
|
animation-fill-mode: both;
|
|
|
|
animation-timing-function: ease-in-out;
|
|
|
|
animation-name: compile-button-flash;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detach-compile-button-animate .caret {
|
|
|
|
animation-duration: 0.6s;
|
|
|
|
animation-delay: 0.4s;
|
|
|
|
animation-fill-mode: both;
|
|
|
|
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
|
|
|
animation-name: compile-button-bounce;
|
|
|
|
}
|