mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
优化QuickAccess.vue组件样式
This commit is contained in:
@@ -562,10 +562,18 @@ function handleBackdropClick(event: MouseEvent) {
|
|||||||
gap: 16px;
|
gap: 16px;
|
||||||
min-block-size: 0;
|
min-block-size: 0;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
-ms-overflow-style: none; // IE/Edge
|
||||||
overscroll-behavior: contain;
|
overscroll-behavior: contain;
|
||||||
padding-block: 24px;
|
padding-block: 24px;
|
||||||
padding-inline: 20px;
|
padding-inline: 20px;
|
||||||
|
|
||||||
|
// 隐藏滚动条
|
||||||
|
scrollbar-width: none; // Firefox
|
||||||
touch-action: pan-y;
|
touch-action: pan-y;
|
||||||
|
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
display: none; // WebKit 浏览器
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-header {
|
.section-header {
|
||||||
@@ -575,10 +583,6 @@ function handleBackdropClick(event: MouseEvent) {
|
|||||||
margin-block: 0 16px;
|
margin-block: 0 16px;
|
||||||
margin-inline: 0;
|
margin-inline: 0;
|
||||||
|
|
||||||
&.with-margin {
|
|
||||||
margin-block-start: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-title {
|
.section-title {
|
||||||
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
@@ -598,13 +602,13 @@ function handleBackdropClick(event: MouseEvent) {
|
|||||||
display: grid;
|
display: grid;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
|
||||||
padding-block: 0 8px;
|
padding-block: 0;
|
||||||
padding-inline: 0;
|
padding-inline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.all-plugins-grid {
|
.all-plugins-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: 20px;
|
gap: 8px;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -613,11 +617,10 @@ function handleBackdropClick(event: MouseEvent) {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 8px;
|
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
block-size: 120px;
|
block-size: 120px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
gap: 8px;
|
gap: 4px;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|||||||
Reference in New Issue
Block a user