Spaces:
Running
Running
File size: 1,862 Bytes
b06b89f 923b6fb b06b89f d495ba5 b06b89f d495ba5 6ef0e61 db1de23 b06b89f 2d9a144 b06b89f 6ef0e61 b06b89f ba3efb2 b06b89f 4d9ef16 1860caa b06b89f 1860caa 5dc105c b06b89f 5dc105c ae193f8 7f2a14a b06b89f 923b6fb b06b89f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
// ... (بالای فایل App.scss شامل ایمپورتها، متغیرهای CSS، base styles) ...
/* Header controls - این بخش نباید با تغییرات tailwind.config.js تغییر کرده باشد */
.header-controls {
display: flex;
padding: 0.75rem 0.5rem; // این مقادیر از قبل تنظیم شده بودند
justify-content: space-between;
align-items: center;
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
.header-button {
display: flex;
align-items: center;
justify-content: center;
padding: 0.5rem;
width: 40px;
height: 40px;
border-radius: var(--radius-lg, 0.625rem);
background-color: #e5e7eb; // رنگ خاکستری روشن برای حالت عادی
cursor: pointer;
transition: background-color 0.2s, transform 0.1s ease-out;
svg {
opacity: 0.7;
stroke: #374151; // رنگ آیکون خاکستری تیره
width: 24px;
height: 24px;
}
&:hover {
background-color: #d1d5db; // کمی تیرهتر در هاور
}
&:active {
background-color: #9ca3af; // باز هم تیرهتر در کلیک
transform: scale(0.95);
}
}
.dark .header-button {
background-color: oklch(0.28 0 0); // رنگ پسزمینه دکمه در حالت تاریک
&:hover {
background-color: oklch(0.35 0 0);
}
&:active {
background-color: oklch(0.40 0 0);
transform: scale(0.95);
}
svg {
opacity: 0.8;
stroke: oklch(0.85 0 0); // رنگ آیکون در حالت تاریک
}
}
// ... (بقیه فایل App.scss شامل .logo-animation-wrapper، .footer-controls-html-like، .control-button و غیره باید مانند آخرین نسخه موفق قبلی باشد) ... |