mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-15 10:04:13 -08:00
1455331a90
Signed-off-by: snipe <[email protected]>
555 lines
13 KiB
CSS
555 lines
13 KiB
CSS
/*
|
|
* Skin: black dark
|
|
* ----------
|
|
*/
|
|
.skin-black-dark .main-header .navbar {
|
|
background-color: #111;
|
|
}
|
|
.skin-black-dark .main-header .navbar .nav > li > a {
|
|
color: #fff;
|
|
}
|
|
.skin-black-dark .main-header .navbar .nav > li > a:hover,
|
|
.skin-black-dark .main-header .navbar .nav > li > a:active,
|
|
.skin-black-dark .main-header .navbar .nav > li > a:focus,
|
|
.skin-black-dark .main-header .navbar .nav .open > a,
|
|
.skin-black-dark .main-header .navbar .nav .open > a:hover,
|
|
.skin-black-dark .main-header .navbar .nav .open > a:focus,
|
|
.skin-black-dark .main-header .navbar .nav > .active > a {
|
|
background: rgba(0, 0, 0, 0.1);
|
|
color: #f6f6f6;
|
|
}
|
|
.skin-black-dark .main-header .navbar .sidebar-toggle {
|
|
color: #fff;
|
|
}
|
|
.skin-black-dark .main-header .navbar .sidebar-toggle:hover {
|
|
color: #f6f6f6;
|
|
background: rgba(0, 0, 0, 0.1);
|
|
}
|
|
.skin-black-dark .main-header .navbar .sidebar-toggle {
|
|
color: #fff;
|
|
}
|
|
.skin-black-dark .main-header .navbar .sidebar-toggle:hover {
|
|
background-color: #040404;
|
|
}
|
|
@media (max-width: 767px) {
|
|
.skin-black-dark .main-header .navbar .dropdown-menu li.divider {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
color: #fff;
|
|
}
|
|
.skin-black-dark .main-header .navbar .dropdown-menu li a {
|
|
color: #333;
|
|
}
|
|
.skin-black-dark .main-header .navbar .dropdown-menu li a:hover {
|
|
background: #040404;
|
|
color: #fff;
|
|
}
|
|
}
|
|
@media (max-width: 991px) {
|
|
.skin-black-dark .main-header .navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
|
|
background-color: var(--back-sub);
|
|
}
|
|
}
|
|
.skin-black-dark .main-header li.user-header {
|
|
background-color: #111;
|
|
}
|
|
.skin-black-dark .content-header {
|
|
background: transparent;
|
|
}
|
|
.skin-black-dark .wrapper,
|
|
.skin-black-dark .main-sidebar,
|
|
.skin-black-dark .left-side {
|
|
background-color: #222d32;
|
|
}
|
|
.skin-black-dark .user-panel > .info,
|
|
.skin-black-dark .user-panel > .info > a {
|
|
color: #fff;
|
|
}
|
|
.skin-black-dark .sidebar-menu > li.header {
|
|
color: #4b646f;
|
|
background: #1a2226;
|
|
}
|
|
.skin-black-dark .sidebar-menu > li > a {
|
|
border-left: 3px solid transparent;
|
|
}
|
|
.skin-black-dark .sidebar-menu > li:hover > a,
|
|
.skin-black-dark .sidebar-menu > li.active > a {
|
|
color: #fff;
|
|
background: #1e282c;
|
|
border-left-color: #111;
|
|
}
|
|
.skin-black-dark .sidebar-menu > li > .treeview-menu {
|
|
margin: 0 1px;
|
|
background: #2c3b41;
|
|
}
|
|
.skin-black-dark .sidebar a {
|
|
color: #b8c7ce;
|
|
}
|
|
.skin-black-dark .sidebar a:hover {
|
|
text-decoration: none;
|
|
}
|
|
.skin-black-dark .treeview-menu > li > a {
|
|
color: #8aa4af;
|
|
}
|
|
.skin-black-dark .treeview-menu > li.active > a,
|
|
.skin-black-dark .treeview-menu > li > a:hover {
|
|
color: #fff;
|
|
}
|
|
.skin-black-dark .sidebar-form {
|
|
border-radius: 3px;
|
|
border: 1px solid #374850;
|
|
margin: 10px 10px;
|
|
}
|
|
.skin-black-dark .sidebar-form input[type="text"],
|
|
.skin-black-dark .sidebar-form .btn {
|
|
box-shadow: none;
|
|
background-color: #374850;
|
|
border: 1px solid transparent;
|
|
height: 35px;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
.skin-black-dark .sidebar-form input[type="text"] {
|
|
color: #666;
|
|
border-top-left-radius: 2px;
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
border-bottom-left-radius: 2px;
|
|
}
|
|
.skin-black-dark .sidebar-form input[type="text"]:focus,
|
|
.skin-black-dark .sidebar-form input[type="text"]:focus + .input-group-btn .btn {
|
|
background-color: #fff;
|
|
color: #666;
|
|
}
|
|
.skin-black-dark .sidebar-form input[type="text"]:focus + .input-group-btn .btn {
|
|
border-left-color: #fff;
|
|
}
|
|
.skin-black-dark .sidebar-form .btn {
|
|
color: #999;
|
|
border-top-left-radius: 0;
|
|
border-top-right-radius: 2px;
|
|
border-bottom-right-radius: 2px;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
.skin-black-dark.layout-top-nav .main-header > .logo .logo-variant {
|
|
background-color: none;
|
|
}
|
|
.btn,
|
|
.btn:hover {
|
|
color: #fff;
|
|
}
|
|
.btn.btn-primary,
|
|
.btn:hover.btn-primary,
|
|
.btn .btn-primary:link,
|
|
.btn:hover .btn-primary:link {
|
|
background-color: #000000;
|
|
border-color: #000000;
|
|
color: #fff;
|
|
}
|
|
.btna.btn-primary:hover,
|
|
.btn:hovera.btn-primary:hover {
|
|
background-color: #000000;
|
|
border-color: #000000;
|
|
color: #fff;
|
|
}
|
|
.btn.btn-white:link,
|
|
.btn:hover.btn-white:link {
|
|
background-color: #000000;
|
|
color: #fff;
|
|
}
|
|
.btn.btn-white:hover,
|
|
.btn:hover.btn-white:hover {
|
|
background-color: #000000;
|
|
color: #fff;
|
|
}
|
|
/**
|
|
The dropdown is white, so use a darker color
|
|
*/
|
|
li.dropdown-item-marker {
|
|
color: var(--button-primary);
|
|
}
|
|
a:hover {
|
|
color: #fff;
|
|
}
|
|
a:visited {
|
|
color: #fff;
|
|
}
|
|
.text-primary {
|
|
color: #fff;
|
|
}
|
|
:root {
|
|
--background: #222;
|
|
--back-main: #333;
|
|
--back-sub: #3d4144;
|
|
--back-sub-alt: rgba(0, 0, 0, 0.36);
|
|
--button-default: #000000;
|
|
--button-primary: #000000;
|
|
--button-hover: #000000;
|
|
--header: #111;
|
|
/* Use same as Header picker */
|
|
--text-main: #fff;
|
|
--text-sub: #9b9b9b;
|
|
--link: #fff;
|
|
/* Use same as Header picker, lighten by 70% */
|
|
--visited-link: #fff;
|
|
/* Use same as Header picker, lighten by 70% */
|
|
--hover-link: #949494;
|
|
/* Use same as Header picker, lighten by 70% */
|
|
--nav-link: #FFF;
|
|
/* Use same as Header picker */
|
|
--light-link: #fff;
|
|
/* Use same as Header picker */
|
|
}
|
|
#ldapad_test_results.well.well-sm {
|
|
color: var(--back-main);
|
|
}
|
|
a.actions {
|
|
color: #fff !important;
|
|
}
|
|
.pagination > li > a {
|
|
color: var(--light-link);
|
|
background-color: var(--back-main);
|
|
}
|
|
.pagination > .active > a {
|
|
background-color: var(--visited-link);
|
|
border-color: var(--light-link);
|
|
}
|
|
.pagination > .active > a:hover {
|
|
background-color: var(--hover-link);
|
|
}
|
|
.tasks-menu > .dropdown-menu > li .menu > li > a:hover .progress {
|
|
background-color: var(--background);
|
|
}
|
|
a:hover > h2.task_menu {
|
|
color: var(--header);
|
|
}
|
|
h2.task_menu {
|
|
color: var(--link);
|
|
}
|
|
.navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
|
|
background-color: var(--back-main);
|
|
color: var(--link);
|
|
}
|
|
.navbar-custom-menu > .navbar-nav > li > .dropdown-menu > li.header {
|
|
background-color: var(--header);
|
|
color: var(--link);
|
|
}
|
|
.main-header .navbar,
|
|
.main-header .logo {
|
|
background-color: var(--header);
|
|
background: linear-gradient(to bottom, var(--header) 0%, var(--header) 100%);
|
|
border-color: var(--header);
|
|
}
|
|
.bootstrap-table .fixed-table-container .table thead th .sortable {
|
|
color: var(--nav-link);
|
|
}
|
|
.bootstrap-table .fixed-table-toolbar .columns label {
|
|
color: #000;
|
|
}
|
|
.thead,
|
|
.navbar-nav > li > a:link {
|
|
color: var(--nav-link);
|
|
}
|
|
.far fa-life-ring {
|
|
color: var(--link);
|
|
}
|
|
.modal-content {
|
|
background-color: var(--back-main);
|
|
color: var(--text-main);
|
|
}
|
|
.btn-primary.hover {
|
|
color: var(--nav-link);
|
|
}
|
|
.small-box h3,
|
|
.small-box p {
|
|
color: var(--nav-link) !important;
|
|
}
|
|
.small-box h3 a:hover,
|
|
.small-box p a:hover {
|
|
text-decoration: none;
|
|
color: var(--nav-link) !important;
|
|
}
|
|
a:link.btn-default {
|
|
color: var(--nav-link);
|
|
}
|
|
/* Trying to figure out a way of having links different shades based on what row they are on (even/odd).
|
|
a unique challenge for this dark mode skin.
|
|
Probably writing the specificity for this incorrectly. --Godfrey Martinez 02/04/21
|
|
|
|
.table-striped>tbody>tr:nth-of-type(even)>a:link{
|
|
color:#000d07;
|
|
}
|
|
.table-striped>tbody>tr:nth-of-type(odd)>a:link{
|
|
color:#bfbfbf;
|
|
|
|
}*/
|
|
#accessoriesTable > tbody > tr > td > nobr > a > i.fa {
|
|
color: var(--text-main);
|
|
}
|
|
#assetsListingTable > tbody > tr > td > nobr > a > i.fa {
|
|
color: var(--text-main);
|
|
}
|
|
#assetsListingTable > tbody > tr.selected > td {
|
|
background-color: var(--back-main);
|
|
}
|
|
body {
|
|
color: var(--text-main);
|
|
}
|
|
.box,
|
|
.box.box-default {
|
|
border-top: 3px solid var(--header);
|
|
border-top-color: var(--header);
|
|
}
|
|
.box-body,
|
|
.box-footer,
|
|
.box-header {
|
|
background-color: var(--back-sub);
|
|
color: var(--header);
|
|
}
|
|
.btn-default {
|
|
background-color: var(--button-default);
|
|
color: var(--nav-link);
|
|
}
|
|
.btn-default dropdown-toggle {
|
|
background-color: var(--button-default);
|
|
color: var(--nav-link);
|
|
}
|
|
.btn-default:active,
|
|
.btn-default:focus,
|
|
.btn-default:hover,
|
|
.btn-default.active {
|
|
background-color: var(--button-hover);
|
|
color: var(--nav-link);
|
|
}
|
|
.btn-primary,
|
|
.btn-primary.hover,
|
|
.btn-primary:active,
|
|
.text-black {
|
|
color: var(--nav-link) !important;
|
|
}
|
|
.btn-primary:hover {
|
|
background-color: var(--button-primary);
|
|
color: var(--link) !important;
|
|
}
|
|
#componentsTable > tbody > tr > td > nobr > a > i.fa {
|
|
color: var(--text-main);
|
|
}
|
|
#consumablesTable > tbody > tr > td > nobr > a > i.fa {
|
|
color: var(--text-main);
|
|
}
|
|
.content-wrapper {
|
|
background-color: var(--background);
|
|
}
|
|
#create-form > div > div > div > span > i.fa {
|
|
background-color: var(--back-sub);
|
|
color: var(--header);
|
|
}
|
|
.datepicker .datepicker-switch:hover,
|
|
.datepicker .next:hover,
|
|
.datepicker .prev:hover,
|
|
.datepicker tfoot tr th:hover,
|
|
.datepicker table tr td.day.focused,
|
|
.datepicker table tr td.day:hover {
|
|
background-color: var(--header);
|
|
}
|
|
.datepicker.dropdown-menu {
|
|
background-color: var(--back-main);
|
|
color: var(--text-main);
|
|
}
|
|
#details > div > div > div > table {
|
|
background-color: transparent;
|
|
}
|
|
.dropdown-menu > li > a:hover {
|
|
background-color: var(--back-main);
|
|
color: var(--nav-link);
|
|
}
|
|
.form-control {
|
|
background-color: var(--back-main);
|
|
color: var(--text-main);
|
|
}
|
|
.form-control[disabled],
|
|
.form-control[readonly],
|
|
fieldset[disabled] .form-control {
|
|
background-color: var(--back-main);
|
|
color: var(--text-main);
|
|
}
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
p {
|
|
color: var(--text-main);
|
|
}
|
|
.help-block {
|
|
color: var(--text-sub);
|
|
}
|
|
input[type=text],
|
|
input[type=search] {
|
|
background-color: var(--back-sub);
|
|
color: var(--text-main);
|
|
}
|
|
.search-highlight,
|
|
.search-highlight:hover {
|
|
background-color: var(--back-sub) !important;
|
|
}
|
|
.input-group,
|
|
.input-group-addon {
|
|
background-color: var(--back-sub);
|
|
color: var(--text-main);
|
|
}
|
|
#licensesTable > tbody > tr > td > nobr > a > i.fa {
|
|
color: var(--text-main);
|
|
}
|
|
.main-footer {
|
|
background-color: var(--back-main);
|
|
color: var(--text-main);
|
|
}
|
|
.nav-tabs-custom > .nav-tabs > li > a,
|
|
.nav-tabs-custom > .nav-tabs > li.active > a {
|
|
color: var(--text-main);
|
|
}
|
|
.nav-tabs-custom > .nav-tabs > li.active {
|
|
border-top-color: var(--header);
|
|
}
|
|
.nav-tabs-custom > .nav-tabs > li.active > a {
|
|
background-color: var(--back-main);
|
|
}
|
|
.nav-tabs-custom > .nav-tabs > li.active > a:hover {
|
|
background-color: var(--back-sub);
|
|
color: var(--text-main);
|
|
}
|
|
.nav-tabs-custom,
|
|
.nav-tabs-custom > .tab-content {
|
|
background-color: var(--back-main);
|
|
}
|
|
.navbar-nav > .tasks-menu > .dropdown-menu > li.header {
|
|
background-color: var(--back-main);
|
|
color: var(--header);
|
|
}
|
|
.open > .dropdown-toggle.btn-default {
|
|
background-color: var(--back-sub);
|
|
color: var(--header);
|
|
}
|
|
.panel {
|
|
background-color: var(--back-sub);
|
|
color: var(--text-main);
|
|
}
|
|
.panel-default > .panel-heading {
|
|
background-color: var(--back-main);
|
|
color: var(--header);
|
|
}
|
|
.select2-container--default .select2-results__option[aria-selected=true],
|
|
.select2-container--default .select2-results__option[aria-selected=true]:hover {
|
|
background-color: var(--back-sub);
|
|
color: var(--nav-link);
|
|
}
|
|
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
|
background-color: var(--back-sub);
|
|
color: var(--visited-link);
|
|
}
|
|
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
|
color: var(--text-main);
|
|
}
|
|
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
|
background-color: var(--header);
|
|
}
|
|
.select2-selection--single {
|
|
background-color: var(--back-sub) !important;
|
|
color: var(--text-main) !important;
|
|
}
|
|
.select2-dropdown {
|
|
background-color: var(--back-main);
|
|
color: var(--text-main);
|
|
}
|
|
.skin-black-dark .main-header .navbar .dropdown-menu li a {
|
|
color: var(--header);
|
|
}
|
|
.fixed-table-body thead th .th-inner,
|
|
.skin-black-dark .sidebar-menu > li.active > a,
|
|
.skin-black .sidebar-menu > li:hover > a,
|
|
.sidebar-toggle:hover {
|
|
background-color: var(--header) !important;
|
|
}
|
|
.tab-content,
|
|
.tab-pane {
|
|
background-color: var(--back-main);
|
|
color: var(--text-main);
|
|
}
|
|
.table-striped > tbody > tr:nth-of-type(odd) {
|
|
background-color: var(--back-sub);
|
|
color: var(--text-main);
|
|
}
|
|
.table-striped > tbody > tr:nth-of-type(even) {
|
|
background-color: var(--back-sub-alt);
|
|
color: var(--text-main);
|
|
}
|
|
.row-new-striped > .row:nth-of-type(odd) {
|
|
background-color: var(--back-sub);
|
|
color: var(--text-main);
|
|
}
|
|
.row-new-striped > .row:nth-of-type(even) {
|
|
background-color: var(--back-sub-alt);
|
|
color: var(--text-main);
|
|
}
|
|
#webui > div > div > div > div > div > table > tbody > tr > td > a > i.fa,
|
|
.box-body,
|
|
.box-footer,
|
|
.box-header {
|
|
color: var(--text-main);
|
|
}
|
|
.box-header.with-border {
|
|
border-bottom: #000;
|
|
}
|
|
a {
|
|
color: var(--link);
|
|
}
|
|
a:link {
|
|
color: var(--link);
|
|
}
|
|
a:hover {
|
|
color: var(--hover-link);
|
|
text-decoration: underline;
|
|
}
|
|
.row-striped {
|
|
vertical-align: top;
|
|
line-height: 2.6;
|
|
padding: 0px;
|
|
margin-left: 20px;
|
|
box-sizing: border-box;
|
|
display: table;
|
|
}
|
|
.row-striped .row:nth-of-type(odd) div {
|
|
background-color: var(--back-sub);
|
|
color: var(--text-main);
|
|
border-top: 1px solid #dddddd;
|
|
display: table-cell;
|
|
}
|
|
.row-striped .row:nth-of-type(even) div {
|
|
background-color: var(--back-sub);
|
|
color: var(--text-main);
|
|
border-top: 1px solid #dddddd;
|
|
display: table-cell;
|
|
}
|
|
.search-highlight,
|
|
.search-highlight:hover {
|
|
background-color: #e9d15b;
|
|
}
|
|
div.container.row-new-striped {
|
|
background-color: var(--back-sub);
|
|
}
|
|
.table > thead > tr > td.danger,
|
|
.table > tbody > tr > td.danger,
|
|
.table > tfoot > tr > td.danger,
|
|
.table > thead > tr > th.danger,
|
|
.table > tbody > tr > th.danger,
|
|
.table > tfoot > tr > th.danger,
|
|
.table > thead > tr.danger > td,
|
|
.table > tbody > tr.danger > td,
|
|
.table > tfoot > tr.danger > td,
|
|
.table > thead > tr.danger > th,
|
|
.table > tbody > tr.danger > th,
|
|
.table > tfoot > tr.danger > th {
|
|
background-color: var(--back-sub);
|
|
}
|
|
|