2024-11-08 17:36:40 +00:00
|
|
|
.raisedButton > svg {
|
|
|
|
|
color: var(--cpd-color-icon-on-solid-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reactionPopupMenu {
|
2024-11-15 16:02:06 +00:00
|
|
|
--reaction-button-padding: 10px;
|
|
|
|
|
--reaction-button-fontsize: 20px;
|
|
|
|
|
--reaction-button-gap: var(--cpd-separator-spacing);
|
2024-11-08 17:36:40 +00:00
|
|
|
display: flex;
|
2024-11-15 16:02:06 +00:00
|
|
|
width: fit-content;
|
2024-11-08 17:36:40 +00:00
|
|
|
}
|
|
|
|
|
|
2024-11-15 16:02:06 +00:00
|
|
|
@media (max-width: 420px) {
|
|
|
|
|
.reactionPopupMenu {
|
|
|
|
|
--reaction-button-padding: 8px;
|
|
|
|
|
--reaction-button-fontsize: 16px;
|
|
|
|
|
--reaction-button-gap: 6px;
|
|
|
|
|
}
|
2024-11-08 17:36:40 +00:00
|
|
|
}
|
|
|
|
|
|
2024-11-15 16:02:06 +00:00
|
|
|
div.reactionPopupMenuRoot.reactionPopupMenuModal {
|
|
|
|
|
--overlay-top: 82vh;
|
|
|
|
|
width: fit-content;
|
2024-11-08 17:36:40 +00:00
|
|
|
}
|
|
|
|
|
|
2024-11-15 16:02:06 +00:00
|
|
|
div.reactionPopupMenuRoot {
|
|
|
|
|
/* Center the drawer */
|
|
|
|
|
--inset-inline: 30em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reactionPopupMenuRoot > div {
|
|
|
|
|
width: fit-content;
|
|
|
|
|
max-width: 100vw;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
div.reactionPopupMenuRoot.reactionPopupMenuModal > div > div {
|
|
|
|
|
padding-inline: var(--cpd-space-6x);
|
|
|
|
|
padding-block: var(--cpd-space-6x);
|
2024-11-08 17:36:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reactionPopupMenu section {
|
|
|
|
|
height: fit-content;
|
2024-11-15 16:02:06 +00:00
|
|
|
flex: 1;
|
|
|
|
|
max-width: fit-content;
|
2024-11-08 17:36:40 +00:00
|
|
|
}
|
|
|
|
|
|
2024-11-15 16:02:06 +00:00
|
|
|
.reactionPopupMenu section.reactionsMenuSection {
|
|
|
|
|
margin: auto 0;
|
|
|
|
|
flex: auto;
|
2024-11-08 17:36:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reactionsMenu {
|
2024-11-15 16:02:06 +00:00
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
gap: var(--reaction-button-gap);
|
|
|
|
|
/* Height of 3 rows plus padding. */
|
|
|
|
|
max-height: calc(
|
|
|
|
|
((var(--reaction-button-fontsize) + var(--cpd-separator-spacing)) * 2) * 3
|
|
|
|
|
);
|
|
|
|
|
max-width: calc(
|
|
|
|
|
((var(--reaction-button-fontsize) + var(--cpd-separator-spacing)) * 2) * 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;
|
|
|
|
|
width: fit-content;
|
2024-11-08 17:36:40 +00:00
|
|
|
}
|
|
|
|
|
|
2024-11-15 16:02:06 +00:00
|
|
|
.reactionsMenu > * {
|
|
|
|
|
flex: 0 0 auto;
|
2024-11-08 17:36:40 +00:00
|
|
|
}
|
|
|
|
|
|
2024-11-15 16:02:06 +00:00
|
|
|
.reactionButton {
|
|
|
|
|
padding: var(--reaction-button-padding);
|
|
|
|
|
border-radius: var(--cpd-radius-pill-effect);
|
|
|
|
|
font-size: var(--reaction-button-fontsize);
|
|
|
|
|
min-block-size: unset;
|
|
|
|
|
border: none;
|
|
|
|
|
aspect-ratio: 1 / 1;
|
|
|
|
|
height: 100%;
|
2024-11-11 11:29:59 +00:00
|
|
|
}
|
|
|
|
|
|
2024-11-08 17:36:40 +00:00
|
|
|
.verticalSeperator {
|
|
|
|
|
background-color: var(--cpd-color-gray-800);
|
2024-11-15 16:02:06 +00:00
|
|
|
width: 2px;
|
2024-11-08 17:36:40 +00:00
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|