2023-11-23 08:53:28 +00:00
|
|
|
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0");
|
|
|
|
|
|
|
|
@keyframes appear {
|
|
|
|
from {
|
|
|
|
scale: 0;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
scale: 1;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object {
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: max-content auto;
|
|
|
|
grid-gap: 0.25em;
|
|
|
|
position: fixed;
|
|
|
|
top: calc(50vh - 150px);
|
|
|
|
left: calc(50vw - 200px);
|
|
|
|
width: 400px;
|
|
|
|
height: 300px;
|
|
|
|
|
|
|
|
min-width: 10em;
|
|
|
|
min-height: 2em;
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
color: var(--accent-color-fg);
|
|
|
|
border: var(--border-style);
|
|
|
|
resize: both;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0.25em;
|
|
|
|
/* padding: 0.5em; */
|
|
|
|
transition: opacity 0.25s, scale 0.25s;
|
|
|
|
|
|
|
|
scale: 1;
|
|
|
|
opacity: 1;
|
|
|
|
animation-name: appear;
|
|
|
|
animation-duration: 0.25s;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object.unfocused {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object.closed {
|
|
|
|
scale: 0;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object.minimized {
|
|
|
|
top: auto !important;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0 !important;
|
|
|
|
max-width: 20em !important;
|
|
|
|
width: 20em !important;
|
|
|
|
min-width: 20em !important;
|
|
|
|
max-height: 2.5em !important;
|
|
|
|
height: 2.5em !important;
|
|
|
|
min-height: 2.5em !important;
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object.minimized > div.window-manager {
|
|
|
|
cursor: default !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object.minimized > iframe.window-content {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object.maximized {
|
|
|
|
top: 0 !important;
|
|
|
|
left: 0 !important;
|
|
|
|
max-width: 100vw !important;
|
|
|
|
width: 100vw !important;
|
|
|
|
min-width: 100vw !important;
|
|
|
|
max-height: 100vh !important;
|
|
|
|
height: 100vh !important;
|
|
|
|
min-height: 100vh !important;
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object.maximized > div.window-manager {
|
|
|
|
cursor: default !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object > div.window-manager {
|
|
|
|
display: grid;
|
|
|
|
width: 100%;
|
|
|
|
grid-template-columns: auto max-content;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 1.5em;
|
|
|
|
overflow: hidden;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object > div.window-manager > div {
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: content-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object > div.window-manager > div.window-manager-start {
|
|
|
|
text-align: start;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object
|
|
|
|
> div.window-manager
|
|
|
|
> div.window-manager-start
|
|
|
|
> span.window-manager-label {
|
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
line-height: 1.5em;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object > div.window-manager > div.window-manager-end {
|
|
|
|
text-align: end;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object > div.window-manager > div > button {
|
|
|
|
height: 1.5em;
|
|
|
|
width: 1.5em;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
margin-inline-start: 0.25em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: var(--border-style);
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
color: var(--accent-color-fg);
|
|
|
|
font-family: "Material Symbols Outlined";
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
font-size: 1em;
|
|
|
|
line-height: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.window-object > iframe.window-content {
|
2023-11-23 17:33:47 +00:00
|
|
|
background-color: var(--background-color);
|
2023-11-23 08:53:28 +00:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2023-11-23 17:33:47 +00:00
|
|
|
border: var(--border-style);
|
2023-11-23 08:53:28 +00:00
|
|
|
}
|