2022-11-17 22:37:28 -06:00
|
|
|
* {
|
2022-11-21 05:27:21 -06:00
|
|
|
font-size: 100%;
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
2022-12-02 11:31:49 -06:00
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
textarea {
|
|
|
|
user-select: auto;
|
2022-11-17 22:37:28 -06:00
|
|
|
}
|
2022-11-27 06:54:34 -06:00
|
|
|
|
|
|
|
/* Body is stuck with no scroll */
|
2022-11-21 23:16:17 -06:00
|
|
|
body {
|
2022-11-27 06:54:34 -06:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
2022-11-21 23:16:17 -06:00
|
|
|
margin: 0px;
|
2022-11-27 06:54:34 -06:00
|
|
|
padding: 0px;
|
|
|
|
|
|
|
|
overflow: clip;
|
2022-11-21 06:05:57 -06:00
|
|
|
}
|
2022-11-17 22:37:28 -06:00
|
|
|
|
2022-12-07 21:26:37 -06:00
|
|
|
.invisible {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2022-11-19 15:48:12 -06:00
|
|
|
.collapsible {
|
2022-11-21 05:27:21 -06:00
|
|
|
background-color: rgb(0, 0, 0);
|
|
|
|
color: rgb(255, 255, 255);
|
|
|
|
border-radius: 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
text-align: center;
|
|
|
|
outline: none;
|
2022-12-11 16:30:17 -06:00
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapsible {
|
|
|
|
background-color: var(--c-primary);
|
|
|
|
|
|
|
|
margin-bottom: 2px;
|
2022-11-21 05:27:21 -06:00
|
|
|
margin-top: 5px;
|
2022-12-11 16:30:17 -06:00
|
|
|
|
|
|
|
transition-duration: 50ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapsible::before {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
width: 21px;
|
|
|
|
height: 21px;
|
|
|
|
|
|
|
|
background-color: var(--c-text);
|
2022-12-18 17:50:40 -06:00
|
|
|
mask-image: url("../res/icons/chevron-up.svg");
|
|
|
|
-webkit-mask-image: url("../res/icons/chevron-up.svg");
|
2022-12-11 16:30:17 -06:00
|
|
|
mask-size: contain;
|
|
|
|
-webkit-mask-size: contain;
|
|
|
|
rotate: 90deg;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapsible.active::before {
|
|
|
|
rotate: 180deg;
|
2022-11-19 15:48:12 -06:00
|
|
|
}
|
|
|
|
|
2022-12-08 15:23:17 -06:00
|
|
|
.display-none {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-11-19 15:48:12 -06:00
|
|
|
.collapsible:hover {
|
2022-12-11 16:30:17 -06:00
|
|
|
background-color: var(--c-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapsible:active {
|
|
|
|
filter: brightness(110%);
|
2022-11-19 15:48:12 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
2022-11-21 05:27:21 -06:00
|
|
|
max-height: 0;
|
2022-11-25 17:27:44 -06:00
|
|
|
overflow-y: clip;
|
|
|
|
overflow-x: visible;
|
2023-08-12 13:43:44 -05:00
|
|
|
transition:
|
|
|
|
max-height 0.2s ease-out,
|
|
|
|
height 0s ease-out;
|
2022-11-16 16:52:11 -06:00
|
|
|
}
|
|
|
|
|
2022-11-22 16:24:55 -06:00
|
|
|
.menu-container {
|
2022-11-21 05:27:21 -06:00
|
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
|
|
|
|
color: black;
|
|
|
|
border: solid;
|
|
|
|
border-top: none;
|
|
|
|
border-color: black;
|
|
|
|
font-size: medium;
|
|
|
|
text-align: left;
|
|
|
|
max-height: fit-content;
|
2022-11-24 21:34:34 -06:00
|
|
|
overflow: visible;
|
2022-11-21 05:27:21 -06:00
|
|
|
cursor: auto;
|
2022-11-19 15:48:12 -06:00
|
|
|
}
|
|
|
|
|
2022-12-07 21:26:37 -06:00
|
|
|
#page-overlay-wrapper {
|
|
|
|
position: fixed;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
|
|
|
|
background-color: #fff6;
|
|
|
|
backdrop-filter: blur(5px);
|
|
|
|
|
|
|
|
transition-duration: 50ms;
|
|
|
|
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-overlay-window {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
2023-08-12 13:42:34 -05:00
|
|
|
min-width: 400px;
|
|
|
|
width: 400px;
|
|
|
|
min-height: 260px;
|
|
|
|
height: 260px;
|
2023-01-29 11:43:18 -06:00
|
|
|
|
2022-12-07 21:26:37 -06:00
|
|
|
color: var(--c-text);
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
margin: auto;
|
|
|
|
|
|
|
|
background-color: var(--c-primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-overlay-window .close {
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
|
|
|
|
margin: 5px;
|
|
|
|
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
|
2022-12-18 17:50:40 -06:00
|
|
|
-webkit-mask-image: url("../res/icons/x.svg");
|
|
|
|
mask-image: url("../res/icons/x.svg");
|
2022-12-07 21:26:37 -06:00
|
|
|
|
|
|
|
background-color: var(--c-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-overlay-window .close:hover {
|
|
|
|
transform: scale(1.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-overlay-window .title {
|
|
|
|
padding: 10px;
|
|
|
|
padding-top: 7px;
|
|
|
|
|
|
|
|
font-size: large;
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
margin: auto;
|
|
|
|
|
|
|
|
background-color: var(--c-primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
#page-overlay {
|
|
|
|
border: 0;
|
|
|
|
|
2023-03-30 17:49:59 -05:00
|
|
|
min-height: 200px;
|
|
|
|
max-height: 600px;
|
2022-12-07 21:26:37 -06:00
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2022-11-26 19:35:16 -06:00
|
|
|
/* Mask colors for mask inversion */
|
|
|
|
/* Filters are some magic acquired at https://codepen.io/sosuke/pen/Pjoqqp */
|
2022-11-29 14:55:25 -06:00
|
|
|
.mask-canvas {
|
2022-11-26 19:35:16 -06:00
|
|
|
opacity: 0%;
|
|
|
|
}
|
|
|
|
|
2022-11-29 14:55:25 -06:00
|
|
|
.mask-canvas.display {
|
2022-11-26 19:35:16 -06:00
|
|
|
opacity: 40%;
|
|
|
|
filter: invert(100%);
|
|
|
|
}
|
|
|
|
|
2022-11-29 14:55:25 -06:00
|
|
|
.mask-canvas.display.opaque {
|
2022-11-26 20:00:41 -06:00
|
|
|
opacity: 100%;
|
|
|
|
}
|
|
|
|
|
2022-11-29 14:55:25 -06:00
|
|
|
.mask-canvas.display.clear {
|
2022-11-26 19:35:16 -06:00
|
|
|
filter: invert(71%) sepia(46%) saturate(6615%) hue-rotate(321deg)
|
|
|
|
brightness(106%) contrast(100%);
|
|
|
|
}
|
|
|
|
|
2022-11-29 14:55:25 -06:00
|
|
|
.mask-canvas.display.hold {
|
2022-11-26 19:35:16 -06:00
|
|
|
filter: invert(41%) sepia(16%) saturate(5181%) hue-rotate(218deg)
|
|
|
|
brightness(103%) contrast(108%);
|
2022-11-19 22:10:20 -06:00
|
|
|
}
|
|
|
|
|
2022-12-01 20:31:49 -06:00
|
|
|
.wideSelect {
|
2022-11-25 17:27:44 -06:00
|
|
|
width: 100%;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2022-11-26 10:10:37 -06:00
|
|
|
/* Host input */
|
|
|
|
.host-field-wrapper {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
|
2022-12-02 11:31:49 -06:00
|
|
|
align-items: stretch;
|
2022-11-26 10:10:37 -06:00
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-01-26 18:35:33 -06:00
|
|
|
.host-field-wrapper > .host-field {
|
|
|
|
display: flex;
|
2022-12-02 11:31:49 -06:00
|
|
|
width: calc(100% - 15px);
|
2023-01-26 18:35:33 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.host-field-wrapper > .host-field > .label {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-bottom-left-radius: 5px;
|
2022-12-02 11:31:49 -06:00
|
|
|
|
2023-01-26 18:35:33 -06:00
|
|
|
background-color: var(--c-primary);
|
|
|
|
color: var(--c-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.host-field-wrapper input {
|
2022-11-26 10:10:37 -06:00
|
|
|
display: block;
|
2023-01-26 18:35:33 -06:00
|
|
|
min-width: 0;
|
2022-12-02 11:31:49 -06:00
|
|
|
|
|
|
|
border: 0;
|
2022-11-26 10:10:37 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.host-field-wrapper .connection-status {
|
|
|
|
width: 15px;
|
|
|
|
|
2022-12-02 11:31:49 -06:00
|
|
|
position: absolute;
|
|
|
|
left: calc(100% - 15px);
|
2022-11-26 10:10:37 -06:00
|
|
|
|
2022-12-02 11:31:49 -06:00
|
|
|
border-top-right-radius: 5px;
|
|
|
|
border-bottom-right-radius: 5px;
|
|
|
|
|
|
|
|
box-sizing: inherit;
|
2022-11-26 10:10:37 -06:00
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
2022-12-02 11:31:49 -06:00
|
|
|
transition-duration: 50ms;
|
|
|
|
|
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
2022-11-26 10:10:37 -06:00
|
|
|
|
2022-12-02 11:31:49 -06:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.host-field-wrapper .connection-status:active,
|
2022-11-26 10:10:37 -06:00
|
|
|
.host-field-wrapper .connection-status:hover {
|
2022-12-02 11:31:49 -06:00
|
|
|
width: fit-content;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 6px;
|
2022-11-26 10:10:37 -06:00
|
|
|
|
2022-12-02 11:31:49 -06:00
|
|
|
filter: brightness(110%);
|
2022-11-26 10:10:37 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.host-field-wrapper .connection-status:active {
|
2022-12-02 11:31:49 -06:00
|
|
|
filter: brightness(80%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.host-field-wrapper .connection-status > #connection-status-indicator-text {
|
|
|
|
opacity: 0%;
|
|
|
|
transition-duration: 20ms;
|
|
|
|
}
|
2022-11-26 10:10:37 -06:00
|
|
|
|
2022-12-02 11:31:49 -06:00
|
|
|
.host-field-wrapper
|
|
|
|
.connection-status:hover
|
|
|
|
> #connection-status-indicator-text {
|
|
|
|
opacity: 100%;
|
2022-11-26 10:10:37 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.host-field-wrapper .connection-status.online {
|
|
|
|
background-color: #49dd49;
|
2022-12-02 11:31:49 -06:00
|
|
|
color: #1f3f1f;
|
2022-11-26 10:10:37 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.host-field-wrapper .connection-status.offline {
|
|
|
|
background-color: #dd4949;
|
2022-12-02 11:31:49 -06:00
|
|
|
color: #3f1f1f;
|
2022-11-26 10:10:37 -06:00
|
|
|
}
|
|
|
|
|
2022-12-10 18:46:14 -06:00
|
|
|
.host-field-wrapper .connection-status.webui-issue {
|
2022-11-26 10:10:37 -06:00
|
|
|
background-color: #dddd49;
|
2022-12-02 11:31:49 -06:00
|
|
|
color: #3f3f1f;
|
2022-11-26 10:10:37 -06:00
|
|
|
}
|
|
|
|
|
2022-11-30 15:47:30 -06:00
|
|
|
.host-field-wrapper .connection-status.before {
|
|
|
|
background-color: #777;
|
2022-12-02 11:31:49 -06:00
|
|
|
color: #1f1f1f;
|
2022-11-30 15:47:30 -06:00
|
|
|
}
|
|
|
|
|
2022-11-26 10:10:37 -06:00
|
|
|
input#host {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2022-12-30 05:26:28 -06:00
|
|
|
/* Model Select */
|
|
|
|
#models-ac-select option {
|
|
|
|
background-color: #fcc;
|
|
|
|
}
|
|
|
|
|
|
|
|
#models-ac-select option.inpainting {
|
|
|
|
background-color: #cfc;
|
|
|
|
}
|
|
|
|
|
2022-12-07 21:26:37 -06:00
|
|
|
/* Settings button */
|
|
|
|
.ui.icon.header-button {
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.icon.header-button > *:first-child {
|
|
|
|
background-color: black;
|
|
|
|
|
|
|
|
-webkit-mask-size: contain;
|
|
|
|
mask-size: contain;
|
|
|
|
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
transition-duration: 30ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.icon.header-button:hover > *:last-child {
|
|
|
|
transform: scale(1.1);
|
|
|
|
}
|
|
|
|
|
2022-11-25 17:27:44 -06:00
|
|
|
/* Prompt Fields */
|
|
|
|
|
2022-12-12 15:25:32 -06:00
|
|
|
.content.prompt {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content.prompt > .inputs {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
2022-11-25 17:27:44 -06:00
|
|
|
div.prompt-wrapper {
|
2022-12-12 15:25:32 -06:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
width: calc(100%);
|
|
|
|
|
2022-11-25 17:27:44 -06:00
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
2022-12-12 15:25:32 -06:00
|
|
|
div.prompt-wrapper > * {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.prompt-wrapper textarea {
|
2022-11-25 17:27:44 -06:00
|
|
|
margin: 0;
|
2022-12-12 15:25:32 -06:00
|
|
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.prompt-wrapper:not(:first-child) textarea {
|
|
|
|
border-top: 1px solid black;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.prompt-wrapper > textarea {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: calc(100% - 20px);
|
|
|
|
|
|
|
|
padding: 2px;
|
|
|
|
|
|
|
|
transition-duration: 200ms;
|
2022-11-25 17:27:44 -06:00
|
|
|
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.prompt-wrapper > textarea:focus {
|
|
|
|
width: 700px;
|
|
|
|
}
|
2022-11-26 20:00:41 -06:00
|
|
|
|
2022-12-12 15:25:32 -06:00
|
|
|
div.prompt-wrapper > .prompt-indicator {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
cursor: help;
|
|
|
|
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.prompt-wrapper:first-child > .prompt-indicator {
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.prompt-wrapper:last-child > .prompt-indicator {
|
|
|
|
border-bottom-left-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.prompt-wrapper > .prompt-indicator.positive {
|
|
|
|
background-color: #484;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.prompt-wrapper > .prompt-indicator.negative {
|
|
|
|
background-color: #844;
|
|
|
|
}
|
|
|
|
div.prompt-wrapper > .prompt-indicator.styles {
|
|
|
|
background-color: #448;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.prompt-wrapper > .prompt-indicator::after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
|
|
|
|
background-color: var(--c-text);
|
|
|
|
|
|
|
|
mask-size: contain;
|
|
|
|
-webkit-mask-size: contain;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.prompt-wrapper > .prompt-indicator.positive::after {
|
2022-12-18 17:50:40 -06:00
|
|
|
mask-image: url("../res/icons/plus-square.svg");
|
|
|
|
-webkit-mask-image: url("../res/icons/plus-square.svg");
|
2022-12-12 15:25:32 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
div.prompt-wrapper > .prompt-indicator.negative::after {
|
2022-12-18 17:50:40 -06:00
|
|
|
mask-image: url("../res/icons/minus-square.svg");
|
|
|
|
-webkit-mask-image: url("../res/icons/minus-square.svg");
|
2022-12-12 15:25:32 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
div.prompt-wrapper > .prompt-indicator.styles::after {
|
2022-12-18 17:50:40 -06:00
|
|
|
mask-image: url("../res/icons/library.svg");
|
|
|
|
-webkit-mask-image: url("../res/icons/library.svg");
|
2022-12-12 15:25:32 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.prompt-history-wrapper {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prompt-history-container {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#prompt-history {
|
|
|
|
width: 0px;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
transition-duration: 200ms;
|
|
|
|
|
|
|
|
background-color: #1e1e50;
|
|
|
|
}
|
|
|
|
|
|
|
|
#prompt-history.expanded {
|
|
|
|
width: 300px;
|
2022-12-20 08:45:23 -06:00
|
|
|
overflow-y: auto;
|
2022-12-12 15:25:32 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#prompt-history .entry {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
border: 1px #fff3;
|
|
|
|
|
|
|
|
height: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#prompt-history.expanded .entry > button {
|
|
|
|
padding: 2px;
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#prompt-history .entry > button {
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
color: var(--c-text);
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
transition-duration: 100ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
#prompt-history .entry:hover > button:not(:hover) {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
flex-basis: 20%;
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#prompt-history .entry > button.prompt {
|
|
|
|
background-color: #484;
|
|
|
|
}
|
|
|
|
|
|
|
|
#prompt-history .entry > button.negative {
|
|
|
|
background-color: #844;
|
|
|
|
}
|
|
|
|
|
|
|
|
#prompt-history .entry > button.styles {
|
|
|
|
background-color: #448;
|
|
|
|
}
|
|
|
|
|
|
|
|
#prompt-history .entry > button:hover {
|
|
|
|
filter: brightness(115%);
|
|
|
|
backdrop-filter: brightness(115%);
|
|
|
|
}
|
|
|
|
|
|
|
|
#prompt-history .entry > button:active {
|
|
|
|
filter: brightness(150%);
|
|
|
|
backdrop-filter: brightness(150%);
|
|
|
|
}
|
|
|
|
|
|
|
|
button.prompt-history-btn {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
border-top-right-radius: 5px;
|
|
|
|
border-bottom-right-radius: 5px;
|
|
|
|
|
|
|
|
background-color: #1e1e50;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.prompt-history-btn::after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
|
|
|
|
background-color: var(--c-text);
|
|
|
|
|
|
|
|
mask-size: contain;
|
|
|
|
-webkit-mask-size: contain;
|
|
|
|
|
2022-12-18 17:50:40 -06:00
|
|
|
mask-image: url("../res/icons/history.svg");
|
|
|
|
-webkit-mask-image: url("../res/icons/history.svg");
|
2022-12-12 15:25:32 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
button.prompt-history-btn:hover {
|
|
|
|
filter: brightness(115%);
|
|
|
|
}
|
|
|
|
|
|
|
|
button.prompt-history-btn:active {
|
|
|
|
filter: brightness(150%);
|
|
|
|
}
|
|
|
|
|
2022-12-02 11:31:49 -06:00
|
|
|
/* Style Field */
|
|
|
|
select > .style-select-option {
|
2022-12-03 17:00:10 -06:00
|
|
|
position: relative;
|
|
|
|
|
2022-12-02 11:31:49 -06:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
select > .style-select-option:hover {
|
|
|
|
background-color: #999;
|
|
|
|
}
|
|
|
|
|
|
|
|
select > .style-select-option:active {
|
|
|
|
background-color: #aaa;
|
|
|
|
}
|
|
|
|
|
2022-11-26 20:00:41 -06:00
|
|
|
/* Tool buttons */
|
|
|
|
.button-array {
|
|
|
|
display: flex;
|
|
|
|
justify-content: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-array > .button.tool {
|
|
|
|
flex: 1;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-array > .button.tool:first-child {
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-bottom-left-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-array > .button.tool:last-child {
|
|
|
|
border-top-right-radius: 5px;
|
|
|
|
border-bottom-right-radius: 5px;
|
|
|
|
}
|
|
|
|
|
2022-11-28 09:17:07 -06:00
|
|
|
.button.tool {
|
2022-11-26 20:00:41 -06:00
|
|
|
background-color: rgb(0, 0, 50);
|
|
|
|
color: rgb(255, 255, 255);
|
|
|
|
cursor: pointer;
|
|
|
|
border: none;
|
|
|
|
text-align: center;
|
|
|
|
outline: none;
|
|
|
|
font-size: 15px;
|
|
|
|
padding: 5px;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
2022-11-28 09:17:07 -06:00
|
|
|
.button.tool:disabled {
|
2022-11-26 20:00:41 -06:00
|
|
|
background-color: #666 !important;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2022-11-28 09:17:07 -06:00
|
|
|
.button.tool:hover {
|
2022-11-26 20:00:41 -06:00
|
|
|
background-color: rgb(30, 30, 80);
|
|
|
|
}
|
2022-11-28 09:17:07 -06:00
|
|
|
.button.tool:active,
|
2022-11-26 20:00:41 -06:00
|
|
|
.button.tool.active {
|
|
|
|
background-color: rgb(60, 60, 130);
|
|
|
|
}
|
2023-01-04 20:00:51 -06:00
|
|
|
|
|
|
|
/* Miscellaneous garbage */
|
|
|
|
|
|
|
|
.thirdwidth {
|
|
|
|
max-width: 33%;
|
|
|
|
}
|
2023-01-15 10:31:27 -06:00
|
|
|
|
|
|
|
.refreshbutton {
|
|
|
|
max-width: 50%;
|
|
|
|
max-height: 50%;
|
|
|
|
}
|