Saturday-AI / gui /style.css
Tejas123we's picture
Make UI 100vw/100vh full-screen responsive without Gradio borders
9f98c05
Raw History Blame Contribute Delete
19.3 kB
/* ==========================================================================
Saturday AI — Ultra-Premium Iridescent Glassmorphic UI Design System
========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');
:root {
--bg-gradient: linear-gradient(135deg, #fdfbf7 0%, #fceede 25%, #fce4ec 50%, #e0f2fe 75%, #f3e8ff 100%);
--glass-card: rgba(255, 255, 255, 0.65);
--glass-card-hover: rgba(255, 255, 255, 0.85);
--glass-sidebar: rgba(255, 255, 255, 0.7);
--glass-pill: rgba(255, 255, 255, 0.8);
--border-glass: rgba(255, 255, 255, 0.85);
--border-subtle: rgba(0, 0, 0, 0.05);
--text-main: #18181b;
--text-sub: #71717a;
--text-muted: #a1a1aa;
--accent-pink: #f43f5e;
--accent-purple: #a855f7;
--accent-cyan: #06b6d4;
--accent-send: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
--rainbow-border: linear-gradient(90deg, #fbcfe8, #fef08a, #bae6fd, #ddd6fe, #fbcfe8);
--font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
--font-code: 'JetBrains Mono', monospace;
--radius-pill: 9999px;
--radius-card: 20px;
--shadow-main: 0 24px 60px rgba(0, 0, 0, 0.06), 0 10px 20px rgba(0, 0, 0, 0.03);
--shadow-orb: 0 20px 50px rgba(236, 72, 153, 0.2), 0 10px 25px rgba(6, 182, 212, 0.15);
--shadow-input: 0 12px 32px rgba(236, 72, 153, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
overflow: hidden;
font-family: var(--font-main);
background: #eef2f6;
background-image:
radial-gradient(at 0% 0%, #fef3c7 0px, transparent 50%),
radial-gradient(at 100% 0%, #e0f2fe 0px, transparent 50%),
radial-gradient(at 50% 50%, #fce7f3 0px, transparent 50%),
radial-gradient(at 0% 100%, #f3e8ff 0px, transparent 50%),
radial-gradient(at 100% 100%, #ecfdf5 0px, transparent 50%);
color: var(--text-main);
-webkit-font-smoothing: antialiased;
}
/* Fullscreen Glass App Window Container */
.app-wrapper {
width: 100vw;
height: 100vh;
background: rgba(255, 255, 255, 0.45);
backdrop-filter: blur(30px) saturate(180%);
-webkit-backdrop-filter: blur(30px) saturate(180%);
display: flex;
overflow: hidden;
position: relative;
}
/* ==========================================================================
Ultra-Slim Floating Glass Sidebar
========================================================================== */
.slim-sidebar {
width: 72px;
background: var(--glass-sidebar);
backdrop-filter: blur(20px);
border-right: 1px solid rgba(255, 255, 255, 0.6);
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 24px 0;
z-index: 20;
flex-shrink: 0;
}
.sidebar-top {
display: flex;
flex-direction: column;
align-items: center;
gap: 28px;
}
.brand-logo-btn {
width: 42px;
height: 42px;
border-radius: 50%;
background: #ffffff;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
border: 1px solid rgba(0, 0, 0, 0.05);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
font-weight: 800;
color: #6366f1;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-logo-btn:hover {
transform: scale(1.06);
box-shadow: 0 6px 16px rgba(99, 102, 241, 0.2);
}
.nav-icons-group {
display: flex;
flex-direction: column;
gap: 16px;
align-items: center;
}
.nav-icon-btn {
width: 40px;
height: 40px;
border-radius: 50%;
border: none;
background: transparent;
color: var(--text-sub);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
font-size: 1.1rem;
}
.nav-icon-btn:hover {
background: rgba(255, 255, 255, 0.8);
color: var(--text-main);
transform: scale(1.05);
}
.nav-icon-btn.active {
background: linear-gradient(135deg, #fbcfe8, #fed7aa, #e0f2fe);
color: #db2777;
box-shadow: 0 4px 12px rgba(219, 39, 119, 0.15);
}
.sidebar-bottom {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
}
/* ==========================================================================
Main Content Workspace
========================================================================== */
.main-stage {
flex: 1;
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;
height: 100vh;
background: transparent;
}
/* Top Right Action Header */
.stage-top-bar {
height: 64px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 32px;
z-index: 10;
flex-shrink: 0;
}
.btn-connect-wallet {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 18px;
background: rgba(255, 255, 255, 0.75);
backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.9);
border-radius: var(--radius-pill);
color: var(--text-main);
font-size: 0.86rem;
font-weight: 600;
cursor: pointer;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
transition: all 0.2s ease;
}
.btn-connect-wallet:hover {
background: #ffffff;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
transform: translateY(-1px);
}
.plus-icon {
width: 18px;
height: 18px;
border-radius: 50%;
background: rgba(0, 0, 0, 0.06);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
}
/* Scroll Area */
.stage-scroll-area {
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
position: relative;
height: calc(100vh - 64px);
}
.stage-scroll-area::-webkit-scrollbar {
width: 6px;
}
.stage-scroll-area::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.08);
border-radius: var(--radius-pill);
}
/* ==========================================================================
Centerpiece 3D Iridescent Orb & Hero View
========================================================================== */
.hero-view {
margin: auto;
width: 100%;
max-width: 900px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 10px 24px 40px;
animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.hero-headline {
font-size: 2.1rem;
font-weight: 800;
letter-spacing: -0.03em;
margin-bottom: 20px;
line-height: 1.25;
}
.headline-dim {
color: #c4b5fd;
background: linear-gradient(135deg, #f472b6, #c084fc, #93c5fd);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.headline-dark {
color: #18181b;
}
/* 3D Glass Iridescent Orb Container */
.orb-stage {
position: relative;
width: 230px;
height: 230px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 26px;
}
.glass-orb {
width: 190px;
height: 190px;
border-radius: 50%;
position: relative;
background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 20%, rgba(244, 114, 182, 0.6) 45%, rgba(168, 85, 247, 0.65) 65%, rgba(6, 182, 212, 0.7) 85%, rgba(236, 72, 153, 0.8) 100%);
box-shadow:
inset 0 10px 24px rgba(255, 255, 255, 0.9),
inset 0 -15px 30px rgba(6, 182, 212, 0.5),
inset -10px 0 20px rgba(236, 72, 153, 0.6),
0 20px 45px rgba(236, 72, 153, 0.25),
0 10px 25px rgba(6, 182, 212, 0.2);
animation: orbFloat 4s ease-in-out infinite alternate;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(4px);
cursor: pointer;
}
.glass-orb:hover {
transform: scale(1.04);
}
@keyframes orbFloat {
0% { transform: translateY(0px) rotate(0deg); }
100% { transform: translateY(-8px) rotate(4deg); }
}
.glass-orb::before {
content: '';
position: absolute;
top: 16px;
left: 24px;
width: 58px;
height: 34px;
border-radius: 50%;
background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.2) 70%, transparent 100%);
transform: rotate(-35deg);
}
.glass-orb::after {
content: '';
position: absolute;
bottom: 20px;
right: 28px;
width: 40px;
height: 18px;
border-radius: 50%;
background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
transform: rotate(25deg);
}
.orb-inner-mic {
color: rgba(255, 255, 255, 0.85);
font-size: 1.3rem;
z-index: 2;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
.orb-mirror-reflection {
position: absolute;
bottom: -18px;
width: 120px;
height: 20px;
border-radius: 50%;
background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.35) 0%, rgba(6, 182, 212, 0.2) 50%, transparent 80%);
filter: blur(8px);
animation: shadowPulse 4s ease-in-out infinite alternate;
}
@keyframes shadowPulse {
0% { transform: scale(1); opacity: 0.8; }
100% { transform: scale(1.15); opacity: 0.4; }
}
/* ==========================================================================
Suggestion Pills
========================================================================== */
.suggestion-pills-row {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 18px;
width: 100%;
}
.pill-chip {
background: rgba(255, 255, 255, 0.85);
border: 1px solid rgba(255, 255, 255, 0.95);
border-radius: var(--radius-pill);
padding: 8px 16px;
font-size: 0.82rem;
font-weight: 600;
color: var(--text-main);
display: flex;
align-items: center;
gap: 7px;
cursor: pointer;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
transition: all 0.2s ease;
}
.pill-chip:hover {
background: #ffffff;
transform: translateY(-2px);
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}
.chip-icon {
font-size: 0.9rem;
}
/* ==========================================================================
Input Card
========================================================================== */
.input-card-wrapper {
width: 100%;
max-width: 660px;
position: relative;
border-radius: var(--radius-card);
padding: 2px;
background: var(--rainbow-border);
box-shadow: var(--shadow-input);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.input-card-wrapper:focus-within {
transform: translateY(-2px);
box-shadow: 0 16px 36px rgba(236, 72, 153, 0.14), 0 4px 16px rgba(6, 182, 212, 0.1);
}
.input-card-inner {
background: rgba(255, 255, 255, 0.92);
backdrop-filter: blur(20px);
border-radius: calc(var(--radius-card) - 2px);
padding: 14px 18px 12px;
display: flex;
flex-direction: column;
gap: 12px;
}
textarea#userInput {
width: 100%;
background: transparent;
border: none;
outline: none;
font-family: var(--font-main);
font-size: 0.96rem;
color: var(--text-main);
resize: none;
min-height: 42px;
max-height: 180px;
line-height: 1.5;
}
textarea#userInput::placeholder {
color: #a1a1aa;
font-weight: 500;
}
.input-tools-bar {
display: flex;
align-items: center;
justify-content: space-between;
}
.tools-left {
display: flex;
align-items: center;
gap: 8px;
}
.btn-tool-chip {
background: rgba(0, 0, 0, 0.03);
border: 1px solid rgba(0, 0, 0, 0.06);
border-radius: var(--radius-pill);
padding: 5px 12px;
font-size: 0.76rem;
font-weight: 600;
color: var(--text-sub);
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
transition: all 0.15s ease;
}
.btn-tool-chip:hover {
background: rgba(0, 0, 0, 0.07);
color: var(--text-main);
}
.btn-tool-chip.active {
background: #fdf2f8;
border-color: #fbcfe8;
color: #db2777;
}
.tools-right {
display: flex;
align-items: center;
gap: 8px;
}
.btn-voice-pill {
background: rgba(0, 0, 0, 0.03);
border: 1px solid rgba(0, 0, 0, 0.06);
border-radius: var(--radius-pill);
padding: 6px 14px;
font-size: 0.78rem;
font-weight: 600;
color: var(--text-sub);
display: flex;
align-items: center;
gap: 6px;
cursor: pointer;
transition: all 0.15s ease;
}
.btn-voice-pill:hover {
background: rgba(0, 0, 0, 0.06);
color: var(--text-main);
}
.btn-send-pill {
background: var(--accent-send);
border: none;
border-radius: var(--radius-pill);
padding: 6px 18px;
font-size: 0.82rem;
font-weight: 700;
color: #ffffff;
display: flex;
align-items: center;
gap: 6px;
cursor: pointer;
box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
transition: all 0.2s ease;
}
.btn-send-pill:hover:not(:disabled) {
transform: translateY(-1px) scale(1.02);
box-shadow: 0 6px 18px rgba(244, 63, 94, 0.45);
}
.btn-send-pill:disabled {
opacity: 0.4;
cursor: not-allowed;
}
/* ==========================================================================
Chat Stream Messages Feed
========================================================================== */
.chat-stream-container {
width: 100%;
max-width: 800px;
margin: 0 auto;
padding: 24px 24px 130px;
display: flex;
flex-direction: column;
gap: 20px;
}
.msg-row {
display: flex;
gap: 14px;
animation: fadeIn 0.2s ease-out;
}
.msg-avatar {
width: 34px;
height: 34px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 0.8rem;
flex-shrink: 0;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.avatar-ai {
background: linear-gradient(135deg, #f472b6, #c084fc, #93c5fd);
color: #fff;
}
.avatar-user {
background: #ffffff;
color: #18181b;
border: 1px solid rgba(0, 0, 0, 0.08);
}
.msg-bubble {
flex: 1;
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.95);
border-radius: 18px;
padding: 14px 18px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.msg-header-name {
font-size: 0.8rem;
font-weight: 700;
color: var(--text-main);
margin-bottom: 4px;
}
.msg-text {
font-size: 0.94rem;
line-height: 1.6;
color: #27272a;
}
.msg-text p {
margin-bottom: 8px;
}
.msg-text p:last-child {
margin-bottom: 0;
}
/* Code Blocks */
.code-container {
margin: 12px 0;
border-radius: 12px;
overflow: hidden;
border: 1px solid rgba(0, 0, 0, 0.08);
background: #18181b;
color: #f4f4f5;
}
.code-header {
background: #27272a;
padding: 6px 14px;
display: flex;
justify-content: space-between;
align-items: center;
font-family: var(--font-code);
font-size: 0.72rem;
color: #a1a1aa;
}
.btn-copy-code {
background: none;
border: none;
color: #e4e4e7;
font-size: 0.75rem;
cursor: pointer;
}
.btn-copy-code:hover {
color: #f43f5e;
}
pre {
padding: 14px;
overflow-x: auto;
font-family: var(--font-code);
font-size: 0.85rem;
line-height: 1.5;
}
/* Docked Input Box at Bottom */
.docked-input-dock {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 16px 24px 24px;
display: flex;
justify-content: center;
background: linear-gradient(180deg, rgba(240, 243, 246, 0) 0%, rgba(240, 243, 246, 0.95) 40%, #eef2f6 100%);
pointer-events: none;
}
.docked-input-dock > * {
pointer-events: auto;
}
/* ==========================================================================
Modals
========================================================================== */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(10px);
display: none;
align-items: center;
justify-content: center;
z-index: 100;
animation: fadeIn 0.2s ease-out;
}
.modal-overlay.active {
display: flex;
}
.glass-auth-modal {
background: rgba(255, 255, 255, 0.92);
backdrop-filter: blur(25px);
border: 1px solid rgba(255, 255, 255, 0.95);
border-radius: var(--radius-card);
padding: 32px;
width: 100%;
max-width: 440px;
text-align: center;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
position: relative;
}
.btn-close-modal {
position: absolute;
top: 16px;
right: 16px;
background: none;
border: none;
font-size: 1.1rem;
color: var(--text-muted);
cursor: pointer;
}
.btn-close-modal:hover {
color: var(--text-main);
}
.auth-hero-icon {
width: 52px;
height: 52px;
margin: 0 auto 16px;
border-radius: 50%;
background: #ffffff;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.glass-auth-modal h3 {
font-size: 1.3rem;
font-weight: 800;
margin-bottom: 6px;
}
.glass-auth-modal p {
font-size: 0.86rem;
color: var(--text-sub);
margin-bottom: 24px;
}
.btn-google-action {
width: 100%;
padding: 12px 18px;
background: #ffffff;
color: #1f1f1f;
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: var(--radius-pill);
font-size: 0.92rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
cursor: pointer;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
transition: all 0.2s ease;
margin-bottom: 12px;
}
.btn-google-action:hover {
background: #f8fafc;
transform: translateY(-1px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.btn-web3-action {
width: 100%;
padding: 12px 18px;
background: linear-gradient(135deg, #f6851b, #e2761b);
color: #ffffff;
border: none;
border-radius: var(--radius-pill);
font-size: 0.92rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
cursor: pointer;
box-shadow: 0 4px 12px rgba(246, 133, 27, 0.25);
transition: all 0.2s ease;
}
.btn-web3-action:hover {
transform: translateY(-1px);
box-shadow: 0 6px 16px rgba(246, 133, 27, 0.35);
}
.setting-item {
text-align: left;
margin-bottom: 16px;
}
.setting-label-row {
display: flex;
justify-content: space-between;
font-size: 0.8rem;
font-weight: 600;
margin-bottom: 6px;
color: var(--text-main);
}
input[type="range"] {
width: 100%;
height: 5px;
background: #e2e8f0;
border-radius: 999px;
outline: none;
-webkit-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 16px;
height: 16px;
border-radius: 50%;
background: #ec4899;
cursor: pointer;
}
.history-scroll-list {
max-height: 240px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 8px;
text-align: left;
margin-bottom: 18px;
}
.history-card-item {
background: #ffffff;
border: 1px solid rgba(0, 0, 0, 0.06);
border-radius: 12px;
padding: 10px 14px;
font-size: 0.86rem;
font-weight: 600;
cursor: pointer;
transition: all 0.15s ease;
}
.history-card-item:hover {
background: #fdf2f8;
border-color: #fbcfe8;
color: #db2777;
}
.more-prompts-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-bottom: 16px;
text-align: left;
}
.more-prompt-btn {
background: #ffffff;
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 12px;
padding: 12px;
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
transition: all 0.15s ease;
}
.more-prompt-btn:hover {
background: #fdf2f8;
border-color: #fbcfe8;
color: #db2777;
transform: translateY(-2px);
}