first commit

This commit is contained in:
PeymanHonarjoo
2026-10-06 09:57:33 +03:30
parent fe4dfeb2ec
commit 268a431c1e
48 changed files with 10443 additions and 1782 deletions
+376
View File
@@ -0,0 +1,376 @@
.settings-page {
min-height: 100vh;
}
.settings-header {
animation: fadeInDown 0.4s ease-out;
}
.settings-card {
animation: fadeInUp 0.5s ease-out;
}
.settings-tabs {
position: relative;
}
.tab-btn {
position: relative;
}
.tab-btn.tab-active {
color: var(--color-primary);
}
.tab-btn .tab-indicator {
animation: slideIn 0.3s ease-out;
}
.settings-content {
animation: fadeIn 0.3s ease-out;
}
.section-header {
animation: fadeInDown 0.3s ease-out;
}
.dropzone {
position: relative;
overflow: hidden;
}
.dropzone::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, var(--color-primary)/5 0%, transparent 50%);
opacity: 0;
transition: opacity 0.3s ease;
}
.dropzone:hover::before,
.dropzone-active::before {
opacity: 1;
}
.dropzone-active {
border-color: var(--color-primary) !important;
background-color: var(--color-primary)/10 !important;
transform: scale(1.01);
box-shadow: 0 0 0 3px var(--color-primary)/20, 0 10px 40px var(--color-primary)/10;
}
.dropzone-icon-wrapper {
animation: bounce 2s infinite;
}
.dropzone-active .dropzone-icon-wrapper {
animation: pulse 1s infinite;
}
.file-list {
animation: slideUp 0.4s ease-out;
}
.file-item {
animation: slideInRight 0.3s ease-out;
}
.file-item:nth-child(1) { animation-delay: 0.05s; }
.file-item:nth-child(2) { animation-delay: 0.1s; }
.file-item:nth-child(3) { animation-delay: 0.15s; }
.file-item:nth-child(4) { animation-delay: 0.2s; }
.file-item:nth-child(5) { animation-delay: 0.25s; }
.file-icon-wrapper {
transition: all 0.2s ease;
}
.file-item:hover .file-icon-wrapper {
background-color: var(--color-primary)/20;
transform: scale(1.05);
}
.file-remove-btn {
transition: all 0.2s ease;
}
.setting-item {
animation: fadeInUp 0.4s ease-out;
}
.setting-item:nth-child(1) { animation-delay: 0.05s; }
.setting-item:nth-child(2) { animation-delay: 0.1s; }
.setting-item:nth-child(3) { animation-delay: 0.15s; }
.setting-item:nth-child(4) { animation-delay: 0.2s; }
.form-select {
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: left 0.75rem center;
padding-left: 2.5rem;
}
.form-select:focus {
box-shadow: 0 0 0 3px var(--color-primary)/20;
}
.toggle-switch {
position: relative;
display: inline-flex;
height: 1.5rem;
width: 2.75rem;
flex-shrink: 0;
cursor: pointer;
align-items: center;
justify-content: flex-start;
padding: 0.125rem;
border-radius: 9999px;
border: 2px solid transparent;
transition: all 0.2s ease-in-out;
background-color: var(--toggle-bg);
box-sizing: border-box;
}
.toggle-switch input {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.toggle-slider {
pointer-events: none;
display: inline-block;
height: 1.25rem;
width: 1.25rem;
border-radius: 9999px;
background-color: var(--toggle-slider);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
}
.toggle-slider::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
background-color: var(--toggle-slider);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 1;
}
.toggle-switch input:checked + .toggle-slider {
transform: translateX(-1.25rem);
background-color: var(--toggle-slider);
box-shadow: 0 2px 8px var(--color-primary)/40, 0 0 0 2px var(--color-primary)/20;
}
.toggle-switch input:checked + .toggle-slider::after {
background-color: var(--toggle-slider);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.toggle-switch:has(input:checked) {
background-color: var(--color-primary);
border-color: var(--color-primary);
}
.toggle-switch.toggle-active {
background-color: var(--color-primary)/15;
border-color: var(--color-primary)/25;
}
.toggle-switch:focus-within {
outline: none;
box-shadow: 0 0 0 3px var(--color-primary)/30;
}
.toggle-switch:hover {
background-color: var(--color-primary)/10;
}
.toggle-switch:hover:has(input:checked) {
background-color: var(--color-primary);
}
.toggle-switch:hover.toggle-active {
background-color: var(--color-primary)/20;
}
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slideIn {
from {
width: 0;
opacity: 0;
}
to {
width: 1.5rem;
opacity: 1;
}
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-5px);
}
60% {
transform: translateY(-3px);
}
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
@media (max-width: 640px) {
.settings-page {
padding: 1rem;
}
.settings-card {
border-radius: 1rem;
}
.settings-tabs {
flex-direction: column;
}
.tab-btn {
justify-content: flex-start;
padding: 1rem;
}
.tab-btn .tab-indicator {
display: none;
}
.tab-btn.tab-active {
background-color: var(--color-primary)/10;
}
.dropzone {
padding: 2rem 1rem;
}
.setting-item {
flex-direction: column;
align-items: flex-start;
gap: 1rem;
}
.setting-control {
width: 100%;
justify-content: flex-end;
}
.form-select {
width: 100%;
}
}
[data-bs-theme="dark"] .dropzone-icon-wrapper svg,
[data-bs-theme="dark"] .file-icon-wrapper svg,
[data-bs-theme="dark"] .section-header svg {
stroke: var(--color-primary);
}
[data-bs-theme="dark"] .form-select {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}
[data-bs-theme="dark"] .file-remove-btn:hover {
background-color: rgba(239, 68, 68, 0.15);
}
[data-bs-theme="dark"] .toggle-switch input:checked + .toggle-slider {
box-shadow: 0 1px 3px var(--color-primary)/40, 0 0 0 2px var(--color-primary)/30;
}
[data-bs-theme="dark"] .settings-card,
[data-bs-theme="dark"] .file-item,
[data-bs-theme="dark"] .setting-item {
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 2px 10px rgba(0, 0, 0, 0.2);
}
[data-bs-theme="dark"] .file-item:hover,
[data-bs-theme="dark"] .setting-item:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
}