[mirotalk] - improve UI

This commit is contained in:
Miroslav Pejic
2025-12-16 13:29:14 +01:00
parent 4bd36a0b4e
commit b3ff82f694
8 changed files with 75 additions and 33 deletions
+38
View File
@@ -313,6 +313,44 @@ body {
box-shadow: var(--box-shadow);
}
/* Split button (main action + device arrow) */
#bottomButtons .split-btn {
position: relative;
display: inline-flex;
align-items: stretch;
overflow: visible;
border-radius: 10px;
}
/* Let the dropdown menu anchor to the whole split button (not only the arrow). */
#bottomButtons #audioDropdown,
#bottomButtons #videoDropdown {
position: static;
}
#bottomButtons .split-btn > button {
border-radius: 0;
margin: 0;
}
#bottomButtons .split-btn > button:first-child {
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
#bottomButtons .split-btn .device-dropdown-toggle {
border-radius: 0;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-left: var(--border);
margin: 0;
}
/* Keep the group visually together when hovering. */
#bottomButtons .split-btn button:hover {
transform: none;
}
#bottomButtons button {
width: 50px;
height: 50px;