mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-06-05 15:49:56 +08:00
px => rem
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "moviepilot",
|
"name": "moviepilot",
|
||||||
"version": "1.1.3",
|
"version": "1.1.3-1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host",
|
"dev": "vite --host",
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
rgba(#{variables.$vertical-nav-background-color-rgb}, 30%) 75%,
|
rgba(#{variables.$vertical-nav-background-color-rgb}, 30%) 75%,
|
||||||
transparent
|
transparent
|
||||||
);
|
);
|
||||||
block-size: calc(env(safe-area-inset-top) + 64px);
|
block-size: calc(env(safe-area-inset-top) + 4rem);
|
||||||
inline-size: 100%;
|
inline-size: 100%;
|
||||||
inset-block-start: calc(#{variables.$vertical-nav-header-height} - 2px);
|
inset-block-start: calc(#{variables.$vertical-nav-header-height} - 2px);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|||||||
@@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
// 👉 Vertical nav
|
// 👉 Vertical nav
|
||||||
$layout-vertical-nav-z-index: 12 !default;
|
$layout-vertical-nav-z-index: 12 !default;
|
||||||
$layout-vertical-nav-width: 260px !default;
|
$layout-vertical-nav-width: 16.25rem !default;
|
||||||
$layout-vertical-nav-collapsed-width: 80px !default;
|
$layout-vertical-nav-collapsed-width: 80px !default;
|
||||||
|
|
||||||
// 👉 Horizontal nav
|
// 👉 Horizontal nav
|
||||||
$layout-horizontal-nav-z-index: 11 !default;
|
$layout-horizontal-nav-z-index: 11 !default;
|
||||||
$layout-horizontal-nav-navbar-height: 64px !default;
|
$layout-horizontal-nav-navbar-height: 4rem !default;
|
||||||
|
|
||||||
// 👉 Navbar
|
// 👉 Navbar
|
||||||
$layout-vertical-nav-navbar-height: 64px !default;
|
$layout-vertical-nav-navbar-height: 4rem !default;
|
||||||
$layout-vertical-nav-navbar-is-contained: true !default;
|
$layout-vertical-nav-navbar-is-contained: true !default;
|
||||||
$layout-vertical-nav-layout-navbar-z-index: 11 !default;
|
$layout-vertical-nav-layout-navbar-z-index: 11 !default;
|
||||||
$layout-horizontal-nav-layout-navbar-z-index: 11 !default;
|
$layout-horizontal-nav-layout-navbar-z-index: 11 !default;
|
||||||
@@ -19,7 +19,7 @@ $layout-horizontal-nav-layout-navbar-z-index: 11 !default;
|
|||||||
$layout-boxed-content-width: 1440px !default;
|
$layout-boxed-content-width: 1440px !default;
|
||||||
|
|
||||||
// 👉Footer
|
// 👉Footer
|
||||||
$layout-vertical-nav-footer-height: 56px !default;
|
$layout-vertical-nav-footer-height: 3.5rem !default;
|
||||||
|
|
||||||
// 👉 Layout overlay
|
// 👉 Layout overlay
|
||||||
$layout-overlay-z-index: 11 !default;
|
$layout-overlay-z-index: 11 !default;
|
||||||
|
|||||||
@@ -462,7 +462,7 @@ const getImgUrl: Ref<string> = computed(() => {
|
|||||||
</VHover>
|
</VHover>
|
||||||
<VDialog
|
<VDialog
|
||||||
v-model="subscribeSeasonDialog"
|
v-model="subscribeSeasonDialog"
|
||||||
max-width="600"
|
max-width="50rem"
|
||||||
content-class="whitespace-nowrap"
|
content-class="whitespace-nowrap"
|
||||||
scrollable
|
scrollable
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -389,7 +389,7 @@ onMounted(() => {
|
|||||||
<!-- 更新站点Cookie & UA弹窗 -->
|
<!-- 更新站点Cookie & UA弹窗 -->
|
||||||
<VDialog
|
<VDialog
|
||||||
v-model="siteCookieDialog"
|
v-model="siteCookieDialog"
|
||||||
max-width="600"
|
max-width="50rem"
|
||||||
>
|
>
|
||||||
<!-- Dialog Content -->
|
<!-- Dialog Content -->
|
||||||
<VCard title="更新站点Cookie & UA">
|
<VCard title="更新站点Cookie & UA">
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ async function handleAddDownload(_site: any = undefined,
|
|||||||
confirmationText: '确认',
|
confirmationText: '确认',
|
||||||
cancellationText: '取消',
|
cancellationText: '取消',
|
||||||
dialogProps: {
|
dialogProps: {
|
||||||
maxWidth: 600,
|
maxWidth: '50rem',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ async function deleteItem(item: FileItem) {
|
|||||||
confirmationText: '确认',
|
confirmationText: '确认',
|
||||||
cancellationText: '取消',
|
cancellationText: '取消',
|
||||||
dialogProps: {
|
dialogProps: {
|
||||||
maxWidth: 600,
|
maxWidth: '50rem',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -571,7 +571,7 @@ onMounted(() => {
|
|||||||
<!-- 重命名弹窗 -->
|
<!-- 重命名弹窗 -->
|
||||||
<VDialog
|
<VDialog
|
||||||
v-model="renamePopper"
|
v-model="renamePopper"
|
||||||
max-width="600"
|
max-width="50rem"
|
||||||
>
|
>
|
||||||
<template #activator="{ props }">
|
<template #activator="{ props }">
|
||||||
<IconBtn title="重命名" v-bind="props">
|
<IconBtn title="重命名" v-bind="props">
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ async function mkdir() {
|
|||||||
</IconBtn>
|
</IconBtn>
|
||||||
<VDialog
|
<VDialog
|
||||||
v-model="newFolderPopper"
|
v-model="newFolderPopper"
|
||||||
max-width="600"
|
max-width="50rem"
|
||||||
>
|
>
|
||||||
<template #activator="{ props }">
|
<template #activator="{ props }">
|
||||||
<IconBtn title="新建文件夹" v-bind="props">
|
<IconBtn title="新建文件夹" v-bind="props">
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ function search() {
|
|||||||
>
|
>
|
||||||
<VDialog
|
<VDialog
|
||||||
v-model="searchDialog"
|
v-model="searchDialog"
|
||||||
max-width="600"
|
max-width="50rem"
|
||||||
transition="dialog-top-transition"
|
transition="dialog-top-transition"
|
||||||
>
|
>
|
||||||
<!-- Dialog Activator -->
|
<!-- Dialog Activator -->
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ const ruleTestDialog = ref(false)
|
|||||||
<!-- 名称测试弹窗 -->
|
<!-- 名称测试弹窗 -->
|
||||||
<VDialog
|
<VDialog
|
||||||
v-model="nameTestDialog"
|
v-model="nameTestDialog"
|
||||||
max-width="800"
|
max-width="50rem"
|
||||||
>
|
>
|
||||||
<VCard title="名称识别测试">
|
<VCard title="名称识别测试">
|
||||||
<DialogCloseBtn @click="nameTestDialog = false" />
|
<DialogCloseBtn @click="nameTestDialog = false" />
|
||||||
@@ -156,7 +156,7 @@ const ruleTestDialog = ref(false)
|
|||||||
<!-- 网络测试弹窗 -->
|
<!-- 网络测试弹窗 -->
|
||||||
<VDialog
|
<VDialog
|
||||||
v-model="netTestDialog"
|
v-model="netTestDialog"
|
||||||
max-width="600"
|
max-width="35rem"
|
||||||
>
|
>
|
||||||
<VCard title="网络测试">
|
<VCard title="网络测试">
|
||||||
<DialogCloseBtn @click="netTestDialog = false" />
|
<DialogCloseBtn @click="netTestDialog = false" />
|
||||||
@@ -168,7 +168,7 @@ const ruleTestDialog = ref(false)
|
|||||||
<!-- 实时日志弹窗 -->
|
<!-- 实时日志弹窗 -->
|
||||||
<VDialog
|
<VDialog
|
||||||
v-model="loggingDialog"
|
v-model="loggingDialog"
|
||||||
max-width="1280"
|
class="w-full lg:w-4/5"
|
||||||
scrollable
|
scrollable
|
||||||
>
|
>
|
||||||
<VCard title="实时日志">
|
<VCard title="实时日志">
|
||||||
@@ -181,7 +181,7 @@ const ruleTestDialog = ref(false)
|
|||||||
<!-- 规则测试弹窗 -->
|
<!-- 规则测试弹窗 -->
|
||||||
<VDialog
|
<VDialog
|
||||||
v-model="ruleTestDialog"
|
v-model="ruleTestDialog"
|
||||||
max-width="800"
|
max-width="50rem"
|
||||||
scrollable
|
scrollable
|
||||||
>
|
>
|
||||||
<VCard title="过滤规则测试">
|
<VCard title="过滤规则测试">
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ async function removeHistory(item: TransferHistory) {
|
|||||||
confirmationText: '同步删除文件',
|
confirmationText: '同步删除文件',
|
||||||
cancellationText: '仅删除历史记录',
|
cancellationText: '仅删除历史记录',
|
||||||
dialogProps: {
|
dialogProps: {
|
||||||
maxWidth: 600,
|
maxWidth: '50rem',
|
||||||
},
|
},
|
||||||
confirmationButtonProps: {
|
confirmationButtonProps: {
|
||||||
color: 'error',
|
color: 'error',
|
||||||
@@ -180,7 +180,7 @@ async function removeHistoryBatch() {
|
|||||||
confirmationText: '同步删除文件',
|
confirmationText: '同步删除文件',
|
||||||
cancellationText: '仅删除历史记录',
|
cancellationText: '仅删除历史记录',
|
||||||
dialogProps: {
|
dialogProps: {
|
||||||
maxWidth: 600,
|
maxWidth: '50rem',
|
||||||
},
|
},
|
||||||
confirmationButtonProps: {
|
confirmationButtonProps: {
|
||||||
color: 'error',
|
color: 'error',
|
||||||
@@ -393,7 +393,7 @@ const dropdownItems = ref([
|
|||||||
</VCard>
|
</VCard>
|
||||||
<VDialog
|
<VDialog
|
||||||
v-model="redoDialog"
|
v-model="redoDialog"
|
||||||
max-width="600"
|
max-width="50rem"
|
||||||
>
|
>
|
||||||
<!-- Dialog Content -->
|
<!-- Dialog Content -->
|
||||||
<VCard title="重新整理">
|
<VCard title="重新整理">
|
||||||
|
|||||||
Reference in New Issue
Block a user