mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-08-01 19:21:34 -07:00
style(animeui): tighten source picker and cue rail layout
- Lay source picker label + input inline instead of stacked - Let detail cover keep natural aspect ratio instead of forced 2:3 crop - Widen cue rail gutter to match new cue number column width
This commit is contained in:
+14
-8
@@ -207,8 +207,8 @@ body {
|
|||||||
|
|
||||||
.source-picker {
|
.source-picker {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
align-items: center;
|
||||||
gap: 3px;
|
gap: 8px;
|
||||||
flex: none;
|
flex: none;
|
||||||
min-width: 190px;
|
min-width: 190px;
|
||||||
}
|
}
|
||||||
@@ -218,6 +218,12 @@ body {
|
|||||||
letter-spacing: 0.16em;
|
letter-spacing: 0.16em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: var(--faint);
|
color: var(--faint);
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.source-picker .text-input {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------- bridge banner ---------- */
|
/* ---------- bridge banner ---------- */
|
||||||
@@ -446,9 +452,9 @@ body {
|
|||||||
|
|
||||||
.detail-cover {
|
.detail-cover {
|
||||||
flex: none;
|
flex: none;
|
||||||
|
align-self: flex-start;
|
||||||
width: clamp(140px, 18vw, 232px);
|
width: clamp(140px, 18vw, 232px);
|
||||||
aspect-ratio: 2 / 3;
|
height: auto;
|
||||||
object-fit: cover;
|
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
background: var(--ctp-crust);
|
background: var(--ctp-crust);
|
||||||
@@ -536,7 +542,7 @@ body {
|
|||||||
.cue-rail::before {
|
.cue-rail::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 41px;
|
left: 48px;
|
||||||
top: 6px;
|
top: 6px;
|
||||||
bottom: 6px;
|
bottom: 6px;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
@@ -546,8 +552,8 @@ body {
|
|||||||
.cue {
|
.cue {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 40px 1fr;
|
grid-template-columns: 34px 1fr;
|
||||||
gap: 14px;
|
gap: 26px;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 9px 10px 9px 0;
|
padding: 9px 10px 9px 0;
|
||||||
@@ -564,7 +570,7 @@ body {
|
|||||||
.cue::after {
|
.cue::after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 37px;
|
left: 43px;
|
||||||
top: 15px;
|
top: 15px;
|
||||||
width: 7px;
|
width: 7px;
|
||||||
height: 7px;
|
height: 7px;
|
||||||
|
|||||||
Reference in New Issue
Block a user