mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
redone none dark mode yellow skin
This commit is contained in:
parent
728338bfa8
commit
b3559ac74e
|
@ -11,11 +11,11 @@
|
||||||
//Navbar
|
//Navbar
|
||||||
.main-header {
|
.main-header {
|
||||||
.navbar {
|
.navbar {
|
||||||
.navbar-variant(@yellow; #fff);
|
.navbar-variant(#FBCC34);
|
||||||
.sidebar-toggle {
|
.sidebar-toggle {
|
||||||
color: #fff;
|
color: #000;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: darken(@yellow, 5%);
|
background-color: darken(#FBCC34, 5%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (max-width: @screen-header-collapse) {
|
@media (max-width: @screen-header-collapse) {
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
a {
|
a {
|
||||||
color: #333;
|
color: #333;
|
||||||
&:hover {
|
&:hover {
|
||||||
background: darken(@yellow, 5%);
|
background: darken(#FBCC34, 5%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
//Logo
|
//Logo
|
||||||
|
|
||||||
li.user-header {
|
li.user-header {
|
||||||
background-color: @yellow;
|
background-color: #FBCC34;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,11 +47,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//Create the sidebar skin
|
//Create the sidebar skin
|
||||||
.skin-dark-sidebar(@yellow);
|
.skin-dark-sidebar(#FBCC34);
|
||||||
}
|
}
|
||||||
|
|
||||||
.skin-yellow.layout-top-nav .main-header > .logo {
|
.skin-yellow.layout-top-nav .main-header > .logo {
|
||||||
.logo-variant {
|
.logo-variant {
|
||||||
|
color: #413F42;
|
||||||
background-color: none;
|
background-color: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -62,72 +63,82 @@
|
||||||
|
|
||||||
|
|
||||||
&.btn-primary, .btn-primary:link {
|
&.btn-primary, .btn-primary:link {
|
||||||
background-color: darken(@yellow, 10%);
|
background-color: darken(#FBCC34, 10%);
|
||||||
border-color: darken(@yellow, 20%);
|
border-color: darken(#FBCC34, 20%);
|
||||||
color: #fff;
|
color: var(--nav-link);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
&a.btn-primary:hover {
|
&a.btn-primary:hover {
|
||||||
background-color: darken(@yellow, 20%);
|
background-color: darken(#FBCC34, 20%);
|
||||||
border-color: darken(@yellow, 20%);
|
border-color: darken(#FBCC34, 20%);
|
||||||
color: #fff;
|
color: var(--nav-link);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.btn-white:link {
|
&.btn-white:link {
|
||||||
background-color: darken(@yellow, 10%);
|
background-color: darken(#FBCC34, 10%);
|
||||||
color: #fff;
|
color: var(--nav-link);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.btn-white:hover {
|
&.btn-white:hover {
|
||||||
background-color: darken(@yellow, 30%);
|
background-color: darken(#FBCC34, 30%);
|
||||||
color: #fff;
|
color: var(--nav-link);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
a.btn-info:link, a.btn-warning:link, a.btn-danger:link{
|
||||||
|
color: #FFF;
|
||||||
|
}
|
||||||
|
&a.btn-info:visited, a.btn-warning:visited, a.btn-danger:visited{
|
||||||
|
color: #FFF;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: @yellow;
|
color: var(--link);
|
||||||
&:hover {
|
&:hover {
|
||||||
color: darken(@yellow, 20%);
|
color: var(--hover-link);
|
||||||
}
|
}
|
||||||
&:visited {
|
&:visited {
|
||||||
color: @yellow;
|
color: var(--visited-link);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-primary {
|
.text-primary {
|
||||||
color: darken(@yellow, 20%);
|
color: darken(#FBCC34, 20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--button-default: darken(@yellow, 15%);
|
--button-default: darken(#FBCC34, 15%);
|
||||||
--button-primary: darken(@yellow, 25%);
|
--button-primary: darken(#FBCC34, 25%);
|
||||||
--button-hover: darken(@yellow, 30%);
|
--button-hover: darken(#FBCC34, 30%);
|
||||||
--header: @yellow; /* Use same as Header picker */
|
--header: #FBCC34; /* Use same as Header picker */
|
||||||
--text-main: #BBB;
|
--text-main: #BBB;
|
||||||
--text-sub: #9b9b9b;
|
--text-sub: #9b9b9b;
|
||||||
--link: lighten(@yellow, 10%); /* Use same as Header picker, lighten by 70% */
|
--link: lighten( #413F42, 10%); /* Use same as Header picker, lighten by 70% */
|
||||||
--visited-link: lighten(@yellow, 20%); /* Use same as Header picker, lighten by 70% */
|
--visited-link: lighten(#413F42, 20%); /* Use same as Header picker, lighten by 70% */
|
||||||
--hover-link: lighten(@yellow, 45%); /* Use same as Header picker, lighten by 70% */
|
--hover-link: lighten(#413F42, 45%); /* Use same as Header picker, lighten by 70% */
|
||||||
--nav-link: #FFF; /* Use same as Header picker */
|
--nav-link: #222; /* Use same as Header picker */
|
||||||
--light-link: #fff; /* Use same as Header picker */
|
--light-link: #fff; /* Use same as Header picker */
|
||||||
}
|
}
|
||||||
a:link {
|
|
||||||
color: var(--link);
|
|
||||||
}
|
|
||||||
|
|
||||||
a:visited {
|
|
||||||
color: var(--visited-link);
|
|
||||||
}
|
|
||||||
|
|
||||||
.fixed-table-container tbody .selected td {
|
.fixed-table-container tbody .selected td {
|
||||||
background-color: #fff8af;
|
background-color: #fff8af;
|
||||||
}
|
}
|
||||||
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||||
background-color: @yellow;
|
background-color: #FBCC34;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-highlight, .search-highlight:hover {
|
.search-highlight, .search-highlight:hover {
|
||||||
background-color: #e9d15b;
|
background-color: #e9d15b;
|
||||||
}
|
}
|
||||||
|
.thead, .navbar-nav>li>a:link {
|
||||||
|
color: var(--nav-link);
|
||||||
|
}
|
||||||
|
.navbar-nav>li>a:visited {
|
||||||
|
color: var(--nav-link);
|
||||||
|
}
|
||||||
|
&:hover{
|
||||||
|
color: var(--nav-link);
|
||||||
|
}
|
||||||
|
.skin-yellow .main-header .navbar .nav > li > a {
|
||||||
|
color: #413F42;
|
||||||
|
}
|
Loading…
Reference in a new issue