2024-05-28 16:26:07 +02:00
|
|
|
/* Modern Dark Theme for YaCy */
|
|
|
|
|
|
|
|
/* Base colors */
|
|
|
|
:root {
|
|
|
|
--background-color: #121212;
|
|
|
|
--surface-color: #1E1E1E;
|
2024-05-28 17:04:25 +02:00
|
|
|
--primary-color: #1E90FF; /* Updated to a more appropriate blue */
|
2024-05-28 16:26:07 +02:00
|
|
|
--secondary-color: #03DAC6;
|
|
|
|
--text-color: #E0E0E0;
|
|
|
|
--text-muted-color: #B0B0B0;
|
|
|
|
--border-color: #333333;
|
2024-05-28 17:04:25 +02:00
|
|
|
--hover-color: #1E90FF; /* Updated hover color */
|
2024-05-28 17:22:51 +02:00
|
|
|
--sidebar-background-color: #2A2A2A;
|
|
|
|
--highlight-color: #FFB74D; /* For the highlighted buttons */
|
2024-05-28 16:26:07 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:28:45 +02:00
|
|
|
/* General settings */
|
2024-05-28 16:26:07 +02:00
|
|
|
body {
|
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--text-color);
|
|
|
|
font-family: Arial, sans-serif;
|
2024-05-28 16:28:45 +02:00
|
|
|
margin: 0;
|
2024-05-28 17:18:35 +02:00
|
|
|
padding-top: 60px; /* Adjust this value to your navbar height */
|
2024-05-28 17:22:51 +02:00
|
|
|
display: flex;
|
|
|
|
height: 100vh;
|
2024-05-28 17:27:48 +02:00
|
|
|
overflow: hidden;
|
2024-05-28 16:26:07 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:43:33 +02:00
|
|
|
a:link, a:visited {
|
2024-05-28 16:32:42 +02:00
|
|
|
color: var(--primary-color);
|
|
|
|
background-color: transparent;
|
2024-05-28 16:26:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
2024-05-28 16:38:23 +02:00
|
|
|
color: var(--hover-color);
|
2024-05-28 16:32:42 +02:00
|
|
|
background-color: transparent;
|
2024-05-28 16:26:07 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:43:33 +02:00
|
|
|
/* Navbar */
|
|
|
|
.navbar, .navbar-default, .navbar-fixed-top {
|
2024-05-28 16:46:19 +02:00
|
|
|
background-color: var(--surface-color) !important;
|
|
|
|
border-color: var(--border-color) !important;
|
|
|
|
color: var(--text-color) !important;
|
2024-05-28 17:27:48 +02:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
2024-05-28 17:04:25 +02:00
|
|
|
z-index: 1000; /* Ensure navbar is on top */
|
2024-05-28 16:43:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-default .navbar-nav>li>a, .navbar-default .navbar-brand {
|
2024-05-28 16:46:19 +02:00
|
|
|
color: var(--text-color) !important;
|
2024-05-28 16:43:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-brand:hover {
|
2024-05-28 16:46:19 +02:00
|
|
|
color: var(--primary-color) !important;
|
2024-05-28 16:43:33 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 17:22:51 +02:00
|
|
|
/* Sidebar */
|
|
|
|
#sidebar {
|
|
|
|
background-color: var(--sidebar-background-color);
|
|
|
|
color: var(--text-color);
|
|
|
|
padding: 20px;
|
|
|
|
position: fixed;
|
|
|
|
top: 60px; /* Adjust based on navbar height */
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 300px;
|
|
|
|
overflow-y: auto;
|
|
|
|
z-index: 999; /* Ensure sidebar is on top */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Main content area */
|
|
|
|
#main-content {
|
2024-05-28 17:27:48 +02:00
|
|
|
margin-left: 20px;
|
2024-05-28 17:22:51 +02:00
|
|
|
margin-right: 320px; /* Adjust based on sidebar width */
|
|
|
|
padding: 20px;
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
.menugroup h3, .SubMenugroup h3, .SubMenu h3 {
|
2024-05-28 16:38:23 +02:00
|
|
|
border-radius: 3px;
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
font-weight: bold;
|
2024-05-28 16:43:33 +02:00
|
|
|
padding: 6px;
|
2024-05-28 16:38:23 +02:00
|
|
|
color: white;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
a.MenuItemLink, ul.SubMenu em {
|
|
|
|
background-color: var(--surface-color);
|
|
|
|
color: var(--text-color);
|
2024-05-28 16:26:07 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:38:23 +02:00
|
|
|
div.SubMenu h3 {
|
|
|
|
padding: 6px 10px;
|
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
a:hover.MenuItemLink {
|
|
|
|
background-color: transparent;
|
2024-05-28 16:38:23 +02:00
|
|
|
color: var(--hover-color);
|
2024-05-28 16:26:07 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
/* Head */
|
|
|
|
div.head h1 {
|
2024-05-28 16:38:23 +02:00
|
|
|
background-color: transparent;
|
|
|
|
text-align: left;
|
|
|
|
padding-left: 70px;
|
2024-05-28 16:26:07 +02:00
|
|
|
color: var(--text-color);
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:26:07 +02:00
|
|
|
/* Tables */
|
2024-05-28 16:38:23 +02:00
|
|
|
table {
|
2024-05-28 16:43:33 +02:00
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
th, td {
|
|
|
|
padding: 8px;
|
|
|
|
text-align: left;
|
2024-05-28 16:38:23 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
.TableHeader {
|
2024-05-28 16:38:23 +02:00
|
|
|
background-color: var(--primary-color);
|
|
|
|
color: white;
|
2024-05-28 16:26:07 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
.TableCellDark {
|
|
|
|
background-color: var(--surface-color);
|
2024-05-28 16:26:07 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
.TableCellLight {
|
2024-05-28 16:38:23 +02:00
|
|
|
background-color: var(--background-color);
|
|
|
|
}
|
|
|
|
|
2024-05-28 16:43:33 +02:00
|
|
|
.TableCellDark:target, .TableCellLight:target, .TableCellSummary, .TableCellActive {
|
2024-05-28 16:38:23 +02:00
|
|
|
background-color: #FFCCCC;
|
2024-05-28 16:26:07 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
/* Blog and Wiki */
|
|
|
|
.Post {
|
2024-05-28 16:26:07 +02:00
|
|
|
background-color: var(--surface-color);
|
2024-05-28 16:43:33 +02:00
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 10px;
|
2024-05-28 16:26:07 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
.PostSubject {
|
2024-05-28 16:26:07 +02:00
|
|
|
background-color: var(--surface-color);
|
2024-05-28 16:43:33 +02:00
|
|
|
padding: 10px;
|
2024-05-28 16:26:07 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
.PostSubject a {
|
2024-05-28 16:26:07 +02:00
|
|
|
color: var(--text-color);
|
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
.PostInfo {
|
|
|
|
background-color: var(--surface-color);
|
2024-05-28 16:43:33 +02:00
|
|
|
padding: 10px;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
/* Wiki */
|
|
|
|
.WikiTOCBox {
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
background-color: var(--background-color);
|
2024-05-28 16:43:33 +02:00
|
|
|
padding: 10px;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
a.unknown {
|
|
|
|
color: #990000;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
a.known {
|
|
|
|
color: #009900;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
a.extern {
|
|
|
|
color: var(--primary-color);
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
/* in Bookmarks */
|
|
|
|
.bookmark {
|
|
|
|
border-bottom: 1px dashed var(--border-color);
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:43:33 +02:00
|
|
|
a.bookmarkTitle, a:hover.bookmarkTitle {
|
2024-05-28 16:32:42 +02:00
|
|
|
color: var(--primary-color);
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:43:33 +02:00
|
|
|
a.bookmarkTags, a:hover.bookmarkTags {
|
2024-05-28 16:32:42 +02:00
|
|
|
color: var(--secondary-color);
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
a.bookmarkAction {
|
|
|
|
color: var(--text-muted-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.Tags {
|
|
|
|
border-left: 2px solid var(--text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff {
|
2024-05-28 16:28:45 +02:00
|
|
|
background-color: var(--surface-color);
|
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
.diff .unchanged {
|
|
|
|
color: var(--text-color);
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
.diff .added {
|
|
|
|
color: #090;
|
|
|
|
background-color: #B5F0B5;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
.diff .deleted {
|
|
|
|
color: #B00;
|
|
|
|
background-color: #F9B5B5;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
/* in Status.html */
|
|
|
|
.ProgressBar {
|
2024-05-28 16:28:45 +02:00
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
}
|
|
|
|
|
2024-05-28 16:32:42 +02:00
|
|
|
div.ProgressBarFill {
|
|
|
|
background-color: var(--primary-color);
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:38:23 +02:00
|
|
|
/* Searchresults */
|
2024-05-28 16:43:33 +02:00
|
|
|
fieldset.maininput, fieldset.yacys {
|
2024-05-28 16:38:23 +02:00
|
|
|
background-color: var(--surface-color);
|
|
|
|
border-radius: 3px;
|
2024-05-28 16:43:33 +02:00
|
|
|
padding: 10px;
|
2024-05-28 16:32:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
form.search.small h2 {
|
|
|
|
border-bottom: 1px solid var(--border-color);
|
|
|
|
}
|
|
|
|
|
2024-05-28 16:38:23 +02:00
|
|
|
.searchresults {
|
|
|
|
margin-top: 15px;
|
2024-05-28 17:04:25 +02:00
|
|
|
padding: 10px;
|
|
|
|
background-color: var(--surface-color);
|
|
|
|
border-radius: 5px;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 17:08:42 +02:00
|
|
|
.searchresult {
|
|
|
|
padding: 15px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
border-radius: 5px;
|
|
|
|
background-color: var(--surface-color);
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.searchresult h4 a {
|
2024-05-28 17:27:48 +02:00
|
|
|
font-size: 1.5em;
|
|
|
|
font-weight: bold;
|
2024-05-28 16:38:23 +02:00
|
|
|
color: var(--primary-color);
|
|
|
|
text-decoration: none;
|
|
|
|
margin-bottom: 5px;
|
2024-05-28 17:08:42 +02:00
|
|
|
display: block;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 17:08:42 +02:00
|
|
|
.searchresult h4 a:hover {
|
2024-05-28 16:38:23 +02:00
|
|
|
color: var(--hover-color);
|
|
|
|
text-decoration: underline;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:38:23 +02:00
|
|
|
.snippetLoaded {
|
|
|
|
font-size: 1.2em;
|
2024-05-28 17:22:51 +02:00
|
|
|
line-height: 1.5;
|
2024-05-28 17:08:42 +02:00
|
|
|
color: var(--text-muted-color);
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:38:23 +02:00
|
|
|
.snippetLoaded strong {
|
2024-05-28 16:43:33 +02:00
|
|
|
color: var(--text-color);
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 17:08:42 +02:00
|
|
|
.searchresult .url a {
|
2024-05-28 16:38:23 +02:00
|
|
|
font-size: 1.2em;
|
|
|
|
color: var(--secondary-color);
|
|
|
|
text-decoration: none;
|
2024-05-28 17:22:51 +02:00
|
|
|
line-height: 1.5;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 17:08:42 +02:00
|
|
|
.searchresult .url a:hover {
|
2024-05-28 16:38:23 +02:00
|
|
|
color: var(--hover-color);
|
|
|
|
text-decoration: underline;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 17:22:51 +02:00
|
|
|
/* Sidebar section styling */
|
|
|
|
#sidebar .section {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar .section h3 {
|
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: bold;
|
|
|
|
background-color: var(--highlight-color);
|
|
|
|
color: white;
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar .section .content {
|
|
|
|
background-color: var(--surface-color);
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar .section .content a {
|
|
|
|
display: block;
|
|
|
|
padding: 5px 0;
|
|
|
|
color: var(--primary-color);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar .section .content a:hover {
|
|
|
|
color: var(--hover-color);
|
|
|
|
}
|
|
|
|
|
2024-05-28 16:38:23 +02:00
|
|
|
/* Other */
|
|
|
|
.settingsValue {
|
|
|
|
color: #556699;
|
2024-05-28 16:28:45 +02:00
|
|
|
}
|
2024-05-28 16:32:42 +02:00
|
|
|
|
2024-05-28 16:43:33 +02:00
|
|
|
.Headline, .Heading {
|
2024-05-28 16:38:23 +02:00
|
|
|
background-color: var(--primary-color);
|
|
|
|
color: white;
|
2024-05-28 16:32:42 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:38:23 +02:00
|
|
|
.error, .warning {
|
|
|
|
color: red;
|
2024-05-28 16:32:42 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:38:23 +02:00
|
|
|
.success {
|
|
|
|
color: green;
|
2024-05-28 16:32:42 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:38:23 +02:00
|
|
|
.Message {
|
|
|
|
background-color: var(--surface-color);
|
2024-05-28 16:43:33 +02:00
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 10px;
|
2024-05-28 16:32:42 +02:00
|
|
|
}
|
|
|
|
|
2024-05-28 16:38:23 +02:00
|
|
|
.example {
|
2024-05-28 17:08:42 +02:00
|
|
|
background-color: #D3D3D3;
|
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hides:hover .hoverShow {
|
|
|
|
background-color: var(--background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Log */
|
|
|
|
body#ViewLog pre {
|
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--text-color);
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Forms */
|
|
|
|
fieldset {
|
|
|
|
background-color: var(--surface-color);
|
|
|
|
color: var(--text-color);
|
|
|
|
border: 0px solid var(--surface-color);
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
legend {
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
border-radius: 3px;
|
|
|
|
text-align: left;
|
|
|
|
font-weight: bold;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
legend a:link, legend a:hover {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
form dt, dl.pairs dt {
|
|
|
|
background-color: var(--surface-color);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
form dd, dl.pairs dd {
|
|
|
|
background-color: var(--surface-color);
|
2024-05-28 17:27:48 +02:00
|
|
|
}
|