Files
Recordly/src/components/launch/LaunchWindow.module.css
T

317 lines
5.1 KiB
CSS

.electronDrag {
-webkit-app-region: drag;
}
.electronNoDrag {
-webkit-app-region: no-drag;
}
.bar {
display: flex;
align-items: center;
gap: 10px;
width: max-content;
max-width: 1200px;
background: rgba(18, 18, 24, 0.97);
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 20px;
padding: 11px 20px 11px 18px;
box-shadow:
0 10px 30px rgba(0, 0, 0, 0.24),
0 2px 10px rgba(0, 0, 0, 0.12),
inset 0 1px 0 rgba(255, 255, 255, 0.04);
overflow: visible;
position: relative;
transform-origin: center bottom;
}
.barStateViewport {
position: relative;
display: flex;
align-items: center;
flex: 0 1 auto;
min-height: 46px;
min-width: fit-content;
padding-right: 2px;
}
.barState {
display: flex;
align-items: center;
gap: 8px;
flex: 0 1 auto;
white-space: nowrap;
min-width: fit-content;
pointer-events: auto;
}
.sep {
width: 1px;
height: 26px;
background: #2a2a34;
margin: 0 6px;
flex-shrink: 0;
}
.ib {
position: relative;
width: 40px;
height: 40px;
border-radius: 11px;
border: none;
background: transparent;
color: #6b6b78;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.15s ease;
flex-shrink: 0;
}
.ib:hover {
background: rgba(255, 255, 255, 0.07);
color: #eeeef2;
}
.ibActive {
color: #3d8bff;
}
.ibActive:hover {
color: #62a4ff;
}
.ibRed {
color: #f43f5e;
}
.ibRed:hover {
color: #ff5a75;
}
.ibGreen {
color: #34d399;
}
.ibGreen:hover {
color: #4eeeb0;
}
.menuCard {
width: 300px;
max-height: 400px;
overflow-y: auto;
background: var(--launch-surface, rgba(18, 18, 24, 0.97));
border: 1px solid var(--launch-border, rgba(255, 255, 255, 0.07));
border-radius: 16px;
backdrop-filter: blur(var(--launch-popover-blur, 24px))
saturate(var(--launch-popover-saturate, 145%));
-webkit-backdrop-filter: blur(var(--launch-popover-blur, 24px))
saturate(var(--launch-popover-saturate, 145%));
padding: 8px;
margin-top: auto;
margin-bottom: 8px;
box-shadow:
0 16px 40px rgba(0, 0, 0, 0.28),
0 2px 12px rgba(0, 0, 0, 0.12),
inset 0 1px 0 rgba(255, 255, 255, 0.08);
pointer-events: auto;
animation: menuCardIn 0.18s ease;
}
@keyframes menuCardIn {
from {
opacity: 0;
transform: translateY(12px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.menuCard::-webkit-scrollbar {
width: 4px;
}
.menuCard::-webkit-scrollbar-track {
background: transparent;
}
.menuCard::-webkit-scrollbar-thumb {
background: #2a2a34;
border-radius: 2px;
}
.ddLabel {
font-size: 9px;
font-weight: 600;
color: var(--launch-label, #8f99b1);
text-transform: uppercase;
letter-spacing: 0.08em;
padding: 6px 10px 4px;
}
.ddItem {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
padding: 8px 10px;
border-radius: 8px;
border: none;
background: transparent;
font-size: 12px;
color: var(--launch-text-muted, #aab3c7);
cursor: pointer;
transition: all 0.12s ease;
text-align: left;
}
.ddItem:hover {
background: var(--launch-hover, rgba(255, 255, 255, 0.1));
color: var(--launch-text, #f3f6ff);
}
.ddItemSelected {
background: var(--launch-selected, rgba(92, 153, 255, 0.22));
color: var(--launch-accent-soft, #dbeafe);
}
.finalizingState {
display: inline-flex;
align-items: center;
gap: 11px;
min-width: 238px;
color: #eeeef2;
}
.finalizingSpin {
color: #3d8bff;
animation: finalizingSpin 0.9s linear infinite;
}
.finalizingCopy {
display: flex;
flex-direction: column;
gap: 2px;
font-size: 12px;
font-weight: 700;
line-height: 1.15;
}
.finalizingCopy small {
color: #8a8a96;
font-size: 10px;
font-weight: 600;
}
@keyframes finalizingSpin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.recBtn {
position: relative;
width: 46px;
height: 46px;
border-radius: 50%;
border: none;
background: #f43f5e;
color: #fff;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
flex-shrink: 0;
box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.3);
}
.recBtn:hover {
background: #ff5a75;
box-shadow: 0 0 0 6px rgba(244, 63, 94, 0.15);
}
.recBtn:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.recBtn:disabled:hover {
background: #f43f5e;
box-shadow: none;
}
.recDot {
width: 14px;
height: 14px;
border-radius: 50%;
background: #fff;
transition: all 0.2s ease;
}
.recDotBlink {
animation: blink 1.2s ease-in-out infinite;
}
.recordingWebcamPreview {
position: fixed;
right: 32px;
bottom: 120px;
height: 288px;
width: 288px;
overflow: hidden;
border-radius: 24px;
background: rgba(22, 22, 30, 0.95);
border: 1px solid rgba(255, 255, 255, 0.12);
box-shadow:
0 10px 24px rgba(0, 0, 0, 0.28),
inset 0 1px 0 rgba(255, 255, 255, 0.08);
cursor: grab;
touch-action: none;
user-select: none;
will-change: transform;
z-index: 120;
}
.recordingWebcamPreview:active {
cursor: grabbing;
}
.recordingWebcamPreviewVideo {
display: block;
height: 100%;
width: 100%;
object-fit: cover;
border-radius: inherit;
overflow: hidden;
transform: translateZ(0);
}
@keyframes blink {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.2;
}
}
.micSelect {
color-scheme: dark;
}
.micSelect option {
background-color: #1a1a22;
color: #eeeef2;
}