Skip to content

Commit

Permalink
lint css
Browse files Browse the repository at this point in the history
  • Loading branch information
aabassiouni committed Sep 16, 2024
1 parent fb8e35f commit 259dd0e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
12 changes: 6 additions & 6 deletions apps/web/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
@tailwind utilities;

.hide-scrollbar::-webkit-scrollbar {
display: none; /* Chrome Safari */
scrollbar-width: none; /* Firefox */
display: none; /* Chrome Safari */
scrollbar-width: none; /* Firefox */
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
/* display: none; <- Crashes Chrome on hover */
-webkit-appearance: none;
margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
/* display: none; <- Crashes Chrome on hover */
-webkit-appearance: none;
margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type="number"] {
-moz-appearance: textfield; /* Firefox */
-moz-appearance: textfield; /* Firefox */
}
25 changes: 12 additions & 13 deletions apps/web/src/components/landing/landing.css
Original file line number Diff line number Diff line change
@@ -1,44 +1,43 @@
path {
transition: stroke-dashoffset 2s ease;
transition: stroke-dashoffset 2s ease;
}

.animated-chart:hover path {
stroke-dashoffset: 0;
stroke-dashoffset: 0;
}

.animated-area {
transition: fill-opacity 2s ease;
transition: fill-opacity 2s ease;
}

.animated-chart:hover .animated-area {
fill-opacity: 0.8;
fill-opacity: 0.8;
}

.animate-input {
transition: transform 0.8s ease-in-out;
transition: transform 0.8s ease-in-out;
}

.group:hover .animate-input {
transform: translateY(2.5rem) translateX(1.5rem);
transform: translateY(2.5rem) translateX(1.5rem);
}

.animate-cursor {
transition: transform 0.8s ease-in-out;
transition: transform 0.8s ease-in-out;
}

.group:hover .animate-cursor {
transform: translateY(-1.25rem) translateX(-1.25rem);

transform: translateY(-1.25rem) translateX(-1.25rem);
}

.scrollbar-hide::-webkit-scrollbar {
display: none;
display: none;
}

/* For IE, Edge and Firefox */
.scrollbar-hide {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}

@keyframes appear {
Expand All @@ -48,4 +47,4 @@ path {
to {
opacity: 1;
}
}
}

0 comments on commit 259dd0e

Please sign in to comment.