cawncade-ai / frontend /src /index.css
Nawaz-khan-droid
build: finalize stratos refactor, textarea hardening, and payload limit alignment
acf82bb
Raw
History Blame Contribute Delete
2.8 kB
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Global Mobile Shield */
html, body {
overflow-x: hidden; /* Prevent horizontal scroll */
width: 100%;
margin: 0;
padding: 0;
}
* {
box-sizing: border-box; /* Includes padding/border in width */
}
@layer base {
body {
@apply bg-slate-900 text-slate-200;
font-feature-settings: "rlig" 1, "calt" 1;
}
}
/* Responsive Container for Dashboard */
.dashboard-container {
display: flex;
flex-direction: column; /* Stack on mobile */
width: 100%;
padding: 10px;
}
@media (min-width: 768px) {
.dashboard-container {
flex-direction: row; /* Side-by-side on desktop */
}
}
/* Custom styles */
@layer components {
.glass-card {
@apply backdrop-blur-md bg-white/5 border border-white/10 rounded-2xl shadow-[0_18px_60px_rgba(15,23,42,0.32)];
}
.btn-primary {
@apply bg-sky-500 hover:bg-sky-400 text-slate-950 font-semibold rounded-xl transition-all duration-200 hover:shadow-lg hover:shadow-sky-500/25;
}
.btn-secondary {
@apply bg-white/5 hover:bg-white/10 text-white border border-white/10 font-medium rounded-xl transition-all duration-200;
}
.gradient-text {
@apply bg-clip-text text-transparent bg-gradient-to-r from-sky-400 to-emerald-400 font-bold;
}
}
/* --- GOOGLE CUSTOM SEARCH (CSE) OVERRIDES --- */
/* This makes the Google search bar match your Cyberpunk theme */
.gsc-control-cse {
background-color: transparent !important;
border: none !important;
padding: 0 !important;
font-family: inherit !important;
}
.gsc-input-box {
background-color: rgba(255, 255, 255, 0.03) !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
border-radius: 12px !important;
overflow: hidden;
}
input.gsc-input {
background: none !important;
color: #e2e8f0 !important; /* slate-200 */
padding-left: 10px !important;
}
.gsc-search-button-v2 {
background-color: #0ea5e9 !important; /* sky-500 */
border-radius: 0 10px 10px 0 !important;
border: none !important;
padding: 10px 16px !important;
margin-top: 0 !important;
}
.gsc-search-button-v2:hover {
background-color: #38bdf8 !important; /* sky-400 */
}
/* Hide branding and unnecessary elements */
.gcsc-branding, .gsc-adBlock {
display: none !important;
}
/* --- ANIMATIONS & UI --- */
@keyframes fade-in {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fade-in 0.5s ease-out;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.2);
}