diff --git a/frontend/src/lib/components/containers/files.svelte b/frontend/src/lib/components/containers/files.svelte new file mode 100644 index 0000000..766edb1 --- /dev/null +++ b/frontend/src/lib/components/containers/files.svelte @@ -0,0 +1,9 @@ + + +
+ + +
\ No newline at end of file diff --git a/frontend/src/lib/components/containers/images.svelte b/frontend/src/lib/components/containers/images.svelte new file mode 100644 index 0000000..1b75f2a --- /dev/null +++ b/frontend/src/lib/components/containers/images.svelte @@ -0,0 +1,25 @@ + + +
+ +
+ + \ No newline at end of file diff --git a/frontend/src/lib/components/containers/marks.svelte b/frontend/src/lib/components/containers/marks.svelte new file mode 100644 index 0000000..16c27bb --- /dev/null +++ b/frontend/src/lib/components/containers/marks.svelte @@ -0,0 +1,39 @@ + + +
+

{label}

+ + {#each items as item} + + {/each} + { + items.push(""); + value = items; + }} /> + +
+ + \ No newline at end of file diff --git a/frontend/src/lib/components/containers/queue.svelte b/frontend/src/lib/components/containers/queue.svelte new file mode 100644 index 0000000..c9e5caf --- /dev/null +++ b/frontend/src/lib/components/containers/queue.svelte @@ -0,0 +1,8 @@ + + +
+ + +
\ No newline at end of file diff --git a/frontend/src/lib/components/create_button.svelte b/frontend/src/lib/components/create_button.svelte index 1cbda9e..44f051f 100644 --- a/frontend/src/lib/components/create_button.svelte +++ b/frontend/src/lib/components/create_button.svelte @@ -1,10 +1,21 @@
- +
\ No newline at end of file diff --git a/frontend/src/lib/components/img_button.svelte b/frontend/src/lib/components/img_button.svelte index 3a2fab9..14dcd9c 100644 --- a/frontend/src/lib/components/img_button.svelte +++ b/frontend/src/lib/components/img_button.svelte @@ -22,6 +22,7 @@ .imgbutton img { margin-left: auto; margin-right: auto; + margin: 0; width: 2rem; } diff --git a/frontend/src/lib/components/horisontal_item.svelte b/frontend/src/lib/components/mark.svelte similarity index 97% rename from frontend/src/lib/components/horisontal_item.svelte rename to frontend/src/lib/components/mark.svelte index 8ae46fd..164e881 100644 --- a/frontend/src/lib/components/horisontal_item.svelte +++ b/frontend/src/lib/components/mark.svelte @@ -23,7 +23,7 @@
{#if compl_data} diff --git a/frontend/src/lib/components/queue_item.svelte b/frontend/src/lib/components/queue_item.svelte index 748eb26..17a8ec7 100644 --- a/frontend/src/lib/components/queue_item.svelte +++ b/frontend/src/lib/components/queue_item.svelte @@ -7,7 +7,7 @@ let { date, name } = $props(); -
+

{date}

{name}

@@ -19,9 +19,12 @@ .queue-item { margin: 0; padding: 0; + display: flex; + align-content: center; } .queue-item p { + align-content: center; margin: 0.5rem; } diff --git a/frontend/src/lib/css/global.css b/frontend/src/lib/css/global.css index f6e5d73..672b61e 100644 --- a/frontend/src/lib/css/global.css +++ b/frontend/src/lib/css/global.css @@ -48,19 +48,26 @@ button { /* Поле с заполняемыми полями */ .fields { - width: 100%; height: fit-content; display: flex; flex-direction: column; border-bottom-left-radius: 0; border-bottom-right-radius: 0; + padding: 1rem; padding-bottom: 5rem; } /* Отступ между полями */ -.fields * { - margin: 1rem; - margin-bottom: 0; +.fields .input { + margin: 0; + margin-bottom: 1rem; +} + +.horisontal-bar { + display: flex; + align-content: center; + padding-left: 0.5rem; + padding-right: 0.5rem; } .horisontal-bar * { @@ -70,6 +77,7 @@ button { .horisontal-bar p { align-content: center; + margin-bottom: 1rem; } /* Текст с троеточием в конце */ diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index 8930342..023c796 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -1,12 +1,13 @@ @@ -59,12 +49,12 @@
- - - + + +

Скриншоты

- +

Дата публикации

@@ -72,21 +62,15 @@

Файлы

-
- - -
+

Очередь публикации

-
- - -
+
- +