discotools / styles /globals.css
enzostvs's picture
enzostvs HF Staff
Upload 172 files
9cd6ddb verified
@tailwind base;
@tailwind components;
@tailwind utilities;
html, body {
@apply bg-white font-sans scroll-smooth;
}
input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button,
input[type='number'] {
-webkit-appearance: none;
margin: 0;
-moz-appearance: textfield !important;
}
/* create infine keyframe animation */
@keyframes infinite-rotation {
from {
transform: rotate(0deg);
}
50% {
transform: rotate(-15deg);
}
to {
transform: rotate(0deg);
}
}
/* play only 3 times the animation */
.clyde-wave {
animation: infinite-rotation 0.5s ease-in-out 3;
}
/* select only last element */
.color__picker_discotools #rbgcp-wrapper > div:nth-child(5) div {
@apply hidden;
}
.color__picker_discotools #rbgcp-wrapper > div:nth-child(5) div:first-of-type {
@apply w-full flex items-center justify-center gap-3 !important;
}
.color__picker_discotools #rbgcp-wrapper > div:nth-child(5) div:first-of-type input {
@apply bg-dark-600 border-none py-2 text-base text-dark-200 !important;
}
.color__picker_discotools--gradient #rbgcp-wrapper > div:nth-child(6) div {
@apply hidden;
}
.color__picker_discotools--gradient #rbgcp-wrapper > div:nth-child(6) div:first-of-type {
@apply w-full flex items-center justify-center gap-3 !important;
}
.color__picker_discotools--gradient #rbgcp-wrapper > div:nth-child(6) div:first-of-type input {
@apply bg-dark-600 border-none py-2 text-base text-dark-200 !important;
}
.color__picker.without-gradients #rbgcp-wrapper > div:nth-child(2) {
@apply hidden;
}
.color__picker.without-gradients #rbgcp-wrapper > div:nth-child(1) {
@apply mb-3;
}
/* write media screen mobile */
@media (max-width: 950px) {
.color__picker_discotools {
@apply w-full !important;
}
.color__picker_discotools canvas {
@apply w-full !important;
}
}