add files view

This commit is contained in:
2026-07-07 11:21:49 +02:00
parent eec15db7dd
commit 55f7e5814c
2 changed files with 91 additions and 0 deletions
+75
View File
@@ -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; }
}
}
+16
View File
@@ -33,6 +33,22 @@
<span class="arrow">→</span>
</button>
</div>
<div >
<div class="head-row">
<span class="dot" ></span>
<span class="head-label">Head label</span>
</div>
<div class="dropzone">
<div class="icon">↑</div>
<div class="title">Przeciągnij pliki lub wybierz z komputera</div>
<div class="sub">CSV lub XLSX · możesz wgrać kilka naraz</div>
<input type="file" accept=".csv,.xlsx" multiple hidden>
<button type="button" class="btn-dark">Wybierz pliki</button>
</div>
</div>
</section>
</div>
{% endblock %}