clean up
This commit is contained in:
parent
d6a8f898d1
commit
15e99380b5
84 changed files with 1659 additions and 4726 deletions
|
|
@ -39,14 +39,19 @@ html > body > aside.control-dock > .toolbar-row {
|
|||
--toolbar-background-opacity: 0%;
|
||||
--toolbar-background-strength: 0;
|
||||
|
||||
display: flex;
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
'previous controls next'
|
||||
'previous buttons next';
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
align-items: stretch;
|
||||
justify-content: center;
|
||||
width: fit-content;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
padding-inline: clamp(8px, 1.4vw, 14px);
|
||||
gap: clamp(6px, 1.8vw, 14px);
|
||||
column-gap: 0;
|
||||
row-gap: clamp(6px, 1.8vw, 14px);
|
||||
border-radius: 12px;
|
||||
color: rgb(245 250 244 / 92%);
|
||||
background-color: rgb(5 8 13 / var(--toolbar-background-opacity));
|
||||
|
|
@ -91,16 +96,15 @@ html > body > aside.control-dock > .toolbar-row {
|
|||
}
|
||||
|
||||
> .toolbar-shell {
|
||||
grid-area: controls;
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
'swatches'
|
||||
'nav';
|
||||
grid-template-areas: 'swatches';
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
justify-self: center;
|
||||
width: min(100%, max-content);
|
||||
min-width: 0;
|
||||
min-height: 86px;
|
||||
padding: 8px 9px;
|
||||
}
|
||||
|
||||
|
|
@ -150,13 +154,22 @@ html > body > aside.control-dock > .toolbar-row {
|
|||
}
|
||||
}
|
||||
|
||||
> .toolbar-shell > nav.buttons {
|
||||
grid-area: nav;
|
||||
> .previous-vibe {
|
||||
grid-area: previous;
|
||||
}
|
||||
|
||||
> .next-vibe {
|
||||
grid-area: next;
|
||||
}
|
||||
|
||||
> nav.buttons {
|
||||
grid-area: buttons;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-content: space-between;
|
||||
gap: 4px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
padding-top: 7px;
|
||||
border-top: 1px solid rgb(255 255 255 / 12%);
|
||||
|
|
@ -166,6 +179,9 @@ html > body > aside.control-dock > .toolbar-row {
|
|||
position: relative;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
flex: 1 1 44px;
|
||||
max-width: 54px;
|
||||
min-width: 0;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
|
|
@ -235,7 +251,8 @@ html > body > aside.control-dock > .toolbar-row {
|
|||
align-items: center;
|
||||
width: 132px;
|
||||
height: 44px;
|
||||
flex: 0 0 132px;
|
||||
flex: 2 1 132px;
|
||||
max-width: 150px;
|
||||
min-width: 0;
|
||||
padding-right: 10px;
|
||||
border: 1px solid transparent;
|
||||
|
|
@ -252,18 +269,13 @@ html > body > aside.control-dock > .toolbar-row {
|
|||
background: rgb(255 255 255 / 7%);
|
||||
}
|
||||
|
||||
&:focus-within {
|
||||
outline: 2px solid white;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
> button {
|
||||
flex: 0 0 42px;
|
||||
min-width: 42px;
|
||||
border-color: transparent;
|
||||
|
||||
&:focus-visible {
|
||||
outline: none;
|
||||
outline-offset: -4px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -296,7 +308,9 @@ html > body > aside.control-dock > .toolbar-row {
|
|||
touch-action: pan-y;
|
||||
|
||||
&:focus-visible {
|
||||
outline: none;
|
||||
border-radius: 8px;
|
||||
outline: 2px solid white;
|
||||
outline-offset: -4px;
|
||||
}
|
||||
|
||||
&::-webkit-slider-runnable-track {
|
||||
|
|
@ -558,11 +572,12 @@ html > body > aside.control-dock > .toolbar-row {
|
|||
|
||||
@include on-small-screen {
|
||||
width: 100%;
|
||||
padding-inline: 6px;
|
||||
gap: 6px;
|
||||
padding-inline: 4px;
|
||||
column-gap: 0;
|
||||
row-gap: 4px;
|
||||
|
||||
> .vibe-button {
|
||||
width: 44px;
|
||||
width: 36px;
|
||||
min-height: 44px;
|
||||
|
||||
&::before {
|
||||
|
|
@ -572,46 +587,52 @@ html > body > aside.control-dock > .toolbar-row {
|
|||
}
|
||||
|
||||
> .toolbar-shell {
|
||||
flex: 1 1 auto;
|
||||
padding: 4px 8px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
> nav.buttons {
|
||||
gap: 2px;
|
||||
padding-top: 3px;
|
||||
> nav.buttons {
|
||||
gap: clamp(1px, 0.55vw, 2px);
|
||||
padding-top: 3px;
|
||||
|
||||
> button {
|
||||
height: 38px;
|
||||
min-height: 38px;
|
||||
> button {
|
||||
width: auto;
|
||||
height: 38px;
|
||||
flex: 1 1 clamp(28px, 8vw, 38px);
|
||||
max-width: 38px;
|
||||
min-height: 38px;
|
||||
|
||||
&::after {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
}
|
||||
}
|
||||
|
||||
> .audio-control {
|
||||
width: 118px;
|
||||
height: 38px;
|
||||
flex-basis: 118px;
|
||||
padding-right: 9px;
|
||||
|
||||
> button {
|
||||
flex-basis: 38px;
|
||||
min-width: 38px;
|
||||
}
|
||||
|
||||
> .volume-control {
|
||||
height: 38px;
|
||||
}
|
||||
}
|
||||
|
||||
> .export-status {
|
||||
flex-basis: 100%;
|
||||
max-width: 100%;
|
||||
text-align: center;
|
||||
&::after {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
}
|
||||
}
|
||||
|
||||
> .audio-control {
|
||||
width: auto;
|
||||
height: 38px;
|
||||
flex: 2 1 clamp(58px, 18vw, 118px);
|
||||
max-width: 118px;
|
||||
padding-right: clamp(4px, 1.8vw, 9px);
|
||||
|
||||
> button {
|
||||
width: auto;
|
||||
flex: 1 1 clamp(28px, 8vw, 38px);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
> .volume-control {
|
||||
height: 38px;
|
||||
}
|
||||
}
|
||||
|
||||
> .export-status {
|
||||
flex-basis: 0;
|
||||
max-width: 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
> .toolbar-shell {
|
||||
> .garden-controls {
|
||||
padding: 2px 4px;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue