2023-04-30 13:38:30 +02:00
|
|
|
.pdf-actions_button-container {
|
2024-02-16 22:49:06 +01:00
|
|
|
z-index: 2;
|
|
|
|
display: flex;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.1s linear;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pdf-actions_container:hover .pdf-actions_button-container {
|
2024-02-16 22:49:06 +01:00
|
|
|
opacity: 1;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pdf-actions_button-container > * {
|
2024-02-16 22:49:06 +01:00
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
margin: 3px;
|
|
|
|
display: block;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pdf-actions_container svg {
|
2024-02-16 22:49:06 +01:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
.pdf-actions_container:nth-child(1) .pdf-actions_move-left-button {
|
2024-02-16 22:49:06 +01:00
|
|
|
display: none;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
.pdf-actions_container:last-child .pdf-actions_move-right-button {
|
2024-02-16 22:49:06 +01:00
|
|
|
display: none;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* "insert pdf" buttons that appear on the right when hover */
|
|
|
|
.pdf-actions_insert-file-button-container {
|
2024-02-16 22:49:06 +01:00
|
|
|
translate: 0 -50%;
|
|
|
|
width: 80px;
|
|
|
|
height: 100%;
|
2024-02-11 17:47:00 +01:00
|
|
|
|
2024-02-16 22:49:06 +01:00
|
|
|
z-index: 1;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.2s;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pdf-actions_insert-file-button-container.left {
|
2024-02-16 22:49:06 +01:00
|
|
|
left: -20px;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pdf-actions_insert-file-button-container.right {
|
2024-02-16 22:49:06 +01:00
|
|
|
right: -20px;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
2024-03-21 21:58:01 +01:00
|
|
|
html[dir="ltr"] .pdf-actions_insert-file-button-container.right {
|
2024-02-16 22:49:06 +01:00
|
|
|
display: none;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
2024-03-21 21:58:01 +01:00
|
|
|
html[dir="rtl"] .pdf-actions_insert-file-button-container.left {
|
2024-02-16 22:49:06 +01:00
|
|
|
display: none;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pdf-actions_insert-file-button-container.left .pdf-actions_insert-file-button {
|
2024-02-16 22:49:06 +01:00
|
|
|
left: 0;
|
|
|
|
translate: 0 -50%;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pdf-actions_insert-file-button-container.right .pdf-actions_insert-file-button {
|
2024-02-16 22:49:06 +01:00
|
|
|
right: 0;
|
|
|
|
translate: 0 -50%;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
2024-03-21 21:58:01 +01:00
|
|
|
html[dir="ltr"] .pdf-actions_container:last-child > .pdf-actions_insert-file-button-container.right {
|
2024-02-16 22:49:06 +01:00
|
|
|
display: block;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
2024-03-21 21:58:01 +01:00
|
|
|
html[dir="rtl"] .pdf-actions_container:last-child > .pdf-actions_insert-file-button-container.left {
|
2024-02-16 22:49:06 +01:00
|
|
|
display: block;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pdf-actions_insert-file-button-container:hover {
|
2024-02-16 22:49:06 +01:00
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.05s;
|
2023-04-30 13:38:30 +02:00
|
|
|
}
|
|
|
|
.pdf-actions_insert-file-button {
|
2024-02-16 22:49:06 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
right: 50%;
|
|
|
|
translate: 50% -50%;
|
|
|
|
aspect-ratio: 1;
|
|
|
|
border-radius: 100px;
|
|
|
|
}
|