222 lines
4.7 KiB
CSS
222 lines
4.7 KiB
CSS
|
|
.rgthree-top-messages-container {
|
|
position: fixed;
|
|
z-index: 9999;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: start;
|
|
}
|
|
|
|
.rgthree-top-messages-container > div {
|
|
position: relative;
|
|
height: fit-content;
|
|
padding: 4px;
|
|
margin-top: -100px; /* re-set by JS */
|
|
opacity: 0;
|
|
transition: all 0.33s ease-in-out;
|
|
z-index: 3;
|
|
}
|
|
.rgthree-top-messages-container > div:last-child {
|
|
z-index: 2;
|
|
}
|
|
.rgthree-top-messages-container > div:not(.-show) {
|
|
z-index: 1;
|
|
}
|
|
|
|
.rgthree-top-messages-container > div.-show {
|
|
opacity: 1;
|
|
margin-top: 0px !important;
|
|
}
|
|
|
|
.rgthree-top-messages-container > div.-show {
|
|
opacity: 1;
|
|
transform: translateY(0%);
|
|
}
|
|
|
|
.rgthree-top-messages-container > div > div {
|
|
position: relative;
|
|
background: #353535;
|
|
color: #fff;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: fit-content;
|
|
box-shadow: 0 0 10px rgba(0,0,0,0.88);
|
|
padding: 6px 12px;
|
|
border-radius: 4px;
|
|
font-family: Arial, sans-serif;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.rgthree-top-messages-container [type="warn"]::before {
|
|
content: '⚠️';
|
|
display: inline-block;
|
|
flex: 0 0 auto;
|
|
font-size: 18px;
|
|
margin-right: 4px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.rgthree-top-messages-container a {
|
|
cursor: pointer;
|
|
text-decoration: underline;
|
|
color: #fc0;
|
|
margin-left: 4px;
|
|
display: inline-block;
|
|
line-height: 1;
|
|
}
|
|
|
|
.rgthree-top-messages-container a:hover {
|
|
color: #fc0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Fix node selector being crazy long b/c of array types. */
|
|
.litegraph.litesearchbox input,
|
|
.litegraph.litesearchbox select {
|
|
max-width: 250px;
|
|
}
|
|
|
|
/* There's no reason for this z-index to be so high. It layers on top of things it shouldn't,
|
|
(like pythongssss' image gallery, the properties panel, etc.) */
|
|
.comfy-multiline-input {
|
|
z-index: 1 !important;
|
|
}
|
|
.comfy-multiline-input:focus {
|
|
z-index: 2 !important;
|
|
}
|
|
.litegraph .dialog {
|
|
z-index: 3 !important; /* This is set to 1, but goes under the multi-line inputs, so bump it. */
|
|
}
|
|
|
|
|
|
.rgthree-dialog {
|
|
outline: 0;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: #414141;
|
|
color: #FFF;
|
|
box-shadow: inset 1px 1px 0px rgba(255,255,255,0.05), inset -1px -1px 0px rgba(0,0,0,0.5), 2px 2px 20px rgb(0, 0, 0);
|
|
max-width: 800px;
|
|
box-sizing: border-box;
|
|
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.rgthree-dialog.-help::after {
|
|
content: '🛟';
|
|
font-size: 276px;
|
|
position: absolute;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
opacity: 0.15;
|
|
display: block;
|
|
width: 237px;
|
|
overflow: hidden;
|
|
height: 186px;
|
|
line-height: 1;
|
|
pointer-events: none;
|
|
z-index: -1;
|
|
}
|
|
|
|
@media (max-width: 832px) {
|
|
.rgthree-dialog {
|
|
max-width: calc(100% - 32px);
|
|
}
|
|
}
|
|
|
|
.rgthree-dialog-container-title {
|
|
font-size: 1.4em;
|
|
margin: 0;
|
|
font-weight: bold;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.rgthree-dialog-container-title small {
|
|
font-size: 0.6em;
|
|
font-weight: normal;
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.rgthree-dialog-container-content p {
|
|
font-size: 0.8em;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.rgthree-dialog-container-content ul li p {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.rgthree-dialog-container-content ul li p + p {
|
|
margin-top: .5em;
|
|
}
|
|
|
|
.rgthree-dialog-container-content ul li ul {
|
|
margin-top: .5em;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
|
|
.rgthree-dialog-container-content p code {
|
|
display: inline-block;
|
|
padding: 2px 4px;
|
|
margin: 0px 2px;
|
|
border: 1px solid rgba(255,255,255,0.25);
|
|
border-radius: 3px;
|
|
background: rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.rgthree-dialog-container-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.rgthree-dialog-container-footer button {
|
|
cursor: pointer;
|
|
border: 0;
|
|
border-radius: 0.25rem;
|
|
background: rgba(0,0,0,0.5);
|
|
color: white;
|
|
font-family: system-ui, sans-serif;
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
padding: 0.25rem 0.5rem 0.33rem;
|
|
margin: 0.25rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.litegraph.litecontextmenu .litemenu-entry.rgthree-contextmenu-item {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: start;
|
|
}
|
|
.litegraph.litecontextmenu .litemenu-entry.rgthree-contextmenu-item svg {
|
|
fill: currentColor;
|
|
width: auto;
|
|
height: 16px;
|
|
margin-right: 6px;
|
|
}
|
|
.litegraph.litecontextmenu .litemenu-entry.rgthree-contextmenu-item svg.github-star {
|
|
fill: rgb(227, 179, 65);
|
|
}
|
|
|
|
.litegraph.litecontextmenu .litemenu-entry.rgthree-contextmenu-label {
|
|
color: #dde;
|
|
background-color: #090909 !important;
|
|
margin: 0;
|
|
padding: 2px;
|
|
cursor: default;
|
|
opacity: 1;
|
|
padding: 4px;
|
|
font-weight: bold;
|
|
} |