rainbow-quox download button
This commit is contained in:
parent
845c0b9708
commit
7e4518bdaf
5 changed files with 86 additions and 13 deletions
|
@ -165,12 +165,21 @@ $button-fg: oklch(0.98 0.1 var(--c-hue));
|
|||
}
|
||||
#showui { transform: translateX(-200%); }
|
||||
|
||||
#palette-holder {
|
||||
#palette-bar {
|
||||
margin: -60px auto 0;
|
||||
position: relative;
|
||||
}
|
||||
#palette-holder {
|
||||
padding-top: 25px;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
#palette { @include shadow; }
|
||||
#download-button {
|
||||
@include image-button;
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
|
||||
@mixin history-flex {
|
||||
|
@ -286,13 +295,15 @@ $button-fg: oklch(0.98 0.1 var(--c-hue));
|
|||
|
||||
#current { @include transy(all); }
|
||||
#close-history { @include transy; }
|
||||
#download-button { @include transy(opacity); }
|
||||
}
|
||||
|
||||
[data-state=fullquox], [data-state=loading] {
|
||||
#buttons button { transform: none; }
|
||||
#current { transform: translateX(100%); }
|
||||
#palette { transform: translateY(125%); }
|
||||
#back { transform: translateX(-200%); }
|
||||
#buttons button { transform: none; }
|
||||
#current { transform: translateX(100%); }
|
||||
#palette { transform: translateY(125%); }
|
||||
#download-button { opacity: 0; }
|
||||
#back { transform: translateX(-200%); }
|
||||
}
|
||||
|
||||
[data-state=fullquox] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue