Upload files to "kronic-chat/css"
This commit is contained in:
@@ -0,0 +1,248 @@
|
||||
/* =====================================================
|
||||
Modern Screen-Share Overlay & Popup Window
|
||||
===================================================== */
|
||||
|
||||
/* Outer wrapper for the tool window */
|
||||
#screenShareFrameWrap {
|
||||
display: none; /* Controlled via showToolWindow / hideToolWindow */
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 1000;
|
||||
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
background: rgba(11, 12, 15, 0.75);
|
||||
backdrop-filter: blur(8px);
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
|
||||
animation: screenShareFadeIn 200ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
||||
}
|
||||
|
||||
/* Modal Content Box */
|
||||
.screen-share-modal {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
width: min(92vw, 1280px);
|
||||
height: min(88vh, 820px);
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 12px;
|
||||
|
||||
background: #1e1f22;
|
||||
box-shadow:
|
||||
0 24px 48px rgba(0, 0, 0, 0.5),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.04) inset;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.screen-share-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
height: 52px;
|
||||
padding: 0 16px;
|
||||
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
||||
background: #2b2d31;
|
||||
}
|
||||
|
||||
.screen-share-title-area {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.screen-share-live-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
|
||||
padding: 3px 8px;
|
||||
|
||||
border-radius: 4px;
|
||||
|
||||
background: rgba(237, 66, 69, 0.15);
|
||||
color: #ed4245;
|
||||
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.screen-share-live-dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: #ed4245;
|
||||
box-shadow: 0 0 6px #ed4245;
|
||||
animation: screenSharePulse 2s infinite;
|
||||
}
|
||||
|
||||
#screenShareTitle {
|
||||
margin: 0;
|
||||
color: #f2f3f5;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.screen-share-close-btn {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
|
||||
background: transparent;
|
||||
color: #949ba4;
|
||||
|
||||
cursor: pointer;
|
||||
transition: background 120ms ease, color 120ms ease;
|
||||
}
|
||||
|
||||
.screen-share-close-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
/* Video Stage Area */
|
||||
.screen-share-stage {
|
||||
position: relative;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
|
||||
background: #0f1012;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Attached Video Element */
|
||||
.screen-share-video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
/* Empty State / Placeholder */
|
||||
.screen-share-empty-state {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
gap: 12px;
|
||||
padding: 24px;
|
||||
|
||||
color: #949ba4;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.screen-share-empty-icon {
|
||||
font-size: 40px;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.screen-share-empty-text {
|
||||
font-size: 13.5px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
|
||||
/* Footer Controls Bar */
|
||||
.screen-share-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
|
||||
gap: 10px;
|
||||
height: 60px;
|
||||
padding: 0 16px;
|
||||
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
||||
background: #2b2d31;
|
||||
}
|
||||
|
||||
.screen-share-control-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
height: 38px;
|
||||
padding: 0 16px;
|
||||
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 6px;
|
||||
|
||||
background: #383a40;
|
||||
color: #dbdee1;
|
||||
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
|
||||
transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
|
||||
}
|
||||
|
||||
.screen-share-control-btn:hover {
|
||||
background: #4e5058;
|
||||
color: #fff;
|
||||
border-color: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
.screen-share-control-btn.danger {
|
||||
background: #ed4245;
|
||||
border-color: transparent;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.screen-share-control-btn.danger:hover {
|
||||
background: #c9383b;
|
||||
}
|
||||
|
||||
|
||||
/* =====================================================
|
||||
Animations
|
||||
===================================================== */
|
||||
|
||||
@keyframes screenShareFadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.98);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes screenSharePulse {
|
||||
0% {
|
||||
transform: scale(0.95);
|
||||
box-shadow: 0 0 0 0 rgba(237, 66, 69, 0.7);
|
||||
}
|
||||
70% {
|
||||
transform: scale(1);
|
||||
box-shadow: 0 0 0 6px rgba(237, 66, 69, 0);
|
||||
}
|
||||
100% {
|
||||
transform: scale(0.95);
|
||||
box-shadow: 0 0 0 0 rgba(237, 66, 69, 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user