element-call/src/room/PTTButton.module.css

41 lines
767 B
CSS
Raw Normal View History

2022-04-23 01:05:48 +00:00
.pttButton {
width: 100vw;
aspect-ratio: 1;
max-height: min(232px, calc(100vh - 16px));
max-width: min(232px, calc(100vw - 16px));
2022-04-23 01:05:48 +00:00
border-radius: 116px;
2022-06-01 15:48:17 +00:00
color: var(--primary-content);
border: 6px solid var(--accent);
2022-05-04 10:24:25 +00:00
background-color: #21262c;
2022-04-29 00:44:50 +00:00
position: relative;
padding: 0;
margin: 4px;
2022-05-31 22:08:42 +00:00
cursor: pointer;
2022-04-29 00:44:50 +00:00
}
.micIcon {
max-height: 50%;
}
.avatar {
/* Remove explicit size to allow avatar to scale with the button */
width: 100% !important;
height: 100% !important;
}
2022-04-29 00:44:50 +00:00
.talking {
2022-06-01 15:48:17 +00:00
background-color: var(--accent);
2022-05-31 22:08:42 +00:00
cursor: unset;
2022-04-29 00:44:50 +00:00
}
.networkWaiting {
background-color: var(--tertiary-content);
border-color: var(--tertiary-content);
cursor: unset;
}
2022-04-29 00:44:50 +00:00
.error {
2022-06-01 15:48:17 +00:00
background-color: var(--alert);
border-color: var(--alert);
2022-05-04 10:24:25 +00:00
}