147 lines
2.8 KiB
CSS
147 lines
2.8 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Gabarito&display=swap');
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
.comfy-normal-modal {
|
|
display: none; /* Hidden by default */
|
|
position: fixed; /* Stay in place */
|
|
z-index: 100; /* Sit on top */
|
|
padding: 30px 30px 10px 30px;
|
|
background-color: var(--comfy-menu-bg); /* Modal background */
|
|
box-shadow: 0 0 20px #888888;
|
|
border-radius: 10px;
|
|
top: 50%;
|
|
left: 50%;
|
|
max-width: 80vw;
|
|
max-height: 80vh;
|
|
transform: translate(-50%, -50%);
|
|
overflow: hidden;
|
|
justify-content: center;
|
|
font-family: monospace;
|
|
font-size: 15px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.comfy-normal-modal p {
|
|
overflow: auto;
|
|
white-space: pre-line; /* This will respect line breaks */
|
|
margin-bottom: 20px; /* Add some margin between the text and the close button*/
|
|
}
|
|
|
|
.comfy-normal-modal a {
|
|
text-decoration-line: underline;
|
|
}
|
|
|
|
.comfy-normal-modal button {
|
|
font-size: 20px;
|
|
color: var(--input-text);
|
|
background-color: var(--comfy-input-bg);
|
|
border-radius: 8px;
|
|
border-color: var(--border-color);
|
|
border-style: solid;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.comfy-normal-modal button:hover {
|
|
filter: brightness(1.2);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sharebtn {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.popup ~ .litecontextmenu {
|
|
transform: scale(1.3);
|
|
}
|
|
|
|
.dropdownbtn {
|
|
font-size: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
width: 24px;
|
|
height: 30px;
|
|
justify-content: center;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-top-right-radius: 0.375rem;
|
|
border-bottom-right-radius: 0.375rem;
|
|
}
|
|
|
|
.dropdownbtn:hover {
|
|
filter: brightness(1.6);
|
|
background-color: var(--comfy-menu-bg);
|
|
}
|
|
|
|
.comfy-menu > button,
|
|
.comfy-menu-btns button,
|
|
.comfy-menu .comfy-list button,
|
|
.comfy-modal button {
|
|
color: var(--input-text);
|
|
background-color: var(--comfy-input-bg);
|
|
border-radius: 8px;
|
|
border-color: var(--border-color);
|
|
border-style: solid;
|
|
margin-top: 2px;
|
|
border-width: 2px;
|
|
}
|
|
|
|
.comfy-menu > button:hover,
|
|
.comfy-menu-btns button:hover,
|
|
.comfy-menu .comfy-list button:hover,
|
|
.comfy-modal button:hover,
|
|
.comfy-settings-btn:hover {
|
|
filter: brightness(1.2);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.comfy-list {
|
|
color: var(--descrip-text);
|
|
background-color: var(--comfy-menu-bg);
|
|
margin-bottom: 10px;
|
|
border-color: var(--border-color);
|
|
border-style: solid;
|
|
border-width: 3px;
|
|
}
|
|
|
|
.comfy-list-items {
|
|
overflow-y: scroll;
|
|
max-height: 100px;
|
|
min-height: 25px;
|
|
background-color: var(--comfy-input-bg);
|
|
padding: 5px;
|
|
}
|
|
|
|
.comfy-list h4 {
|
|
min-width: 160px;
|
|
margin: 0;
|
|
padding: 3px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.comfy-list-items button {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.comfy-list-actions {
|
|
margin: 5px;
|
|
display: flex;
|
|
gap: 5px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.comfy-list-actions button {
|
|
font-size: 12px;
|
|
}
|
|
|
|
img {
|
|
display: none;
|
|
}
|
|
|
|
|
|
img[src] {
|
|
display: block;
|
|
}
|