snipe-it/resources/assets/less/skins/skin-black.less

141 lines
2.7 KiB
Plaintext
Raw Normal View History

2016-03-25 01:18:05 -07:00
/*
* Skin: Black
2020-03-27 21:46:00 -07:00
* ----------
2016-03-25 01:18:05 -07:00
*/
2020-03-27 21:46:00 -07:00
@import "../bootstrap-less/mixins.less";
@import "../bootstrap-less/variables.less";
2016-03-25 01:18:05 -07:00
@import "../variables.less";
@import "../mixins.less";
.skin-black {
2020-03-27 21:46:00 -07:00
//Navbar
2016-03-25 01:18:05 -07:00
.main-header {
2020-03-27 21:46:00 -07:00
.navbar {
.navbar-variant(@black; #fff);
.sidebar-toggle {
color: #fff;
&:hover {
background-color: darken(@black, 5%);
2016-03-25 01:18:05 -07:00
}
}
2020-03-27 21:46:00 -07:00
@media (max-width: @screen-header-collapse) {
.dropdown-menu {
li {
&.divider {
background-color: rgba(255, 255, 255, 0.1);
}
a {
color: #333;
2020-03-27 21:46:00 -07:00
&:hover {
background: darken(@black, 5%);
}
}
2016-03-25 01:18:05 -07:00
}
}
}
}
2020-03-27 21:46:00 -07:00
//Logo
2016-03-25 01:18:05 -07:00
li.user-header {
2020-03-27 21:46:00 -07:00
background-color: @black;
2016-03-25 01:18:05 -07:00
}
}
//Content Header
.content-header {
background: transparent;
}
2020-03-27 21:46:00 -07:00
2016-03-25 01:18:05 -07:00
//Create the sidebar skin
2020-03-27 21:46:00 -07:00
.skin-dark-sidebar(@black);
}
.skin-black.layout-top-nav .main-header > .logo {
.logo-variant {
background-color: none;
}
}
.btn, .btn:hover {
2022-06-15 10:20:25 -07:00
color: #000 ;
2020-03-27 21:46:00 -07:00
&.btn-primary, .btn-primary:link {
background-color: @dark-gray;
2022-06-15 10:20:25 -07:00
border-color: #FFF;
color: #FFF;
2020-03-27 21:46:00 -07:00
}
&a.btn-primary:hover {
background-color: @black;
border-color: darken(@dark-gray, 20%);
color: #fff;
}
&.btn-white:link {
color: #fff;
}
&.btn-white:hover {
2020-03-27 22:01:43 -07:00
color: #fff;
}
&.btn-white:visited {
2020-03-27 21:46:00 -07:00
color: #fff;
}
}
a {
2022-06-15 10:20:25 -07:00
color: var(--link);
2022-06-15 11:08:42 -07:00
2020-03-27 21:46:00 -07:00
&:hover {
2022-06-15 10:20:25 -07:00
color: var(--hover-link);
2020-03-27 21:46:00 -07:00
}
&:visited {
2022-06-15 10:20:25 -07:00
color: var(--visited-link);
2020-03-27 21:46:00 -07:00
}
}
.text-primary {
color: darken(@black, 20%);
}
:root {
--button-default: darken(@black, 15%);
--button-primary: darken(@black, 25%);
--button-hover: darken(@black, 30%);
--header: @black; /* Use same as Header picker */
--text-main: #BBB;
--text-sub: #9b9b9b;
2022-06-15 11:08:42 -07:00
--link: #black; /* Use same as Header picker, lighten by 70% */
--visited-link: @black; /* Use same as Header picker, lighten by 70% */
--hover-link: lighten(#000, 60%); /* Use same as Header picker, lighten by 70% */
--nav-link: #FFF; /* Use same as Header picker */
--light-link: #fff; /* Use same as Header picker */
}
2022-06-15 10:20:25 -07:00
a.btn-info:link, a.btn-warning:link, a.btn-danger:link{
color: #FFF;
}
2022-06-15 10:20:25 -07:00
&a.btn-info:visited, a.btn-warning:visited, a.btn-danger:visited{
color: #FFF;
}
2022-06-15 11:08:42 -07:00
.btn-danger.btn-sm.disabled{
color: #FFF;
}
.sidebar-toggle-mobile {
color: #FFF !important;
}
2020-03-27 21:46:00 -07:00
2020-03-27 22:01:43 -07:00
.skin-black .main-header .navbar .nav>li>a, .skin-black .main-header .navbar .nav>li>a {
2020-03-27 21:46:00 -07:00
text-decoration: none;
2016-03-25 01:18:05 -07:00
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
background-color: @black;
}
.search-highlight, .search-highlight:hover {
background-color: #e9d15b;
}