2020-04-02 17:08:24 +02:00
|
|
|
.viewer-content {
|
|
|
|
background-color: black;
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: 232px auto;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
2022-08-09 12:32:11 +02:00
|
|
|
.fullscreen.viewer-layout {
|
|
|
|
.viewer-section {
|
|
|
|
& .viewer-go-prev,
|
|
|
|
& .viewer-go-next {
|
|
|
|
.arrow {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.fullscreen.viewer-layout.force-visible {
|
|
|
|
.viewer-section {
|
|
|
|
& .viewer-go-prev,
|
|
|
|
& .viewer-go-next {
|
|
|
|
.arrow {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-02 17:08:24 +02:00
|
|
|
|
2022-10-14 13:40:10 +02:00
|
|
|
.viewer-loader {
|
|
|
|
svg#loader-pencil {
|
|
|
|
fill: $color-gray-50;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-02 15:19:11 +01:00
|
|
|
.viewer-section {
|
2021-11-02 11:08:44 +01:00
|
|
|
height: calc(100vh - 48px);
|
2020-04-02 17:08:24 +02:00
|
|
|
grid-row: 1 / span 2;
|
|
|
|
grid-column: 1 / span 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-04-03 11:29:27 +02:00
|
|
|
flex-flow: wrap;
|
2021-10-29 10:43:53 +02:00
|
|
|
overflow: auto;
|
|
|
|
|
2022-07-28 09:30:17 +02:00
|
|
|
&.fullscreen {
|
|
|
|
height: 100vh;
|
|
|
|
margin-top: 0px;
|
|
|
|
}
|
|
|
|
|
2022-06-08 12:12:23 +02:00
|
|
|
& .viewer-go-prev,
|
|
|
|
& .viewer-go-next {
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-06-21 11:10:05 +02:00
|
|
|
width: 53px;
|
2022-07-28 09:30:17 +02:00
|
|
|
z-index: 2;
|
2022-06-08 12:12:23 +02:00
|
|
|
.arrow {
|
2022-08-09 12:32:11 +02:00
|
|
|
display: flex;
|
2022-06-08 12:12:23 +02:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2023-02-22 13:52:45 +01:00
|
|
|
border-radius: $br12;
|
2022-06-08 12:12:23 +02:00
|
|
|
background: $color-gray-50;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
cursor: pointer;
|
|
|
|
fill: $color-gray-30;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $color-primary;
|
|
|
|
fill: $color-black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& .viewer-go-next {
|
2022-08-25 09:11:00 +02:00
|
|
|
right: 8px;
|
|
|
|
width: 46px;
|
2022-06-08 12:12:23 +02:00
|
|
|
svg {
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& .viewer-go-next.right-bar {
|
2023-01-27 11:20:03 +01:00
|
|
|
right: 0;
|
2022-06-08 12:12:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
& .viewer-go-prev {
|
|
|
|
left: 0;
|
|
|
|
padding-left: 29px;
|
|
|
|
svg {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& .viewer-go-prev.left-bar {
|
2023-01-27 11:20:03 +01:00
|
|
|
left: 0;
|
2022-06-08 12:12:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
& .viewer-bottom {
|
|
|
|
position: absolute;
|
2022-08-25 09:11:00 +02:00
|
|
|
bottom: 8px;
|
|
|
|
height: 30px;
|
2022-06-08 12:12:23 +02:00
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2022-07-28 09:30:17 +02:00
|
|
|
align-items: center;
|
2022-08-25 09:11:00 +02:00
|
|
|
z-index: 2;
|
2022-06-08 12:12:23 +02:00
|
|
|
|
|
|
|
&.left-bar {
|
2023-01-27 11:20:03 +01:00
|
|
|
width: 100%;
|
2022-06-08 12:12:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.reset {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-02-22 13:52:45 +01:00
|
|
|
border-radius: $br12;
|
2022-06-08 12:12:23 +02:00
|
|
|
background: $color-gray-50;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
cursor: pointer;
|
|
|
|
fill: $color-gray-30;
|
|
|
|
margin-left: 29px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
margin-left: 4px;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $color-primary;
|
|
|
|
fill: $color-black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.counter {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2023-02-22 13:52:45 +01:00
|
|
|
border-radius: $br12;
|
2022-06-08 12:12:23 +02:00
|
|
|
background: $color-gray-50;
|
|
|
|
width: 67px;
|
|
|
|
height: 25px;
|
|
|
|
fill: $color-gray-20;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-29 10:43:53 +02:00
|
|
|
& .viewer-wrapper {
|
2022-08-25 09:11:00 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2022-01-10 14:40:12 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .viewer-clipper {
|
2021-10-29 10:43:53 +02:00
|
|
|
display: grid;
|
|
|
|
grid-template-rows: 1fr;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
justify-items: center;
|
2020-04-13 18:10:58 +02:00
|
|
|
align-items: center;
|
2022-01-10 14:40:12 +01:00
|
|
|
overflow: hidden;
|
2021-10-29 10:43:53 +02:00
|
|
|
|
|
|
|
svg {
|
|
|
|
transform-origin: center;
|
|
|
|
}
|
2020-04-03 11:29:27 +02:00
|
|
|
}
|
2022-06-08 12:12:23 +02:00
|
|
|
|
|
|
|
& .viewer-wrapper-out {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .comments-right-sidebar {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 50px;
|
|
|
|
width: 256px;
|
2023-07-03 13:05:12 +02:00
|
|
|
height: calc(100vh - 48px);
|
2023-07-03 13:06:31 +02:00
|
|
|
z-index: 9;
|
2022-06-08 12:12:23 +02:00
|
|
|
}
|
2022-09-28 13:15:11 +02:00
|
|
|
|
|
|
|
.empty-state {
|
|
|
|
width: 100vw;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-04-02 17:08:24 +02:00
|
|
|
}
|
2021-10-29 10:43:53 +02:00
|
|
|
|
|
|
|
.viewport-container {
|
2022-09-05 11:56:51 +02:00
|
|
|
clip-path: inset(0 0 0 0);
|
2021-10-29 10:43:53 +02:00
|
|
|
grid-column: 1 / 1;
|
|
|
|
grid-row: 1 / 1;
|
2022-09-05 11:56:51 +02:00
|
|
|
|
|
|
|
.not-fixed {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fixed {
|
|
|
|
position: fixed;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
.frame-children g {
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
|
|
|
}
|
2021-10-29 10:43:53 +02:00
|
|
|
}
|