From 8a0cfe50638f829dd95d1be5167aa9e93aede8dd Mon Sep 17 00:00:00 2001 From: sergeyyarkov Date: Sun, 29 Oct 2023 22:32:00 +0300 Subject: [PATCH] progres --- data.db | Bin 20480 -> 20480 bytes public/css/dist.css | 168 +++++++++++++++++++++++++++++++++++++++++--- public/css/main.css | 4 ++ public/index.html | 159 ++++++++++++++++++++++++++++++++--------- public/js/app.js | 24 +++++-- 5 files changed, 304 insertions(+), 51 deletions(-) diff --git a/data.db b/data.db index 87d5438059f248f8afd871641ae29ff8801598c3..3beddde9a450cd1c1fc0f631a13e5dfc460abb9f 100644 GIT binary patch delta 162 zcmZozz}T>Wae|Z(lOzKJ11k{2z_f`vModhS8xxkvvz%ezKeJg-;Sj&J5d$}ausV|} zlPDu6Q;2hbp{0?Yp_zrAfu5m(G2=J=l+-f)l9I~MU?+pk-}Si!`1v<5F!4`k;D5$H z9Rz`Kvp6zeIBFO|~oc9-(l3-+KkmqES=5$Fd%S=vHP&O3sNlZ%3Q7{Am D48SCL delta 121 zcmZozz}T>Wae|Z(<9`MQ238=3fv$-bSk)C|sUt9{vkdo(Ql;(6vEz3+!RZun* M@JUQc%~3D}02EUldH?_b diff --git a/public/css/dist.css b/public/css/dist.css index feda3cf..6432749 100644 --- a/public/css/dist.css +++ b/public/css/dist.css @@ -587,6 +587,21 @@ video { opacity: 0.7; } +.modal { + margin-left: auto; + margin-right: auto; + margin-top: 5rem; + max-width: 28rem; + border-radius: 0.125rem; + border-width: 1px; + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity)); + padding-left: 1rem; + padding-right: 1rem; + padding-top: 0.875rem; + padding-bottom: 0.875rem; +} + .visible { visibility: visible; } @@ -622,6 +637,15 @@ video { margin-bottom: 1rem; } +.my-3 { + margin-top: 0.75rem; + margin-bottom: 0.75rem; +} + +.mb-2 { + margin-bottom: 0.5rem; +} + .mb-3 { margin-bottom: 0.75rem; } @@ -682,16 +706,8 @@ video { margin-top: 1.5rem; } -.mb-1 { - margin-bottom: 0.25rem; -} - -.mb-2 { - margin-bottom: 0.5rem; -} - -.mb-10 { - margin-bottom: 2.5rem; +.mt-auto { + margin-top: auto; } .block { @@ -706,6 +722,10 @@ video { display: flex; } +.grid { + display: grid; +} + .hidden { display: none; } @@ -746,10 +766,31 @@ video { width: 100%; } +.w-16 { + width: 4rem; +} + +.w-24 { + width: 6rem; +} + +.w-52 { + width: 13rem; +} + .min-w-\[256px\] { min-width: 256px; } +.min-w-fit { + min-width: -moz-fit-content; + min-width: fit-content; +} + +.min-w-\[100px\] { + min-width: 100px; +} + .max-w-2xl { max-width: 42rem; } @@ -770,6 +811,10 @@ video { flex: 1 1 auto; } +.basis-52 { + flex-basis: 13rem; +} + .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)); } @@ -798,6 +843,42 @@ video { resize: both; } +.grid-flow-col { + grid-auto-flow: column; +} + +.grid-cols-4 { + grid-template-columns: repeat(4, minmax(0, 1fr)); +} + +.grid-cols-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)); +} + +.grid-cols-\[200px_minmax\(900px\2c _1fr\)_100px\] { + grid-template-columns: 200px minmax(900px, 1fr) 100px; +} + +.grid-cols-1 { + grid-template-columns: repeat(1, minmax(0, 1fr)); +} + +.grid-rows-3 { + grid-template-rows: repeat(3, minmax(0, 1fr)); +} + +.grid-rows-4 { + grid-template-rows: repeat(4, minmax(0, 1fr)); +} + +.grid-rows-1 { + grid-template-rows: repeat(1, minmax(0, 1fr)); +} + +.grid-rows-2 { + grid-template-rows: repeat(2, minmax(0, 1fr)); +} + .flex-row { flex-direction: row; } @@ -806,6 +887,10 @@ video { flex-direction: column; } +.flex-wrap { + flex-wrap: wrap; +} + .items-center { align-items: center; } @@ -814,10 +899,22 @@ video { justify-content: flex-end; } +.justify-center { + justify-content: center; +} + .justify-between { justify-content: space-between; } +.gap-3 { + gap: 0.75rem; +} + +.gap-2 { + gap: 0.5rem; +} + .space-x-2 > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 0; margin-right: calc(0.5rem * var(--tw-space-x-reverse)); @@ -842,6 +939,10 @@ video { margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)); } +.overflow-auto { + overflow: auto; +} + .overflow-y-auto { overflow-y: auto; } @@ -850,6 +951,10 @@ video { border-radius: 0.125rem; } +.rounded-md { + border-radius: 0.375rem; +} + .border { border-width: 1px; } @@ -858,6 +963,10 @@ video { border-width: 2px; } +.border-4 { + border-width: 4px; +} + .border-b { border-bottom-width: 1px; } @@ -962,6 +1071,10 @@ video { padding-top: 1.25rem; } +.pl-0 { + padding-left: 0px; +} + .text-left { text-align: left; } @@ -1000,6 +1113,11 @@ video { line-height: 1.75rem; } +.text-5xl { + font-size: 3rem; + line-height: 1; +} + .font-bold { font-weight: 700; } @@ -1133,4 +1251,34 @@ button:disabled { --tw-text-opacity: 1; color: rgb(75 85 99 / var(--tw-text-opacity)); } +} + +@media (min-width: 640px) { + .sm\:grid-cols-1 { + grid-template-columns: repeat(1, minmax(0, 1fr)); + } +} + +@media (min-width: 768px) { + @media (min-width: 640px) { + .md\:sm\:grid-cols-2 { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + } + + .md\:grid-cols-2 { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } +} + +@media (min-width: 1024px) { + @media (min-width: 640px) { + .lg\:sm\:grid-cols-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + } + + .lg\:grid-cols-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } } diff --git a/public/css/main.css b/public/css/main.css index a9f2852..f4c39a2 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -6,6 +6,10 @@ .btn { @apply bg-blue-600 text-white py-2 px-3.5 font-semibold text-sm rounded-sm hover:opacity-70; } + + .modal { + @apply px-4 py-3.5 ml-auto mr-auto mt-20 bg-white max-w-md border rounded-sm; + } } [x-cloak] { diff --git a/public/index.html b/public/index.html index a7fcdce..38bbaab 100644 --- a/public/index.html +++ b/public/index.html @@ -16,7 +16,7 @@ --> -
+