fix: chapter picker slides up from bottom-right, footer details float above bar
This commit is contained in:
@@ -374,6 +374,7 @@ const tree = computed(() => buildTreeForChapter(currentChapterId.value))
|
|||||||
}
|
}
|
||||||
|
|
||||||
.footer-left {
|
.footer-left {
|
||||||
|
position: relative;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -400,9 +401,13 @@ const tree = computed(() => buildTreeForChapter(currentChapterId.value))
|
|||||||
}
|
}
|
||||||
|
|
||||||
.footer-details {
|
.footer-details {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 100%;
|
||||||
|
left: 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-stat {
|
.footer-stat {
|
||||||
@@ -491,6 +496,21 @@ const tree = computed(() => buildTreeForChapter(currentChapterId.value))
|
|||||||
transform: translateY(8px);
|
transform: translateY(8px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.chapter-picker {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 56px;
|
||||||
|
right: 20px;
|
||||||
|
z-index: 300;
|
||||||
|
}
|
||||||
|
|
||||||
|
.picker-panel {
|
||||||
|
background: #12121a;
|
||||||
|
border: 1px solid rgba(201,168,76,0.15);
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 24px 28px;
|
||||||
|
box-shadow: 0 8px 32px rgba(0,0,0,0.6);
|
||||||
|
}
|
||||||
|
|
||||||
.picker-title {
|
.picker-title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
@@ -602,7 +622,12 @@ const tree = computed(() => buildTreeForChapter(currentChapterId.value))
|
|||||||
|
|
||||||
.picker-fade-enter-active,
|
.picker-fade-enter-active,
|
||||||
.picker-fade-leave-active {
|
.picker-fade-leave-active {
|
||||||
transition: opacity 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
.picker-fade-enter-from,
|
||||||
|
.picker-fade-leave-to {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(12px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.picker-fade-enter-from,
|
.picker-fade-enter-from,
|
||||||
|
|||||||
Reference in New Issue
Block a user