[mirotalksfu] - improve video menu bar UI

هذا الالتزام موجود في:
Miroslav Pejic
2022-09-04 10:27:49 +02:00
الأصل 47c94308f8
التزام 0066896fab

عرض الملف

@@ -90,7 +90,7 @@
width: auto; width: auto;
height: 25px; height: 25px;
border-radius: 5px; border-radius: 5px;
background: rgba(0, 0, 0, 0.4); background: rgba(0, 0, 0, 0.1);
} }
.fscreen { .fscreen {
@@ -116,19 +116,15 @@
.videoMenuBar { .videoMenuBar {
z-index: 2; z-index: 2;
position: absolute; position: absolute;
padding: 3px; top: 0;
background: var(--bg); left: 0;
padding: 10px;
background: rgba(0, 0, 0, 0.2);
font-size: small; font-size: small;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
width: 100%; width: 100%;
cursor: default; cursor: default;
/* center */
top: 18px;
left: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
overflow: hidden; overflow: hidden;
} }
@@ -202,3 +198,14 @@ input[type='range'] {
transform: scale(1) translateY(0); transform: scale(1) translateY(0);
} }
} }
@media screen and (max-width: 600px) {
.username {
font-size: 12px;
}
}
@media screen and (max-width: 500px) {
.username {
font-size: 10px;
}
}