|
@@ -1,6 +1,7 @@
|
|
|
//AdminLTE mixins
|
|
|
//===============
|
|
|
|
|
|
+
|
|
|
//Changes the color and the hovering properties of the navbar
|
|
|
.navbar-variant(@color; @font-color: rgba(255, 255, 255, 0.8); @hover-color: #f6f6f6; @hover-bg: rgba(0, 0, 0, 0.1)) {
|
|
|
background-color: @color;
|
|
@@ -19,9 +20,6 @@
|
|
|
color: @hover-color;
|
|
|
}
|
|
|
|
|
|
- .navbar-custom-menu > .nav {
|
|
|
- margin-right: 10px;
|
|
|
- }
|
|
|
//Add color to the sidebar toggle button
|
|
|
.sidebar-toggle {
|
|
|
color: @font-color;
|
|
@@ -37,9 +35,6 @@
|
|
|
background-color: @bg-color;
|
|
|
color: @color;
|
|
|
border-bottom: @border-bottom-width solid @border-bottom-color;
|
|
|
- > a {
|
|
|
- color: @color;
|
|
|
- }
|
|
|
|
|
|
&:hover {
|
|
|
background: darken(@bg-color, 1%);
|
|
@@ -55,7 +50,7 @@
|
|
|
background-color: @color;
|
|
|
a,
|
|
|
.btn {
|
|
|
- color: @text-color;
|
|
|
+ color: @text-color;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -63,11 +58,11 @@
|
|
|
//Direct Chat Variant
|
|
|
.direct-chat-variant(@bg-color; @color: #fff) {
|
|
|
.right > .direct-chat-text {
|
|
|
- background: @bg-color;
|
|
|
+ background: @bg-color;
|
|
|
border-color: @bg-color;
|
|
|
color: @color;
|
|
|
&:after,
|
|
|
- &:before {
|
|
|
+ &:before {
|
|
|
border-left-color: @bg-color;
|
|
|
}
|
|
|
}
|
|
@@ -102,4 +97,210 @@
|
|
|
background: -o-linear-gradient(@stop,
|
|
|
@start);
|
|
|
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start));
|
|
|
+}
|
|
|
+
|
|
|
+//Added 2.1.0
|
|
|
+//Skins Mixins
|
|
|
+
|
|
|
+//Dark Sidebar Mixin
|
|
|
+.skin-dark-sidebar(@link-hover-border-color) {
|
|
|
+ // Sidebar background color (Both .wrapper and .left-side are responsible for sidebar bg color)
|
|
|
+ .wrapper,
|
|
|
+ .main-sidebar,
|
|
|
+ .left-side {
|
|
|
+ background-color: @sidebar-dark-bg;
|
|
|
+ }
|
|
|
+ //User Panel (resides in the sidebar)
|
|
|
+ .user-panel {
|
|
|
+ > .info, > .info > a {
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //Sidebar Menu. First level links
|
|
|
+ .sidebar-menu > li {
|
|
|
+ //Section Headning
|
|
|
+ &.header {
|
|
|
+ color: lighten(@sidebar-dark-bg, 20%);
|
|
|
+ background: darken(@sidebar-dark-bg, 4%);
|
|
|
+ }
|
|
|
+ //links
|
|
|
+ > a {
|
|
|
+ border-left: 3px solid transparent;
|
|
|
+ margin-right: 1px;
|
|
|
+ }
|
|
|
+ //Hover and active states
|
|
|
+ &:hover > a, &.active > a {
|
|
|
+ color: @sidebar-dark-hover-color;
|
|
|
+ background: @sidebar-dark-hover-bg;
|
|
|
+ border-left-color: @link-hover-border-color;
|
|
|
+ }
|
|
|
+ //First Level Submenu
|
|
|
+ > .treeview-menu {
|
|
|
+ margin: 0 1px;
|
|
|
+ background: @sidebar-dark-submenu-bg;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //All links within the sidebar menu
|
|
|
+ .sidebar a {
|
|
|
+ color: @sidebar-dark-color;
|
|
|
+ &:hover {
|
|
|
+ text-decoration: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //All submenus
|
|
|
+ .treeview-menu {
|
|
|
+ > li {
|
|
|
+ > a {
|
|
|
+ color: @sidebar-dark-submenu-color;
|
|
|
+ }
|
|
|
+ &.active > a, > a:hover {
|
|
|
+ color: @sidebar-dark-submenu-hover-color;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //The sidebar search form
|
|
|
+ .sidebar-form {
|
|
|
+ .border-radius(3px);
|
|
|
+ border: 1px solid lighten(@sidebar-dark-bg, 10%);
|
|
|
+ margin: 10px 10px;
|
|
|
+ input[type="text"], .btn {
|
|
|
+ box-shadow: none;
|
|
|
+ background-color: lighten(@sidebar-dark-bg, 10%);
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+//Light Sidebar Mixin
|
|
|
+.skin-light-sidebar(@icon-active-color) {
|
|
|
+ // Sidebar background color (Both .wrapper and .left-side are responsible for sidebar bg color)
|
|
|
+ .wrapper,
|
|
|
+ .main-sidebar,
|
|
|
+ .left-side {
|
|
|
+ background-color: @sidebar-light-bg;
|
|
|
+ }
|
|
|
+ .content-wrapper,
|
|
|
+ .main-footer {
|
|
|
+ border-left: 1px solid @gray;
|
|
|
+ }
|
|
|
+ //User Panel (resides in the sidebar)
|
|
|
+ .user-panel {
|
|
|
+ > .info, > .info > a {
|
|
|
+ color: @sidebar-light-color;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //Sidebar Menu. First level links
|
|
|
+ .sidebar-menu > li {
|
|
|
+ .transition(border-left-color .3s ease);
|
|
|
+ //border-left: 3px solid transparent;
|
|
|
+ //Section Headning
|
|
|
+ &.header {
|
|
|
+ color: lighten(@sidebar-light-color, 25%);
|
|
|
+ background: @sidebar-light-bg;
|
|
|
+ }
|
|
|
+ //links
|
|
|
+ > a {
|
|
|
+ border-left: 3px solid transparent;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ //Hover and active states
|
|
|
+ &:hover > a,
|
|
|
+ &.active > a {
|
|
|
+ color: @sidebar-light-hover-color;
|
|
|
+ background: @sidebar-light-hover-bg;
|
|
|
+ }
|
|
|
+ &:hover > a {
|
|
|
+
|
|
|
+ }
|
|
|
+ &.active {
|
|
|
+ border-left-color: @icon-active-color;
|
|
|
+ > a {
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //First Level Submenu
|
|
|
+ > .treeview-menu {
|
|
|
+ margin: 0;
|
|
|
+ background: @sidebar-light-submenu-bg;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //All links within the sidebar menu
|
|
|
+ .sidebar a {
|
|
|
+ color: @sidebar-light-color;
|
|
|
+ &:hover {
|
|
|
+ text-decoration: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //All submenus
|
|
|
+ .treeview-menu {
|
|
|
+ > li {
|
|
|
+ > a {
|
|
|
+ color: @sidebar-light-submenu-color;
|
|
|
+ }
|
|
|
+ &.active > a,
|
|
|
+ > a:hover {
|
|
|
+ color: @sidebar-light-submenu-hover-color;
|
|
|
+ }
|
|
|
+ &.active > a {
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //The sidebar search form
|
|
|
+ .sidebar-form {
|
|
|
+ .border-radius(3px);
|
|
|
+ border: 1px solid @gray;//darken(@sidebar-light-bg, 5%);
|
|
|
+ margin: 10px 10px;
|
|
|
+ input[type="text"],
|
|
|
+ .btn {
|
|
|
+ box-shadow: none;
|
|
|
+ background-color: #fff;//darken(@sidebar-light-bg, 3%);
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+//Navbar Skin Mixin
|
|
|
+.skin-main-header() {
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+//Logo Skin Mixin
|
|
|
+.skin-logo() {
|
|
|
+
|
|
|
}
|