2021-03-18 15:05:15 +01:00
|
|
|
/* A potentially shared website could appear in an iframe in the cowebsite space. */
|
|
|
|
|
2021-03-18 12:37:05 +01:00
|
|
|
#cowebsite {
|
2021-03-18 15:05:15 +01:00
|
|
|
position: fixed;
|
2021-10-07 14:44:15 +02:00
|
|
|
z-index: 200;
|
2021-03-18 15:05:15 +01:00
|
|
|
transition: transform 0.5s;
|
2021-10-12 10:38:49 +02:00
|
|
|
background-color: whitesmoke;
|
2021-10-07 14:44:15 +02:00
|
|
|
display: none;
|
2021-05-17 14:30:54 +02:00
|
|
|
|
2021-03-18 15:05:15 +01:00
|
|
|
&.loading {
|
|
|
|
background-color: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-06-07 17:48:39 +02:00
|
|
|
max-width: 100vw;
|
|
|
|
max-height: 100vh;
|
2021-03-18 15:05:15 +01:00
|
|
|
}
|
|
|
|
}
|
2021-05-17 14:30:54 +02:00
|
|
|
|
2021-03-18 12:37:05 +01:00
|
|
|
aside {
|
2021-04-28 13:10:50 +02:00
|
|
|
background: #212529;
|
2021-03-18 15:05:15 +01:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2021-10-07 14:44:15 +02:00
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2021-03-18 12:37:05 +01:00
|
|
|
|
2021-10-07 14:44:15 +02:00
|
|
|
#cowebsite-aside-holder {
|
2021-03-18 12:37:05 +01:00
|
|
|
pointer-events: none;
|
|
|
|
height: 20px;
|
2021-10-07 14:44:15 +02:00
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#cowebsite-aside-buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-bottom: auto;
|
|
|
|
flex: 1;
|
|
|
|
justify-content: start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.top-right-btn{
|
|
|
|
transform: scale(0.5);
|
|
|
|
cursor: url('./images/cursor_pointer.png'), pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#cowebsite-sub-icons {
|
|
|
|
display: flex;
|
|
|
|
margin-top: auto;
|
|
|
|
visibility: hidden;
|
|
|
|
justify-content: end;
|
|
|
|
flex: 1;
|
2021-03-18 12:37:05 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-07 14:44:15 +02:00
|
|
|
&-container {
|
2021-03-18 12:37:05 +01:00
|
|
|
position: absolute;
|
2021-10-07 14:44:15 +02:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&-main {
|
|
|
|
padding: 2% 5%;
|
|
|
|
height: 50%;
|
2021-03-18 12:37:05 +01:00
|
|
|
}
|
|
|
|
|
2021-10-07 14:44:15 +02:00
|
|
|
&-sub {
|
|
|
|
position: absolute !important;
|
|
|
|
display: inline-flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
bottom: 23%;
|
|
|
|
height: 20% !important;
|
|
|
|
width: 100%;
|
2021-03-18 12:37:05 +01:00
|
|
|
}
|
|
|
|
}
|
2021-10-07 14:44:15 +02:00
|
|
|
|
|
|
|
&-slot-0 {
|
|
|
|
z-index: 70 !important;
|
|
|
|
background-color: whitesmoke;
|
|
|
|
}
|
|
|
|
|
|
|
|
@for $i from 1 through 4 {
|
|
|
|
&-slot-#{$i} {
|
|
|
|
transition: transform 0.5s;
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
display: none;
|
|
|
|
background-color: #333333;
|
|
|
|
|
|
|
|
@if $i == 1 {
|
|
|
|
width: 100%;
|
|
|
|
} @else {
|
|
|
|
width: 33%;
|
|
|
|
margin: 5px;
|
|
|
|
}
|
2021-03-18 12:37:05 +01:00
|
|
|
|
2021-10-07 14:44:15 +02:00
|
|
|
.overlay {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 50;
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.actions-move {
|
|
|
|
display: none;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
gap: 10%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba($color: #333333, $alpha: 0.6);
|
|
|
|
|
|
|
|
.actions-move {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
pointer-events: all !important;
|
|
|
|
margin: 3% 2%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: end;
|
|
|
|
position: relative;
|
|
|
|
z-index: 50;
|
|
|
|
|
|
|
|
button {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
margin: 8px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-buffer {
|
|
|
|
iframe {
|
|
|
|
z-index: 45 !important;
|
|
|
|
pointer-events: none !important;
|
|
|
|
overflow: hidden;
|
|
|
|
border: 0;
|
|
|
|
position: absolute;
|
2021-03-18 12:37:05 +01:00
|
|
|
}
|
|
|
|
|
2021-10-07 14:44:15 +02:00
|
|
|
.main {
|
|
|
|
pointer-events: all !important;
|
|
|
|
z-index: 205 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sub-main {
|
|
|
|
pointer-events: all !important;
|
|
|
|
}
|
2021-10-25 18:42:51 +02:00
|
|
|
|
|
|
|
.thumbnail {
|
|
|
|
transform: scale(0.5, 0.5);
|
2021-03-18 12:37:05 +01:00
|
|
|
}
|
|
|
|
}
|
2021-10-07 14:44:15 +02:00
|
|
|
|
|
|
|
.pixel {
|
|
|
|
visibility: hidden;
|
|
|
|
height: 1px;
|
|
|
|
width: 1px;
|
|
|
|
}
|
2021-03-18 12:37:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-aspect-ratio: 1/1) {
|
|
|
|
#cowebsite {
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 50%;
|
|
|
|
height: 100vh;
|
2021-10-07 14:44:15 +02:00
|
|
|
display: none;
|
2021-03-18 12:37:05 +01:00
|
|
|
|
|
|
|
&.loading {
|
|
|
|
transform: translateX(90%);
|
|
|
|
}
|
|
|
|
&.hidden {
|
|
|
|
transform: translateX(100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
aside {
|
|
|
|
width: 30px;
|
2021-03-18 15:05:15 +01:00
|
|
|
cursor: ew-resize;
|
2021-03-18 12:37:05 +01:00
|
|
|
|
|
|
|
img {
|
2021-03-18 15:05:15 +01:00
|
|
|
cursor: ew-resize;
|
2021-03-18 12:37:05 +01:00
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|