yacy-skins/themes/modern-dark.css

336 lines
5.9 KiB
CSS
Raw Normal View History

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 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;
padding: 0;
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:04:25 +02:00
position: relative;
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 16:32:42 +02:00
/* Menu */
.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 16:38:23 +02:00
font-size: 1.3em;
font-weight: normal;
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;
line-height: 1.2;
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;
line-height: 1.2;
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 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);
}
/* Fix overlapping */
body {
padding-top: 60px; /* Adjust this value to your navbar height */
}