From 1a6ddb53166a83bc23989b2c57cd11f629ebd11e Mon Sep 17 00:00:00 2001 From: Matej Novota Date: Tue, 19 Sep 2023 10:45:00 +0200 Subject: [PATCH] update-tailwind: remove tailwind folder and update deployment --- .gitattributes | 2 +- .github/workflows/ghPages.yml | 62 +- CONTRIBUTING.md | 13 + LICENSE | 3 +- README.md | 2 + build.css | 1486 ++++++++++++++ tailwind/custom.css => custom.css | 0 ical.html | 4 +- index.html | 4 +- .../tailwind.config.js => tailwind.config.js | 2 +- tailwind/tailwind.css => tailwind.css | 0 tailwind/README.md | 18 - tailwind/build.css | 1783 ----------------- tailwind/tailwind.config.prod.js | 159 -- terminy.html | 4 +- 15 files changed, 1553 insertions(+), 1989 deletions(-) create mode 100644 CONTRIBUTING.md create mode 100644 build.css rename tailwind/custom.css => custom.css (100%) rename tailwind/tailwind.config.js => tailwind.config.js (99%) rename tailwind/tailwind.css => tailwind.css (100%) delete mode 100644 tailwind/README.md delete mode 100644 tailwind/build.css delete mode 100644 tailwind/tailwind.config.prod.js diff --git a/.gitattributes b/.gitattributes index c4925b9..3dba6e5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -tailwind/build.css linguist-generated +build.css linguist-generated diff --git a/.github/workflows/ghPages.yml b/.github/workflows/ghPages.yml index cc05190..ef178b4 100644 --- a/.github/workflows/ghPages.yml +++ b/.github/workflows/ghPages.yml @@ -6,41 +6,63 @@ on: branches: - master + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + + # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + jobs: - # Set the job key. The key is displayed as the job name - # when a job name is not provided - gh-pages: - # Name the Job - name: Deploy to Github pages - # Set the type of machine to run on + # build job + build: + name: Build tailwind runs-on: ubuntu-latest steps: - # Checks out a copy of your repository on the ubuntu-latest machine - name: Checkout code 🛎️ - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false + - name: Setup Pages + uses: actions/configure-pages@v3 - name: Install tailwind - run: cd tailwind && npm install tailwindcss@3.0.24 --no-save + run: npm install tailwindcss@experimental --no-save - name: Build 🔧 run: | - cd tailwind cat tailwind.css custom.css > tailwind.temp.css - npx tailwindcss build tailwind.temp.css -c tailwind.config.prod.js -o build.css + npx tailwindcss -i tailwind.temp.css -o build.css -m - name: Remove dev css links run: | - sed -i 's|||g' *.html - sed -i "s|tailwind/build.css|tailwind/build.css?v=$(git log --format="%h" -n 1)|g" *.html + sed -i 's|||g' *.html + sed -i "s|build.css|build.css?v=$(git log --format="%h" -n 1)|g" *.html - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@3.7.1 + - name: Upload artifact 🚀 + uses: actions/upload-pages-artifact@v2 with: - BRANCH: gh-pages - FOLDER: . # The folder the action should deploy. - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SINGLE_COMMIT: true - PRESERVE: true + # Upload entire repository + path: '.' + + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages 🚀 + id: deployment + uses: actions/deploy-pages@v2 \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..6c40204 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,13 @@ +## Generate developer Tailwindcss build: + +`bunx tailwindcss@experimental -i tailwind.css -o build.css` + +This will produce all classes used by Tailwindcss. + + +## Generate production Tailwindcss build: + +cat tailwind.css custom.css > tailwind.temp.css +bunx tailwindcss@experimental -i tailwind.temp.css -o build.css -m + +This will produce classes only used in code (files are specified in `./tailwind.config.js`) and minify the resulting css. diff --git a/LICENSE b/LICENSE index f6bb244..6a2b9a1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,7 @@ MIT License -Copyright (c) 2020 P-MAT n.o. +Copyright (c) 2020 - 2022 P-MAT n.o. +Copyright (c) 2022 - present Trojsten o.z. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 374b35a..3614efa 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,5 @@ Kockatý Kalendár je spoločná iniciatíva týchto organizácií, ktorá ponú ## Kontakt Ak si našiel/-la chybu alebo máš otázku, napíš nám na kockaty.kalendar@p-mat.sk a my sa ti ozveme. + + diff --git a/build.css b/build.css new file mode 100644 index 0000000..28d2988 --- /dev/null +++ b/build.css @@ -0,0 +1,1486 @@ +*, :before, :after { + box-sizing: border-box; + border: 0 solid #edf2f7; +} + +:before, :after { + --tw-content: ""; +} + +html { + -webkit-text-size-adjust: 100%; + tab-size: 4; + font-feature-settings: normal; + font-variation-settings: normal; + font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; + line-height: 1.5; +} + +body { + line-height: inherit; + margin: 0; +} + +hr { + color: inherit; + border-top-width: 1px; + height: 0; +} + +abbr:where([title]) { + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; +} + +h1, h2, h3, h4, h5, h6 { + font-size: inherit; + font-weight: inherit; +} + +a { + color: inherit; + -webkit-text-decoration: inherit; + text-decoration: inherit; +} + +b, strong { + font-weight: bolder; +} + +code, kbd, samp, pre { + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace; + font-size: 1em; +} + +small { + font-size: 80%; +} + +sub, sup { + vertical-align: baseline; + font-size: 75%; + line-height: 0; + position: relative; +} + +sub { + bottom: -.25em; +} + +sup { + top: -.5em; +} + +table { + text-indent: 0; + border-color: inherit; + border-collapse: collapse; +} + +button, input, optgroup, select, textarea { + font-feature-settings: inherit; + font-variation-settings: inherit; + font-family: inherit; + font-size: 100%; + font-weight: inherit; + line-height: inherit; + color: inherit; + margin: 0; + padding: 0; +} + +button, select { + text-transform: none; +} + +button, [type="button"], [type="reset"], [type="submit"] { + -webkit-appearance: button; + background-color: #0000; + background-image: none; +} + +:-moz-focusring { + outline: auto; +} + +:-moz-ui-invalid { + box-shadow: none; +} + +progress { + vertical-align: baseline; +} + +::-webkit-inner-spin-button { + height: auto; +} + +::-webkit-outer-spin-button { + height: auto; +} + +[type="search"] { + -webkit-appearance: textfield; + outline-offset: -2px; +} + +::-webkit-search-decoration { + -webkit-appearance: none; +} + +::-webkit-file-upload-button { + -webkit-appearance: button; + font: inherit; +} + +summary { + display: list-item; +} + +blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { + margin: 0; +} + +fieldset { + margin: 0; + padding: 0; +} + +legend { + padding: 0; +} + +ol, ul, menu { + margin: 0; + padding: 0; + list-style: none; +} + +dialog { + padding: 0; +} + +textarea { + resize: vertical; +} + +input::placeholder, textarea::placeholder { + opacity: 1; + color: #cbd5e0; +} + +button, [role="button"] { + cursor: pointer; +} + +:disabled { + cursor: default; +} + +img, svg, video, canvas, audio, iframe, embed, object { + vertical-align: middle; + display: block; +} + +img, video { + max-width: 100%; + height: auto; +} + +[hidden] { + display: none; +} + +*, :before, :after { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: #4299e180; + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; +} + +::-webkit-backdrop { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: #4299e180; + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; +} + +::backdrop { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: #4299e180; + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; +} + +.container { + width: 100%; +} + +@media (min-width: 640px) { + .container { + max-width: 640px; + } +} + +@media (min-width: 768px) { + .container { + max-width: 768px; + } +} + +@media (min-width: 1024px) { + .container { + max-width: 1024px; + } +} + +@media (min-width: 1280px) { + .container { + max-width: 1280px; + } +} + +@media (min-width: 1536px) { + .container { + max-width: 1536px; + } +} + +.sr-only { + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + position: absolute; + overflow: hidden; +} + +.fixed { + position: fixed; +} + +.absolute { + position: absolute; +} + +.relative { + position: relative; +} + +.-top-20 { + top: -5rem; +} + +.left-0 { + left: 0; +} + +.right-0 { + right: 0; +} + +.z-10 { + z-index: 10; +} + +.z-20 { + z-index: 20; +} + +.z-30 { + z-index: 30; +} + +.mx-2 { + margin-left: .5rem; + margin-right: .5rem; +} + +.mx-4 { + margin-left: 1rem; + margin-right: 1rem; +} + +.mx-auto { + margin-left: auto; + margin-right: auto; +} + +.my-1 { + margin-top: .25rem; + margin-bottom: .25rem; +} + +.my-2 { + margin-top: .5rem; + margin-bottom: .5rem; +} + +.mb-1 { + margin-bottom: .25rem; +} + +.mb-12 { + margin-bottom: 3rem; +} + +.mb-2 { + margin-bottom: .5rem; +} + +.mb-4 { + margin-bottom: 1rem; +} + +.mb-6 { + margin-bottom: 1.5rem; +} + +.mb-8 { + margin-bottom: 2rem; +} + +.ml-3 { + margin-left: .75rem; +} + +.ml-4 { + margin-left: 1rem; +} + +.ml-6 { + margin-left: 1.5rem; +} + +.mr-1 { + margin-right: .25rem; +} + +.mr-2 { + margin-right: .5rem; +} + +.mr-3 { + margin-right: .75rem; +} + +.mr-4 { + margin-right: 1rem; +} + +.mt-1 { + margin-top: .25rem; +} + +.mt-12 { + margin-top: 3rem; +} + +.mt-16 { + margin-top: 4rem; +} + +.mt-2 { + margin-top: .5rem; +} + +.mt-5 { + margin-top: 1.25rem; +} + +.mt-6 { + margin-top: 1.5rem; +} + +.mt-8 { + margin-top: 2rem; +} + +.block { + display: block; +} + +.inline-block { + display: inline-block; +} + +.inline { + display: inline; +} + +.flex { + display: flex; +} + +.inline-flex { + display: inline-flex; +} + +.grid { + display: grid; +} + +.hidden { + display: none; +} + +.h-16 { + height: 4rem; +} + +.h-18 { + height: 4.5rem; +} + +.h-2 { + height: .5rem; +} + +.h-20 { + height: 5rem; +} + +.h-24 { + height: 6rem; +} + +.h-4 { + height: 1rem; +} + +.h-6 { + height: 1.5rem; +} + +.h-64 { + height: 16rem; +} + +.h-full { + height: 100%; +} + +.h-screen { + height: 100vh; +} + +.max-h-screen { + max-height: 100vh; +} + +.min-h-screen { + min-height: 100vh; +} + +.w-16 { + width: 4rem; +} + +.w-2 { + width: .5rem; +} + +.w-20 { + width: 5rem; +} + +.w-4 { + width: 1rem; +} + +.w-6 { + width: 1.5rem; +} + +.w-64 { + width: 16rem; +} + +.w-8 { + width: 2rem; +} + +.w-full { + width: 100%; +} + +.w-screen { + width: 100vw; +} + +.max-w-2xl { + max-width: 42rem; +} + +.max-w-4xl { + max-width: 56rem; +} + +.max-w-5xl { + max-width: 64rem; +} + +.max-w-xl { + max-width: 36rem; +} + +.flex-1 { + flex: 1; +} + +.flex-auto { + flex: auto; +} + +.flex-none { + flex: none; +} + +.flex-shrink-0 { + flex-shrink: 0; +} + +.flex-grow { + flex-grow: 1; +} + +.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)); +} + +.cursor-pointer { + cursor: pointer; +} + +.select-none { + -webkit-user-select: none; + user-select: none; +} + +.list-decimal { + list-style-type: decimal; +} + +.appearance-none { + -webkit-appearance: none; + appearance: none; +} + +.grid-cols-1 { + grid-template-columns: repeat(1, minmax(0, 1fr)); +} + +.flex-col { + flex-direction: column; +} + +.flex-wrap { + flex-wrap: wrap; +} + +.items-center { + align-items: center; +} + +.justify-center { + justify-content: center; +} + +.justify-between { + justify-content: space-between; +} + +.gap-3 { + gap: .75rem; +} + +.gap-4 { + gap: 1rem; +} + +.gap-6 { + gap: 1.5rem; +} + +.space-y-1 > :not([hidden]) ~ :not([hidden]) { + --tw-space-y-reverse: 0; + margin-top: calc(.25rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(.25rem * var(--tw-space-y-reverse)); +} + +.divide-y > :not([hidden]) ~ :not([hidden]) { + --tw-divide-y-reverse: 0; + border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse))); + border-bottom-width: calc(1px * var(--tw-divide-y-reverse)); +} + +.divide-gray-400 > :not([hidden]) ~ :not([hidden]) { + border-color: #cbd5e0; +} + +.overflow-auto { + overflow: auto; +} + +.overflow-hidden { + overflow: hidden; +} + +.overflow-y-auto { + overflow-y: auto; +} + +.overflow-y-scroll { + overflow-y: scroll; +} + +.rounded { + border-radius: .25rem; +} + +.rounded-full { + border-radius: 9999px; +} + +.rounded-lg { + border-radius: .5rem; +} + +.rounded-md { + border-radius: .375rem; +} + +.rounded-b-lg { + border-bottom-right-radius: .5rem; + border-bottom-left-radius: .5rem; +} + +.border { + border-width: 1px; +} + +.border-b { + border-bottom-width: 1px; +} + +.border-blue-500 { + border-color: #4299e1; +} + +.border-blue-700 { + border-color: #2b6cb0; +} + +.border-gray-200 { + border-color: #edf2f7; +} + +.border-gray-400 { + border-color: #cbd5e0; +} + +.border-white { + border-color: #fff; +} + +.bg-black\/25 { + background-color: #00000040; +} + +.bg-blue-100 { + background-color: #ebf8ff; +} + +.bg-blue-400 { + background-color: #63b3ed; +} + +.bg-blue-500 { + background-color: #4299e1; +} + +.bg-blue-600 { + background-color: #3182ce; +} + +.bg-blue-700 { + background-color: #2b6cb0; +} + +.bg-gray-100 { + background-color: #f7fafc; +} + +.bg-gray-400 { + background-color: #cbd5e0; +} + +.bg-orange-100 { + background-color: #fffaf0; +} + +.bg-orange-600 { + background-color: #dd6b20; +} + +.bg-red-700 { + background-color: #c53030; +} + +.bg-transparent { + background-color: #0000; +} + +.bg-white { + background-color: #fff; +} + +.bg-cover { + background-size: cover; +} + +.bg-center { + background-position: center; +} + +.object-cover { + object-fit: cover; +} + +.p-8 { + padding: 2rem; +} + +.px-2 { + padding-left: .5rem; + padding-right: .5rem; +} + +.px-3 { + padding-left: .75rem; + padding-right: .75rem; +} + +.px-4 { + padding-left: 1rem; + padding-right: 1rem; +} + +.px-6 { + padding-left: 1.5rem; + padding-right: 1.5rem; +} + +.px-8 { + padding-left: 2rem; + padding-right: 2rem; +} + +.py-1 { + padding-top: .25rem; + padding-bottom: .25rem; +} + +.py-2 { + padding-top: .5rem; + padding-bottom: .5rem; +} + +.py-24 { + padding-top: 6rem; + padding-bottom: 6rem; +} + +.py-3 { + padding-top: .75rem; + padding-bottom: .75rem; +} + +.py-4 { + padding-top: 1rem; + padding-bottom: 1rem; +} + +.pb-8 { + padding-bottom: 2rem; +} + +.pt-6 { + padding-top: 1.5rem; +} + +.text-center { + text-align: center; +} + +.font-mono { + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace; +} + +.text-2xl { + font-size: 1.5rem; +} + +.text-3xl { + font-size: 1.875rem; +} + +.text-lg { + font-size: 1.125rem; +} + +.text-sm { + font-size: .875rem; +} + +.text-xl { + font-size: 1.25rem; +} + +.text-xs { + font-size: .75rem; +} + +.font-bold { + font-weight: 700; +} + +.font-semibold { + font-weight: 600; +} + +.uppercase { + text-transform: uppercase; +} + +.leading-tight { + line-height: 1.25; +} + +.tracking-wide { + letter-spacing: .025em; +} + +.text-blue-400 { + color: #63b3ed; +} + +.text-blue-500 { + color: #4299e1; +} + +.text-blue-600 { + color: #3182ce; +} + +.text-blue-800 { + color: #2c5282; +} + +.text-blue-900 { + color: #2a4365; +} + +.text-gray-600 { + color: #718096; +} + +.text-gray-700 { + color: #4a5568; +} + +.text-green-500 { + color: #48bb78; +} + +.text-white { + color: #fff; +} + +.underline { + text-decoration-line: underline; +} + +.line-through { + text-decoration-line: line-through; +} + +.antialiased { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.opacity-50 { + opacity: .5; +} + +.shadow { + --tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a; + --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} + +.shadow-xl { + --tw-shadow: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a; + --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} + +.filter { + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); +} + +.transition-opacity { + transition-property: opacity; + transition-duration: .15s; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); +} + +.duration-200 { + transition-duration: .2s; +} + +.ease-in-out { + transition-timing-function: cubic-bezier(.4, 0, .2, 1); +} + +.ease-linear { + transition-timing-function: linear; +} + +.slider { + cursor: pointer; + background-color: #cbd5e0; + border-radius: 9999px; + width: 2.5rem; + height: 1.5rem; + margin-right: .5rem; + position: relative; +} + +.slider:before { + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); + content: ""; + background-color: #fff; + border-width: .375rem; + border-color: #cbd5e0; + border-radius: 9999px; + width: 1.5rem; + height: 1.5rem; + transition-property: transform; + transition-duration: .3s; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + position: absolute; +} + +input:checked + .slider { + background-color: #4299e1; +} + +input:checked + .slider:before { + border-color: #4299e1; +} + +input:checked + .slider.inf { + background-color: #7cb342; +} + +input:checked + .slider.inf:before { + border-color: #7cb342; +} + +input:checked + .slider.mat { + background-color: #4299e1; +} + +input:checked + .slider.mat:before { + border-color: #4299e1; +} + +input:checked + .slider.fyz { + background-color: #ed8936; +} + +input:checked + .slider.fyz:before { + border-color: #ed8936; +} + +input:checked + .slider.otr { + background-color: #e53e3e; +} + +input:checked + .slider.otr:before { + border-color: #e53e3e; +} + +input:checked + .slider:before { + --tw-translate-x: 1rem; + 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: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +input[type="search"]::-webkit-search-cancel-button { + display: none; +} + +.double-slider { + --tw-gradient-stops: #4299e1 calc(.75rem + (var(--va)) / 14 * 17.25rem), #4299e1 calc(.75rem + (var(--vb)) / 14 * 17.25rem); + grid-template-rows: -webkit-max-content 1.5rem -webkit-max-content; + grid-template-rows: max-content 1.5rem max-content; + row-gap: .75rem; + width: 21.75rem; + margin: 0 -.375rem; + padding: 0 1.5rem; + display: grid; + position: relative; + overflow: hidden; +} + +.double-slider:before, .double-slider:after { + --mask: red; + -webkit-mask: var(--mask); + -webkit-mask: var(--mask); + mask: var(--mask); + -webkit-mask-composite: xor; + content: ""; + background-color: #cbd5e0; + border-radius: 9999px; + grid-row-start: 2; + grid-column-start: 1; + align-self: center; + height: 1.5rem; + transition-property: all; + transition-duration: .3s; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + -webkit-mask-composite: xor; + mask-composite: exclude; +} + +.double-slider:after { + background-image: linear-gradient(to right, var(--tw-gradient-stops)); + --mask: linear-gradient(90deg, red calc(.75rem + (var(--va)) / 14 * 17.25rem), transparent 0), linear-gradient(90deg, red calc(.75rem + (var(--vb)) / 14 * 17.25rem), transparent 0); +} + +.double-slider:focus-within { + --tw-gradient-stops: #4299e1 calc(.75rem + (min(var(--va), var(--vb)) / 14 * 17.25rem)), #2c5282 calc(.75rem + (max(var(--va), var(--vb)) / 14 * 17.25rem)); +} + +.double-slider.switched:focus-within { + --tw-gradient-stops: #2c5282 calc(.75rem + (min(var(--va), var(--vb)) / 14 * 17.25rem)), #4299e1 calc(.75rem + (max(var(--va), var(--vb)) / 14 * 17.25rem)); +} + +.double-slider > input[type="range"] { + pointer-events: none; + z-index: 10; + cursor: grab; + background: none; + grid-row-start: 2; + grid-column-start: 1; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter; + transition-duration: .3s; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + inset: 0; +} + +.double-slider > input[type="range"]:active { + cursor: grabbing; +} + +.double-slider > input[type="range"] { + -webkit-appearance: none; + appearance: none; +} + +.double-slider > input[type="range"]::-webkit-slider-runnable-track { + -webkit-appearance: none; + appearance: none; +} + +.double-slider > input[type="range"]::-webkit-slider-thumb { + -webkit-appearance: none; + appearance: none; +} + +.double-slider > input[type="range"]::-webkit-slider-runnable-track { + background-image: none; + width: 100%; + height: 100%; +} + +.double-slider > input[type="range"]::-moz-range-track { + background-image: none; + width: 100%; + height: 100%; +} + +.double-slider > input[type="range"]::-webkit-slider-thumb { + pointer-events: auto; + box-sizing: border-box; + background-color: #fff; + border: .375rem solid #4299e1; + border-radius: 9999px; + width: 1.5rem; + height: 1.5rem; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter; + transition-duration: .3s; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); +} + +.double-slider > input[type="range"]::-moz-range-thumb { + pointer-events: auto; + box-sizing: border-box; + background-color: #fff; + border: .375rem solid #4299e1; + border-radius: 9999px; + width: 1.5rem; + height: 1.5rem; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter; + transition-duration: .3s; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); +} + +.double-slider > input[type="range"]:focus::-webkit-slider-thumb { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); + --tw-ring-color: #2c5282; + border-color: #2c5282; +} + +.double-slider > input[type="range"]:focus::-moz-range-thumb { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); + --tw-ring-color: #2c5282; + border-color: #2c5282; +} + +.double-slider > input[type="range"]:focus { + z-index: 20; + outline-offset: 2px; + outline: 2px solid #0000; +} + +.double-slider > input[type="range"]:focus + output { + z-index: 20; +} + +.double-slider > input[type="range"]:focus + output > span { + background-color: #2c5282; +} + +@media screen and (max-width: 768px) { + .double-slider > input[type="range"]:hover::-webkit-slider-thumb { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); + --tw-ring-color: #2c5282; + border-color: #2c5282; + } + + .double-slider > input[type="range"]:hover::-moz-range-thumb { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); + --tw-ring-color: #2c5282; + border-color: #2c5282; + } + + .double-slider > input[type="range"]:hover { + z-index: 20; + outline-offset: 2px; + outline: 2px solid #0000; + } + + .double-slider > input[type="range"]:hover + output { + z-index: 20; + } + + .double-slider > input[type="range"]:hover + output > span { + background-color: #2c5282; + } +} + +.double-slider > output { + transform: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); + --tw-translate-x: calc((var(--c)) / 14 * 17.25rem); + grid-row-start: 1; + grid-column-start: 1; + max-width: max-content; + margin-left: .75rem; +} + +.double-slider > output > span { + --tw-translate-x: -50%; + 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: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); + color: #fff; + background-color: #4299e1; + border-radius: .25rem; + padding-left: .375rem; + padding-right: .375rem; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter; + transition-duration: .3s; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + display: block; +} + +.svg { + fill: #0000; + stroke: currentColor; + stroke-width: 2px; + stroke-linecap: round; + stroke-linejoin: round; +} + +.hover\:border-gray-200:hover { + border-color: #edf2f7; +} + +.hover\:bg-blue-100:hover { + background-color: #ebf8ff; +} + +.hover\:bg-blue-600:hover { + background-color: #3182ce; +} + +.hover\:bg-blue-700:hover { + background-color: #2b6cb0; +} + +.hover\:bg-gray-200:hover { + background-color: #edf2f7; +} + +.hover\:text-blue-500:hover { + color: #4299e1; +} + +.hover\:text-blue-600:hover { + color: #3182ce; +} + +.hover\:opacity-100:hover { + opacity: 1; +} + +.focus\:outline-none:focus { + outline-offset: 2px; + outline: 2px solid #0000; +} + +@media (min-width: 768px) { + .md\:-mt-1 { + margin-top: -.25rem; + } + + .md\:mb-0 { + margin-bottom: 0; + } + + .md\:mr-5 { + margin-right: 1.25rem; + } + + .md\:block { + display: block; + } + + .md\:flex { + display: flex; + } + + .md\:hidden { + display: none; + } + + .md\:w-full { + width: 100%; + } + + .md\:max-w-sm { + max-width: 24rem; + } + + .md\:grid-cols-2 { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + + .md\:grid-cols-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + + .md\:grid-cols-5 { + grid-template-columns: repeat(5, minmax(0, 1fr)); + } + + .md\:flex-row { + flex-direction: row; + } + + .md\:justify-start { + justify-content: flex-start; + } + + .md\:justify-between { + justify-content: space-between; + } + + .md\:border-b-0 { + border-bottom-width: 0; + } + + .md\:border-r { + border-right-width: 1px; + } + + .md\:px-6 { + padding-left: 1.5rem; + padding-right: 1.5rem; + } + + .md\:text-5xl { + font-size: 3rem; + } +} + +@media (min-width: 1024px) { + .lg\:grid-cols-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } +} diff --git a/tailwind/custom.css b/custom.css similarity index 100% rename from tailwind/custom.css rename to custom.css diff --git a/ical.html b/ical.html index 17fca42..35d883a 100644 --- a/ical.html +++ b/ical.html @@ -3,8 +3,8 @@ - - + + iCalendar - KockatýKalendár.sk diff --git a/index.html b/index.html index 78b0623..a125732 100644 --- a/index.html +++ b/index.html @@ -3,8 +3,8 @@ - - + + KockatýKalendár.sk - prehľad M/F/I akcií a súťaží pre ZŠ a SŠ diff --git a/tailwind/tailwind.config.js b/tailwind.config.js similarity index 99% rename from tailwind/tailwind.config.js rename to tailwind.config.js index 97d8f0d..5cad55c 100644 --- a/tailwind/tailwind.config.js +++ b/tailwind.config.js @@ -1,6 +1,6 @@ // tailwind.config.js module.exports = { - content: ["../**/*.{html,js}"], + content: ["./**/*.{html,js}"], theme: { colors: { transparent: 'transparent', diff --git a/tailwind/tailwind.css b/tailwind.css similarity index 100% rename from tailwind/tailwind.css rename to tailwind.css diff --git a/tailwind/README.md b/tailwind/README.md deleted file mode 100644 index 0046f6b..0000000 --- a/tailwind/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## Install requirements - -`npm install tailwindcss@3.1.6 --no-save` - - -## Generate developer Tailwindcss build: - -`npx tailwindcss -i tailwind.css -o build.css` - -This will produce all classes used by Tailwindcss. - - -## Generate production Tailwindcss build: - - cat tailwind.css custom.css > tailwind.temp.css - npx tailwindcss -i tailwind.temp.css -c tailwind.config.prod.js -o build.css -m - -This will produce classes only used in code (files are specified in `./tailwind.config.prod.js`) and minify the resulting css. diff --git a/tailwind/build.css b/tailwind/build.css deleted file mode 100644 index 1b3447a..0000000 --- a/tailwind/build.css +++ /dev/null @@ -1,1783 +0,0 @@ -/* -! tailwindcss v3.1.6 | MIT License | https://tailwindcss.com -*/ - -/* -1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) -2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) -*/ - -*, -::before, -::after { - box-sizing: border-box; - /* 1 */ - border-width: 0; - /* 2 */ - border-style: solid; - /* 2 */ - border-color: #edf2f7; - /* 2 */ -} - -::before, -::after { - --tw-content: ''; -} - -/* -1. Use a consistent sensible line-height in all browsers. -2. Prevent adjustments of font size after orientation changes in iOS. -3. Use a more readable tab size. -4. Use the user's configured `sans` font-family by default. -*/ - -html { - line-height: 1.5; - /* 1 */ - -webkit-text-size-adjust: 100%; - /* 2 */ - -moz-tab-size: 4; - /* 3 */ - -o-tab-size: 4; - tab-size: 4; - /* 3 */ - font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - /* 4 */ -} - -/* -1. Remove the margin in all browsers. -2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. -*/ - -body { - margin: 0; - /* 1 */ - line-height: inherit; - /* 2 */ -} - -/* -1. Add the correct height in Firefox. -2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) -3. Ensure horizontal rules are visible by default. -*/ - -hr { - height: 0; - /* 1 */ - color: inherit; - /* 2 */ - border-top-width: 1px; - /* 3 */ -} - -/* -Add the correct text decoration in Chrome, Edge, and Safari. -*/ - -abbr:where([title]) { - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; -} - -/* -Remove the default font size and weight for headings. -*/ - -h1, -h2, -h3, -h4, -h5, -h6 { - font-size: inherit; - font-weight: inherit; -} - -/* -Reset links to optimize for opt-in styling instead of opt-out. -*/ - -a { - color: inherit; - text-decoration: inherit; -} - -/* -Add the correct font weight in Edge and Safari. -*/ - -b, -strong { - font-weight: bolder; -} - -/* -1. Use the user's configured `mono` font family by default. -2. Correct the odd `em` font sizing in all browsers. -*/ - -code, -kbd, -samp, -pre { - font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; - /* 1 */ - font-size: 1em; - /* 2 */ -} - -/* -Add the correct font size in all browsers. -*/ - -small { - font-size: 80%; -} - -/* -Prevent `sub` and `sup` elements from affecting the line height in all browsers. -*/ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -/* -1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) -2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) -3. Remove gaps between table borders by default. -*/ - -table { - text-indent: 0; - /* 1 */ - border-color: inherit; - /* 2 */ - border-collapse: collapse; - /* 3 */ -} - -/* -1. Change the font styles in all browsers. -2. Remove the margin in Firefox and Safari. -3. Remove default padding in all browsers. -*/ - -button, -input, -optgroup, -select, -textarea { - font-family: inherit; - /* 1 */ - font-size: 100%; - /* 1 */ - font-weight: inherit; - /* 1 */ - line-height: inherit; - /* 1 */ - color: inherit; - /* 1 */ - margin: 0; - /* 2 */ - padding: 0; - /* 3 */ -} - -/* -Remove the inheritance of text transform in Edge and Firefox. -*/ - -button, -select { - text-transform: none; -} - -/* -1. Correct the inability to style clickable types in iOS and Safari. -2. Remove default button styles. -*/ - -button, -[type='button'], -[type='reset'], -[type='submit'] { - -webkit-appearance: button; - /* 1 */ - background-color: transparent; - /* 2 */ - background-image: none; - /* 2 */ -} - -/* -Use the modern Firefox focus style for all focusable elements. -*/ - -:-moz-focusring { - outline: auto; -} - -/* -Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) -*/ - -:-moz-ui-invalid { - box-shadow: none; -} - -/* -Add the correct vertical alignment in Chrome and Firefox. -*/ - -progress { - vertical-align: baseline; -} - -/* -Correct the cursor style of increment and decrement buttons in Safari. -*/ - -::-webkit-inner-spin-button, -::-webkit-outer-spin-button { - height: auto; -} - -/* -1. Correct the odd appearance in Chrome and Safari. -2. Correct the outline style in Safari. -*/ - -[type='search'] { - -webkit-appearance: textfield; - /* 1 */ - outline-offset: -2px; - /* 2 */ -} - -/* -Remove the inner padding in Chrome and Safari on macOS. -*/ - -::-webkit-search-decoration { - -webkit-appearance: none; -} - -/* -1. Correct the inability to style clickable types in iOS and Safari. -2. Change font properties to `inherit` in Safari. -*/ - -::-webkit-file-upload-button { - -webkit-appearance: button; - /* 1 */ - font: inherit; - /* 2 */ -} - -/* -Add the correct display in Chrome and Safari. -*/ - -summary { - display: list-item; -} - -/* -Removes the default spacing and border for appropriate elements. -*/ - -blockquote, -dl, -dd, -h1, -h2, -h3, -h4, -h5, -h6, -hr, -figure, -p, -pre { - margin: 0; -} - -fieldset { - margin: 0; - padding: 0; -} - -legend { - padding: 0; -} - -ol, -ul, -menu { - list-style: none; - margin: 0; - padding: 0; -} - -/* -Prevent resizing textareas horizontally by default. -*/ - -textarea { - resize: vertical; -} - -/* -1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) -2. Set the default placeholder color to the user's configured gray 400 color. -*/ - -input::-moz-placeholder, textarea::-moz-placeholder { - opacity: 1; - /* 1 */ - color: #cbd5e0; - /* 2 */ -} - -input:-ms-input-placeholder, textarea:-ms-input-placeholder { - opacity: 1; - /* 1 */ - color: #cbd5e0; - /* 2 */ -} - -input::placeholder, -textarea::placeholder { - opacity: 1; - /* 1 */ - color: #cbd5e0; - /* 2 */ -} - -/* -Set the default cursor for buttons. -*/ - -button, -[role="button"] { - cursor: pointer; -} - -/* -Make sure disabled buttons don't get the pointer cursor. -*/ - -:disabled { - cursor: default; -} - -/* -1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) -2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) - This can trigger a poorly considered lint error in some tools but is included by design. -*/ - -img, -svg, -video, -canvas, -audio, -iframe, -embed, -object { - display: block; - /* 1 */ - vertical-align: middle; - /* 2 */ -} - -/* -Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) -*/ - -img, -video { - max-width: 100%; - height: auto; -} - -*, ::before, ::after { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(66 153 225 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -::-webkit-backdrop { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(66 153 225 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -::backdrop { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(66 153 225 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -.container { - width: 100%; -} - -@media (min-width: 640px) { - .container { - max-width: 640px; - } -} - -@media (min-width: 768px) { - .container { - max-width: 768px; - } -} - -@media (min-width: 1024px) { - .container { - max-width: 1024px; - } -} - -@media (min-width: 1280px) { - .container { - max-width: 1280px; - } -} - -@media (min-width: 1536px) { - .container { - max-width: 1536px; - } -} - -.sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.fixed { - position: fixed; -} - -.absolute { - position: absolute; -} - -.relative { - position: relative; -} - -.left-0 { - left: 0px; -} - -.right-0 { - right: 0px; -} - -.-top-20 { - top: -5rem; -} - -.z-10 { - z-index: 10; -} - -.z-20 { - z-index: 20; -} - -.z-30 { - z-index: 30; -} - -.mx-auto { - margin-left: auto; - margin-right: auto; -} - -.mx-4 { - margin-left: 1rem; - margin-right: 1rem; -} - -.mx-2 { - margin-left: 0.5rem; - margin-right: 0.5rem; -} - -.my-2 { - margin-top: 0.5rem; - margin-bottom: 0.5rem; -} - -.my-1 { - margin-top: 0.25rem; - margin-bottom: 0.25rem; -} - -.mb-1 { - margin-bottom: 0.25rem; -} - -.mr-3 { - margin-right: 0.75rem; -} - -.mb-4 { - margin-bottom: 1rem; -} - -.ml-3 { - margin-left: 0.75rem; -} - -.mt-8 { - margin-top: 2rem; -} - -.mb-6 { - margin-bottom: 1.5rem; -} - -.mb-2 { - margin-bottom: 0.5rem; -} - -.mt-12 { - margin-top: 3rem; -} - -.mb-12 { - margin-bottom: 3rem; -} - -.mt-16 { - margin-top: 4rem; -} - -.mb-8 { - margin-bottom: 2rem; -} - -.mt-2 { - margin-top: 0.5rem; -} - -.mt-6 { - margin-top: 1.5rem; -} - -.ml-6 { - margin-left: 1.5rem; -} - -.mr-4 { - margin-right: 1rem; -} - -.mt-5 { - margin-top: 1.25rem; -} - -.mr-1 { - margin-right: 0.25rem; -} - -.ml-4 { - margin-left: 1rem; -} - -.mr-2 { - margin-right: 0.5rem; -} - -.mt-1 { - margin-top: 0.25rem; -} - -.block { - display: block; -} - -.inline-block { - display: inline-block; -} - -.inline { - display: inline; -} - -.flex { - display: flex; -} - -.inline-flex { - display: inline-flex; -} - -.grid { - display: grid; -} - -.hidden { - display: none; -} - -.h-2 { - height: 0.5rem; -} - -.h-screen { - height: 100vh; -} - -.h-full { - height: 100%; -} - -.h-6 { - height: 1.5rem; -} - -.h-20 { - height: 5rem; -} - -.h-16 { - height: 4rem; -} - -.h-24 { - height: 6rem; -} - -.h-64 { - height: 16rem; -} - -.h-18 { - height: 4.5rem; -} - -.h-4 { - height: 1rem; -} - -.max-h-screen { - max-height: 100vh; -} - -.min-h-screen { - min-height: 100vh; -} - -.w-2 { - width: 0.5rem; -} - -.w-full { - width: 100%; -} - -.w-6 { - width: 1.5rem; -} - -.w-20 { - width: 5rem; -} - -.w-16 { - width: 4rem; -} - -.w-64 { - width: 16rem; -} - -.w-screen { - width: 100vw; -} - -.w-8 { - width: 2rem; -} - -.w-4 { - width: 1rem; -} - -.max-w-2xl { - max-width: 42rem; -} - -.max-w-4xl { - max-width: 56rem; -} - -.max-w-5xl { - max-width: 64rem; -} - -.max-w-xl { - max-width: 36rem; -} - -.flex-1 { - flex: 1 1 0%; -} - -.flex-auto { - flex: 1 1 auto; -} - -.flex-none { - flex: none; -} - -.flex-shrink-0 { - flex-shrink: 0; -} - -.flex-grow { - flex-grow: 1; -} - -.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)); -} - -.cursor-pointer { - cursor: pointer; -} - -.select-none { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.list-decimal { - list-style-type: decimal; -} - -.appearance-none { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; -} - -.grid-cols-1 { - grid-template-columns: repeat(1, minmax(0, 1fr)); -} - -.flex-col { - flex-direction: column; -} - -.flex-wrap { - flex-wrap: wrap; -} - -.items-center { - align-items: center; -} - -.justify-center { - justify-content: center; -} - -.justify-between { - justify-content: space-between; -} - -.gap-6 { - gap: 1.5rem; -} - -.gap-4 { - gap: 1rem; -} - -.gap-3 { - gap: 0.75rem; -} - -.space-y-1 > :not([hidden]) ~ :not([hidden]) { - --tw-space-y-reverse: 0; - margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)); -} - -.divide-y > :not([hidden]) ~ :not([hidden]) { - --tw-divide-y-reverse: 0; - border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse))); - border-bottom-width: calc(1px * var(--tw-divide-y-reverse)); -} - -.divide-gray-400 > :not([hidden]) ~ :not([hidden]) { - --tw-divide-opacity: 1; - border-color: rgb(203 213 224 / var(--tw-divide-opacity)); -} - -.overflow-auto { - overflow: auto; -} - -.overflow-hidden { - overflow: hidden; -} - -.overflow-y-auto { - overflow-y: auto; -} - -.overflow-y-scroll { - overflow-y: scroll; -} - -.rounded-full { - border-radius: 9999px; -} - -.rounded { - border-radius: 0.25rem; -} - -.rounded-lg { - border-radius: 0.5rem; -} - -.rounded-md { - border-radius: 0.375rem; -} - -.rounded-b-lg { - border-bottom-right-radius: 0.5rem; - border-bottom-left-radius: 0.5rem; -} - -.border { - border-width: 1px; -} - -.border-b { - border-bottom-width: 1px; -} - -.border-blue-700 { - --tw-border-opacity: 1; - border-color: rgb(43 108 176 / var(--tw-border-opacity)); -} - -.border-white { - --tw-border-opacity: 1; - border-color: rgb(255 255 255 / var(--tw-border-opacity)); -} - -.border-blue-500 { - --tw-border-opacity: 1; - border-color: rgb(66 153 225 / var(--tw-border-opacity)); -} - -.border-gray-200 { - --tw-border-opacity: 1; - border-color: rgb(237 242 247 / var(--tw-border-opacity)); -} - -.border-gray-400 { - --tw-border-opacity: 1; - border-color: rgb(203 213 224 / var(--tw-border-opacity)); -} - -.bg-blue-500 { - --tw-bg-opacity: 1; - background-color: rgb(66 153 225 / var(--tw-bg-opacity)); -} - -.bg-blue-700 { - --tw-bg-opacity: 1; - background-color: rgb(43 108 176 / var(--tw-bg-opacity)); -} - -.bg-blue-400 { - --tw-bg-opacity: 1; - background-color: rgb(99 179 237 / var(--tw-bg-opacity)); -} - -.bg-blue-600 { - --tw-bg-opacity: 1; - background-color: rgb(49 130 206 / var(--tw-bg-opacity)); -} - -.bg-blue-100 { - --tw-bg-opacity: 1; - background-color: rgb(235 248 255 / var(--tw-bg-opacity)); -} - -.bg-gray-400 { - --tw-bg-opacity: 1; - background-color: rgb(203 213 224 / var(--tw-bg-opacity)); -} - -.bg-gray-100 { - --tw-bg-opacity: 1; - background-color: rgb(247 250 252 / var(--tw-bg-opacity)); -} - -.bg-black\/25 { - background-color: rgb(0 0 0 / 0.25); -} - -.bg-white { - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); -} - -.bg-transparent { - background-color: transparent; -} - -.bg-orange-100 { - --tw-bg-opacity: 1; - background-color: rgb(255 250 240 / var(--tw-bg-opacity)); -} - -.bg-orange-600 { - --tw-bg-opacity: 1; - background-color: rgb(221 107 32 / var(--tw-bg-opacity)); -} - -.bg-red-700 { - --tw-bg-opacity: 1; - background-color: rgb(197 48 48 / var(--tw-bg-opacity)); -} - -.bg-cover { - background-size: cover; -} - -.bg-center { - background-position: center; -} - -.object-cover { - -o-object-fit: cover; - object-fit: cover; -} - -.p-8 { - padding: 2rem; -} - -.px-4 { - padding-left: 1rem; - padding-right: 1rem; -} - -.py-4 { - padding-top: 1rem; - padding-bottom: 1rem; -} - -.py-1 { - padding-top: 0.25rem; - padding-bottom: 0.25rem; -} - -.px-3 { - padding-left: 0.75rem; - padding-right: 0.75rem; -} - -.px-8 { - padding-left: 2rem; - padding-right: 2rem; -} - -.py-24 { - padding-top: 6rem; - padding-bottom: 6rem; -} - -.py-2 { - padding-top: 0.5rem; - padding-bottom: 0.5rem; -} - -.px-6 { - padding-left: 1.5rem; - padding-right: 1.5rem; -} - -.px-2 { - padding-left: 0.5rem; - padding-right: 0.5rem; -} - -.py-3 { - padding-top: 0.75rem; - padding-bottom: 0.75rem; -} - -.pt-6 { - padding-top: 1.5rem; -} - -.pb-8 { - padding-bottom: 2rem; -} - -.text-center { - text-align: center; -} - -.font-mono { - font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; -} - -.text-xl { - font-size: 1.25rem; -} - -.text-3xl { - font-size: 1.875rem; -} - -.text-2xl { - font-size: 1.5rem; -} - -.text-lg { - font-size: 1.125rem; -} - -.text-sm { - font-size: 0.875rem; -} - -.text-xs { - font-size: 0.75rem; -} - -.font-bold { - font-weight: 700; -} - -.font-semibold { - font-weight: 600; -} - -.uppercase { - text-transform: uppercase; -} - -.leading-tight { - line-height: 1.25; -} - -.tracking-wide { - letter-spacing: 0.025em; -} - -.text-white { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); -} - -.text-blue-800 { - --tw-text-opacity: 1; - color: rgb(44 82 130 / var(--tw-text-opacity)); -} - -.text-blue-900 { - --tw-text-opacity: 1; - color: rgb(42 67 101 / var(--tw-text-opacity)); -} - -.text-gray-600 { - --tw-text-opacity: 1; - color: rgb(113 128 150 / var(--tw-text-opacity)); -} - -.text-blue-500 { - --tw-text-opacity: 1; - color: rgb(66 153 225 / var(--tw-text-opacity)); -} - -.text-gray-700 { - --tw-text-opacity: 1; - color: rgb(74 85 104 / var(--tw-text-opacity)); -} - -.text-blue-600 { - --tw-text-opacity: 1; - color: rgb(49 130 206 / var(--tw-text-opacity)); -} - -.text-green-500 { - --tw-text-opacity: 1; - color: rgb(72 187 120 / var(--tw-text-opacity)); -} - -.text-blue-400 { - --tw-text-opacity: 1; - color: rgb(99 179 237 / var(--tw-text-opacity)); -} - -.underline { - -webkit-text-decoration-line: underline; - text-decoration-line: underline; -} - -.line-through { - -webkit-text-decoration-line: line-through; - text-decoration-line: line-through; -} - -.antialiased { - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.opacity-50 { - opacity: 0.5; -} - -.shadow-xl { - --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.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); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.filter { - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.transition-opacity { - transition-property: opacity; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.duration-200 { - transition-duration: 200ms; -} - -.ease-in-out { - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - -.ease-linear { - transition-timing-function: linear; -} - -/* ---- SLIDER INPUT ---- */ - -.slider { - position: relative; - margin-right: 0.5rem; - height: 1.5rem; - width: 2.5rem; - cursor: pointer; - border-radius: 9999px; - --tw-bg-opacity: 1; - background-color: rgb(203 213 224 / var(--tw-bg-opacity)); -} - -.slider:before { - position: absolute; - height: 1.5rem; - width: 1.5rem; - border-radius: 9999px; - border-width: 0.375rem; - --tw-border-opacity: 1; - border-color: rgb(203 213 224 / var(--tw-border-opacity)); - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); - transition-property: transform; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 300ms; - content: ""; -} - -input:checked + .slider { - --tw-bg-opacity: 1; - background-color: rgb(66 153 225 / var(--tw-bg-opacity)); -} - -input:checked + .slider:before { - --tw-border-opacity: 1; - border-color: rgb(66 153 225 / var(--tw-border-opacity)); -} - -input:checked + .slider.inf { - --tw-bg-opacity: 1; - background-color: rgb(124 179 66 / var(--tw-bg-opacity)); -} - -input:checked + .slider.inf:before { - --tw-border-opacity: 1; - border-color: rgb(124 179 66 / var(--tw-border-opacity)); -} - -input:checked + .slider.mat { - --tw-bg-opacity: 1; - background-color: rgb(66 153 225 / var(--tw-bg-opacity)); -} - -input:checked + .slider.mat:before { - --tw-border-opacity: 1; - border-color: rgb(66 153 225 / var(--tw-border-opacity)); -} - -input:checked + .slider.fyz { - --tw-bg-opacity: 1; - background-color: rgb(237 137 54 / var(--tw-bg-opacity)); -} - -input:checked + .slider.fyz:before { - --tw-border-opacity: 1; - border-color: rgb(237 137 54 / var(--tw-border-opacity)); -} - -input:checked + .slider.otr { - --tw-bg-opacity: 1; - background-color: rgb(229 62 62 / var(--tw-bg-opacity)); -} - -input:checked + .slider.otr:before { - --tw-border-opacity: 1; - border-color: rgb(229 62 62 / var(--tw-border-opacity)); -} - -input:checked + .slider:before { - --tw-translate-x: 1rem; - 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: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -input[type="search"]::-webkit-search-cancel-button { - display: none; -} - -/* ---- double-slider ---- */ - -.double-slider { - position: relative; - margin-top: 0px; - margin-bottom: 0px; - margin-left: -0.375rem; - margin-right: -0.375rem; - display: grid; - width: 21.75rem; - row-gap: 0.75rem; - overflow: hidden; - padding-left: 1.5rem; - padding-right: 1.5rem; - padding-top: 0px; - padding-bottom: 0px; - --tw-gradient-stops: #4299e1 calc(.75rem + (var(--va))/14*17.25rem), #4299e1 calc(.75rem + (var(--vb))/14*17.25rem); - grid-template-rows: -webkit-max-content 1.5rem -webkit-max-content; - grid-template-rows: max-content 1.5rem max-content; -} - -.double-slider::before, .double-slider::after { - grid-column-start: 1; - grid-row-start: 2; - height: 1.5rem; - align-self: center; - border-radius: 9999px; - --tw-bg-opacity: 1; - background-color: rgb(203 213 224 / var(--tw-bg-opacity)); - transition-property: all; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 300ms; - --mask: red; - -webkit-mask: var(--mask); - mask: var(--mask); - -webkit-mask-composite: xor; - mask-composite: exclude; - content: ""; -} - -.double-slider::after { - background-image: linear-gradient(to right, var(--tw-gradient-stops)); - --mask: linear-gradient(90deg, red calc(.75rem + (var(--va))/14*17.25rem), transparent 0), linear-gradient(90deg, red calc(.75rem + (var(--vb))/14*17.25rem), transparent 0); -} - -.double-slider:focus-within { - --tw-gradient-stops: #4299e1 calc(.75rem + (min(var(--va), var(--vb))/14*17.25rem)), #2C5282 calc(.75rem + (max(var(--va), var(--vb))/14*17.25rem)); -} - -.double-slider.switched:focus-within { - --tw-gradient-stops: #2C5282 calc(.75rem + (min(var(--va), var(--vb))/14*17.25rem)), #4299e1 calc(.75rem + (max(var(--va), var(--vb))/14*17.25rem)); -} - -.double-slider > input[type=range] { - pointer-events: none; - top: 0px; - right: 0px; - bottom: 0px; - left: 0px; - z-index: 10; - grid-column-start: 1; - grid-row-start: 2; - cursor: -webkit-grab; - cursor: grab; - transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 300ms; - background: none; -} - -.double-slider > input[type=range]:active { - cursor: -webkit-grabbing; - cursor: grabbing; -} - -.double-slider > input[type=range]::-webkit-slider-runnable-track, .double-slider > input[type=range]::-webkit-slider-thumb, .double-slider > input[type=range] { - -webkit-appearance: none; - appearance: none; -} - -.double-slider > input[type=range]::-webkit-slider-runnable-track, .double-slider > input[type=range]::-moz-range-track { - height: 100%; - width: 100%; - background-image: none; -} - -.double-slider > input[type=range]::-webkit-slider-thumb { - pointer-events: auto; - box-sizing: border-box; - height: 1.5rem; - width: 1.5rem; - border-radius: 9999px; - border-width: 0.375rem; - border-style: solid; - --tw-border-opacity: 1; - border-color: rgb(66 153 225 / var(--tw-border-opacity)); - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); - -webkit-transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter; - transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 300ms; -} - -.double-slider > input[type=range]::-moz-range-thumb { - pointer-events: auto; - box-sizing: border-box; - height: 1.5rem; - width: 1.5rem; - border-radius: 9999px; - border-width: 0.375rem; - border-style: solid; - --tw-border-opacity: 1; - border-color: rgb(66 153 225 / var(--tw-border-opacity)); - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); - -moz-transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 300ms; -} - -.double-slider > input[type=range]:focus::-webkit-slider-thumb { - --tw-border-opacity: 1; - border-color: rgb(44 82 130 / var(--tw-border-opacity)); - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); - --tw-ring-opacity: 1; - --tw-ring-color: rgb(44 82 130 / var(--tw-ring-opacity)); -} - -.double-slider > input[type=range]:focus::-moz-range-thumb { - --tw-border-opacity: 1; - border-color: rgb(44 82 130 / var(--tw-border-opacity)); - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); - --tw-ring-opacity: 1; - --tw-ring-color: rgb(44 82 130 / var(--tw-ring-opacity)); -} - -.double-slider > input[type=range]:focus { - z-index: 20; - outline: 2px solid transparent; - outline-offset: 2px; -} - -.double-slider > input[type=range]:focus + output { - z-index: 20; -} - -.double-slider > input[type=range]:focus + output > span { - --tw-bg-opacity: 1; - background-color: rgb(44 82 130 / var(--tw-bg-opacity)); -} - -@media screen and (max-width: 768px) { - .double-slider > input[type=range]:hover::-webkit-slider-thumb { - --tw-border-opacity: 1; - border-color: rgb(44 82 130 / var(--tw-border-opacity)); - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); - --tw-ring-opacity: 1; - --tw-ring-color: rgb(44 82 130 / var(--tw-ring-opacity)); - } - - .double-slider > input[type=range]:hover::-moz-range-thumb { - --tw-border-opacity: 1; - border-color: rgb(44 82 130 / var(--tw-border-opacity)); - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); - --tw-ring-opacity: 1; - --tw-ring-color: rgb(44 82 130 / var(--tw-ring-opacity)); - } - - .double-slider > input[type=range]:hover { - z-index: 20; - outline: 2px solid transparent; - outline-offset: 2px; - } - - .double-slider > input[type=range]:hover + output { - z-index: 20; - } - - .double-slider > input[type=range]:hover + output > span { - --tw-bg-opacity: 1; - background-color: rgb(44 82 130 / var(--tw-bg-opacity)); - } -} - -.double-slider > output { - grid-column-start: 1; - grid-row-start: 1; - margin-left: 0.75rem; - max-width: -webkit-max-content; - max-width: -moz-max-content; - max-width: max-content; - transform: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); - --tw-translate-x: calc((var(--c))/14*17.25rem); -} - -.double-slider > output > span { - display: block; - --tw-translate-x: -50%; - 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: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); - border-radius: 0.25rem; - --tw-bg-opacity: 1; - background-color: rgb(66 153 225 / var(--tw-bg-opacity)); - padding-left: 0.375rem; - padding-right: 0.375rem; - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); - transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 300ms; -} - -.svg { - fill: transparent; - stroke: currentColor; - stroke-width: 2; - stroke-linecap: round; - stroke-linejoin: round; -} - -.hover\:border-gray-200:hover { - --tw-border-opacity: 1; - border-color: rgb(237 242 247 / var(--tw-border-opacity)); -} - -.hover\:bg-gray-200:hover { - --tw-bg-opacity: 1; - background-color: rgb(237 242 247 / var(--tw-bg-opacity)); -} - -.hover\:bg-blue-700:hover { - --tw-bg-opacity: 1; - background-color: rgb(43 108 176 / var(--tw-bg-opacity)); -} - -.hover\:bg-blue-600:hover { - --tw-bg-opacity: 1; - background-color: rgb(49 130 206 / var(--tw-bg-opacity)); -} - -.hover\:bg-blue-100:hover { - --tw-bg-opacity: 1; - background-color: rgb(235 248 255 / var(--tw-bg-opacity)); -} - -.hover\:text-blue-500:hover { - --tw-text-opacity: 1; - color: rgb(66 153 225 / var(--tw-text-opacity)); -} - -.hover\:text-blue-600:hover { - --tw-text-opacity: 1; - color: rgb(49 130 206 / var(--tw-text-opacity)); -} - -.hover\:opacity-100:hover { - opacity: 1; -} - -.focus\:outline-none:focus { - outline: 2px solid transparent; - outline-offset: 2px; -} - -@media (min-width: 768px) { - .md\:mb-0 { - margin-bottom: 0px; - } - - .md\:-mt-1 { - margin-top: -0.25rem; - } - - .md\:mr-5 { - margin-right: 1.25rem; - } - - .md\:block { - display: block; - } - - .md\:flex { - display: flex; - } - - .md\:hidden { - display: none; - } - - .md\:w-full { - width: 100%; - } - - .md\:max-w-sm { - max-width: 24rem; - } - - .md\:grid-cols-3 { - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .md\:grid-cols-2 { - grid-template-columns: repeat(2, minmax(0, 1fr)); - } - - .md\:grid-cols-5 { - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .md\:flex-row { - flex-direction: row; - } - - .md\:justify-start { - justify-content: flex-start; - } - - .md\:justify-between { - justify-content: space-between; - } - - .md\:border-b-0 { - border-bottom-width: 0px; - } - - .md\:border-r { - border-right-width: 1px; - } - - .md\:px-6 { - padding-left: 1.5rem; - padding-right: 1.5rem; - } - - .md\:text-5xl { - font-size: 3rem; - } -} - -@media (min-width: 1024px) { - .lg\:grid-cols-3 { - grid-template-columns: repeat(3, minmax(0, 1fr)); - } -} diff --git a/tailwind/tailwind.config.prod.js b/tailwind/tailwind.config.prod.js deleted file mode 100644 index 97d8f0d..0000000 --- a/tailwind/tailwind.config.prod.js +++ /dev/null @@ -1,159 +0,0 @@ -// tailwind.config.js -module.exports = { - content: ["../**/*.{html,js}"], - theme: { - colors: { - transparent: 'transparent', - current: 'currentColor', - - black: '#000', - white: '#fff', - - gray: { - DEFAULT: '#CBD5E0', /* tailwind v1 gray-400 */ - 100: '#f7fafc', - 200: '#edf2f7', - 300: '#e2e8f0', - 400: '#cbd5e0', - 500: '#a0aec0', - 600: '#718096', - 700: '#4a5568', - 800: '#2d3748', - 900: '#1a202c', - }, - red: { - DEFAULT: '#E53E3E', /* tailwind v1 red-600 */ - 100: '#fff5f5', - 200: '#fed7d7', - 300: '#feb2b2', - 400: '#fc8181', - 500: '#f56565', - 600: '#e53e3e', - 700: '#c53030', - 800: '#9b2c2c', - 900: '#742a2a', - }, - orange: { - DEFAULT: '#ED8936', /* tailwind v1 orange-500 */ - 100: '#fffaf0', - 200: '#feebc8', - 300: '#fbd38d', - 400: '#f6ad55', - 500: '#ed8936', - 600: '#dd6b20', - 700: '#c05621', - 800: '#9c4221', - 900: '#7b341e', - }, - yellow: { - DEFAULT: '#F6BF26', /* Gcal banana */ - 100: '#fffff0', - 200: '#fefcbf', - 300: '#faf089', - 400: '#f6e05e', - 500: '#ecc94b', - 600: '#d69e2e', - 700: '#b7791f', - 800: '#975a16', - 900: '#744210', - }, - green: { - DEFAULT: '#7CB342', /* Gcal pistacio */ - 100: '#f0fff4', - 200: '#c6f6d5', - 300: '#9ae6b4', - 400: '#68d391', - 500: '#48bb78', - 600: '#38a169', - 700: '#2f855a', - 800: '#276749', - 900: '#22543d', - }, - teal: { - 100: '#e6fffa', - 200: '#b2f5ea', - 300: '#81e6d9', - 400: '#4fd1c5', - 500: '#38b2ac', - 600: '#319795', - 700: '#2c7a7b', - 800: '#285e61', - 900: '#234e52', - }, - blue: { - DEFAULT: '#4299E1', /* tailwind v1 blue-500 */ - 100: '#ebf8ff', - 200: '#bee3f8', - 300: '#90cdf4', - 400: '#63b3ed', - 500: '#4299e1', - 600: '#3182ce', - 700: '#2b6cb0', - 800: '#2c5282', - 900: '#2a4365', - }, - indigo: { - 100: '#ebf4ff', - 200: '#c3dafe', - 300: '#a3bffa', - 400: '#7f9cf5', - 500: '#667eea', - 600: '#5a67d8', - 700: '#4c51bf', - 800: '#434190', - 900: '#3c366b', - }, - purple: { - DEFAULT: '#8E24AA', /* Gcal grape */ - 100: '#faf5ff', - 200: '#e9d8fd', - 300: '#d6bcfa', - 400: '#b794f4', - 500: '#9f7aea', - 600: '#805ad5', - 700: '#6b46c1', - 800: '#553c9a', - 900: '#44337a', - }, - pink: { - 100: '#fff5f7', - 200: '#fed7e2', - 300: '#fbb6ce', - 400: '#f687b3', - 500: '#ed64a6', - 600: '#d53f8c', - 700: '#b83280', - 800: '#97266d', - 900: '#702459', - }, - }, - fontSize: { - xs: '0.75rem', - sm: '0.875rem', - base: '1rem', - lg: '1.125rem', - xl: '1.25rem', - '2xl': '1.5rem', - '3xl': '1.875rem', - '4xl': '2.25rem', - '5xl': '3rem', - '6xl': '4rem', - }, - extend: { - spacing: { - '18': '4.5rem', - '87': '21.75rem', - '90': '23rem', - }, - cursor: { - grab: 'grab', - grabbing: 'grabbing', - }, - borderWidth: { - 'slider': '0.375rem', - }, - }, - }, - variants: {}, - plugins: [], -} diff --git a/terminy.html b/terminy.html index bbb328a..83bc56d 100644 --- a/terminy.html +++ b/terminy.html @@ -4,8 +4,8 @@ - - + + Termíny akcií - KockatýKalendár.sk