This is for testing
localhost by Krishna-kai
Details
AuthorKrishna-kai
LicenseNo License
Categorytest.test.com
Created
Updated
Size4.6 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name localhost
@version 20250227.20.01
@namespace ?
==/UserStyle== */
@-moz-document url-prefix("http://localhost:3001/") {
/* Open WebUI - Research Theme */
/* Apply to: http://localhost:3001/ */
:root {
/* Primary color scheme - scholarly blue */
--primary: #2a6fd6;
--primary-hover: #1c54a7;
--primary-active: #14417f;
/* Secondary accents */
--secondary: #3d7fae;
--accent: #28a745;
/* Background colors - softer tones for reduced eye strain */
--background-primary: #f8f9fa;
--background-secondary: #eef1f6;
--background-tertiary: #e2e8f0;
/* Text colors - higher contrast for readability */
--text-primary: #212529;
--text-secondary: #3a3f44;
--text-muted: #6c757d;
/* Box shadows and borders */
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.07);
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.03);
--border-radius: 0.5rem;
/* Fonts - improved for long reading sessions */
--font-size-base: 1rem;
--font-size-lg: 1.125rem;
--font-size-sm: 0.875rem;
--line-height: 1.6;
}
/* GLOBAL STYLES */
/* Improved typography for readability */
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
line-height: var(--line-height);
background-color: var(--background-primary);
color: var(--text-primary);
}
/* Improve code readability */
code,
pre {
font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
background-color: #f5f7f9;
border-radius: 3px;
}
pre {
padding: 1rem;
border-radius: var(--border-radius);
box-shadow: var(--shadow-sm);
}
/* Enhanced buttons */
button,
.btn {
border-radius: var(--border-radius);
font-weight: 500;
transition: all 0.2s ease;
}
button:hover,
.btn:hover {
transform: translateY(-1px);
box-shadow: var(--shadow-md);
}
/* CHAT INTERFACE IMPROVEMENTS */
/* Chat container */
.chat-container,
[class*="chat-container"] {
max-width: 1200px;
margin: 0 auto;
padding: 1rem;
}
/* Message bubbles */
.message,
[class*="message"],
.chat-message,
[class*="chat-message"] {
border-radius: var(--border-radius);
padding: 1rem;
margin-bottom: 1rem;
box-shadow: var(--shadow-sm);
border: 1px solid var(--background-tertiary);
}
/* User message styling */
.user-message,
[class*="user-message"] {
background-color: #e3f2fd;
border-color: #bbdefb;
}
/* AI message styling */
.ai-message,
[class*="ai-message"] {
background-color: white;
}
/* Code blocks in messages */
.message pre,
[class*="message"] pre,
.chat-message pre,
[class*="chat-message"] pre {
background-color: #2d2d2d;
color: #f8f8f2;
border-radius: 0.3rem;
border: none;
overflow-x: auto;
}
/* Syntax highlighting improvements */
.hljs-keyword,
.token.keyword {
color: #ff79c6;
}
.hljs-string,
.token.string {
color: #f1fa8c;
}
.hljs-comment,
.token.comment {
color: #6272a4;
}
/* Input area enhancements */
.input-area,
[class*="input-area"],
textarea,
[role="textbox"] {
border-radius: var(--border-radius);
border: 1px solid var(--background-tertiary);
box-shadow: var(--shadow-sm);
transition: all 0.2s ease;
}
.input-area:focus,
[class*="input-area"]:focus,
textarea:focus,
[role="textbox"]:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(42, 111, 214, 0.25);
}
/* NAVIGATION & SIDEBARS */
/* Sidebar refinements */
.sidebar,
[class*="sidebar"] {
background-color: white;
border-right: 1px solid var(--background-tertiary);
}
/* Navigation items */
.nav-item,
[class*="nav-item"] {
border-radius: var(--border-radius);
margin: 0.25rem 0;
transition: background-color 0.2s ease;
}
.nav-item:hover,
[class*="nav-item"]:hover {
background-color: var(--background-secondary);
}
/* MISC UI IMPROVEMENTS */
/* Tables */
table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
margin: 1rem 0;
}
th,
td {
padding: 0.75rem;
border-bottom: 1px solid var(--background-tertiary);
}
th {
background-color: var(--background-secondary);
font-weight: 600;
}
/* Scrollbars */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--background-secondary);
}
::-webkit-scrollbar-thumb {
background: #b0b7c3;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #8c93a0;
}
}