Code Cleanup™
This commit is contained in:
@@ -20,10 +20,10 @@
|
||||
.btn {
|
||||
@apply bg-yellow-400 font-bold py-2 px-4 rounded cursor-pointer select-none mx-2 text-black flex flex-row;
|
||||
@apply hover:bg-yellow-300 hover:text-black hover:shadow-2xl hover:scale-105;
|
||||
transition: all 0.5s cubic-bezier(.2,3,.67,.6),
|
||||
background-color .1s ease-in-out,
|
||||
outline-width .1s ease-in-out,
|
||||
outline-color .1s ease-in-out;
|
||||
transition: all 0.5s cubic-bezier(.2, 3, .67, .6),
|
||||
background-color .1s ease-in-out,
|
||||
outline-width .1s ease-in-out,
|
||||
outline-color .1s ease-in-out;
|
||||
@apply active:scale-90;
|
||||
|
||||
.btn__text {
|
||||
@@ -34,16 +34,16 @@
|
||||
.btn-dropdown {
|
||||
@apply relative mx-2;
|
||||
|
||||
>:nth-child(1) {
|
||||
> :nth-child(1) {
|
||||
@apply !mx-0;
|
||||
}
|
||||
|
||||
>:nth-child(2) {
|
||||
> :nth-child(2) {
|
||||
@apply hidden absolute top-full left-1/2 -translate-x-1/2 bg-gray-800 list-none text-white rounded py-2 flex-col text-sm z-20;
|
||||
}
|
||||
|
||||
&:hover,&:focus-within {
|
||||
>:nth-child(2) {
|
||||
&:hover, &:focus-within {
|
||||
> :nth-child(2) {
|
||||
@apply flex;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user