skin-purple.less
2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*
* Skin: Purple
* ------------
*/
@import "../bootstrap-less/mixins.less";
@import "../bootstrap-less/variables.less";
@import "../fastadmin/variables.less";
@import "../fastadmin/mixins.less";
@sidebar-dark-bg: @purple;
@sidebar-dark-color: #c8c5ff;
@sidebar-dark-submenu-color: #c8c5ff;
@sidebar-dark-submenu-bg: darken(@sidebar-dark-bg, 3%);
.skin-purple {
//Navbar
.main-header {
.navbar {
.navbar-variant(#fff; #444; @purple; rgba(0, 0, 0, .02));
@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(@purple; #fff);
border-right: 1px solid @purple;
box-shadow: none;
@media (max-width: @screen-header-collapse) {
.logo-variant(#fff; #222);
border-right: none;
}
}
li.user-header {
background-color: @purple;
}
.nav-addtabs > li > a, .nav-addtabs > li.active > a {
border-right-color: transparent;
}
}
//Content Header
.content-header {
background: transparent;
}
//Create the sidebar skin
.skin-dark-sidebar(#fff);
.sidebar-form input[type="text"] {
.placeholder(#fff);
}
.sidebar-form input[type="text"], .sidebar-form .btn {
color: #fff;
}
&.multiplenav {
@media (max-width: @screen-header-collapse) {
.main-header {
.navbar {
.navbar-variant(@sidebar-dark-bg; #fff);
}
> .logo {
.logo-variant(@sidebar-dark-bg; #fff);
}
}
.sidebar .mobilenav a.btn-app {
background: lighten(@sidebar-dark-bg, 10%);
color: #fff;
&.active {
background: #fff;
color: lighten(@sidebar-dark-bg, 10%);
}
}
}
}
}