From e5927701c01763a67766d20b672ce67569b068c7 Mon Sep 17 00:00:00 2001 From: Greg Newman Date: Fri, 3 Feb 2023 09:07:10 -0500 Subject: [PATCH 1/4] :bug: fix x-cloak --- frontend/styles.css | 4 +++ static/css/styles.css | 50 +++++------------------------------ templates/libraries/list.html | 9 ++++--- 3 files changed, 16 insertions(+), 47 deletions(-) diff --git a/frontend/styles.css b/frontend/styles.css index 36e38075..f1e98c43 100644 --- a/frontend/styles.css +++ b/frontend/styles.css @@ -4,6 +4,10 @@ @import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap"); @layer base { + [x-cloak] { + display: none !important; + } + body { color: white; @apply font-cairo; diff --git a/static/css/styles.css b/static/css/styles.css index 73d8dca6..f2162efb 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -582,6 +582,10 @@ select { outline: 1px auto -webkit-focus-ring-color; } +[x-cloak] { + display: none !important; +} + body { color: white; font-family: 'Cairo', sans-serif; @@ -1339,18 +1343,6 @@ input[type=file] { transform-origin: top right; } -.scale-95 { - --tw-scale-x: .95; - --tw-scale-y: .95; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.scale-100 { - --tw-scale-x: 1; - --tw-scale-y: 1; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - .transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } @@ -1646,17 +1638,13 @@ input[type=file] { background-color: rgb(23 42 52 / 0.6); } -.bg-slate { - --tw-bg-opacity: 1; - background-color: rgb(49 74 87 / var(--tw-bg-opacity)); -} - .bg-transparent { background-color: transparent; } -.bg-opacity-25 { - --tw-bg-opacity: 0.25; +.bg-slate { + --tw-bg-opacity: 1; + background-color: rgb(49 74 87 / var(--tw-bg-opacity)); } .bg-opacity-50 { @@ -2068,14 +2056,6 @@ input[type=file] { color: rgb(255 255 255 / 0.6); } -.opacity-0 { - opacity: 0; -} - -.opacity-100 { - opacity: 1; -} - .shadow { --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); @@ -2108,22 +2088,6 @@ input[type=file] { transition-duration: 150ms; } -.duration-300 { - transition-duration: 300ms; -} - -.duration-200 { - transition-duration: 200ms; -} - -.ease-out { - transition-timing-function: cubic-bezier(0, 0, 0.2, 1); -} - -.ease-in { - transition-timing-function: cubic-bezier(0.4, 0, 1, 1); -} - .last\:border-0:last-child { border-width: 0px; } diff --git a/templates/libraries/list.html b/templates/libraries/list.html index d0a9201e..c47a56b1 100644 --- a/templates/libraries/list.html +++ b/templates/libraries/list.html @@ -29,10 +29,10 @@ {% csrf_token %}
-