牛肉社团后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
cow/public/assets/less/skins/skin-red.less

93 lines
2.2 KiB

/*
* Skin: Red
* ---------
*/
@import "../bootstrap-less/mixins.less";
@import "../bootstrap-less/variables.less";
@import "../fastadmin/variables.less";
@import "../fastadmin/mixins.less";
.skin-red {
//Navbar
.main-header {
background-color: @red;
.navbar {
.navbar-variant(@red; #fff; #f6f6f6; rgba(0, 0, 0, .05));
.sidebar-toggle {
color: #fff;
&:hover {
background-color: darken(@red, 5%);
}
}
@media (max-width: @screen-header-collapse) {
.dropdown-menu {
li {
&.divider {
background-color: rgba(255, 255, 255, 0.1);
}
a {
color: #fff;
&:hover {
background: darken(@red, 5%);
}
}
}
}
}
}
//Logo
.logo {
.logo-variant(darken(@red, 5%));
@media (max-width: @screen-header-collapse) {
.logo-variant(@red; #fff);
border-right: none;
}
}
li.user-header {
background-color: @red;
}
}
//Content Header
.content-header {
background: transparent;
}
//Create the sidebar skin
.skin-dark-sidebar(@red);
.sidebar-menu > li {
> a {
border-left: 3px solid transparent;
padding-left: 12px;
}
}
@media (min-width: @screen-sm) {
&.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right) {
margin-left: -3px;
}
}
&.multiplenav {
@media (max-width: @screen-header-collapse) {
.sidebar .mobilenav a.btn-app {
background: lighten(@sidebar-dark-bg, 10%);
color: #fff;
&.active {
background: @red;
color: #fff;
}
}
}
}
}