Spaces:
Running
Running
Update src/App.scss
Browse files- src/App.scss +48 -49
src/App.scss
CHANGED
|
@@ -3,61 +3,63 @@
|
|
| 3 |
@import 'tailwindcss/components';
|
| 4 |
@import 'tailwindcss/utilities';
|
| 5 |
|
| 6 |
-
:root { /* ... */ }
|
| 7 |
-
.dark { /* ... */ }
|
| 8 |
-
@layer base { /* ... */ }
|
| 9 |
-
.main-wrapper { /* ... */ }
|
| 10 |
-
.media-area { /* ... */ }
|
| 11 |
-
#large-logo-container { /* ... */ }
|
| 12 |
-
.notification-popover-wrapper { /* ... */ }
|
| 13 |
-
.popover-content { /* ... */ }
|
| 14 |
-
.notification-popover-text-content { /* ... */ }
|
| 15 |
-
.dark .notification-popover-text-content { /* ... */ }
|
| 16 |
-
.header-controls { /* ... */ }
|
| 17 |
-
.header-button { /* ... */ }
|
| 18 |
-
.dark .header-button { /* ... */ }
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
/* Logo Animation Styling - اطمینان از
|
| 22 |
.logo-animation-wrapper {
|
| 23 |
position: relative;
|
| 24 |
display: flex;
|
| 25 |
align-items: center;
|
| 26 |
justify-content: center;
|
| 27 |
|
| 28 |
-
//
|
| 29 |
-
|
| 30 |
-
// opacity-50
|
| 31 |
-
|
| 32 |
-
& > .z-10 > svg { // SvgHumanIcon
|
| 33 |
width: 100%;
|
| 34 |
height: 100%;
|
|
|
|
| 35 |
}
|
| 36 |
-
}
|
| 37 |
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
opacity: 0;
|
| 43 |
}
|
| 44 |
}
|
| 45 |
-
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
}
|
| 48 |
|
| 49 |
|
| 50 |
-
/* Footer styles - موقعیت عمودی
|
| 51 |
.footer-controls-html-like {
|
| 52 |
width: 100%;
|
| 53 |
display: flex;
|
| 54 |
align-items: center;
|
| 55 |
position: absolute;
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
padding-
|
|
|
|
| 59 |
padding-top: 0.5rem;
|
| 60 |
padding-bottom: 0.5rem;
|
|
|
|
| 61 |
box-sizing: border-box;
|
| 62 |
z-index: 20;
|
| 63 |
justify-content: space-between;
|
|
@@ -103,16 +105,14 @@
|
|
| 103 |
}
|
| 104 |
|
| 105 |
svg {
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
|
|
|
| 109 |
}
|
| 110 |
-
// برای
|
| 111 |
-
//
|
| 112 |
-
//
|
| 113 |
-
// مثلا:
|
| 114 |
-
// width: 50%;
|
| 115 |
-
// height: 50%;
|
| 116 |
}
|
| 117 |
}
|
| 118 |
|
|
@@ -122,13 +122,12 @@
|
|
| 122 |
.dark .mic-button-color { background-color: #5C2129; }
|
| 123 |
.dark .cam-button-color { background-color: #223355; }
|
| 124 |
|
| 125 |
-
|
| 126 |
/* Switch Camera Button (بدون تغییر) */
|
| 127 |
-
.switch-camera-button-container { /* ... */ }
|
| 128 |
-
.switch-camera-button-content { /* ... */ }
|
| 129 |
|
| 130 |
/* Keyframes for popover (بدون تغییر) */
|
| 131 |
-
@keyframes popover-drop-in { /* ... */ }
|
| 132 |
-
@keyframes popover-lift-out { /* ... */ }
|
| 133 |
-
.animate-popover-open-top-center { /* ... */ }
|
| 134 |
-
.animate-popover-close-top-center { /* ... */ }
|
|
|
|
| 3 |
@import 'tailwindcss/components';
|
| 4 |
@import 'tailwindcss/utilities';
|
| 5 |
|
| 6 |
+
:root { /* ... (بدون تغییر) ... */ }
|
| 7 |
+
.dark { /* ... (بدون تغییر) ... */ }
|
| 8 |
+
@layer base { /* ... (بدون تغییر) ... */ }
|
| 9 |
+
.main-wrapper { /* ... (بدون تغییر) ... */ }
|
| 10 |
+
.media-area { /* ... (بدون تغییر) ... */ }
|
| 11 |
+
#large-logo-container { /* ... (بدون تغییر) ... */ }
|
| 12 |
+
.notification-popover-wrapper { /* ... (بدون تغییر) ... */ }
|
| 13 |
+
.popover-content { /* ... (بدون تغییر) ... */ }
|
| 14 |
+
.notification-popover-text-content { /* ... (بدون تغییر) ... */ }
|
| 15 |
+
.dark .notification-popover-text-content { /* ... (بدون تغییر) ... */ }
|
| 16 |
+
.header-controls { /* ... (بدون تغییر) ... */ }
|
| 17 |
+
.header-button { /* ... (بدون تغییر) ... */ }
|
| 18 |
+
.dark .header-button { /* ... (بدون تغییر) ... */ }
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
/* Logo Animation Styling - اطمینان از اعمال صحیح انیمیشنها و رنگها */
|
| 22 |
.logo-animation-wrapper {
|
| 23 |
position: relative;
|
| 24 |
display: flex;
|
| 25 |
align-items: center;
|
| 26 |
justify-content: center;
|
| 27 |
|
| 28 |
+
// اطمینان از اینکه SVG داخل کانتینر آیکون تمام فضا را پر میکند
|
| 29 |
+
& > .z-10 > svg {
|
|
|
|
|
|
|
|
|
|
| 30 |
width: 100%;
|
| 31 |
height: 100%;
|
| 32 |
+
display: block; // برای جلوگیری از فضای خالی احتمالی زیر SVG
|
| 33 |
}
|
|
|
|
| 34 |
|
| 35 |
+
// انیمیشن ping از Tailwind (اگر از CDN استفاده میکنید، باید کار کند)
|
| 36 |
+
// اگر به صورت دستی تعریف میکنید:
|
| 37 |
+
.animate-ping {
|
| 38 |
+
animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
|
|
| 39 |
}
|
| 40 |
}
|
| 41 |
+
// اگر از Tailwind استفاده نمی کنید یا انیمیشن ping کار نمی کند، keyframes را اضافه کنید:
|
| 42 |
+
@keyframes ping {
|
| 43 |
+
75%, 100% {
|
| 44 |
+
transform: scale(2);
|
| 45 |
+
opacity: 0;
|
| 46 |
+
}
|
| 47 |
}
|
| 48 |
|
| 49 |
|
| 50 |
+
/* Footer styles - موقعیت عمودی فوتر */
|
| 51 |
.footer-controls-html-like {
|
| 52 |
width: 100%;
|
| 53 |
display: flex;
|
| 54 |
align-items: center;
|
| 55 |
position: absolute;
|
| 56 |
+
// *** MODIFIED: تنظیم bottom برای بالاتر آمدن، padding افقی برای تطابق ***
|
| 57 |
+
bottom: 1.5rem; // فاصله 24px از پایین صفحه، میتوانید این را به 2rem (32px) تغییر دهید اگر هنوز پایین است
|
| 58 |
+
padding-left: 2rem; // فاصله 32px از چپ (در HTML شما 3rem بود، برای موبایل شاید 2rem بهتر باشد)
|
| 59 |
+
padding-right: 2rem; // فاصله 32px از راست
|
| 60 |
padding-top: 0.5rem;
|
| 61 |
padding-bottom: 0.5rem;
|
| 62 |
+
|
| 63 |
box-sizing: border-box;
|
| 64 |
z-index: 20;
|
| 65 |
justify-content: space-between;
|
|
|
|
| 105 |
}
|
| 106 |
|
| 107 |
svg {
|
| 108 |
+
// *** MODIFIED: افزایش بیشتر اندازه آیکون میکروفون مرجع ***
|
| 109 |
+
&.reference-mic-svg {
|
| 110 |
+
width: 75%; // افزایش به 75% - میتوانید این را تا 80% یا بیشتر هم ببرید
|
| 111 |
+
height: 75%;
|
| 112 |
}
|
| 113 |
+
// برای سایر SVG ها در دکمه های کنترل، اگر نیاز به اندازه خاصی دارند
|
| 114 |
+
// مثلاً آیکون دوربین:
|
| 115 |
+
// &:not(.reference-mic-svg) { width: 50%; height: 50%; }
|
|
|
|
|
|
|
|
|
|
| 116 |
}
|
| 117 |
}
|
| 118 |
|
|
|
|
| 122 |
.dark .mic-button-color { background-color: #5C2129; }
|
| 123 |
.dark .cam-button-color { background-color: #223355; }
|
| 124 |
|
|
|
|
| 125 |
/* Switch Camera Button (بدون تغییر) */
|
| 126 |
+
.switch-camera-button-container { /* ... (بدون تغییر) ... */ }
|
| 127 |
+
.switch-camera-button-content { /* ... (بدون تغییر) ... */ }
|
| 128 |
|
| 129 |
/* Keyframes for popover (بدون تغییر) */
|
| 130 |
+
@keyframes popover-drop-in { /* ... (بدون تغییر) ... */ }
|
| 131 |
+
@keyframes popover-lift-out { /* ... (بدون تغییر) ... */ }
|
| 132 |
+
.animate-popover-open-top-center { /* ... (بدون تغییر) ... */ }
|
| 133 |
+
.animate-popover-close-top-center { /* ... (بدون تغییر) ... */ }
|