mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 10:42:44 +00:00
[Manager] Update PackCard styling to match Figma design (#4164)
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<Card
|
<Card
|
||||||
class="w-full h-full inline-flex flex-col justify-between items-start overflow-hidden rounded-2xl shadow-elevation-3 dark-theme:bg-dark-elevation-2 transition-all duration-200"
|
class="w-full h-full inline-flex flex-col justify-between items-start overflow-hidden rounded-lg shadow-elevation-3 dark-theme:bg-dark-elevation-2 transition-all duration-200"
|
||||||
:class="{
|
:class="{
|
||||||
'selected-card': isSelected,
|
'selected-card': isSelected,
|
||||||
'opacity-60': isDisabled
|
'opacity-60': isDisabled
|
||||||
}"
|
}"
|
||||||
:pt="{
|
:pt="{
|
||||||
body: { class: 'p-0 flex flex-col w-full h-full rounded-2xl gap-0' },
|
body: { class: 'p-0 flex flex-col w-full h-full rounded-lg gap-0' },
|
||||||
content: { class: 'flex-1 flex flex-col rounded-2xl min-h-0' },
|
content: { class: 'flex-1 flex flex-col rounded-lg min-h-0' },
|
||||||
title: { class: 'w-full h-full rounded-t-lg cursor-pointer' },
|
title: { class: 'w-full h-full rounded-t-lg cursor-pointer' },
|
||||||
footer: { class: 'p-0 m-0' }
|
footer: { class: 'p-0 m-0' }
|
||||||
}"
|
}"
|
||||||
@@ -171,8 +171,8 @@ const formattedLatestVersionDate = computed(() => {
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
border: 6px solid var(--p-primary-color);
|
border: 3px solid var(--p-primary-color);
|
||||||
border-radius: 1rem;
|
border-radius: 0.5rem;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user