Update OneDev user CSS with new color variables
This commit is contained in:
parent
2dea70ee92
commit
e11f546fb8
1 changed files with 55 additions and 1 deletions
|
|
@ -8,7 +8,6 @@
|
|||
@updateURL https://git.m3.fyi/Marsn3/userstyles/~raw/main/src/onedev.user.css
|
||||
@license MIT
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("git.m3.fyi") {
|
||||
:root {
|
||||
--bg_h: #1d2021;
|
||||
|
|
@ -44,5 +43,60 @@
|
|||
--orange-dim: #d65d0e;
|
||||
--monospaceFontFamily: "ComicCodeLigatures Nerd Font", "Ubuntu Mono",
|
||||
monospace, emoji;
|
||||
|
||||
--primary: var(--green);
|
||||
--warning: var(--orange);
|
||||
--dark-mode-gray: var(--gray);
|
||||
--dark-mode-light-dark: var(--bg2);
|
||||
--dark-mode-dark: var(--bg1);
|
||||
--dark-mode-darker: var(--bg);
|
||||
--gray-dark: var(--bg2);
|
||||
}
|
||||
.sidebar-header {
|
||||
background: var(--bg2);
|
||||
}
|
||||
.dark-mode ::-webkit-scrollbar {
|
||||
background-color: var(--bg1);
|
||||
}
|
||||
.dark-mode ::-webkit-scrollbar-thumb {
|
||||
background-color: var(--bg2);
|
||||
}
|
||||
.sidebar-menu .menu-body .menu-link.open,
|
||||
.sidebar-menu .menu-body .menu-link.active {
|
||||
background-color: var(--bg1);
|
||||
}
|
||||
.sidebar-footer {
|
||||
background: var(--bg_s);
|
||||
}
|
||||
.dark-mode .btn.btn-outline-secondary,
|
||||
.dark-mode .form-control {
|
||||
border-color: var(--bg4);
|
||||
}
|
||||
.dark-mode .text-muted,
|
||||
.topbar-right a.topbar-link {
|
||||
color: var(--fg3) !important;
|
||||
}
|
||||
.dark-mode a {
|
||||
color: var(--fg1);
|
||||
}
|
||||
.dark-mode .btn.btn-light {
|
||||
background-color: var(--bg2);
|
||||
border-color: var(--bg1);
|
||||
}
|
||||
|
||||
a[href*="/~issues?query=%22Project%22+is+current+and+%22State%22+is+%22Open%22"] {
|
||||
color: var(--warning) !important;
|
||||
}
|
||||
.sidebar a,
|
||||
.sidebar-menu .menu-link:hover .menu-text,
|
||||
.sidebar-menu .menu-link:focus .menu-text,
|
||||
.sidebar-menu .menu-link.active .menu-text,
|
||||
.sidebar-menu .menu-link.open .menu-text,
|
||||
.sidebar-menu .menu-link:hover .menu-arrow,
|
||||
.sidebar-menu .menu-link:focus .menu-arrow,
|
||||
.sidebar-menu .menu-link.active .menu-arrow,
|
||||
.sidebar-menu .menu-link.open .menu-arriw,
|
||||
.dark-mode .card > .card-header .card-title {
|
||||
color: var(--fg) !important;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue