Initial commit: v1.0

This commit is contained in:
Azidaan
2026-04-16 15:26:59 +03:00
commit 5c5404b122
23 changed files with 7564 additions and 0 deletions

530
style.css Normal file
View File

@@ -0,0 +1,530 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary: #6366f1;
--primary-dark: #4f46e5;
--secondary: #8b5cf6;
--success: #10b981;
--success-dark: #059669;
--danger: #ef4444;
--warning: #f59e0b;
--bg-dark: #0f172a;
--bg-card: #1e293b;
--bg-card-hover: #334155;
--text-primary: #f1f5f9;
--text-secondary: #94a3b8;
--border: #334155;
--shadow: rgba(0, 0, 0, 0.3);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
color: var(--text-primary);
min-height: 100vh;
padding: 2rem;
line-height: 1.6;
}
.container {
max-width: 1400px;
margin: 0 auto;
}
/* Header */
header {
text-align: center;
margin-bottom: 3rem;
animation: fadeInDown 0.6s ease-out;
}
header h1 {
font-size: 3rem;
font-weight: 700;
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 0.5rem;
}
.subtitle {
color: var(--text-secondary);
font-size: 1.1rem;
font-weight: 400;
}
/* Main Content Grid */
.main-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-bottom: 2rem;
}
@media (max-width: 1024px) {
.main-content {
grid-template-columns: 1fr;
}
}
/* Cards */
.card {
background: var(--bg-card);
border-radius: 1rem;
padding: 2rem;
box-shadow: 0 10px 30px var(--shadow);
border: 1px solid var(--border);
transition: all 0.3s ease;
animation: fadeInUp 0.6s ease-out;
}
.card:hover {
transform: translateY(-2px);
box-shadow: 0 15px 40px var(--shadow);
}
.card h2 {
font-size: 1.5rem;
margin-bottom: 1.5rem;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 0.5rem;
}
/* Form Elements */
.form-group {
margin-bottom: 1.5rem;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: var(--text-primary);
font-size: 0.95rem;
}
input[type="text"],
input[type="number"] {
width: 100%;
padding: 0.875rem 1rem;
background: var(--bg-dark);
border: 2px solid var(--border);
border-radius: 0.5rem;
color: var(--text-primary);
font-size: 1rem;
font-family: 'Inter', sans-serif;
transition: all 0.3s ease;
}
input[type="text"]:focus,
input[type="number"]:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.hint {
display: block;
margin-top: 0.5rem;
font-size: 0.85rem;
color: var(--text-secondary);
font-style: italic;
}
.section-block {
margin: 1.25rem 0;
padding: 1rem;
border: 1px solid var(--border);
border-radius: 0.75rem;
background: rgba(15, 23, 42, 0.35);
}
.section-block h3 {
margin-bottom: 0.9rem;
font-size: 1rem;
color: #c7d2fe;
}
.height-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.75rem;
}
.height-item {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0;
}
.height-item input[type="checkbox"] {
width: auto;
}
.height-item input[type="number"] {
min-width: 70px;
padding: 0.45rem 0.55rem;
font-size: 0.9rem;
}
.cheatsheet-note {
margin-top: 1.5rem;
font-size: 0.74rem;
color: var(--text-secondary);
line-height: 1.45;
}
.cheatsheet-note p {
margin-top: 0.35rem;
}
/* Buttons */
.button-group {
display: flex;
gap: 1rem;
flex-wrap: wrap;
margin-top: 2rem;
}
.btn {
flex: 1;
min-width: 150px;
padding: 1rem 1.5rem;
border: none;
border-radius: 0.75rem;
font-size: 1rem;
font-weight: 600;
font-family: 'Inter', sans-serif;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
position: relative;
overflow: hidden;
}
.btn-small {
margin-top: 0.7rem;
width: auto;
min-width: unset;
padding: 0.55rem 0.8rem;
font-size: 0.82rem;
border-radius: 0.55rem;
}
.btn::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
width: 300px;
height: 300px;
}
.btn-icon {
font-size: 1.2rem;
position: relative;
z-index: 1;
}
.btn span:not(.btn-icon) {
position: relative;
z-index: 1;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
color: white;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}
.btn-secondary {
background: linear-gradient(135deg, var(--secondary) 0%, #7c3aed 100%);
color: white;
}
.btn-secondary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}
.btn-success {
background: linear-gradient(135deg, var(--success) 0%, var(--success-dark) 100%);
color: white;
}
.btn-success:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}
.btn:active {
transform: translateY(0);
}
/* Info Panel */
.info-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
background: var(--bg-dark);
border-radius: 0.5rem;
margin-bottom: 0.75rem;
transition: all 0.3s ease;
}
.info-item:hover {
background: var(--bg-card-hover);
}
.info-label {
font-weight: 500;
color: var(--text-secondary);
}
.info-value {
font-weight: 600;
color: var(--text-primary);
}
.status {
padding: 0.5rem 1rem;
border-radius: 0.5rem;
background: var(--success);
color: white;
font-size: 0.9rem;
}
.status.working {
background: var(--warning);
animation: pulse 2s infinite;
}
.status.error {
background: var(--danger);
}
/* Log Container */
.log-container {
margin-top: 2rem;
}
.log-container h3 {
font-size: 1.1rem;
margin-bottom: 1rem;
color: var(--text-primary);
}
.log-output {
background: var(--bg-dark);
border-radius: 0.5rem;
padding: 1rem;
max-height: 300px;
overflow-y: auto;
font-family: 'Courier New', monospace;
font-size: 0.85rem;
line-height: 1.8;
}
.log-output::-webkit-scrollbar {
width: 8px;
}
.log-output::-webkit-scrollbar-track {
background: var(--bg-card);
border-radius: 4px;
}
.log-output::-webkit-scrollbar-thumb {
background: var(--primary);
border-radius: 4px;
}
.log-entry {
margin-bottom: 0.5rem;
padding: 0.5rem;
border-left: 3px solid var(--primary);
padding-left: 0.75rem;
animation: slideInLeft 0.3s ease-out;
}
.log-entry.success {
border-left-color: var(--success);
color: var(--success);
}
.log-entry.error {
border-left-color: var(--danger);
color: var(--danger);
}
.log-entry.info {
border-left-color: var(--primary);
color: var(--text-secondary);
}
/* Folders List */
.folders-card {
animation: fadeInUp 0.8s ease-out;
}
.folders-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
}
.folder-item {
background: var(--bg-dark);
padding: 1rem;
border-radius: 0.5rem;
border: 2px solid var(--border);
transition: all 0.3s ease;
cursor: pointer;
animation: scaleIn 0.3s ease-out;
}
.folder-item:hover {
border-color: var(--primary);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}
.folder-item .folder-icon {
font-size: 2rem;
margin-bottom: 0.5rem;
}
.folder-item .folder-name {
font-weight: 500;
color: var(--text-primary);
word-break: break-all;
}
.empty-state {
text-align: center;
color: var(--text-secondary);
padding: 2rem;
font-style: italic;
}
/* Animations */
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-10px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes scaleIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
/* Responsive */
@media (max-width: 768px) {
body {
padding: 1rem;
}
header h1 {
font-size: 2rem;
}
.card {
padding: 1.5rem;
}
.form-row {
grid-template-columns: 1fr;
}
.button-group {
flex-direction: column;
}
.btn {
width: 100%;
}
.folders-list {
grid-template-columns: 1fr;
}
.height-grid {
grid-template-columns: 1fr;
}
}