1242 lines
31 KiB
CSS
1242 lines
31 KiB
CSS
.toolbar-assistant {
|
|
position: relative;
|
|
}
|
|
|
|
.dashboard-assistant-trigger {
|
|
position: relative;
|
|
}
|
|
|
|
.dashboard-assistant-trigger::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: -1px;
|
|
border-radius: inherit;
|
|
background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.18));
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.dashboard-assistant-trigger:hover::after,
|
|
.dashboard-assistant-trigger[aria-expanded="true"]::after {
|
|
opacity: 1;
|
|
}
|
|
|
|
.dashboard-assistant-menu {
|
|
position: fixed !important;
|
|
/* Compact right-side panel: right edge aligned with navbar, fixed 460px width */
|
|
top: 88px;
|
|
left: auto;
|
|
right: clamp(12px, 4vw, 72px);
|
|
width: 460px;
|
|
height: 700px;
|
|
max-height: calc(100vh - 110px);
|
|
display: none;
|
|
flex-direction: column;
|
|
z-index: 1500;
|
|
border-radius: 19px !important;
|
|
background: #2A2A2A !important;
|
|
box-shadow: -3px 8px 14.2px -4px rgba(0, 0, 0, 0.25) !important;
|
|
border: none !important;
|
|
overflow: visible !important;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
.dashboard-assistant-menu.dashboard-assistant-menu--setup {
|
|
height: auto !important;
|
|
min-height: 380px;
|
|
}
|
|
|
|
.dashboard-assistant-menu.is-open {
|
|
display: flex;
|
|
animation: modalReveal 0.35s cubic-bezier(0.32, 0.72, 0, 1) forwards;
|
|
}
|
|
|
|
@keyframes modalReveal {
|
|
0% {
|
|
opacity: 0;
|
|
transform: scale(0.96) translateY(10px);
|
|
filter: blur(8px);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: scale(1) translateY(0);
|
|
filter: blur(0);
|
|
}
|
|
}
|
|
|
|
/* ── Header strip: 59px so buttons float 10px from top ── */
|
|
.dashboard-assistant-head {
|
|
position: relative !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
height: 59px !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
box-sizing: border-box !important;
|
|
flex-shrink: 0 !important;
|
|
}
|
|
|
|
/* Title: sits right next to the close button, NOT centered */
|
|
/* Title: sits right next to the close button, NOT centered */
|
|
.dashboard-assistant-title {
|
|
position: absolute !important;
|
|
left: 67px !important;
|
|
top: 50% !important;
|
|
transform: translateY(-50%) !important;
|
|
margin: 0 !important;
|
|
font-family: 'Inter', sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 500 !important;
|
|
font-size: 32px !important;
|
|
line-height: 39px !important;
|
|
color: #FFFFFF !important;
|
|
pointer-events: none !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
/* Close button: top-left corner rounded (19px 0 0 0), inset 18px left, 11px top */
|
|
#dashboardAssistantClose,
|
|
.dashboard-assistant-head-close-btn {
|
|
position: absolute !important;
|
|
left: 18px !important;
|
|
top: 11px !important;
|
|
width: 39px !important;
|
|
height: 39px !important;
|
|
background: rgba(34, 34, 34, 0.6) !important;
|
|
border: none !important;
|
|
border-radius: 19px 0 0 0 !important;
|
|
cursor: pointer !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
padding: 0 !important;
|
|
transition: background 0.2s ease !important;
|
|
z-index: 10 !important;
|
|
}
|
|
|
|
#dashboardAssistantClose:hover,
|
|
.dashboard-assistant-head-close-btn:hover {
|
|
background: rgba(60, 60, 60, 0.75) !important;
|
|
}
|
|
|
|
/* Actions container: inset 18px right, 11px top */
|
|
.dashboard-assistant-head-actions {
|
|
position: absolute !important;
|
|
right: 18px !important;
|
|
top: 11px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
height: 39px !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
gap: 0 !important;
|
|
z-index: 10 !important;
|
|
}
|
|
|
|
/* Middle action button: no rounding (Rectangle 145) */
|
|
.dashboard-assistant-head-btn {
|
|
width: 39px !important;
|
|
height: 39px !important;
|
|
background: rgba(34, 34, 34, 0.6) !important;
|
|
border: none !important;
|
|
cursor: pointer !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
padding: 0 !important;
|
|
border-radius: 0 !important;
|
|
transition: background 0.2s ease !important;
|
|
}
|
|
|
|
/* [hidden] override: the base rule above forces display:flex !important, which
|
|
would otherwise defeat the `hidden` attribute (same pattern as
|
|
.dashboard-assistant-config[hidden] / .dashboard-assistant-dropdown-menu[hidden]) */
|
|
.dashboard-assistant-head-btn[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Action buttons: top-left corner 0px, top-right corner rounded 19px */
|
|
.dashboard-assistant-head-actions .dashboard-assistant-head-btn:only-child,
|
|
.dashboard-assistant-head-actions .dashboard-assistant-head-btn:last-child {
|
|
border-radius: 0 19px 0 0 !important;
|
|
}
|
|
|
|
.dashboard-assistant-head-btn:hover {
|
|
background: rgba(60, 60, 60, 0.75) !important;
|
|
}
|
|
|
|
.dashboard-assistant-head-btn img {
|
|
width: 17px !important;
|
|
height: 17px !important;
|
|
opacity: 0.61 !important;
|
|
}
|
|
|
|
/* Thin vertical divider between action buttons */
|
|
.dashboard-assistant-head-divider {
|
|
width: 1px !important;
|
|
height: 22px !important;
|
|
background: rgba(68, 68, 68, 0.54) !important;
|
|
flex-shrink: 0 !important;
|
|
}
|
|
|
|
.dashboard-assistant-head-btn[hidden] + .dashboard-assistant-head-divider {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Full-bleed divider line 9px below the header buttons (top: 59px) */
|
|
.dashboard-assistant-head-divider-line {
|
|
position: absolute !important;
|
|
top: 59px !important;
|
|
left: 18px !important;
|
|
right: 18px !important;
|
|
height: 1px !important;
|
|
background: rgba(63, 63, 63, 0.6) !important;
|
|
z-index: 105 !important;
|
|
display: block !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.dashboard-assistant-status {
|
|
padding: 8px 14px;
|
|
background: rgba(36, 36, 36, 0.7);
|
|
color: #EFEFEF;
|
|
font-size: 13px;
|
|
border-radius: 8px;
|
|
margin: 10px 18px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dashboard-assistant-status.is-hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-status::before {
|
|
content: "";
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #22c55e;
|
|
box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dashboard-assistant-status[data-state="working"]::before,
|
|
.dashboard-assistant-status[data-state="transcribing"]::before {
|
|
background: #38bdf8;
|
|
box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
|
|
}
|
|
|
|
.dashboard-assistant-status[data-state="recording"]::before {
|
|
background: #fb7185;
|
|
box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.2);
|
|
}
|
|
|
|
.dashboard-assistant-status[data-state="warning"]::before,
|
|
.dashboard-assistant-status[data-state="error"]::before {
|
|
background: #f59e0b;
|
|
box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
|
|
}
|
|
|
|
.dashboard-assistant-config {
|
|
position: absolute;
|
|
top: 60px;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: #2A2A2A;
|
|
z-index: 100;
|
|
padding: 9px 18px 16px 18px;
|
|
overflow: visible !important;
|
|
margin: 0;
|
|
border: none;
|
|
border-radius: 0 0 19px 19px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
.dashboard-assistant-config[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-config-title,
|
|
.dashboard-assistant-config-text {
|
|
display: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-token-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
/* Select your provider & API key labels (15px #BBBBBB 70% opacity) */
|
|
.dashboard-assistant-token-label {
|
|
font-family: 'Inter', sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 400 !important;
|
|
font-size: 15px !important;
|
|
line-height: 18px !important;
|
|
color: rgba(187, 187, 187, 0.7) !important;
|
|
margin-top: 10px;
|
|
margin-bottom: 4px;
|
|
display: block;
|
|
}
|
|
|
|
.dashboard-assistant-token-form > .dashboard-assistant-token-label:first-child {
|
|
margin-top: 0 !important;
|
|
}
|
|
|
|
/* Select Provider & Model Box Wrappers */
|
|
/* Custom Interactive Dropdowns matching Figma Frame Specs */
|
|
.dashboard-assistant-custom-dropdown {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
box-sizing: border-box !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.dashboard-assistant-custom-dropdown.is-open {
|
|
z-index: 100000 !important;
|
|
}
|
|
|
|
.dashboard-assistant-hidden-select {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Trigger box when closed (37px, #383838 94% opacity, border-radius 8px) */
|
|
.dashboard-assistant-dropdown-trigger {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
height: 37px !important;
|
|
background: rgba(56, 56, 56, 0.94) !important;
|
|
box-shadow: 0px 11px 37.4px -18px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 8px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
padding: 0 12px !important;
|
|
cursor: pointer !important;
|
|
box-sizing: border-box !important;
|
|
transition: background 0.2s ease, border-radius 0.2s ease !important;
|
|
}
|
|
|
|
/* Trigger box when open (#272727 94% opacity, border-radius 8px 8px 0 0) */
|
|
.dashboard-assistant-custom-dropdown.is-open .dashboard-assistant-dropdown-trigger {
|
|
background: rgba(39, 39, 39, 0.94) !important;
|
|
border-radius: 8px 8px 0px 0px !important;
|
|
}
|
|
|
|
/* Keyboard focus ring: the triggers are focusable and the items receive
|
|
programmatic focus during arrow-key navigation, so both need a visible
|
|
ring or keyboard-only users navigate blind. :focus-visible keeps the
|
|
ring off mouse clicks; items also style plain :focus because
|
|
programmatic focus() does not always set :focus-visible. */
|
|
.dashboard-assistant-dropdown-trigger:focus-visible {
|
|
outline: 2px solid #38bdf8 !important;
|
|
outline-offset: 2px !important;
|
|
}
|
|
|
|
.dashboard-assistant-dropdown-item:focus-visible,
|
|
.dashboard-assistant-dropdown-item:focus {
|
|
outline: 2px solid #38bdf8 !important;
|
|
outline-offset: -2px !important;
|
|
border-radius: 6px !important;
|
|
}
|
|
|
|
.dashboard-assistant-dropdown-selected-text {
|
|
font-family: 'Inter', sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 400 !important;
|
|
font-size: 15px !important;
|
|
line-height: 18px !important;
|
|
color: #EFEFEF !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.dashboard-assistant-dropdown-trigger .dashboard-assistant-provider-icon {
|
|
width: 17px !important;
|
|
height: 17px !important;
|
|
object-fit: contain !important;
|
|
margin-right: 8px !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-dropdown-trigger .dashboard-assistant-mark-icon {
|
|
width: 14px !important;
|
|
height: 14px !important;
|
|
object-fit: contain !important;
|
|
margin-left: 10px !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-dropdown-trigger .dashboard-assistant-provider-arrow {
|
|
position: absolute !important;
|
|
right: 12px !important;
|
|
top: 50% !important;
|
|
transform: translateY(-50%) !important;
|
|
width: 10px !important;
|
|
height: 10px !important;
|
|
object-fit: contain !important;
|
|
transition: transform 0.2s ease !important;
|
|
opacity: 0.9 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-custom-dropdown.is-open .dashboard-assistant-provider-arrow {
|
|
transform: translateY(-50%) rotate(180deg) !important;
|
|
}
|
|
|
|
/* Dropdown Options Menu Panel (Figma Rectangle 165: #383838 94% opacity, border-radius 0 0 8px 8px) */
|
|
.dashboard-assistant-dropdown-menu {
|
|
position: absolute !important;
|
|
top: 37px !important;
|
|
left: 0 !important;
|
|
right: 0 !important;
|
|
background: rgba(56, 56, 56, 0.94) !important;
|
|
border-radius: 0px 0px 8px 8px !important;
|
|
backdrop-filter: blur(7.6px) !important;
|
|
-webkit-backdrop-filter: blur(7.6px) !important;
|
|
z-index: 9999 !important;
|
|
padding: 0 !important;
|
|
box-shadow: 0px 11px 37.4px -18px rgba(0, 0, 0, 0.25) !important;
|
|
max-height: none !important;
|
|
overflow-y: visible !important;
|
|
scrollbar-width: none !important;
|
|
-ms-overflow-style: none !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
.dashboard-assistant-dropdown-menu::-webkit-scrollbar {
|
|
display: none !important;
|
|
width: 0 !important;
|
|
height: 0 !important;
|
|
}
|
|
|
|
.dashboard-assistant-dropdown-menu[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Unselected Option Items (18px left padding for unselected items) */
|
|
.dashboard-assistant-dropdown-item {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
height: 30px !important;
|
|
min-height: 30px !important;
|
|
padding: 0 18px !important;
|
|
font-family: 'Inter', sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 400 !important;
|
|
font-size: 15px !important;
|
|
line-height: 18px !important;
|
|
color: #EFEFEF !important;
|
|
cursor: pointer !important;
|
|
transition: background 0.15s ease !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
.dashboard-assistant-dropdown-item:hover {
|
|
background: rgba(70, 70, 70, 0.94) !important;
|
|
}
|
|
|
|
/* Selected Option Item inside menu (#272727 opacity 94%) */
|
|
.dashboard-assistant-dropdown-item.is-selected {
|
|
background: rgba(39, 39, 39, 0.94) !important;
|
|
}
|
|
|
|
.dashboard-assistant-item-icon {
|
|
width: 17px !important;
|
|
height: 17px !important;
|
|
object-fit: contain !important;
|
|
margin-right: 8px !important;
|
|
}
|
|
|
|
/* Separation Lines between options (#535353 opacity 30%) */
|
|
.dashboard-assistant-dropdown-divider {
|
|
width: 433px !important;
|
|
max-width: calc(100% - 20px) !important;
|
|
height: 1px !important;
|
|
background: rgba(83, 83, 83, 0.3) !important;
|
|
margin: 0 auto !important;
|
|
}
|
|
|
|
/* API Key Input Box (Rectangle 157) */
|
|
input#dashboardAssistantTokenInput.dashboard-assistant-token-input {
|
|
width: 100% !important;
|
|
height: 37px !important;
|
|
min-height: 37px !important;
|
|
background: rgba(56, 56, 56, 0.94) !important;
|
|
box-shadow: 0px 11px 37.4px -18px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 8px !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
color: #FFFFFF !important;
|
|
font-family: 'Inter', sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 400 !important;
|
|
font-size: 14px !important;
|
|
line-height: 17px !important;
|
|
padding: 0 12px !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
input#dashboardAssistantTokenInput.dashboard-assistant-token-input::placeholder {
|
|
color: rgba(126, 126, 126, 0.56) !important;
|
|
font-family: 'Inter', sans-serif !important;
|
|
font-weight: 400 !important;
|
|
font-size: 14px !important;
|
|
line-height: 17px !important;
|
|
}
|
|
|
|
.dashboard-assistant-menu.dashboard-assistant-menu--setup {
|
|
height: 395px !important;
|
|
max-height: calc(100vh - 110px) !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
/* Allow normal users to access Assistant Card (Rectangle 162) */
|
|
.dashboard-assistant-access-row {
|
|
box-sizing: border-box !important;
|
|
width: 454px !important;
|
|
max-width: 100% !important;
|
|
height: 57px !important;
|
|
min-height: 57px !important;
|
|
margin-top: 14px !important;
|
|
padding: 10px 16px !important;
|
|
background: transparent !important;
|
|
border: 1px solid rgba(151, 151, 151, 0.31) !important;
|
|
box-shadow: none !important;
|
|
border-radius: 15px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: space-between !important;
|
|
gap: 12px !important;
|
|
}
|
|
|
|
.dashboard-assistant-access-copy {
|
|
flex: 1 !important;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
.dashboard-assistant-access-title {
|
|
margin: 0 !important;
|
|
font-family: 'Inter', sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 500 !important;
|
|
font-size: 15px !important;
|
|
line-height: 18px !important;
|
|
color: #FFFFFF !important;
|
|
}
|
|
|
|
.dashboard-assistant-access-text {
|
|
margin: 3px 0 0 0 !important;
|
|
font-family: 'Inter', sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 400 !important;
|
|
font-size: 11px !important;
|
|
line-height: 13px !important;
|
|
color: #979797 !important;
|
|
}
|
|
|
|
/* Custom Switcher: Rectangle 160 (Track 46x14) & Rectangle 161 (Thumb 16x10) */
|
|
.dashboard-assistant-switch {
|
|
position: relative !important;
|
|
width: 46px !important;
|
|
height: 14px !important;
|
|
background: rgba(36, 36, 36, 0.81) !important; /* #242424 81% opacity */
|
|
border-radius: 15px !important;
|
|
display: inline-block !important;
|
|
cursor: pointer !important;
|
|
flex-shrink: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.dashboard-assistant-switch input {
|
|
position: absolute !important;
|
|
width: 0 !important;
|
|
height: 0 !important;
|
|
opacity: 0 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-switch-slider {
|
|
position: absolute !important;
|
|
width: 16px !important;
|
|
height: 10px !important;
|
|
top: 2px !important;
|
|
left: 2px !important;
|
|
background: rgba(217, 217, 217, 0.76) !important; /* #D9D9D9 76% opacity */
|
|
border-radius: 19px 4px 4px 19px !important;
|
|
transition: transform 0.2s ease, background-color 0.2s ease, border-radius 0.2s ease !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-switch input:checked + .dashboard-assistant-switch-slider {
|
|
transform: translateX(26px) !important;
|
|
background: rgba(217, 217, 217, 0.95) !important;
|
|
border-radius: 4px 19px 19px 4px !important;
|
|
}
|
|
|
|
/* Save Button Box (Rectangle 158: 73px x 25px) & Token Foot (21px distance from allow normal... box) */
|
|
.dashboard-assistant-token-foot {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: flex-end !important;
|
|
gap: 12px !important;
|
|
margin-top: 21px !important;
|
|
}
|
|
|
|
.dashboard-assistant-token-state {
|
|
display: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-save {
|
|
width: 73px !important;
|
|
height: 25px !important;
|
|
min-height: 25px !important;
|
|
background: rgba(56, 56, 56, 0.94) !important;
|
|
box-shadow: 0px 11px 37.4px -18px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 8px !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
color: #FFFFFF !important;
|
|
font-family: 'Inter', sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 500 !important;
|
|
font-size: 14px !important;
|
|
line-height: 17px !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
cursor: pointer !important;
|
|
transition: background 0.2s ease !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.dashboard-assistant-save:hover {
|
|
background: rgba(76, 76, 76, 0.94) !important;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.dashboard-assistant-status {
|
|
padding: 8px 14px;
|
|
background: rgba(36, 36, 36, 0.7);
|
|
color: #EFEFEF;
|
|
font-size: 13px;
|
|
border-radius: 8px;
|
|
margin: 10px 18px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dashboard-assistant-status.is-hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-status::before {
|
|
content: "";
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #22c55e;
|
|
box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dashboard-assistant-status[data-state="working"]::before,
|
|
.dashboard-assistant-status[data-state="transcribing"]::before {
|
|
background: #38bdf8;
|
|
box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
|
|
}
|
|
|
|
.dashboard-assistant-status[data-state="recording"]::before {
|
|
background: #fb7185;
|
|
box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.2);
|
|
}
|
|
|
|
.dashboard-assistant-status[data-state="warning"]::before,
|
|
.dashboard-assistant-status[data-state="error"]::before {
|
|
background: #f59e0b;
|
|
box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
|
|
}
|
|
|
|
|
|
|
|
/* Custom Switcher: Rectangle 160 (Track 46x14) & Rectangle 161 (Thumb 16x10) */
|
|
.dashboard-assistant-switch {
|
|
position: relative !important;
|
|
width: 46px !important;
|
|
height: 14px !important;
|
|
background: rgba(36, 36, 36, 0.81) !important; /* #242424 81% opacity */
|
|
border-radius: 15px !important;
|
|
display: inline-block !important;
|
|
cursor: pointer !important;
|
|
flex-shrink: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.dashboard-assistant-switch input {
|
|
position: absolute !important;
|
|
width: 0 !important;
|
|
height: 0 !important;
|
|
opacity: 0 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-switch-slider {
|
|
position: absolute !important;
|
|
width: 16px !important;
|
|
height: 10px !important;
|
|
top: 2px !important;
|
|
left: 2px !important;
|
|
background: rgba(217, 217, 217, 0.76) !important; /* #D9D9D9 76% opacity */
|
|
border-radius: 19px 4px 4px 19px !important;
|
|
transition: transform 0.2s ease, background-color 0.2s ease, border-radius 0.2s ease !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-switch input:checked + .dashboard-assistant-switch-slider {
|
|
transform: translateX(26px) !important;
|
|
background: rgba(217, 217, 217, 0.95) !important;
|
|
border-radius: 4px 19px 19px 4px !important;
|
|
}
|
|
|
|
/* Save Button Box (Rectangle 158: 73px x 25px) & Token Foot (21px distance from allow normal... box) */
|
|
.dashboard-assistant-token-foot {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: flex-end !important;
|
|
gap: 12px !important;
|
|
margin-top: 21px !important;
|
|
}
|
|
|
|
.dashboard-assistant-token-state {
|
|
display: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-save {
|
|
width: 73px !important;
|
|
height: 25px !important;
|
|
min-height: 25px !important;
|
|
background: rgba(56, 56, 56, 0.94) !important;
|
|
border-radius: 9px !important;
|
|
border: none !important;
|
|
cursor: pointer !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
padding: 0 !important;
|
|
margin-left: auto !important;
|
|
font-family: 'Inter', sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 500 !important;
|
|
font-size: 15px !important;
|
|
line-height: 18px !important;
|
|
color: #FFFFFF !important;
|
|
transition: background 0.2s ease !important;
|
|
}
|
|
|
|
.dashboard-assistant-save:hover {
|
|
background: rgba(75, 75, 75, 0.94) !important;
|
|
}
|
|
|
|
.dashboard-assistant-notice {
|
|
padding: 10px 16px;
|
|
font-size: 13px;
|
|
color: #FFFFFF;
|
|
background: rgba(239, 68, 68, 0.9);
|
|
text-align: center;
|
|
position: absolute;
|
|
top: 58px;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 95;
|
|
border-radius: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.dashboard-assistant-notice.is-hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-messages {
|
|
flex: 1;
|
|
padding: 16px 28px;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
scrollbar-width: thin !important;
|
|
scrollbar-color: rgba(255, 255, 255, 0.08) transparent !important;
|
|
}
|
|
|
|
.dashboard-assistant-messages::-webkit-scrollbar {
|
|
width: 6px !important;
|
|
height: 6px !important;
|
|
}
|
|
|
|
.dashboard-assistant-messages::-webkit-scrollbar-track {
|
|
background: transparent !important;
|
|
}
|
|
|
|
.dashboard-assistant-messages::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.08) !important;
|
|
border-radius: 3px !important;
|
|
}
|
|
|
|
::-webkit-scrollbar-button,
|
|
.dashboard-assistant-menu ::-webkit-scrollbar-button,
|
|
.dashboard-assistant-menu *::-webkit-scrollbar-button,
|
|
.dashboard-assistant-messages::-webkit-scrollbar-button {
|
|
display: none !important;
|
|
width: 0 !important;
|
|
height: 0 !important;
|
|
}
|
|
|
|
.dashboard-assistant-empty {
|
|
flex: 1;
|
|
border: 1px dashed rgba(255, 255, 255, 0.1);
|
|
border-radius: 12px;
|
|
background: rgba(0, 0, 0, 0.15);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
padding: 24px;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.dashboard-assistant-message {
|
|
max-width: 88%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
align-self: flex-start;
|
|
width: fit-content !important;
|
|
}
|
|
|
|
.dashboard-assistant-message--user {
|
|
align-self: flex-end !important;
|
|
align-items: flex-end !important;
|
|
}
|
|
|
|
.dashboard-assistant-message--assistant {
|
|
align-self: flex-start !important;
|
|
align-items: flex-start !important;
|
|
}
|
|
|
|
.dashboard-assistant-message-bubble {
|
|
padding: 10px !important;
|
|
font-family: 'Inter', sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 19px;
|
|
color: #EFEFEF;
|
|
opacity: 1;
|
|
word-break: break-word;
|
|
white-space: pre-wrap;
|
|
box-sizing: border-box;
|
|
width: fit-content !important;
|
|
max-width: 100% !important;
|
|
}
|
|
|
|
.dashboard-assistant-message--user .dashboard-assistant-message-bubble {
|
|
background: rgba(33, 33, 33, 0.75);
|
|
border-radius: 8px 8px 0px 8px;
|
|
}
|
|
|
|
.dashboard-assistant-message--assistant .dashboard-assistant-message-bubble {
|
|
background: rgba(34, 34, 34, 0.5);
|
|
border-radius: 8px 8px 8px 0px;
|
|
}
|
|
|
|
.dashboard-assistant-message-meta-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 0 4px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.dashboard-assistant-message-meta {
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.dashboard-assistant-message-copy {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.5);
|
|
border-radius: 4px;
|
|
padding: 2px 6px;
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
transition: all 0.2s ease;
|
|
user-select: none;
|
|
}
|
|
|
|
.dashboard-assistant-message-copy:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.dashboard-assistant-message-copy.is-copied {
|
|
background: rgba(34, 197, 94, 0.15);
|
|
border-color: rgba(34, 197, 94, 0.3);
|
|
color: #22c55e;
|
|
}
|
|
|
|
.dashboard-assistant-message-link {
|
|
color: #38bdf8;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.dashboard-assistant-message-link:hover {
|
|
color: #7dd3fc;
|
|
}
|
|
|
|
.dashboard-assistant-composer {
|
|
padding: 0 13px 11px 13px;
|
|
background: transparent;
|
|
border-top: none;
|
|
box-sizing: border-box;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dashboard-assistant-composer-form {
|
|
margin: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.dashboard-assistant-composer-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
width: 100%;
|
|
}
|
|
|
|
.dashboard-assistant-input-box {
|
|
flex: 1;
|
|
height: 45px;
|
|
background: rgba(36, 36, 36, 0.7);
|
|
border-radius: 0px 0px 0px 19px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.dashboard-assistant-text-input {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
background: transparent;
|
|
color: #EFEFEF;
|
|
font-family: 'Inter', sans-serif;
|
|
font-size: 14px;
|
|
padding: 13px 15px;
|
|
resize: none;
|
|
box-sizing: border-box;
|
|
line-height: 19px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.dashboard-assistant-text-input::placeholder {
|
|
color: rgba(145, 145, 145, 0.7);
|
|
}
|
|
|
|
.dashboard-assistant-text-input:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.dashboard-assistant-composer-btn {
|
|
width: 45px;
|
|
height: 45px;
|
|
background: rgba(36, 36, 36, 0.7);
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
flex-shrink: 0;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
#dashboardAssistantMic {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
#dashboardAssistantSend {
|
|
border-radius: 0px 0px 19px 0px !important;
|
|
}
|
|
|
|
.dashboard-assistant-composer-btn:hover {
|
|
background: rgba(60, 60, 60, 0.7) !important;
|
|
}
|
|
|
|
.dashboard-assistant-composer-btn:disabled {
|
|
opacity: 1 !important;
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
#dashboardAssistantSend img,
|
|
#dashboardAssistantSend:hover img,
|
|
#dashboardAssistantSend:active img,
|
|
#dashboardAssistantSend:focus img,
|
|
#dashboardAssistantSend:disabled img,
|
|
#dashboardAssistantMic img,
|
|
#dashboardAssistantMic:hover img,
|
|
#dashboardAssistantMic:active img,
|
|
#dashboardAssistantMic:focus img,
|
|
#dashboardAssistantMic:disabled img,
|
|
.dashboard-assistant-composer-btn img,
|
|
.dashboard-assistant-composer-btn:hover img,
|
|
.dashboard-assistant-composer-btn:active img,
|
|
.dashboard-assistant-composer-btn:focus img,
|
|
.dashboard-assistant-composer-btn:disabled img {
|
|
opacity: 0.65 !important;
|
|
filter: brightness(1.62) !important;
|
|
display: block !important;
|
|
}
|
|
|
|
#dashboardAssistantSend svg,
|
|
.dashboard-assistant-composer-btn svg {
|
|
width: 20px !important;
|
|
height: 20px !important;
|
|
display: block !important;
|
|
}
|
|
|
|
#dashboardAssistantSend svg path,
|
|
#dashboardAssistantSend:hover svg path,
|
|
#dashboardAssistantSend:active svg path,
|
|
#dashboardAssistantSend:focus svg path,
|
|
.dashboard-assistant-composer-btn svg path {
|
|
fill: #EBEBEB !important;
|
|
fill-opacity: 0.65 !important;
|
|
}
|
|
|
|
#dashboardAssistantSend:disabled svg path {
|
|
fill: #919191 !important;
|
|
fill-opacity: 0.65 !important;
|
|
}
|
|
|
|
#dashboardAssistantMic img,
|
|
.dashboard-assistant-composer-btn img[alt="Microphone"] {
|
|
height: 20px !important;
|
|
width: auto !important;
|
|
}
|
|
|
|
#dashboardAssistantSend img,
|
|
.dashboard-assistant-composer-btn img[alt="Send"] {
|
|
height: 20px !important;
|
|
width: auto !important;
|
|
}
|
|
|
|
.dashboard-assistant-composer-btn.dashboard-assistant-voice-btn--recording {
|
|
background: rgba(239, 68, 68, 0.8) !important;
|
|
}
|
|
|
|
.dashboard-assistant-composer-btn.dashboard-assistant-voice-btn--recording img {
|
|
opacity: 1 !important;
|
|
filter: brightness(2);
|
|
}
|
|
|
|
.dashboard-assistant-confirm-overlay {
|
|
z-index: 2200;
|
|
}
|
|
|
|
.dashboard-assistant-confirm-modal {
|
|
width: min(620px, calc(100vw - 28px));
|
|
max-height: min(78vh, 560px);
|
|
}
|
|
|
|
/* Responsive fixes to keep paddings aligned */
|
|
@media (max-width: 640px) {
|
|
.dashboard-assistant-menu {
|
|
top: 70px;
|
|
right: 10px;
|
|
left: auto;
|
|
width: calc(100vw - 20px);
|
|
max-height: calc(100vh - 80px);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.dashboard-assistant-head,
|
|
.dashboard-assistant-messages,
|
|
.dashboard-assistant-composer {
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.dashboard-assistant-status,
|
|
.dashboard-assistant-config,
|
|
.dashboard-assistant-notice {
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
}
|
|
}
|
|
|
|
.dashboard-assistant-confirm-copy {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.dashboard-assistant-confirm-lead {
|
|
margin: 0;
|
|
font-size: 17px;
|
|
line-height: 1.5;
|
|
color: #eef6ff;
|
|
}
|
|
|
|
.dashboard-assistant-confirm-text {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
line-height: 1.65;
|
|
color: rgba(194, 209, 233, 0.82);
|
|
}
|
|
|
|
/* Destructive-action step-up inside the assistant delete modal: same visual
|
|
language as the composer inputs, same contract as the settings step-up
|
|
modal (fresh password/2FA unless a scoped grace grant is live). */
|
|
.dashboard-assistant-verify {
|
|
margin-top: 14px;
|
|
padding: 14px;
|
|
border: 1px solid rgba(120, 141, 180, 0.22);
|
|
border-radius: 12px;
|
|
background: rgba(36, 36, 36, 0.55);
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.dashboard-assistant-verify[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.dashboard-assistant-verify-label {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
color: #eef6ff;
|
|
}
|
|
|
|
.dashboard-assistant-verify-input {
|
|
width: 100%;
|
|
height: 42px;
|
|
border: 1px solid rgba(120, 141, 180, 0.28);
|
|
border-radius: 10px;
|
|
background: rgba(20, 20, 20, 0.75);
|
|
color: #efefef;
|
|
font-family: 'Inter', sans-serif;
|
|
font-size: 14px;
|
|
padding: 0 13px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.dashboard-assistant-verify-input::placeholder {
|
|
color: rgba(145, 145, 145, 0.7);
|
|
}
|
|
|
|
.dashboard-assistant-verify-input:focus {
|
|
outline: none;
|
|
border-color: rgba(120, 170, 255, 0.55);
|
|
}
|
|
|
|
.dashboard-assistant-verify-hint {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
color: rgba(194, 209, 233, 0.66);
|
|
}
|
|
|
|
.dashboard-assistant-verify-feedback {
|
|
margin: 0;
|
|
font-size: 12.5px;
|
|
line-height: 1.5;
|
|
color: #ff9c9c;
|
|
}
|
|
|
|
.dashboard-assistant-verify-feedback.is-ok {
|
|
color: #9ad6a9;
|
|
}
|
|
|
|
.dashboard-assistant-confirm-footer {
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.dashboard-assistant-confirm-footer .enterprise-btn-secondary,
|
|
.dashboard-assistant-confirm-footer .enterprise-btn-primary {
|
|
flex: 1 1 220px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.dashboard-assistant-status.is-hidden,
|
|
.dashboard-assistant-token-state.is-hidden,
|
|
.dashboard-assistant-notice.is-hidden {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.dashboard-assistant-menu {
|
|
width: calc(100vw - 20px);
|
|
max-height: calc(100vh - 112px);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.dashboard-assistant-head,
|
|
.dashboard-assistant-messages,
|
|
.dashboard-assistant-composer {
|
|
padding-left: 14px;
|
|
padding-right: 14px;
|
|
}
|
|
|
|
.dashboard-assistant-status,
|
|
.dashboard-assistant-config,
|
|
.dashboard-assistant-notice {
|
|
margin-left: 14px;
|
|
margin-right: 14px;
|
|
}
|
|
|
|
.dashboard-assistant-message {
|
|
max-width: 94%;
|
|
}
|
|
|
|
.dashboard-assistant-voicepad {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.dashboard-assistant-text-row {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.dashboard-assistant-replay-btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.dashboard-assistant-voice-copy {
|
|
white-space: normal;
|
|
}
|
|
|
|
.dashboard-assistant-confirm-modal {
|
|
width: calc(100vw - 20px);
|
|
}
|
|
}
|