Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Aug 24, 2022
1 parent adc9498 commit 5503d69
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions interface/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}

.dialog {
@apply mx-auto rounded-2xl bg-gray-700 p-10 text-white;
@apply mx-auto w-2/4 select-none rounded-2xl bg-gray-700 p-10 text-white;
}

/* edit element */
Expand All @@ -48,6 +48,10 @@
.focusRing {
@apply outline-none focus-visible:ring-4 focus-visible:ring-popup-magenta;
}

.checkbox {
@apply focusRing form-checkbox relative -top-0.5 transform cursor-pointer rounded-full border-2 text-black outline-none duration-200 ease-in focus:ring-transparent motion-reduce:transform-none motion-reduce:transition-none;
}
}

/* body */
Expand Down Expand Up @@ -168,11 +172,29 @@ h5 {

/* dialog */
.dialog::backdrop {
background: rgb(0 0 0 / 0.9);
background: rgb(0 0 0 / 0.95);
}

dialog[open] {
animation: fadeEffect 0.5s;
animation: show 0.5s ease normal;
}

dialog.hide {
animation: hide 1s ease normal;
}

@keyframes show {
from {
transform: translateY(-50%);
}
to {
transform: translateY(0%);
}
}
@keyframes hide {
to {
transform: translateY(-110%);
}
}

/* input */
Expand Down

0 comments on commit 5503d69

Please sign in to comment.