AdminLTE/build/less/skins/skin-purple.less

135 lines
2.8 KiB
Plaintext
Raw Normal View History

2015-02-01 21:25:09 +00:00
/*
* Skin: Purple
* ------------
*/
@import "../../bootstrap-less/mixins.less";
@import "../../bootstrap-less/variables.less";
@import "../variables.less";
@import "../mixins.less";
2015-02-01 21:25:09 +00:00
.skin-purple {
//Navbar
.main-header {
.navbar {
.navbar-variant(@purple; #fff);
.sidebar-toggle {
color: #fff;
&:hover {
background-color: darken(@purple, 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(@purple, 5%);
}
}
}
}
}
}
//Logo
.logo {
.logo-variant(darken(@purple, 5%));
}
li.user-header {
background-color: @purple;
}
}
//Content Header
.content-header {
background: transparent;
}
//User Panel (resides in the sidebar)
.user-panel {
> .info, > .info > a {
color: #fff;
}
}
//Sidebar & Treeview menu
// the menu
.sidebar-menu > li {
&.header {
2015-02-14 00:04:03 +00:00
color: lighten(@sidebar-dark-bg, 20%);
background: darken(@sidebar-dark-bg, 4%);
2015-02-01 21:25:09 +00:00
}
> a {
border-left: 3px solid transparent;
margin-right: 1px;
}
//Hover and active states
> a:hover, &.active > a {
2015-02-14 00:04:03 +00:00
color: @sidebar-dark-hover-color;
background: @sidebar-dark-hover-bg;
2015-02-01 21:25:09 +00:00
border-left-color: @purple;
}
> .treeview-menu {
margin: 0 1px;
2015-02-14 00:04:03 +00:00
background: @sidebar-dark-submenu-bg;
2015-02-01 21:25:09 +00:00
}
}
// Sidebar color (Both .wrapper and .left-side are responsible for sidebar bg color)
.wrapper ,
.main-sidebar,
2015-02-01 21:25:09 +00:00
.left-side {
2015-02-14 00:04:03 +00:00
background: @sidebar-dark-bg;
2015-02-01 21:25:09 +00:00
}
.sidebar a {
2015-02-14 00:04:03 +00:00
color: @sidebar-dark-color;
2015-02-01 21:25:09 +00:00
&:hover {
text-decoration: none;
}
}
// skin blue treeview-menu
.treeview-menu {
> li {
2015-02-14 00:04:03 +00:00
> a {color: @sidebar-dark-submenu-color;}
2015-02-01 21:25:09 +00:00
&.active > a, > a:hover {
2015-02-14 00:04:03 +00:00
color: @sidebar-dark-submenu-hover-color;
2015-02-01 21:25:09 +00:00
}
}
}
.sidebar-form {
.border-radius(3px);
2015-02-14 00:04:03 +00:00
border: 1px solid lighten(@sidebar-dark-bg, 10%);
2015-02-01 21:25:09 +00:00
margin: 10px 10px;
input[type="text"], .btn {
box-shadow: none;
2015-02-14 00:04:03 +00:00
background-color: lighten(@sidebar-dark-bg, 10%);
2015-02-01 21:25:09 +00:00
border: 1px solid transparent;
height: 35px;
.transition(all @transition-speed @transition-fn);
}
input[type="text"]{
color: #666;
.border-radius(2px, 0, 2px, 0)!important;
&:focus, &:focus + .input-group-btn .btn {
background-color: #fff;
color: #666;
}
&:focus + .input-group-btn .btn {
border-left-color: #fff;
}
}
.btn {
color: #999;
.border-radius(0, 2px, 0, 2px)!important;
}
}
}