mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-31 07:00:26 +00:00
121 lines
2.2 KiB
CSS
121 lines
2.2 KiB
CSS
.raisedButton > svg {
|
|
color: var(--cpd-color-icon-on-solid-primary);
|
|
}
|
|
|
|
.reactionPopupMenu {
|
|
display: flex;
|
|
width: fit-content;
|
|
}
|
|
|
|
.reactionPopupMenuModal {
|
|
top: 82vh !important;
|
|
}
|
|
|
|
.reactionPopupMenuRoot {
|
|
width: fit-content !important;
|
|
}
|
|
|
|
.reactionPopupMenuRoot > div {
|
|
width: fit-content;
|
|
}
|
|
|
|
.reactionPopupMenuModal > div > div {
|
|
padding-inline: var(--cpd-space-6x) !important;
|
|
padding-block: var(--cpd-space-6x) !important;
|
|
}
|
|
|
|
.reactionPopupMenu section {
|
|
height: fit-content;
|
|
flex: 1;
|
|
max-width: fit-content;
|
|
}
|
|
|
|
.reactionPopupMenu section.reactionsMenuSection {
|
|
margin: auto 0;
|
|
flex: auto;
|
|
}
|
|
|
|
:root {
|
|
--reaction-button-padding: 1em;
|
|
--reaction-button-size: 1.4em;
|
|
--reaction-button-fontsize: 1.6em;
|
|
}
|
|
|
|
.reactionsMenu {
|
|
min-height: calc(
|
|
var(--reaction-button-size) + var(--reaction-button-padding)
|
|
);
|
|
margin: 0;
|
|
padding: 0;
|
|
flex-grow: 1;
|
|
gap: var(--cpd-separator-spacing);
|
|
/* Height of 3 rows plus padding. */
|
|
max-height: calc(
|
|
(
|
|
var(--reaction-button-size) + var(--reaction-button-padding) +
|
|
var(--cpd-separator-spacing)
|
|
) * 4
|
|
);
|
|
width: calc(
|
|
(
|
|
var(--reaction-button-size) + var(--reaction-button-padding) +
|
|
var(--cpd-separator-spacing)
|
|
) * 6.5
|
|
);
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
list-style: none;
|
|
flex-wrap: wrap;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-direction: row;
|
|
justify-content: start;
|
|
align-items: auto;
|
|
align-content: start;
|
|
}
|
|
|
|
.reactionsMenu > * {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.reactionButton {
|
|
padding: var(--reaction-button-padding);
|
|
font-size: 1.6em;
|
|
width: var(--reaction-button-size);
|
|
height: var(--reaction-button-size);
|
|
border-radius: var(--cpd-radius-pill-effect);
|
|
font-size: var(--reaction-button-fontsize);
|
|
min-block-size: unset;
|
|
border: none;
|
|
}
|
|
|
|
@media (max-width: 660px) {
|
|
:root {
|
|
--reaction-button-size: 1em;
|
|
--reaction-button-fontsize: 1em;
|
|
}
|
|
}
|
|
.verticalSeperator {
|
|
background-color: var(--cpd-color-gray-800);
|
|
width: 1px;
|
|
height: auto;
|
|
margin-left: var(--cpd-separator-spacing);
|
|
margin-right: var(--cpd-separator-spacing);
|
|
}
|
|
|
|
.alert {
|
|
margin-bottom: var(--cpd-space-3x);
|
|
animation: grow-in 200ms;
|
|
height: 2.5em;
|
|
}
|
|
|
|
@keyframes grow-in {
|
|
from {
|
|
height: 0;
|
|
}
|
|
|
|
to {
|
|
height: 2.5em;
|
|
}
|
|
}
|