From 55f7e5814c267e96f347412aec520f82c03b2536 Mon Sep 17 00:00:00 2001 From: Ryjek Date: Tue, 7 Jul 2026 11:21:49 +0200 Subject: [PATCH] add files view --- project/assets/styles/main.less | 75 +++++++++++++++++++++++++ project/templates/index/index.html.twig | 16 ++++++ 2 files changed, 91 insertions(+) diff --git a/project/assets/styles/main.less b/project/assets/styles/main.less index 03887f8..a879875 100644 --- a/project/assets/styles/main.less +++ b/project/assets/styles/main.less @@ -90,4 +90,79 @@ } } } +/* ---- wybór ---- */ +.choices { + display: flex; + flex-direction: column; + gap: 12px; + .choice { + display: flex; + align-items: center; + gap: 16px; + text-align: left; + background: #FFFFFF; + border: 1px solid #E6E5E0; + border-radius: 13px; + padding: 18px 20px; + transition: all .15s; + cursor: pointer; + font-family: inherit; + } + &[data-accent="div"]:hover { + border-color: #3F8F6B; + background: #FCFEFD; + } + &[data-accent="crypto"]:hover { + border-color: #C79A3A; + background: #FEFDFA; + } + .choice-icon { + width: 42px; + height: 42px; + flex: none; + border-radius: 11px; + display: flex; + align-items: center; + justify-content: center; + font-size: 21px; + font-weight: 700; + &.div { background: #EDF6F1; color: #3F8F6B; } + &.crypto { background: #F7F1E4; color: #C79A3A; } + } + .choice-body { flex: 1; } + .choice-title { font-size: 15.5px; font-weight: 600; } + .choice-sub { font-size: 12.5px; color: #6B6A64; } + .arrow { color: #B7B6B0; font-size: 18px; } +} + +.head-row { + display: flex; + align-items: center; + gap: 10px; + margin-bottom: 16px; + .dot { + width: 9px; + height: 9px; + border-radius: 2px; + display: inline-block; + } + .head-label { font-size: 14px; font-weight: 600; } +} +.dropzone { + border: 1.5px dashed #CFCEC8; border-radius: 14px; background: #FFFFFF; + padding: 34px 24px; text-align: center; transition: all .15s; + &.is-drag { border-color: #3F8F6B; background: #FCFEFD; } + .icon { + width: 46px; height: 46px; border-radius: 12px; background: #F2F1EC; + display: flex; align-items: center; justify-content: center; + margin: 0 auto 14px; font-size: 20px; color: #6B6A64; + } + .title { font-size: 14px; font-weight: 600; margin-bottom: 4px; } + .sub { font-size: 12.5px; color: #6B6A64; margin-bottom: 18px; } + .btn-dark { + background: #1C1C1A; color: #FBFBF9; border: none; border-radius: 9px; + padding: 11px 20px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; + &:disabled { opacity: .6; cursor: default; } + } +} diff --git a/project/templates/index/index.html.twig b/project/templates/index/index.html.twig index aaee9ce..e8c3390 100644 --- a/project/templates/index/index.html.twig +++ b/project/templates/index/index.html.twig @@ -33,6 +33,22 @@ + +
+
+ + Head label +
+ +
+
+
Przeciągnij pliki lub wybierz z komputera
+
CSV lub XLSX · możesz wgrać kilka naraz
+ + + +
+
{% endblock %} \ No newline at end of file