From 259dd0eb74fa0fe533fdc089fa6a6fb88a6ccc6b Mon Sep 17 00:00:00 2001 From: Ali Bassiouni Date: Mon, 16 Sep 2024 20:13:31 +0300 Subject: [PATCH] lint css --- apps/web/src/app/globals.css | 12 +++++----- apps/web/src/components/landing/landing.css | 25 ++++++++++----------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css index f1f2a95..980aed5 100644 --- a/apps/web/src/app/globals.css +++ b/apps/web/src/app/globals.css @@ -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 */ } diff --git a/apps/web/src/components/landing/landing.css b/apps/web/src/components/landing/landing.css index e10c725..d59db5a 100644 --- a/apps/web/src/components/landing/landing.css +++ b/apps/web/src/components/landing/landing.css @@ -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 { @@ -48,4 +47,4 @@ path { to { opacity: 1; } -} \ No newline at end of file +}