mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 07:05:43 -03:00
feat(ui): update LoRA pool widget color scheme and empty state styling
- Change primary accent color from green to blue across multiple components - Update background colors for better visual consistency - Improve empty state styling in TagsSection with better padding and background - Add box-sizing to BaseModelSection for consistent layout - Update CSS comments to reflect new color scheme
This commit is contained in:
@@ -102,7 +102,7 @@ onMounted(async () => {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.lora-pool-widget {
|
.lora-pool-widget {
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
background: var(--comfy-menu-bg, #1a1a1a);
|
background: rgba(40, 44, 52, 0.6);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -106,10 +106,10 @@ defineEmits<{
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
padding: 4px 10px;
|
padding: 4px 10px;
|
||||||
background: rgba(59, 130, 246, 0.15);
|
background: rgba(66, 153, 225, 0.15);
|
||||||
border: 1px solid rgba(59, 130, 246, 0.4);
|
border: 1px solid rgba(66, 153, 225, 0.4);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
color: #3b82f6;
|
color: #4299e1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.summary-view__badge-icon {
|
.summary-view__badge-icon {
|
||||||
|
|||||||
@@ -144,12 +144,12 @@ const toggleTag = (tag: string) => {
|
|||||||
border-color: var(--fg-color, #fff);
|
border-color: var(--fg-color, #fff);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Include variant - green when selected */
|
/* Include variant - blue when selected */
|
||||||
.tags-modal--include .tag-chip--selected,
|
.tags-modal--include .tag-chip--selected,
|
||||||
.tag-chip--selected {
|
.tag-chip--selected {
|
||||||
background: rgba(34, 197, 94, 0.2);
|
background: rgba(66, 153, 225, 0.2);
|
||||||
border-color: rgba(34, 197, 94, 0.6);
|
border-color: rgba(66, 153, 225, 0.6);
|
||||||
color: #22c55e;
|
color: #4299e1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Exclude variant - red when selected */
|
/* Exclude variant - red when selected */
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ const getCount = (name: string) => {
|
|||||||
color: var(--fg-color, #fff);
|
color: var(--fg-color, #fff);
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section__chips {
|
.section__chips {
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ const removeExclude = (path: string) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.section__column-title--include {
|
.section__column-title--include {
|
||||||
color: #22c55e;
|
color: #4299e1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section__column-title--exclude {
|
.section__column-title--exclude {
|
||||||
@@ -214,9 +214,9 @@ const removeExclude = (path: string) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.section__add-btn--include:hover {
|
.section__add-btn--include:hover {
|
||||||
background: rgba(34, 197, 94, 0.2);
|
background: rgba(66, 153, 225, 0.2);
|
||||||
border-color: #22c55e;
|
border-color: #4299e1;
|
||||||
color: #22c55e;
|
color: #4299e1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section__add-btn--exclude:hover {
|
.section__add-btn--exclude:hover {
|
||||||
|
|||||||
@@ -104,8 +104,8 @@ defineEmits<{
|
|||||||
}
|
}
|
||||||
|
|
||||||
.toggle-switch--active .toggle-switch__track {
|
.toggle-switch--active .toggle-switch__track {
|
||||||
background: rgba(34, 197, 94, 0.3);
|
background: rgba(66, 153, 225, 0.3);
|
||||||
border-color: rgba(34, 197, 94, 0.6);
|
border-color: rgba(66, 153, 225, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-switch__thumb {
|
.toggle-switch__thumb {
|
||||||
@@ -122,7 +122,7 @@ defineEmits<{
|
|||||||
|
|
||||||
.toggle-switch--active .toggle-switch__thumb {
|
.toggle-switch--active .toggle-switch__thumb {
|
||||||
transform: translateX(16px);
|
transform: translateX(16px);
|
||||||
background: #22c55e;
|
background: #4299e1;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ defineEmits<{
|
|||||||
}
|
}
|
||||||
|
|
||||||
.section__column-title--include {
|
.section__column-title--include {
|
||||||
color: #22c55e;
|
color: #4299e1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section__column-title--exclude {
|
.section__column-title--exclude {
|
||||||
@@ -119,10 +119,15 @@ defineEmits<{
|
|||||||
}
|
}
|
||||||
|
|
||||||
.section__empty {
|
.section__empty {
|
||||||
padding: 6px 0;
|
width: 100%;
|
||||||
font-size: 11px;
|
padding: 8px 12px;
|
||||||
|
background: var(--comfy-input-bg, #333);
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 12px;
|
||||||
color: var(--fg-color, #fff);
|
color: var(--fg-color, #fff);
|
||||||
opacity: 0.4;
|
opacity: 0.5;
|
||||||
|
text-align: center;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section__chips {
|
.section__chips {
|
||||||
|
|||||||
@@ -82,9 +82,9 @@ const variantClass = computed(() => {
|
|||||||
|
|
||||||
/* Variants */
|
/* Variants */
|
||||||
.filter-chip--include {
|
.filter-chip--include {
|
||||||
background: rgba(34, 197, 94, 0.15);
|
background: rgba(66, 153, 225, 0.15);
|
||||||
border-color: rgba(34, 197, 94, 0.4);
|
border-color: rgba(66, 153, 225, 0.4);
|
||||||
color: #22c55e;
|
color: #4299e1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filter-chip--exclude {
|
.filter-chip--exclude {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user