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;
|
|
|
|
transition: transform 0.5s;
|
|
|
|
background-color: white;
|
|
|
|
|
|
|
|
&.loading {
|
|
|
|
background-color: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-18 12:37:05 +01:00
|
|
|
aside {
|
|
|
|
background: gray;
|
2021-03-18 15:05:15 +01:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2021-03-18 12:37:05 +01:00
|
|
|
|
|
|
|
img {
|
|
|
|
margin: 3px;
|
|
|
|
pointer-events: none;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.top-right-btn{
|
|
|
|
position: absolute;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
cursor: url('/resources/logos/cursor_pointer.png'), pointer;
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 20px;
|
|
|
|
background-color: rgba(0,0.0,0,0.3);
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
img:hover {
|
|
|
|
background-color: rgba(0,0,0,0.4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-aspect-ratio: 1/1) {
|
|
|
|
#cowebsite {
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 50%;
|
|
|
|
height: 100vh;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&.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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.top-right-btn{
|
|
|
|
top: 10px;
|
|
|
|
right: -100px;
|
|
|
|
animation: right .2s ease;
|
|
|
|
|
|
|
|
img {
|
|
|
|
right: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#cowebsite-close {
|
|
|
|
right: -140px;
|
|
|
|
}
|
|
|
|
#cowebsite-fullscreen {
|
|
|
|
right: -100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#cowebsite:hover {
|
|
|
|
#cowebsite-close{
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#cowebsite-fullscreen{
|
2021-03-18 15:05:15 +01:00
|
|
|
right: 45px;
|
2021-03-18 12:37:05 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-aspect-ratio: 1/1) {
|
|
|
|
|
|
|
|
|
|
|
|
#cowebsite {
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 50%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
&.loading {
|
|
|
|
transform: translateY(90%);
|
|
|
|
}
|
|
|
|
&.hidden {
|
|
|
|
transform: translateY(100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
aside {
|
|
|
|
height: 30px;
|
2021-03-18 15:05:15 +01:00
|
|
|
cursor: ns-resize;
|
2021-03-18 12:37:05 +01:00
|
|
|
flex-direction: column;
|
2021-03-18 15:05:15 +01:00
|
|
|
|
|
|
|
img {
|
|
|
|
cursor: ns-resize;
|
|
|
|
}
|
2021-03-18 12:37:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.top-right-btn{
|
|
|
|
top: 10px;
|
|
|
|
right: -100px;
|
|
|
|
animation: right .2s ease;
|
|
|
|
|
|
|
|
img {
|
|
|
|
right: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#cowebsite-close {
|
|
|
|
right: -140px;
|
|
|
|
}
|
|
|
|
#cowebsite-fullscreen {
|
|
|
|
right: -100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#cowebsite:hover {
|
|
|
|
#cowebsite-close{
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#cowebsite-fullscreen{
|
2021-03-18 15:05:15 +01:00
|
|
|
right: 45px;
|
2021-03-18 12:37:05 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|