adnandi's picture
Deploy
7136657
Raw
History Blame Contribute Delete
5.4 kB
/* Custom Style Additions for TrendAI Rebuilt Application */
/* Glassmorphism Panel */
.glass-panel {
background: rgba(255, 255, 255, 0.75);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(226, 232, 240, 0.8);
}
/* Modal System */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(15, 23, 42, 0.6);
backdrop-filter: blur(4px);
z-index: 100;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
}
.modal-overlay.active {
opacity: 1;
pointer-events: auto;
}
.modal-content {
background-color: #ffffff;
border-radius: 12px;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
width: 90%;
max-width: 800px;
max-height: 90vh;
overflow: hidden;
transform: scale(0.95);
transition: transform 0.25s ease;
display: flex;
flex-direction: column;
}
.modal-overlay.active .modal-content {
transform: scale(1);
}
.modal-header {
padding: 16px 24px;
border-bottom: 1px solid #e2e8f0;
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-body {
padding: 24px;
overflow-y: auto;
flex-grow: 1;
}
.modal-footer {
padding: 16px 24px;
border-top: 1px solid #e2e8f0;
display: flex;
justify-content: flex-end;
gap: 12px;
background-color: #f8fafc;
}
/* Tab Layout inside Settings Modal */
.modal-tabs {
display: flex;
border-bottom: 2px solid #f1f5f9;
margin-bottom: 20px;
}
.modal-tab-btn {
padding: 10px 20px;
font-weight: 600;
font-size: 14px;
color: #64748b;
border-bottom: 2px solid transparent;
margin-bottom: -2px;
transition: all 0.2s ease;
cursor: pointer;
}
.modal-tab-btn.active {
color: #006591;
border-bottom-color: #006591;
}
.modal-tab-content {
display: none;
}
.modal-tab-content.active {
display: block;
}
/* Custom Form elements */
.form-input {
width: 100%;
padding: 8px 12px;
border: 1px solid #cbd5e1;
border-radius: 6px;
outline: none;
font-size: 14px;
transition: border-color 0.2s ease;
}
.form-input:focus {
border-color: #006591;
box-shadow: 0 0 0 2px rgba(0, 101, 145, 0.15);
}
/* Live Logs Console */
.console-box {
background-color: #0f172a;
color: #38bdf8;
font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
font-size: 13px;
padding: 16px;
border-radius: 8px;
height: 250px;
overflow-y: auto;
border: 1px solid #1e293b;
line-height: 1.6;
}
.console-line {
white-space: pre-wrap;
word-break: break-all;
border-bottom: 1px solid #1e293b;
padding: 4px 0;
}
.console-line.success {
color: #4ade80;
}
.console-line.error {
color: #f87171;
}
.console-line.warning {
color: #fbbf24;
}
/* Loading Overlay spinner */
.global-loader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.85);
z-index: 1000;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
.global-loader.active {
opacity: 1;
pointer-events: auto;
}
.loader-spinner {
width: 50px;
height: 50px;
border: 4px solid #f3f3f3;
border-top: 4px solid #006591;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-bottom: 16px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Toast Notification System */
.toast-container {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 8px;
}
.toast {
background-color: #ffffff;
border-left: 4px solid #006591;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
border-radius: 6px;
padding: 12px 16px;
min-width: 280px;
max-width: 400px;
display: flex;
justify-content: space-between;
align-items: center;
transform: translateY(20px);
opacity: 0;
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.active {
transform: translateY(0);
opacity: 1;
}
.toast.success {
border-left-color: #22c55e;
}
.toast.error {
border-left-color: #ba1a1a;
}
.toast.warning {
border-left-color: #fbbf24;
}
.toast-close {
cursor: pointer;
font-size: 18px;
color: #94a3b8;
margin-left: 12px;
}
.toast-close:hover {
color: #475569;
}
/* Custom table wrapper details */
.custom-table {
width: 100%;
border-collapse: collapse;
}
.custom-table th {
padding: 12px 16px;
background-color: #f8fafc;
color: #475569;
font-weight: 600;
text-align: left;
border-bottom: 1px solid #e2e8f0;
}
.custom-table td {
padding: 12px 16px;
border-bottom: 1px solid #f1f5f9;
}
.custom-table tr:hover {
background-color: #f8fafc;
}
/* Global Fix for Double Chevron Dropdown Icons */
select.appearance-none {
background-image: none !important;
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
}