File size: 3,810 Bytes
6242a59 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 |
@tailwind components;
@tailwind utilities;
@layer components {
.ts-search {
@apply relative w-full max-w-xs ml-auto;
}
.ts-search-input {
@apply bg-gray-50 border border-gray-300 text-gray-900 text-sm !rounded-md focus:ring-blue-500 focus:border-blue-500 block !pl-10 !p-2 w-full dark:!bg-gray-700 dark:!border-gray-600 dark:!placeholder-gray-400 dark:!text-white dark:focus:ring-blue-500 dark:focus:border-blue-500;
}
.ts-search-icon {
@apply absolute inset-y-0 left-0 flex items-center dark:text-white pl-3 pointer-events-none;
}
.ts-btn-action {
@apply inline-flex items-center !px-2 !py-1 !m-0 text-sm font-medium border focus:z-10 focus:ring-2 disabled:opacity-50 disabled:hover:!bg-transparent disabled:cursor-not-allowed;
}
.ts-btn-run {
@apply !text-green-500 hover:!text-white border-green-500 hover:bg-green-600 rounded-l-md focus:ring-green-400 dark:border-green-500 dark:hover:bg-green-600 dark:focus:ring-green-900 disabled:hover:!text-green-500;
}
.ts-btn-delete {
@apply !text-red-500 hover:!text-white border-red-600 hover:bg-red-600 rounded-r-md focus:ring-red-300 dark:border-red-500 dark:hover:bg-red-600 dark:focus:ring-red-900;
}
@keyframes blink {
from,
to {
opacity: 0;
}
50% {
opacity: 1;
}
}
.task-running {
@apply !text-green-500;
animation: 1s blink ease infinite;
}
}
/* ========================================================================= */
#agent_scheduler_pending_tasks_wrapper {
gap: var(--layout-gap);
border: none;
box-shadow: none;
border-width: 0;
}
@media (max-width: 1024px) {
#agent_scheduler_pending_tasks_wrapper {
flex-wrap: wrap;
}
}
#agent_scheduler_pending_tasks_wrapper > div:last-child {
width: 100%;
max-width: 400px;
}
@media (min-width: 1920px) {
#agent_scheduler_pending_tasks_wrapper > div:last-child {
max-width: 512px;
}
}
#agent_scheduler_current_task_images {
width: 100%;
padding-top: 100%;
position: relative;
}
#agent_scheduler_current_task_images > div {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
}
#agent_scheduler_pending_tasks_wrapper {
justify-content: flex-end;
gap: var(--layout-gap);
padding: 0 var(--layout-gap) var(--layout-gap) var(--layout-gap);
}
#agent_scheduler_pending_tasks_wrapper > button {
flex: 0 0 auto;
}
#agent_scheduler_actions {
display: flex;
gap: var(--layout-gap);
}
#agent_scheduler_actions > button {
border-radius: var(--radius-lg) !important;
}
.ag-theme-alpine,
.ag-theme-alpine-dark {
--ag-row-height: 45px;
--ag-header-height: 45px;
/* --ag-grid-size: 6px; */
--ag-cell-horizontal-padding: calc(var(--ag-grid-size) * 2);
--body-text-color: 'inherit';
}
.cell-span {
border-bottom-color: var(--ag-border-color);
}
.cell-not-span {
opacity: 0;
}
.ag-row-hover .ag-cell {
background-color: transparent;
}
#txt2img_enqueue_wrapper,
#img2img_enqueue_wrapper {
min-width: 210px;
display: flex;
flex-direction: column;
gap: calc(var(--layout-gap) / 2);
}
#txt2img_enqueue_wrapper > div:first-child,
#img2img_enqueue_wrapper > div:first-child {
flex-direction: row;
flex-wrap: nowrap;
align-items: flex-start;
flex: 0 0 auto;
}
#txt2img_enqueue_wrapper .gradio-button,
#img2img_enqueue_wrapper .gradio-button,
#txt2img_enqueue_wrapper .gradio-dropdown .wrap-inner,
#img2img_enqueue_wrapper .gradio-dropdown .wrap-inner {
min-height: 36px;
max-height: 42px;
}
#img2img_toprow .interrogate-col.has-queue-button {
min-width: unset !important;
flex-direction: row !important;
gap: calc(var(--layout-gap) / 2) !important;
}
#img2img_toprow .interrogate-col.has-queue-button button {
margin: 0;
}
#agent_scheduler_current_task_progress .livePreview {
margin: 0;
}
|