2022-11-22 16:24:55 -06:00
|
|
|
/* UI Floating Windows */
|
|
|
|
.floating-window {
|
|
|
|
position: fixed;
|
|
|
|
width: 250px;
|
|
|
|
height: auto;
|
|
|
|
z-index: 999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.floating-window-title {
|
|
|
|
cursor: move;
|
|
|
|
background-color: rgba(104, 104, 104, 0.75);
|
|
|
|
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
margin-bottom: auto;
|
|
|
|
font-size: 1.5em;
|
|
|
|
color: black;
|
|
|
|
text-align: center;
|
|
|
|
border-top-left-radius: 10px;
|
|
|
|
border-top-right-radius: 10px;
|
|
|
|
border: solid;
|
|
|
|
border-bottom: none;
|
|
|
|
border-color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draggable {
|
|
|
|
cursor: move;
|
|
|
|
}
|
2022-11-23 22:53:14 -06:00
|
|
|
|
|
|
|
/* Slider Input */
|
|
|
|
div.slider-wrapper {
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.slider-wrapper {
|
|
|
|
position: relative;
|
|
|
|
height: 20px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.slider-wrapper * {
|
|
|
|
height: 20px;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.slider-wrapper > * {
|
|
|
|
position: absolute;
|
|
|
|
padding: inherit;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.slider-wrapper > div.under {
|
|
|
|
display: flex;
|
|
|
|
background-color: var(--c-primary-accent);
|
|
|
|
}
|
|
|
|
div.slider-wrapper > div.under > div:first-child {
|
|
|
|
background-color: var(--c-primary);
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
div.slider-wrapper > div.under > div:last-child {
|
|
|
|
flex: 1;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
div.slider-wrapper > div.under > * {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.slider-wrapper > div.over {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.slider-wrapper > input.text {
|
|
|
|
color: var(--c-text);
|
|
|
|
|
|
|
|
flex: 1;
|
|
|
|
appearance: textfield;
|
|
|
|
border: 0px;
|
|
|
|
|
2022-12-02 04:31:55 -06:00
|
|
|
height: 100%;
|
2022-11-23 22:53:14 -06:00
|
|
|
text-align: center;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2022-12-02 23:47:47 -06:00
|
|
|
|
|
|
|
/* Select Input */
|
|
|
|
select > option:checked::after {
|
|
|
|
content: "";
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
right: 5px;
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
aspect-ratio: 1;
|
|
|
|
|
|
|
|
background-color: darkgreen;
|
|
|
|
|
|
|
|
-webkit-mask-image: url("/res/icons/check.svg");
|
|
|
|
-webkit-mask-size: contain;
|
|
|
|
mask-image: url("/res/icons/check.svg");
|
|
|
|
mask-size: contain;
|
|
|
|
}
|
2022-12-04 13:22:35 -06:00
|
|
|
/*************/
|
|
|
|
/* UI styles */
|
|
|
|
/*************/
|
|
|
|
|
|
|
|
/* The separator */
|
|
|
|
.ui.separator {
|
|
|
|
width: 80%;
|
|
|
|
margin: auto;
|
|
|
|
align-self: center;
|
|
|
|
border-top: 1px var(--c-hover) solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Icon button */
|
2022-12-06 15:28:34 -06:00
|
|
|
.ui.square {
|
2022-12-04 13:22:35 -06:00
|
|
|
aspect-ratio: 1;
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:28:34 -06:00
|
|
|
.ui.button {
|
2022-12-04 13:22:35 -06:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
2022-12-06 15:28:34 -06:00
|
|
|
color: var(--c-text);
|
|
|
|
background-color: var(--c-primary);
|
|
|
|
transition-duration: 50ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.button:hover {
|
|
|
|
background-color: var(--c-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.button:active {
|
|
|
|
background-color: var(--c-hover);
|
|
|
|
filter: brightness(120%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.button.icon {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
2022-12-04 13:22:35 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui.button.icon > *:first-child {
|
|
|
|
flex: 1;
|
|
|
|
margin: 3px;
|
|
|
|
|
2022-12-04 14:02:46 -06:00
|
|
|
-webkit-mask-position: center;
|
2022-12-04 13:22:35 -06:00
|
|
|
mask-position: center;
|
|
|
|
|
|
|
|
-webkit-mask-size: contain;
|
|
|
|
mask-size: contain;
|
|
|
|
-webkit-mask-repeat: no-repeat;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
background-color: var(--c-text);
|
|
|
|
}
|