mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
refactor: remove unnecessary border and border-radius styles across various components
- Removed border and border-radius styles from SubscribeCard, CategoryEditDialog, ContentToggleSettingsDialog, DiscoverTabOrderDialog, ForkWorkflowDialog, OfflineStatusDialog, PluginMarketSettingDialog, ReorganizeDialog, SearchBarDialog, SiteImportDialog, SiteResourceDialog, SiteStatisticsDialog, WorkflowActionsDialog, TorrentFilterBar, and several setup views. - Updated common.scss to introduce new variables for surface radius and border styles. - Adjusted component styles to utilize new app surface styles for consistency.
This commit is contained in:
@@ -177,10 +177,7 @@ const instructions = computed(() => {
|
|||||||
.pwa-install-banner {
|
.pwa-install-banner {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background: rgb(var(--v-theme-surface));
|
background: rgb(var(--v-theme-surface));
|
||||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 10%);
|
|
||||||
inset-block-end: 5rem;
|
inset-block-end: 5rem;
|
||||||
inset-inline: 20px;
|
inset-inline: 20px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -288,7 +288,7 @@ async function handleResetSettings() {
|
|||||||
v-bind="customizerContainerProps"
|
v-bind="customizerContainerProps"
|
||||||
:style="customizerContainerStyle"
|
:style="customizerContainerStyle"
|
||||||
>
|
>
|
||||||
<div class="theme-customizer-panel" :class="{ 'theme-customizer-panel--dialog': appMode }">
|
<div class="theme-customizer-panel" :class="{ 'theme-customizer-panel--dialog': appMode, 'app-surface': appMode }">
|
||||||
<div class="theme-customizer-header py-5 px-4">
|
<div class="theme-customizer-header py-5 px-4">
|
||||||
<div>
|
<div>
|
||||||
<h2 class="theme-customizer-title">{{ t('theme.customizer.title') }}</h2>
|
<h2 class="theme-customizer-title">{{ t('theme.customizer.title') }}</h2>
|
||||||
@@ -531,8 +531,6 @@ async function handleResetSettings() {
|
|||||||
|
|
||||||
.theme-customizer-panel--dialog {
|
.theme-customizer-panel--dialog {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid rgba(var(--v-theme-on-surface), 0.08);
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background: rgb(var(--v-theme-surface));
|
background: rgb(var(--v-theme-surface));
|
||||||
block-size: var(--theme-customizer-viewport-height, 100dvh);
|
block-size: var(--theme-customizer-viewport-height, 100dvh);
|
||||||
max-block-size: var(--theme-customizer-viewport-height, 100dvh);
|
max-block-size: var(--theme-customizer-viewport-height, 100dvh);
|
||||||
|
|||||||
@@ -71,92 +71,69 @@ async function deleteDownload() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div v-if="cardState" class="downloading-card-shadow-shell">
|
<VCard
|
||||||
<VCard
|
v-if="cardState"
|
||||||
:key="props.info?.hash"
|
:key="props.info?.hash"
|
||||||
class="downloading-card flex flex-col h-full overflow-hidden"
|
class="downloading-card flex flex-col h-full overflow-hidden"
|
||||||
min-height="150"
|
min-height="150"
|
||||||
>
|
>
|
||||||
<template #image>
|
<template #image>
|
||||||
<VImg
|
<VImg
|
||||||
:src="props.info?.media.image"
|
:src="props.info?.media.image"
|
||||||
class="downloading-card-image"
|
class="downloading-card-image"
|
||||||
aspect-ratio="2/3"
|
aspect-ratio="2/3"
|
||||||
cover
|
cover
|
||||||
@load="imageLoadHandler"
|
@load="imageLoadHandler"
|
||||||
position="top"
|
position="top"
|
||||||
>
|
>
|
||||||
<template #placeholder>
|
<template #placeholder>
|
||||||
<div class="w-full h-full">
|
<div class="w-full h-full">
|
||||||
<VSkeletonLoader class="object-cover aspect-w-2 aspect-h-3" />
|
<VSkeletonLoader class="object-cover aspect-w-2 aspect-h-3" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #default>
|
<template #default>
|
||||||
<div class="absolute inset-0 outline-none downloading-card-background"></div>
|
<div class="absolute inset-0 outline-none downloading-card-background"></div>
|
||||||
</template>
|
</template>
|
||||||
</VImg>
|
</VImg>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<VCardTitle class="break-words whitespace-normal text-white">
|
<VCardTitle class="break-words whitespace-normal text-white">
|
||||||
{{ props.info?.media.title || props.info?.name }}
|
{{ props.info?.media.title || props.info?.name }}
|
||||||
{{
|
{{
|
||||||
props.info?.media.episode
|
props.info?.media.episode
|
||||||
? `${props.info?.media.season} ${props.info?.media.episode}`
|
? `${props.info?.media.season} ${props.info?.media.episode}`
|
||||||
: props.info?.season_episode
|
: props.info?.season_episode
|
||||||
}}
|
}}
|
||||||
</VCardTitle>
|
</VCardTitle>
|
||||||
|
|
||||||
<VCardSubtitle class="break-words whitespace-normal text-white">
|
<VCardSubtitle class="break-words whitespace-normal text-white">
|
||||||
{{ props.info?.title }}
|
{{ props.info?.title }}
|
||||||
</VCardSubtitle>
|
</VCardSubtitle>
|
||||||
|
|
||||||
<VCardText class="text-subtitle-1 pt-3 pb-1 text-white">
|
<VCardText class="text-subtitle-1 pt-3 pb-1 text-white">
|
||||||
{{ getSpeedText() }}
|
{{ getSpeedText() }}
|
||||||
</VCardText>
|
</VCardText>
|
||||||
|
|
||||||
<VCardText v-if="getPercentage() > 0" class="text-white">
|
<VCardText v-if="getPercentage() > 0" class="text-white">
|
||||||
<VProgressLinear :model-value="getPercentage()" bg-color="success" color="success" />
|
<VProgressLinear :model-value="getPercentage()" bg-color="success" color="success" />
|
||||||
</VCardText>
|
</VCardText>
|
||||||
|
|
||||||
<VCardActions class="justify-space-between">
|
<VCardActions class="justify-space-between">
|
||||||
<VBtn :icon="`${isDownloading ? 'mdi-pause' : 'mdi-play'}`" @click="toggleDownload" />
|
<VBtn :icon="`${isDownloading ? 'mdi-pause' : 'mdi-play'}`" @click="toggleDownload" />
|
||||||
<VBtn color="error" icon="mdi-trash-can-outline" @click="deleteDownload" />
|
<VBtn color="error" icon="mdi-trash-can-outline" @click="deleteDownload" />
|
||||||
</VCardActions>
|
</VCardActions>
|
||||||
</div>
|
</div>
|
||||||
</VCard>
|
</VCard>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
// 外层壳承载主题阴影,避免 VCard 的圆角裁切层影响阴影外扩。
|
|
||||||
.downloading-card-shadow-shell {
|
|
||||||
position: relative;
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
block-size: 100%;
|
|
||||||
box-shadow: var(--app-surface-shadow);
|
|
||||||
inline-size: 100%;
|
|
||||||
transition: border-radius 0.2s ease, box-shadow 0.2s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (hover: hover) {
|
|
||||||
.downloading-card-shadow-shell:hover {
|
|
||||||
box-shadow: var(--app-surface-hover-shadow);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.downloading-card {
|
.downloading-card {
|
||||||
position: relative;
|
position: relative;
|
||||||
isolation: isolate;
|
isolation: isolate;
|
||||||
background-color: rgb(31, 41, 55) !important;
|
background-color: rgb(31, 41, 55) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 阴影已经交给外层壳,内层卡片只负责裁切图片和内容圆角。
|
|
||||||
.downloading-card.downloading-card.v-card[class],
|
|
||||||
.downloading-card.downloading-card.v-card[class]:hover {
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 图片槽和渐变遮罩统一继承卡片圆角,避免阴影增强后四角露出页面底色。
|
// 图片槽和渐变遮罩统一继承卡片圆角,避免阴影增强后四角露出页面底色。
|
||||||
.downloading-card :deep(.v-card__image),
|
.downloading-card :deep(.v-card__image),
|
||||||
.downloading-card :deep(.v-responsive),
|
.downloading-card :deep(.v-responsive),
|
||||||
|
|||||||
@@ -593,10 +593,6 @@ function handleCardClick() {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.subscribe-card-shell {
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
}
|
|
||||||
|
|
||||||
.subscribe-card-pending-tint::after {
|
.subscribe-card-pending-tint::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
|
|||||||
@@ -638,15 +638,6 @@ onMounted(() => {
|
|||||||
cursor: grabbing;
|
cursor: grabbing;
|
||||||
}
|
}
|
||||||
|
|
||||||
.category-item {
|
|
||||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
||||||
border: 1px solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.category-item:hover {
|
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-category-btn {
|
.add-category-btn {
|
||||||
border-style: dashed !important;
|
border-style: dashed !important;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
|
|||||||
@@ -195,8 +195,6 @@ function submitSettings() {
|
|||||||
.setting-item {
|
.setting-item {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid rgba(var(--v-theme-on-surface), 0.1);
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background-color: rgba(var(--v-theme-surface-variant), 0.3);
|
background-color: rgba(var(--v-theme-surface-variant), 0.3);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding-block: 10px;
|
padding-block: 10px;
|
||||||
|
|||||||
@@ -117,8 +117,6 @@ function submitOrder() {
|
|||||||
.setting-item {
|
.setting-item {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid rgba(var(--v-theme-primary), 0.3);
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background-color: rgba(var(--v-theme-primary), 0.08);
|
background-color: rgba(var(--v-theme-primary), 0.08);
|
||||||
cursor: grab;
|
cursor: grab;
|
||||||
padding-block: 10px;
|
padding-block: 10px;
|
||||||
|
|||||||
@@ -277,8 +277,6 @@ async function doDelete() {
|
|||||||
.workflow-preview {
|
.workflow-preview {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background-color: rgba(var(--v-theme-surface), 0.8);
|
background-color: rgba(var(--v-theme-surface), 0.8);
|
||||||
block-size: 280px;
|
block-size: 280px;
|
||||||
inline-size: 240px;
|
inline-size: 240px;
|
||||||
@@ -289,8 +287,6 @@ async function doDelete() {
|
|||||||
inline-size: 100%;
|
inline-size: 100%;
|
||||||
|
|
||||||
.vue-flow__node {
|
.vue-flow__node {
|
||||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|||||||
@@ -115,10 +115,6 @@ const colorTheme = computed(() => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.offline-dialog {
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
}
|
|
||||||
|
|
||||||
.status-icon-wrapper {
|
.status-icon-wrapper {
|
||||||
padding-block: 24px 0;
|
padding-block: 24px 0;
|
||||||
padding-inline: 24px;
|
padding-inline: 24px;
|
||||||
|
|||||||
@@ -504,8 +504,6 @@ onMounted(() => {
|
|||||||
|
|
||||||
.plugin-market-list-wrap {
|
.plugin-market-list-wrap {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background: rgba(var(--v-theme-surface), 0.72);
|
background: rgba(var(--v-theme-surface), 0.72);
|
||||||
min-block-size: 0;
|
min-block-size: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
@@ -562,8 +560,6 @@ onMounted(() => {
|
|||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background: rgba(var(--v-theme-surface), 0.72);
|
background: rgba(var(--v-theme-surface), 0.72);
|
||||||
min-block-size: 0;
|
min-block-size: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -1913,8 +1913,6 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.preview-note {
|
.preview-note {
|
||||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
color: rgb(var(--v-theme-error));
|
color: rgb(var(--v-theme-error));
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
@@ -1931,8 +1929,6 @@ onUnmounted(() => {
|
|||||||
.preview-overview-card {
|
.preview-overview-card {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
gap: 0.375rem;
|
gap: 0.375rem;
|
||||||
min-inline-size: 0;
|
min-inline-size: 0;
|
||||||
padding-block: 0.875rem;
|
padding-block: 0.875rem;
|
||||||
@@ -1958,8 +1954,6 @@ onUnmounted(() => {
|
|||||||
.preview-custom-words {
|
.preview-custom-words {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
gap: 0.75rem;
|
gap: 0.75rem;
|
||||||
padding-block: 0.875rem;
|
padding-block: 0.875rem;
|
||||||
padding-inline: 1rem;
|
padding-inline: 1rem;
|
||||||
@@ -2051,8 +2045,6 @@ onUnmounted(() => {
|
|||||||
overflow: visible;
|
overflow: visible;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
margin-block-end: 1.5rem;
|
margin-block-end: 1.5rem;
|
||||||
margin-inline: 1.5rem;
|
margin-inline: 1.5rem;
|
||||||
min-block-size: 0;
|
min-block-size: 0;
|
||||||
|
|||||||
@@ -698,8 +698,6 @@ onMounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
border-radius: var(--app-surface-radius) !important;
|
|
||||||
box-shadow: 0 12px 40px rgba(0, 0, 0, 12%) !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 搜索头部区域 */
|
/* 搜索头部区域 */
|
||||||
@@ -774,7 +772,6 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.search-result-item {
|
.search-result-item {
|
||||||
border-radius: 10px !important;
|
|
||||||
margin-block-end: 2px;
|
margin-block-end: 2px;
|
||||||
transition: background-color 0.15s ease;
|
transition: background-color 0.15s ease;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ watch(selectedFile, async newFile => {
|
|||||||
<!-- 阶段1:选择文件阶段 -->
|
<!-- 阶段1:选择文件阶段 -->
|
||||||
<div v-if="currentStage === ImportStage.SELECT_FILE" class="upload-area">
|
<div v-if="currentStage === ImportStage.SELECT_FILE" class="upload-area">
|
||||||
<div
|
<div
|
||||||
class="upload-zone"
|
class="upload-zone app-surface-shape"
|
||||||
:class="{ 'dragging': isDragging }"
|
:class="{ 'dragging': isDragging }"
|
||||||
@dragover="handleDragOver"
|
@dragover="handleDragOver"
|
||||||
@dragleave="handleDragLeave"
|
@dragleave="handleDragLeave"
|
||||||
@@ -394,7 +394,6 @@ watch(selectedFile, async newFile => {
|
|||||||
.upload-zone {
|
.upload-zone {
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
border: 2px dashed #ccc;
|
border: 2px dashed #ccc;
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ onMounted(() => {
|
|||||||
|
|
||||||
<div class="pa-3 pb-2">
|
<div class="pa-3 pb-2">
|
||||||
<template v-if="!isMobileLayout">
|
<template v-if="!isMobileLayout">
|
||||||
<VSheet class="site-resource-filter-panel" rounded="lg" border>
|
<VSheet class="site-resource-filter-panel">
|
||||||
<div class="site-resource-filter-panel__inner">
|
<div class="site-resource-filter-panel__inner">
|
||||||
<VRow class="site-resource-filter-row">
|
<VRow class="site-resource-filter-row">
|
||||||
<VCol cols="12" md="4">
|
<VCol cols="12" md="4">
|
||||||
@@ -304,7 +304,7 @@ onMounted(() => {
|
|||||||
|
|
||||||
<VExpandTransition>
|
<VExpandTransition>
|
||||||
<div v-if="mobileSearchExpanded" class="mt-2">
|
<div v-if="mobileSearchExpanded" class="mt-2">
|
||||||
<VSheet class="site-resource-filter-panel" rounded="lg" border>
|
<VSheet class="site-resource-filter-panel">
|
||||||
<div class="site-resource-filter-panel__inner">
|
<div class="site-resource-filter-panel__inner">
|
||||||
<VRow class="site-resource-filter-row">
|
<VRow class="site-resource-filter-row">
|
||||||
<VCol cols="12">
|
<VCol cols="12">
|
||||||
@@ -611,11 +611,9 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.site-resource-filter-panel {
|
.site-resource-filter-panel {
|
||||||
border-color: rgba(var(--v-border-color), calc(var(--v-border-opacity) * 0.9));
|
|
||||||
background:
|
background:
|
||||||
radial-gradient(circle at top left, rgba(var(--v-theme-primary), 0.06), transparent 40%),
|
radial-gradient(circle at top left, rgba(var(--v-theme-primary), 0.06), transparent 40%),
|
||||||
linear-gradient(180deg, rgba(var(--v-theme-surface), 0.98), rgba(var(--v-theme-surface), 0.93));
|
linear-gradient(180deg, rgba(var(--v-theme-surface), 0.98), rgba(var(--v-theme-surface), 0.93));
|
||||||
box-shadow: 0 10px 24px rgba(15, 23, 42, 4%);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-resource-filter-panel__inner {
|
.site-resource-filter-panel__inner {
|
||||||
@@ -623,7 +621,7 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.site-resource-filter-input :deep(.v-field) {
|
.site-resource-filter-input :deep(.v-field) {
|
||||||
border-radius: 0.75rem;
|
border-radius: var(--app-field-radius);
|
||||||
background: rgba(var(--v-theme-surface), 0.92);
|
background: rgba(var(--v-theme-surface), 0.92);
|
||||||
box-shadow: inset 0 0 0 1px rgba(var(--v-border-color), calc(var(--v-border-opacity) * 0.8));
|
box-shadow: inset 0 0 0 1px rgba(var(--v-border-color), calc(var(--v-border-opacity) * 0.8));
|
||||||
}
|
}
|
||||||
@@ -718,8 +716,6 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.site-resource-card__meta-item {
|
.site-resource-card__meta-item {
|
||||||
border: 1px solid rgba(var(--v-border-color), calc(var(--v-border-opacity) * 0.7));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background: rgba(var(--v-theme-surface), 0.78);
|
background: rgba(var(--v-theme-surface), 0.78);
|
||||||
min-block-size: 0;
|
min-block-size: 0;
|
||||||
padding-block: 0.55rem;
|
padding-block: 0.55rem;
|
||||||
|
|||||||
@@ -391,8 +391,6 @@ onMounted(() => {
|
|||||||
|
|
||||||
.stat-card {
|
.stat-card {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
border: 1px solid var(--v-border-color);
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background: var(--v-theme-surface);
|
background: var(--v-theme-surface);
|
||||||
min-inline-size: 100px;
|
min-inline-size: 100px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -601,10 +601,7 @@ const isMacOS = computed(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
border: 1px solid rgb(var(--v-theme-primary));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background-color: rgb(var(--v-theme-surface));
|
background-color: rgb(var(--v-theme-surface));
|
||||||
box-shadow: 0 8px 24px rgba(var(--v-shadow-key-umbra-color), 0.32);
|
|
||||||
gap: 14px;
|
gap: 14px;
|
||||||
inline-size: min(360px, calc(100vw - 32px));
|
inline-size: min(360px, calc(100vw - 32px));
|
||||||
inset-block-start: 20px;
|
inset-block-start: 20px;
|
||||||
@@ -655,10 +652,7 @@ const isMacOS = computed(() => {
|
|||||||
|
|
||||||
.vue-flow__minimap {
|
.vue-flow__minimap {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background-color: rgba(var(--v-theme-surface), 0.8);
|
background-color: rgba(var(--v-theme-surface), 0.8);
|
||||||
box-shadow: 0 4px 15px rgba(var(--v-shadow-key-umbra-color), 0.1);
|
|
||||||
inset-block-end: 20px;
|
inset-block-end: 20px;
|
||||||
inset-inline-end: 20px;
|
inset-inline-end: 20px;
|
||||||
transform: scale(75%);
|
transform: scale(75%);
|
||||||
@@ -686,16 +680,12 @@ const isMacOS = computed(() => {
|
|||||||
|
|
||||||
// 自定义节点样式
|
// 自定义节点样式
|
||||||
.vue-flow__node {
|
.vue-flow__node {
|
||||||
border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
box-shadow: 0 8px 16px rgba(var(--v-shadow-key-umbra-color), 0.15) !important;
|
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
box-shadow: 0 0 0 1px rgb(var(--v-theme-primary)) !important;
|
box-shadow: 0 0 0 1px rgb(var(--v-theme-primary));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -609,8 +609,6 @@ onMounted(() => {
|
|||||||
|
|
||||||
.filter-toolbar-card {
|
.filter-toolbar-card {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid rgba(var(--v-theme-on-surface), 0.08);
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background: rgba(var(--v-theme-surface), 0.82);
|
background: rgba(var(--v-theme-surface), 0.82);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -632,11 +630,6 @@ onMounted(() => {
|
|||||||
margin-inline-end: 2px !important;
|
margin-inline-end: 2px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sort-menu-list {
|
|
||||||
border: 1px solid rgba(var(--v-theme-on-surface), 0.08);
|
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sort-menu-list :deep(.v-list-item__prepend > .v-icon) {
|
.sort-menu-list :deep(.v-list-item__prepend > .v-icon) {
|
||||||
margin-inline-end: 0px !important;
|
margin-inline-end: 0px !important;
|
||||||
}
|
}
|
||||||
@@ -758,10 +751,6 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (width <= 600px) {
|
@media (width <= 600px) {
|
||||||
.filter-toolbar-card {
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
}
|
|
||||||
|
|
||||||
.filter-buttons-grid {
|
.filter-buttons-grid {
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -425,7 +425,7 @@ function handleBackdropClick(event: MouseEvent) {
|
|||||||
<VCard
|
<VCard
|
||||||
ref="quickAccessRef"
|
ref="quickAccessRef"
|
||||||
:ripple="false"
|
:ripple="false"
|
||||||
class="plugin-quick-access"
|
class="plugin-quick-access app-surface-square app-surface-flat app-surface-borderless"
|
||||||
:class="{ 'visible': isVisible }"
|
:class="{ 'visible': isVisible }"
|
||||||
:style="{
|
:style="{
|
||||||
opacity: componentOpacity,
|
opacity: componentOpacity,
|
||||||
@@ -463,7 +463,7 @@ function handleBackdropClick(event: MouseEvent) {
|
|||||||
<div
|
<div
|
||||||
v-for="plugin in recentPlugins"
|
v-for="plugin in recentPlugins"
|
||||||
:key="`recent-${plugin.id}`"
|
:key="`recent-${plugin.id}`"
|
||||||
class="plugin-item"
|
class="plugin-item app-surface-shape"
|
||||||
@click="handlePluginClick(plugin)"
|
@click="handlePluginClick(plugin)"
|
||||||
>
|
>
|
||||||
<VBadge dot :color="plugin.state ? 'success' : 'secondary'" location="top end">
|
<VBadge dot :color="plugin.state ? 'success' : 'secondary'" location="top end">
|
||||||
@@ -502,7 +502,7 @@ function handleBackdropClick(event: MouseEvent) {
|
|||||||
<div
|
<div
|
||||||
v-for="plugin in pluginsWithPage"
|
v-for="plugin in pluginsWithPage"
|
||||||
:key="plugin.id"
|
:key="plugin.id"
|
||||||
class="plugin-item"
|
class="plugin-item app-surface-shape"
|
||||||
@click="handlePluginClick(plugin)"
|
@click="handlePluginClick(plugin)"
|
||||||
>
|
>
|
||||||
<VBadge
|
<VBadge
|
||||||
@@ -733,7 +733,6 @@ function handleBackdropClick(event: MouseEvent) {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
block-size: 120px;
|
block-size: 120px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
|
|||||||
@@ -281,7 +281,6 @@ onMounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background-color: rgb(var(--v-theme-surface-variant));
|
background-color: rgb(var(--v-theme-surface-variant));
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
|
|
||||||
|
|||||||
@@ -1387,8 +1387,6 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
.search-progress-card {
|
.search-progress-card {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
border: 1px solid rgba(var(--v-theme-primary), 0.18);
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
background: linear-gradient(135deg, rgba(var(--v-theme-primary), 0.08), transparent 42%), rgb(var(--v-theme-surface));
|
background: linear-gradient(135deg, rgba(var(--v-theme-primary), 0.08), transparent 42%), rgb(var(--v-theme-surface));
|
||||||
inline-size: 100%;
|
inline-size: 100%;
|
||||||
@@ -1455,8 +1453,6 @@ onUnmounted(() => {
|
|||||||
.search-skeleton-card,
|
.search-skeleton-card,
|
||||||
.search-skeleton-list {
|
.search-skeleton-list {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid rgba(var(--v-theme-on-surface), 0.08);
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
background: rgb(var(--v-theme-surface));
|
background: rgb(var(--v-theme-surface));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1545,8 +1541,6 @@ onUnmounted(() => {
|
|||||||
/* 列表视图样式 */
|
/* 列表视图样式 */
|
||||||
.resource-list-container {
|
.resource-list-container {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
border: 1px solid rgba(var(--v-theme-on-surface), 0.08);
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.resource-list {
|
.resource-list {
|
||||||
|
|||||||
+118
-78
@@ -34,7 +34,11 @@ html.v-overlay-scroll-blocked body {
|
|||||||
|
|
||||||
// 全局卡片外观 token:圆角和阴影在主题定制器中即时切换。
|
// 全局卡片外观 token:圆角和阴影在主题定制器中即时切换。
|
||||||
html {
|
html {
|
||||||
--app-surface-radius: 8px;
|
--app-theme-surface-radius: 8px;
|
||||||
|
--app-surface-radius: var(--app-theme-surface-radius);
|
||||||
|
--app-field-radius: var(--app-theme-surface-radius);
|
||||||
|
--app-surface-border-opacity: 0.06;
|
||||||
|
--app-surface-border: 1px solid rgba(var(--v-theme-on-surface), var(--app-surface-border-opacity));
|
||||||
--app-shadow-rgb: 15, 23, 42;
|
--app-shadow-rgb: 15, 23, 42;
|
||||||
--app-card-rest-shadow: none;
|
--app-card-rest-shadow: none;
|
||||||
--app-card-hover-shadow: none;
|
--app-card-hover-shadow: none;
|
||||||
@@ -48,20 +52,24 @@ html {
|
|||||||
--app-surface-hover-shadow: none;
|
--app-surface-hover-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html[data-theme-skin='bordered'] {
|
||||||
|
--app-surface-border-opacity: 0.1;
|
||||||
|
}
|
||||||
|
|
||||||
html[data-theme-radius='small'] {
|
html[data-theme-radius='small'] {
|
||||||
--app-surface-radius: 4px;
|
--app-theme-surface-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-theme-radius='large'] {
|
html[data-theme-radius='large'] {
|
||||||
--app-surface-radius: 12px;
|
--app-theme-surface-radius: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-theme-radius='extra'] {
|
html[data-theme-radius='extra'] {
|
||||||
--app-surface-radius: 16px;
|
--app-theme-surface-radius: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-theme-radius='huge'] {
|
html[data-theme-radius='huge'] {
|
||||||
--app-surface-radius: 24px;
|
--app-theme-surface-radius: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-theme='dark'],
|
html[data-theme='dark'],
|
||||||
@@ -128,71 +136,105 @@ html[data-theme-shadow='high'] {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 统一系统内卡片阴影,显式覆盖 Vuetify elevation 或局部卡片默认投影。
|
// 统一系统内主要 surface 的边框、圆角和阴影,局部组件通过变量覆盖。
|
||||||
|
.app-surface,
|
||||||
.v-card,
|
.v-card,
|
||||||
.v-application .v-card.v-card[class] {
|
.v-sheet,
|
||||||
|
.v-list,
|
||||||
|
.v-table,
|
||||||
|
.v-expansion-panel {
|
||||||
|
border: var(--app-surface-border);
|
||||||
border-radius: var(--app-surface-radius) !important;
|
border-radius: var(--app-surface-radius) !important;
|
||||||
box-shadow: var(--app-surface-shadow) !important;
|
box-shadow: var(--app-surface-shadow) !important;
|
||||||
transition: border-radius 0.2s ease, box-shadow 0.2s ease;
|
transition: border-color 0.2s ease, border-radius 0.2s ease, box-shadow 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 底部导航卡片原本就是胶囊形态,不参与主题圆角切换。
|
// 底部导航卡片原本就是胶囊形态,不参与主题圆角切换。
|
||||||
.footer-nav-card.v-card {
|
.footer-nav-card.v-card {
|
||||||
border-radius: 9999px !important;
|
--app-surface-radius: 9999px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (hover: hover) {
|
@media (hover: hover) {
|
||||||
|
.app-surface:hover,
|
||||||
.v-card:hover,
|
.v-card:hover,
|
||||||
.v-application .v-card.v-card[class]:hover {
|
.v-sheet:hover,
|
||||||
|
.v-list:hover,
|
||||||
|
.v-table:hover,
|
||||||
|
.v-expansion-panel:hover {
|
||||||
box-shadow: var(--app-surface-hover-shadow) !important;
|
box-shadow: var(--app-surface-hover-shadow) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 只给外层 surface 加阴影,卡片内部的子组件保持平面,避免层级噪声。
|
// 局部需要退出全局 surface 风格时使用这些工具类,避免再用 !important 抢优先级。
|
||||||
.v-card .v-card,
|
.app-surface-borderless {
|
||||||
.v-card .v-sheet,
|
--app-surface-border: 0 solid transparent;
|
||||||
.v-card .v-list,
|
|
||||||
.v-card .v-expansion-panel,
|
|
||||||
.v-card .v-table,
|
|
||||||
.v-card .v-window,
|
|
||||||
.v-card .v-toolbar,
|
|
||||||
.v-card .v-navigation-drawer,
|
|
||||||
.v-card .v-stepper,
|
|
||||||
.v-card .v-alert,
|
|
||||||
.v-card .v-avatar,
|
|
||||||
.v-card .v-chip {
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 主题定制器的 bordered 皮肤:保持原布局密度,只给主要容器增加清晰边界。
|
.app-surface-flat,
|
||||||
|
.app-surface-flat:hover {
|
||||||
|
--app-surface-hover-shadow: none;
|
||||||
|
--app-surface-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.app-surface-square {
|
||||||
|
--app-surface-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.app-surface-shape {
|
||||||
|
border-radius: var(--app-surface-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 统一文本输入、下拉框、文本域等有框表单控件的圆角,显式 rounded 控件保留特殊形态。
|
||||||
|
.v-field:not(.v-field--variant-plain, .v-field--variant-underlined, .v-field--rounded, [class^='rounded-'], [class*=' rounded-']) {
|
||||||
|
border-radius: var(--app-field-radius);
|
||||||
|
transition: border-radius 0.2s ease, box-shadow 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 只给外层 surface 加边框和阴影,卡片内部的列表、表格等子组件保持平面,避免层级噪声。
|
||||||
|
.v-card .v-list:not(.app-surface),
|
||||||
|
.v-card .v-sheet:not(.app-surface),
|
||||||
|
.v-card .v-table:not(.app-surface),
|
||||||
|
.v-card .v-expansion-panel:not(.app-surface),
|
||||||
|
.v-card .v-window:not(.app-surface),
|
||||||
|
.v-card .v-toolbar:not(.app-surface),
|
||||||
|
.v-card .v-navigation-drawer:not(.app-surface),
|
||||||
|
.v-card .v-stepper:not(.app-surface),
|
||||||
|
.v-card .v-alert:not(.app-surface),
|
||||||
|
.v-card .v-avatar,
|
||||||
|
.v-card .v-chip {
|
||||||
|
--app-surface-hover-shadow: none;
|
||||||
|
--app-surface-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 弹窗内容里的嵌套卡片默认保持平面;弹窗自身仍由 overlay 规则控制阴影和圆角。
|
||||||
|
.v-dialog > .v-overlay__content > .v-card :where(.v-card, .v-sheet, .v-list, .v-table, .v-expansion-panel):not(.app-card-colorful),
|
||||||
|
.v-dialog > .v-overlay__content > .v-sheet :where(.v-card, .v-sheet, .v-list, .v-table, .v-expansion-panel):not(.app-card-colorful) {
|
||||||
|
--app-surface-hover-shadow: none;
|
||||||
|
--app-surface-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 菜单只让直接承载层拥有弹出阴影,内部嵌套 surface 不再重复制造层级。
|
||||||
|
.v-menu
|
||||||
|
> .v-overlay__content
|
||||||
|
> :where(.v-card, .v-sheet, .v-list)
|
||||||
|
:where(.v-card, .v-sheet, .v-list, .v-table, .v-expansion-panel):not(.app-card-colorful) {
|
||||||
|
--app-surface-hover-shadow: none;
|
||||||
|
--app-surface-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主题定制器的 bordered 皮肤:保持原布局密度,只给非 Vuetify 外壳增加清晰边界。
|
||||||
html[data-theme-skin='bordered'] {
|
html[data-theme-skin='bordered'] {
|
||||||
.v-card:not(.bg-primary),
|
.layout-vertical-nav {
|
||||||
.v-sheet,
|
border: var(--app-surface-border);
|
||||||
.v-table,
|
|
||||||
.v-expansion-panel,
|
|
||||||
.v-list {
|
|
||||||
border: 1px solid rgba(var(--v-theme-on-surface), 0.1) !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.v-sheet,
|
.navbar-content-container {
|
||||||
.v-table,
|
border-block-end: var(--app-surface-border);
|
||||||
.v-expansion-panel,
|
|
||||||
.v-list {
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-vertical-nav,
|
|
||||||
.footer-nav-card {
|
|
||||||
border: 1px solid rgba(var(--v-theme-on-surface), 0.1) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-content-container {
|
|
||||||
border-block-end: 1px solid rgba(var(--v-theme-on-surface), 0.1) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.layout-vertical-nav {
|
.layout-vertical-nav {
|
||||||
border-block: 0 !important;
|
border-block: 0;
|
||||||
border-inline-start: 0 !important;
|
border-inline-start: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -205,8 +247,6 @@ html[data-theme-skin='bordered'] {
|
|||||||
// 设置项强调卡片:复用通知模板入口的弱强调条、轻渐变与悬浮反馈。
|
// 设置项强调卡片:复用通知模板入口的弱强调条、轻渐变与悬浮反馈。
|
||||||
.app-card-colorful {
|
.app-card-colorful {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid rgba(var(--app-card-accent-rgb), var(--app-card-border-opacity)) !important;
|
|
||||||
border-radius: var(--app-surface-radius) !important;
|
|
||||||
background:
|
background:
|
||||||
linear-gradient(
|
linear-gradient(
|
||||||
135deg,
|
135deg,
|
||||||
@@ -214,8 +254,8 @@ html[data-theme-skin='bordered'] {
|
|||||||
rgba(var(--app-card-accent-end-rgb), var(--app-card-accent-end-opacity)) 46%,
|
rgba(var(--app-card-accent-end-rgb), var(--app-card-accent-end-opacity)) 46%,
|
||||||
rgba(var(--v-theme-surface), 0) 76%
|
rgba(var(--v-theme-surface), 0) 76%
|
||||||
),
|
),
|
||||||
rgba(var(--v-theme-surface), var(--app-card-surface-opacity)) !important;
|
rgba(var(--v-theme-surface), var(--app-card-surface-opacity));
|
||||||
box-shadow: var(--app-card-rest-shadow) !important;
|
box-shadow: var(--app-card-rest-shadow);
|
||||||
color: rgb(var(--v-theme-on-surface));
|
color: rgb(var(--v-theme-on-surface));
|
||||||
|
|
||||||
--app-card-accent-rgb: var(--v-theme-primary);
|
--app-card-accent-rgb: var(--v-theme-primary);
|
||||||
@@ -226,6 +266,9 @@ html[data-theme-skin='bordered'] {
|
|||||||
--app-card-hover-border-opacity: 0.16;
|
--app-card-hover-border-opacity: 0.16;
|
||||||
--app-card-stripe-opacity: 0.22;
|
--app-card-stripe-opacity: 0.22;
|
||||||
--app-card-surface-opacity: 0.92;
|
--app-card-surface-opacity: 0.92;
|
||||||
|
--app-surface-border: 1px solid rgba(var(--app-card-accent-rgb), var(--app-card-border-opacity));
|
||||||
|
--app-surface-hover-shadow: var(--app-card-hover-shadow);
|
||||||
|
--app-surface-shadow: var(--app-card-rest-shadow);
|
||||||
|
|
||||||
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
|
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
|
||||||
}
|
}
|
||||||
@@ -243,8 +286,7 @@ html[data-theme-skin='bordered'] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.app-card-colorful:hover {
|
.app-card-colorful:hover {
|
||||||
border-color: rgba(var(--app-card-accent-rgb), var(--app-card-hover-border-opacity)) !important;
|
--app-surface-border: 1px solid rgba(var(--app-card-accent-rgb), var(--app-card-hover-border-opacity));
|
||||||
box-shadow: var(--app-card-hover-shadow) !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-card-colorful:focus-visible {
|
.app-card-colorful:focus-visible {
|
||||||
@@ -264,7 +306,6 @@ html[data-theme-skin='bordered'] {
|
|||||||
|
|
||||||
html[data-theme="transparent"] .app-card-colorful,
|
html[data-theme="transparent"] .app-card-colorful,
|
||||||
.v-theme--transparent .app-card-colorful {
|
.v-theme--transparent .app-card-colorful {
|
||||||
border: 0 !important;
|
|
||||||
backdrop-filter: blur(var(--transparent-blur, 10px));
|
backdrop-filter: blur(var(--transparent-blur, 10px));
|
||||||
|
|
||||||
--app-card-accent-start-opacity: 0.018;
|
--app-card-accent-start-opacity: 0.018;
|
||||||
@@ -273,6 +314,7 @@ html[data-theme="transparent"] .app-card-colorful,
|
|||||||
--app-card-hover-border-opacity: 0;
|
--app-card-hover-border-opacity: 0;
|
||||||
--app-card-stripe-opacity: 0.16;
|
--app-card-stripe-opacity: 0.16;
|
||||||
--app-card-surface-opacity: var(--transparent-opacity-light, 0.2);
|
--app-card-surface-opacity: var(--transparent-opacity-light, 0.2);
|
||||||
|
--app-surface-border: 0 solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 保证卡片右上角的浮动操作区始终高于可点击的卡片内容层,避免误触发详情打开。
|
// 保证卡片右上角的浮动操作区始终高于可点击的卡片内容层,避免误触发详情打开。
|
||||||
@@ -640,7 +682,7 @@ html[data-theme="transparent"] .app-card-colorful,
|
|||||||
.compact-fab .v-btn {
|
.compact-fab .v-btn {
|
||||||
border: 1px solid rgba(var(--v-theme-on-surface), 0.08);
|
border: 1px solid rgba(var(--v-theme-on-surface), 0.08);
|
||||||
backdrop-filter: blur(14px);
|
backdrop-filter: blur(14px);
|
||||||
box-shadow: var(--app-fab-shadow) !important;
|
box-shadow: var(--app-fab-shadow);
|
||||||
opacity: 0.98;
|
opacity: 0.98;
|
||||||
transition:
|
transition:
|
||||||
transform 0.18s ease,
|
transform 0.18s ease,
|
||||||
@@ -651,7 +693,7 @@ html[data-theme="transparent"] .app-card-colorful,
|
|||||||
|
|
||||||
.compact-fab--primary .v-btn {
|
.compact-fab--primary .v-btn {
|
||||||
block-size: 3rem !important;
|
block-size: 3rem !important;
|
||||||
box-shadow: var(--app-fab-shadow-strong) !important;
|
box-shadow: var(--app-fab-shadow-strong);
|
||||||
inline-size: 3rem !important;
|
inline-size: 3rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -670,18 +712,18 @@ html[data-theme="transparent"] .app-card-colorful,
|
|||||||
|
|
||||||
@media (hover: hover) {
|
@media (hover: hover) {
|
||||||
.compact-fab .v-btn:hover {
|
.compact-fab .v-btn:hover {
|
||||||
box-shadow: var(--app-fab-shadow-hover) !important;
|
box-shadow: var(--app-fab-shadow-hover);
|
||||||
filter: saturate(1.03);
|
filter: saturate(1.03);
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.compact-fab--primary .v-btn:hover {
|
.compact-fab--primary .v-btn:hover {
|
||||||
box-shadow: var(--app-fab-shadow-strong-hover) !important;
|
box-shadow: var(--app-fab-shadow-strong-hover);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.compact-fab .v-btn:active {
|
.compact-fab .v-btn:active {
|
||||||
box-shadow: var(--app-fab-shadow-active) !important;
|
box-shadow: var(--app-fab-shadow-active);
|
||||||
transform: translateY(0) scale(0.98);
|
transform: translateY(0) scale(0.98);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -748,29 +790,29 @@ html[data-theme="transparent"] .app-card-colorful,
|
|||||||
// 弹出层样式
|
// 弹出层样式
|
||||||
.v-overlay__content .v-list{
|
.v-overlay__content .v-list{
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-radius: var(--app-surface-radius) !important;
|
border-radius: var(--app-surface-radius);
|
||||||
backdrop-filter: blur(6px);
|
backdrop-filter: blur(6px);
|
||||||
background-color: rgb(var(--v-theme-surface), 0.9) !important;
|
background-color: rgb(var(--v-theme-surface), 0.9);
|
||||||
box-shadow: none !important;
|
box-shadow: none;
|
||||||
padding-inline: 0.5rem !important;
|
padding-inline: 0.5rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.v-overlay__content .v-card:not(.bg-primary){
|
.v-overlay__content .v-card:not(.bg-primary){
|
||||||
border-radius: var(--app-surface-radius) !important;
|
border-radius: var(--app-surface-radius);
|
||||||
backdrop-filter: blur(8px);
|
backdrop-filter: blur(8px);
|
||||||
background-color: rgb(var(--v-theme-surface), 0.95) !important;
|
background-color: rgb(var(--v-theme-surface), 0.95);
|
||||||
box-shadow: none !important;
|
box-shadow: none;
|
||||||
|
|
||||||
.v-list, .v-table {
|
.v-list, .v-table {
|
||||||
backdrop-filter: none;
|
backdrop-filter: none;
|
||||||
background-color: transparent !important;
|
background-color: transparent;
|
||||||
box-shadow: none !important;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.v-menu {
|
.v-menu {
|
||||||
.v-list-item:hover {
|
.v-list-item:hover {
|
||||||
background-color: rgba(var(--v-theme-on-surface), 0.04) !important;
|
background-color: rgba(var(--v-theme-on-surface), 0.04);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -783,10 +825,10 @@ html[data-theme="transparent"] .app-card-colorful,
|
|||||||
}
|
}
|
||||||
|
|
||||||
.v-overlay__content {
|
.v-overlay__content {
|
||||||
background: transparent !important;
|
background: transparent;
|
||||||
box-shadow: none !important;
|
box-shadow: none;
|
||||||
margin-block: env(safe-area-inset-top) env(safe-area-inset-bottom);
|
margin-block: env(safe-area-inset-top) env(safe-area-inset-bottom);
|
||||||
transition: opacity 0.2s ease, box-shadow 0.2s ease !important;
|
transition: opacity 0.2s ease, box-shadow 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.v-menu > .v-overlay__content {
|
.v-menu > .v-overlay__content {
|
||||||
@@ -817,7 +859,6 @@ html[data-theme="transparent"] .app-card-colorful,
|
|||||||
.v-bottom-sheet > .v-bottom-sheet__content.v-overlay__content > .v-card,
|
.v-bottom-sheet > .v-bottom-sheet__content.v-overlay__content > .v-card,
|
||||||
.v-menu > .v-overlay__content > .v-card,
|
.v-menu > .v-overlay__content > .v-card,
|
||||||
.v-menu > .v-overlay__content > .v-list {
|
.v-menu > .v-overlay__content > .v-list {
|
||||||
border-radius: var(--app-surface-radius) !important;
|
|
||||||
box-shadow: var(--app-overlay-shadow) !important;
|
box-shadow: var(--app-overlay-shadow) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -825,7 +866,6 @@ html[data-theme="transparent"] .app-card-colorful,
|
|||||||
.v-dialog--fullscreen > .v-overlay__content > .v-sheet,
|
.v-dialog--fullscreen > .v-overlay__content > .v-sheet,
|
||||||
.v-dialog--fullscreen > .v-overlay__content > form > .v-card,
|
.v-dialog--fullscreen > .v-overlay__content > form > .v-card,
|
||||||
.v-dialog--fullscreen > .v-overlay__content > form > .v-sheet {
|
.v-dialog--fullscreen > .v-overlay__content > form > .v-sheet {
|
||||||
border-radius: 0 !important;
|
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -835,8 +875,8 @@ html[data-theme="transparent"] .app-card-colorful,
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-end-end-radius: 0 !important;
|
border-end-end-radius: 0 !important;
|
||||||
border-end-start-radius: 0 !important;
|
border-end-start-radius: 0 !important;
|
||||||
border-start-end-radius: var(--app-surface-radius) !important;
|
border-start-end-radius: var(--app-theme-surface-radius) !important;
|
||||||
border-start-start-radius: var(--app-surface-radius) !important;
|
border-start-start-radius: var(--app-theme-surface-radius) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.v-dialog--fullscreen > .v-overlay__content > .v-card,
|
.v-dialog--fullscreen > .v-overlay__content > .v-card,
|
||||||
@@ -845,8 +885,8 @@ html[data-theme="transparent"] .app-card-colorful,
|
|||||||
.v-dialog--fullscreen > .v-overlay__content > form > .v-sheet {
|
.v-dialog--fullscreen > .v-overlay__content > form > .v-sheet {
|
||||||
border-end-end-radius: 0 !important;
|
border-end-end-radius: 0 !important;
|
||||||
border-end-start-radius: 0 !important;
|
border-end-start-radius: 0 !important;
|
||||||
border-start-end-radius: var(--app-surface-radius) !important;
|
border-start-end-radius: var(--app-theme-surface-radius) !important;
|
||||||
border-start-start-radius: var(--app-surface-radius) !important;
|
border-start-start-radius: var(--app-theme-surface-radius) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -881,5 +921,5 @@ html[data-theme="transparent"] .app-card-colorful,
|
|||||||
}
|
}
|
||||||
|
|
||||||
.v-menu .v-overlay__content {
|
.v-menu .v-overlay__content {
|
||||||
box-shadow: none !important;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ html[data-theme="transparent"] {
|
|||||||
|
|
||||||
// 设置页彩色卡片保留透明主题的玻璃质感,只叠加极轻的图标主色。
|
// 设置页彩色卡片保留透明主题的玻璃质感,只叠加极轻的图标主色。
|
||||||
.app-card-colorful {
|
.app-card-colorful {
|
||||||
border: 0 !important;
|
border: 0;
|
||||||
background:
|
background:
|
||||||
linear-gradient(
|
linear-gradient(
|
||||||
135deg,
|
135deg,
|
||||||
@@ -49,7 +49,7 @@ html[data-theme="transparent"] {
|
|||||||
rgba(var(--app-card-accent-end-rgb, var(--app-card-accent-rgb)), var(--app-card-accent-end-opacity, 0.01)) 46%,
|
rgba(var(--app-card-accent-end-rgb, var(--app-card-accent-rgb)), var(--app-card-accent-end-opacity, 0.01)) 46%,
|
||||||
rgba(var(--v-theme-surface), 0) 76%
|
rgba(var(--v-theme-surface), 0) 76%
|
||||||
),
|
),
|
||||||
rgba(var(--v-theme-surface), var(--transparent-opacity-light)) !important;
|
rgba(var(--v-theme-surface), var(--transparent-opacity-light));
|
||||||
}
|
}
|
||||||
|
|
||||||
// 工具栏
|
// 工具栏
|
||||||
@@ -113,17 +113,17 @@ html[data-theme="transparent"] {
|
|||||||
|
|
||||||
// 弹出层内容
|
// 弹出层内容
|
||||||
.v-overlay__content {
|
.v-overlay__content {
|
||||||
border-radius: 12px !important;
|
border-radius: var(--app-surface-radius);
|
||||||
backdrop-filter: blur(var(--transparent-blur)) !important;
|
backdrop-filter: blur(var(--transparent-blur));
|
||||||
|
|
||||||
.v-card:not(.bg-primary) {
|
.v-card:not(.bg-primary) {
|
||||||
backdrop-filter: blur(var(--transparent-blur));
|
backdrop-filter: blur(var(--transparent-blur));
|
||||||
background-color: rgba(var(--v-theme-surface), var(--transparent-opacity-heavy)) !important;
|
background-color: rgba(var(--v-theme-surface), var(--transparent-opacity-heavy));
|
||||||
}
|
}
|
||||||
|
|
||||||
.v-list {
|
.v-list {
|
||||||
backdrop-filter: blur(var(--transparent-blur));
|
backdrop-filter: blur(var(--transparent-blur));
|
||||||
background-color: rgba(var(--v-theme-surface), var(--transparent-opacity-heavy)) !important;
|
background-color: rgba(var(--v-theme-surface), var(--transparent-opacity-heavy));
|
||||||
}
|
}
|
||||||
|
|
||||||
.v-table__wrapper table thead {
|
.v-table__wrapper table thead {
|
||||||
|
|||||||
@@ -324,7 +324,6 @@ const { wizardData, selectDownloader, validationErrors } = useSetupWizard()
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cursor-pointer:hover {
|
.cursor-pointer:hover {
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 15%);
|
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -716,7 +716,6 @@ watch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cursor-pointer:hover {
|
.cursor-pointer:hover {
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 15%);
|
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -766,7 +766,6 @@ const notificationTypes = [
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cursor-pointer:hover {
|
.cursor-pointer:hover {
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 15%);
|
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -222,7 +222,6 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.preset-card:hover {
|
.preset-card:hover {
|
||||||
box-shadow: 0 8px 25px rgba(0, 0, 0, 15%);
|
|
||||||
transform: translateY(-4px);
|
transform: translateY(-4px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -651,10 +651,8 @@ onUnmounted(() => {
|
|||||||
--logging-shell-bg: rgba(var(--v-theme-surface), 0.96);
|
--logging-shell-bg: rgba(var(--v-theme-surface), 0.96);
|
||||||
--logging-record-bg-even: rgba(var(--v-theme-surface-variant), 0.01);
|
--logging-record-bg-even: rgba(var(--v-theme-surface-variant), 0.01);
|
||||||
--logging-record-bg-odd: rgba(var(--v-theme-surface-variant), 0.005);
|
--logging-record-bg-odd: rgba(var(--v-theme-surface-variant), 0.005);
|
||||||
--logging-border: rgba(var(--v-theme-on-surface), 0.08);
|
|
||||||
--logging-text: rgba(var(--v-theme-on-surface), 0.88);
|
--logging-text: rgba(var(--v-theme-on-surface), 0.88);
|
||||||
--logging-muted: rgba(var(--v-theme-on-surface), 0.56);
|
--logging-muted: rgba(var(--v-theme-on-surface), 0.56);
|
||||||
--logging-shadow: 0 10px 32px rgba(15, 23, 42, 6%);
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -666,16 +664,12 @@ onUnmounted(() => {
|
|||||||
--logging-shell-bg: rgba(var(--v-theme-surface), 0.72);
|
--logging-shell-bg: rgba(var(--v-theme-surface), 0.72);
|
||||||
--logging-record-bg-even: rgba(var(--v-theme-on-surface), 0.02);
|
--logging-record-bg-even: rgba(var(--v-theme-on-surface), 0.02);
|
||||||
--logging-record-bg-odd: rgba(var(--v-theme-on-surface), 0.008);
|
--logging-record-bg-odd: rgba(var(--v-theme-on-surface), 0.008);
|
||||||
--logging-border: rgba(var(--v-theme-on-surface), 0.12);
|
|
||||||
--logging-shadow: inset 0 1px 0 rgba(255, 255, 255, 4%);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.logging-view.is-transparent-theme {
|
.logging-view.is-transparent-theme {
|
||||||
--logging-shell-bg: transparent;
|
--logging-shell-bg: transparent;
|
||||||
--logging-record-bg-even: transparent;
|
--logging-record-bg-even: transparent;
|
||||||
--logging-record-bg-odd: transparent;
|
--logging-record-bg-odd: transparent;
|
||||||
--logging-border: rgba(var(--v-theme-on-surface), 0.1);
|
|
||||||
--logging-shadow: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.logging-toolbar {
|
.logging-toolbar {
|
||||||
@@ -699,7 +693,7 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logging-search :deep(.v-field) {
|
.logging-search :deep(.v-field) {
|
||||||
border-radius: 0;
|
border-radius: var(--app-field-radius);
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
@@ -719,7 +713,7 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logging-level-select :deep(.v-field) {
|
.logging-level-select :deep(.v-field) {
|
||||||
border-radius: 0;
|
border-radius: var(--app-field-radius);
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
@@ -738,9 +732,7 @@ onUnmounted(() => {
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
padding: 0.875rem;
|
padding: 0.875rem;
|
||||||
border: 1px solid var(--logging-border);
|
|
||||||
background: linear-gradient(180deg, var(--logging-shell-bg), rgba(var(--v-theme-surface), 0.9));
|
background: linear-gradient(180deg, var(--logging-shell-bg), rgba(var(--v-theme-surface), 0.9));
|
||||||
box-shadow: var(--logging-shadow);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.logging-view.is-transparent-theme .logging-shell {
|
.logging-view.is-transparent-theme .logging-shell {
|
||||||
@@ -816,8 +808,6 @@ onUnmounted(() => {
|
|||||||
.logging-record-panel {
|
.logging-record-panel {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
border: 1px solid rgba(var(--v-theme-on-surface), 0.04);
|
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
gap: 0.75rem;
|
gap: 0.75rem;
|
||||||
min-inline-size: 0;
|
min-inline-size: 0;
|
||||||
padding-block: 0.5rem;
|
padding-block: 0.5rem;
|
||||||
@@ -832,10 +822,6 @@ onUnmounted(() => {
|
|||||||
background: var(--logging-record-bg-odd);
|
background: var(--logging-record-bg-odd);
|
||||||
}
|
}
|
||||||
|
|
||||||
.logging-view.is-dark-theme .logging-record-panel {
|
|
||||||
border-color: rgba(var(--v-theme-on-surface), 0.08);
|
|
||||||
}
|
|
||||||
|
|
||||||
.logging-record-accent {
|
.logging-record-accent {
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ onMounted(getModules)
|
|||||||
<div class="system-health-check">
|
<div class="system-health-check">
|
||||||
<!-- 动态进度框 - 固定在顶部 -->
|
<!-- 动态进度框 - 固定在顶部 -->
|
||||||
<div class="progress-container">
|
<div class="progress-container">
|
||||||
<div class="progress-card" :class="{ 'dark-theme': theme.global.current.value.dark }">
|
<div class="progress-card app-surface" :class="{ 'dark-theme': theme.global.current.value.dark }">
|
||||||
<div class="progress-header">
|
<div class="progress-header">
|
||||||
<VIcon
|
<VIcon
|
||||||
:icon="isChecking ? 'mdi-cog-sync' : checkComplete ? 'mdi-check-circle' : 'mdi-cog'"
|
:icon="isChecking ? 'mdi-cog-sync' : checkComplete ? 'mdi-check-circle' : 'mdi-cog'"
|
||||||
@@ -184,7 +184,7 @@ onMounted(getModules)
|
|||||||
<Transition v-for="(module, index) in modules" :key="module.id" name="module-item" appear>
|
<Transition v-for="(module, index) in modules" :key="module.id" name="module-item" appear>
|
||||||
<div
|
<div
|
||||||
v-show="module.visible"
|
v-show="module.visible"
|
||||||
class="module-item"
|
class="module-item app-surface"
|
||||||
:class="[module.state, { 'dark-theme': theme.global.current.value.dark }]"
|
:class="[module.state, { 'dark-theme': theme.global.current.value.dark }]"
|
||||||
>
|
>
|
||||||
<div class="module-header">
|
<div class="module-header">
|
||||||
@@ -244,7 +244,6 @@ onMounted(getModules)
|
|||||||
|
|
||||||
.progress-card {
|
.progress-card {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
border-radius: var(--app-surface-radius);
|
|
||||||
margin: 16px;
|
margin: 16px;
|
||||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||||
color: white;
|
color: white;
|
||||||
@@ -333,8 +332,6 @@ onMounted(getModules)
|
|||||||
|
|
||||||
.module-item {
|
.module-item {
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
border: 1px solid var(--v-border-color);
|
|
||||||
border-radius: 8px;
|
|
||||||
background: var(--v-surface);
|
background: var(--v-surface);
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user