A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
/* SPDX-License-Identifier: AGPL-3.0-or-later */
.handle {
position: absolute;
border: none;
background: transparent;
padding: 0;
z-index: 31;
pointer-events: auto;
touch-action: none;
}
.edgeTop {
top: 0;
left: 0;
right: 0;
height: 0.5rem;
cursor: ns-resize;
}
.edgeBottom {
bottom: 0;
left: 0;
right: 0;
height: 0.5rem;
cursor: ns-resize;
}
.edgeLeft {
top: 0;
left: 0;
bottom: 0;
width: 0.5rem;
cursor: ew-resize;
}
.edgeRight {
top: 0;
right: 0;
bottom: 0;
width: 0.5rem;
cursor: ew-resize;
}
.cornerTopLeft,
.cornerTopRight,
.cornerBottomLeft,
.cornerBottomRight {
width: 1.25rem;
height: 1.25rem;
z-index: 32;
}
.cornerTopLeft {
top: 0;
left: 0;
cursor: nwse-resize;
}
.cornerTopRight {
top: 0;
right: 0;
cursor: nesw-resize;
}
.cornerBottomLeft {
bottom: 0;
left: 0;
cursor: nesw-resize;
}
.cornerBottomRight {
right: 0;
bottom: 0;
cursor: nwse-resize;
}
.grip {
z-index: 33;
display: flex;
align-items: center;
justify-content: center;
}
.gripMark {
width: 0.5rem;
height: 0.5rem;
border-color: var(--voice-text-strong, #fff);
border-style: solid;
border-width: 0;
opacity: var(--floating-pane-grip-opacity, 0);
transition: opacity 0.2s ease;
filter: drop-shadow(0 0 0.125rem rgb(0 0 0 / 0.6));
pointer-events: none;
}
.grip:focus-visible .gripMark {
opacity: 1;
}
.cornerTopLeft .gripMark {
border-top-width: 0.125rem;
border-left-width: 0.125rem;
}
.cornerTopRight .gripMark {
border-top-width: 0.125rem;
border-right-width: 0.125rem;
}
.cornerBottomLeft .gripMark {
border-bottom-width: 0.125rem;
border-left-width: 0.125rem;
}
.cornerBottomRight .gripMark {
border-bottom-width: 0.125rem;
border-right-width: 0.125rem;
}