lotus_admin 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lotus_admin/version.rb +1 -1
- data/vendor/assets/javascripts/lotus_admin/theme/app.js +231 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/app.scss +18 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/404.scss +66 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/actions.scss +62 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/base.scss +76 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/button.scss +36 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/card.scss +41 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/dropdown.scss +42 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/footer.scss +35 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/form.scss +318 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/header.scss +231 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/lists.scss +76 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/login.scss +154 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/misc.scss +108 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/mixin.scss +148 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/modal.scss +55 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/pagination.scss +114 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/sidebar.scss +234 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/table.scss +85 -0
- data/vendor/assets/stylesheets/lotus_admin/theme/inc/variables.scss +174 -0
- data/vendor/assets/stylesheets/theme/inc/sidebar.scss +234 -0
- metadata +22 -1
@@ -0,0 +1,108 @@
|
|
1
|
+
/*--------------------------------------------------
|
2
|
+
Block Header
|
3
|
+
Used for Heading outside the Cards.
|
4
|
+
---------------------------------------------------*/
|
5
|
+
.block-header {
|
6
|
+
@media screen and (min-width: $screen-sm-min) {
|
7
|
+
padding: 0 35px;
|
8
|
+
}
|
9
|
+
|
10
|
+
@media screen and (max-width: $screen-sm-max) {
|
11
|
+
padding: 0 20px;
|
12
|
+
}
|
13
|
+
|
14
|
+
margin-bottom: 25px;
|
15
|
+
position: relative;
|
16
|
+
|
17
|
+
& > h2 {
|
18
|
+
font-size: 15px;
|
19
|
+
color: #777;
|
20
|
+
margin: 0;
|
21
|
+
font-weight: 400;
|
22
|
+
text-transform: uppercase;
|
23
|
+
|
24
|
+
& > small {
|
25
|
+
display: block;
|
26
|
+
text-transform: none;
|
27
|
+
margin-top: 8px;
|
28
|
+
margin-bottom: 20px;
|
29
|
+
color: #9E9E9E;
|
30
|
+
line-height: 140%;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
.actions {
|
35
|
+
position: absolute;
|
36
|
+
right: 10px;
|
37
|
+
top: 0;
|
38
|
+
z-index: 4;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
/*-------------------------
|
43
|
+
Collapse Menu Icons
|
44
|
+
--------------------------*/
|
45
|
+
.line-wrap {
|
46
|
+
width: 18px;
|
47
|
+
height: 12px;
|
48
|
+
@include transition(all);
|
49
|
+
@include transition-duration(300ms);
|
50
|
+
margin: 12px 20px;
|
51
|
+
|
52
|
+
.line{
|
53
|
+
width: 18px;
|
54
|
+
height: 2px;
|
55
|
+
@include transition(all);
|
56
|
+
@include transition-duration(300ms);
|
57
|
+
background-color: #fff;
|
58
|
+
|
59
|
+
&.center {
|
60
|
+
margin: 3px 0;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
.toggled {
|
66
|
+
.line-wrap {
|
67
|
+
@include rotate(180deg);
|
68
|
+
|
69
|
+
.line {
|
70
|
+
&.top {
|
71
|
+
width: 12px;
|
72
|
+
transform: translateX(8px) translateY(1px) rotate(45deg);
|
73
|
+
-webkit-transform: translateX(8px) translateY(1px) rotate(45deg);
|
74
|
+
}
|
75
|
+
|
76
|
+
&.bottom {
|
77
|
+
width: 12px;
|
78
|
+
transform: translateX(8px) translateY(-1px) rotate(-45deg);
|
79
|
+
-webkit-transform: translateX(8px) translateY(-1px) rotate(-45deg);
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
/*----------------------------------
|
86
|
+
Backdrop
|
87
|
+
-----------------------------------*/
|
88
|
+
.ma-backdrop {
|
89
|
+
position: fixed;
|
90
|
+
width: 100%;
|
91
|
+
height: 100%;
|
92
|
+
left: 0;
|
93
|
+
top: 0;
|
94
|
+
z-index: 9;
|
95
|
+
cursor: pointer;
|
96
|
+
}
|
97
|
+
|
98
|
+
|
99
|
+
/*----------------------------------
|
100
|
+
Avatar
|
101
|
+
-----------------------------------*/
|
102
|
+
[class*="avatar-img"] {
|
103
|
+
border-radius: 50%;
|
104
|
+
}
|
105
|
+
|
106
|
+
.avatar-img {
|
107
|
+
width: 42px;
|
108
|
+
}
|
@@ -0,0 +1,148 @@
|
|
1
|
+
/*--------------------------------------------------
|
2
|
+
Background Repeat + Position
|
3
|
+
---------------------------------------------------*/
|
4
|
+
@mixin bg-option($repeat: no-repeat, $position: center)
|
5
|
+
{
|
6
|
+
background-repeat: $repeat;
|
7
|
+
background-position: $position;
|
8
|
+
}
|
9
|
+
|
10
|
+
/*--------------------------------------------------
|
11
|
+
CSS Animations based on animate.css
|
12
|
+
---------------------------------------------------*/
|
13
|
+
@mixin animated($name, $duration)
|
14
|
+
{
|
15
|
+
-webkit-animation-name: $name;
|
16
|
+
animation-name: $name;
|
17
|
+
-webkit-animation-duration: $duration;
|
18
|
+
animation-duration: $duration;
|
19
|
+
-webkit-animation-fill-mode: both;
|
20
|
+
animation-fill-mode: both;
|
21
|
+
}
|
22
|
+
|
23
|
+
/*--------------------------------------------------
|
24
|
+
CSS Transform - Scale and Rotate
|
25
|
+
---------------------------------------------------*/
|
26
|
+
@mixin scale-rotate($scale, $rotate)
|
27
|
+
{
|
28
|
+
-webkit-transform: scale($scale) rotate($rotate);
|
29
|
+
-ms-transform: scale($scale) rotate($rotate);
|
30
|
+
-o-transform: scale($scale) rotate($rotate);
|
31
|
+
transform: scale($scale) rotate($rotate);
|
32
|
+
}
|
33
|
+
|
34
|
+
/*-------------------------
|
35
|
+
User Select
|
36
|
+
--------------------------*/
|
37
|
+
@mixin user-select($val)
|
38
|
+
{
|
39
|
+
-webkit-touch-callout: $val;
|
40
|
+
-webkit-user-select: $val;
|
41
|
+
-khtml-user-select: $val;
|
42
|
+
-moz-user-select: $val;
|
43
|
+
-ms-user-select: $val;
|
44
|
+
user-select: $val;
|
45
|
+
}
|
46
|
+
|
47
|
+
/*-------------------------
|
48
|
+
Background Image Cover
|
49
|
+
--------------------------*/
|
50
|
+
@mixin bg-cover($image)
|
51
|
+
{
|
52
|
+
background-image: url($image);
|
53
|
+
background-repeat: no-repeat;
|
54
|
+
-webkit-background-size: cover;
|
55
|
+
-moz-background-size: cover;
|
56
|
+
-o-background-size: cover;
|
57
|
+
background-size: cover;
|
58
|
+
background-position: center;
|
59
|
+
}
|
60
|
+
|
61
|
+
@mixin bg-cover-inline()
|
62
|
+
{
|
63
|
+
background-repeat: no-repeat;
|
64
|
+
-webkit-background-size: cover;
|
65
|
+
-moz-background-size: cover;
|
66
|
+
-o-background-size: cover;
|
67
|
+
background-size: cover;
|
68
|
+
background-position: center;
|
69
|
+
}
|
70
|
+
|
71
|
+
/*-------------------------
|
72
|
+
Tab Focus
|
73
|
+
--------------------------*/
|
74
|
+
@mixin tab-focus()
|
75
|
+
{
|
76
|
+
outline: none !important;
|
77
|
+
}
|
78
|
+
|
79
|
+
/*--------------------------------------------------
|
80
|
+
Override Bootstrap Button Mixin
|
81
|
+
---------------------------------------------------*/
|
82
|
+
@mixin button-variant($color, $background, $border)
|
83
|
+
{
|
84
|
+
color: $color;
|
85
|
+
background-color: $background;
|
86
|
+
border-color: $border;
|
87
|
+
|
88
|
+
&:hover,
|
89
|
+
&:focus,
|
90
|
+
&.focus,
|
91
|
+
&:active,
|
92
|
+
.open > .dropdown-toggle& {
|
93
|
+
color: $color;
|
94
|
+
background-color: $background;
|
95
|
+
border-color: transparent;
|
96
|
+
|
97
|
+
&:hover,
|
98
|
+
&:focus,
|
99
|
+
&.focus {
|
100
|
+
color: $color;
|
101
|
+
background-color: $background;
|
102
|
+
border-color: transparent
|
103
|
+
}
|
104
|
+
}
|
105
|
+
&:active,
|
106
|
+
&.active,
|
107
|
+
.open > .dropdown-toggle& {
|
108
|
+
background-image: none;
|
109
|
+
}
|
110
|
+
&.disabled,
|
111
|
+
&[disabled],
|
112
|
+
fieldset[disabled] & {
|
113
|
+
&,
|
114
|
+
&:hover,
|
115
|
+
&:focus,
|
116
|
+
&.focus,
|
117
|
+
&:active {
|
118
|
+
background-color: $background;
|
119
|
+
border-color: $border;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
.badge {
|
124
|
+
color: $background;
|
125
|
+
background-color: $color;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
/*-------------------------
|
130
|
+
Select BG
|
131
|
+
--------------------------*/
|
132
|
+
@mixin select-bg()
|
133
|
+
{
|
134
|
+
&:before {
|
135
|
+
position: absolute;
|
136
|
+
top: 0;
|
137
|
+
right: 0;
|
138
|
+
content: "";
|
139
|
+
height: #{"calc(100% - 2px)"};
|
140
|
+
width: 30px;
|
141
|
+
background-color: #FFF;
|
142
|
+
background-position: right #{"calc(100% - 7px)"};
|
143
|
+
background-repeat: no-repeat;
|
144
|
+
@include img-retina('../img/select.png', '../img/select$2x.png', 12px, 12px);
|
145
|
+
pointer-events: none;
|
146
|
+
z-index: 5;
|
147
|
+
}
|
148
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
.modal {
|
2
|
+
@media(min-width: $screen-sm-min) {
|
3
|
+
text-align: center;
|
4
|
+
|
5
|
+
&:before {
|
6
|
+
content: '';
|
7
|
+
height: 100%;
|
8
|
+
width: 1px;
|
9
|
+
display: inline-block;
|
10
|
+
vertical-align: middle;
|
11
|
+
}
|
12
|
+
|
13
|
+
.modal-dialog {
|
14
|
+
text-align: left;
|
15
|
+
margin: 10px auto;
|
16
|
+
display: inline-block;
|
17
|
+
vertical-align: middle;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.modal-content {
|
22
|
+
box-shadow: 0 5px 20px rgba(0,0,0,.07);
|
23
|
+
border-radius: 2px;
|
24
|
+
border: 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
.modal-header {
|
28
|
+
padding: 23px 26px;
|
29
|
+
}
|
30
|
+
|
31
|
+
.modal-title {
|
32
|
+
font-weight: 400;
|
33
|
+
font-size: 15px;
|
34
|
+
|
35
|
+
small {
|
36
|
+
display: block;
|
37
|
+
margin-top: 8px;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.modal-body {
|
42
|
+
padding: 0 26px 10px;
|
43
|
+
}
|
44
|
+
|
45
|
+
.modal-footer {
|
46
|
+
.btn-link {
|
47
|
+
font-size: 14px;
|
48
|
+
color: #2e353b;
|
49
|
+
|
50
|
+
&:hover {
|
51
|
+
background-color: #eee;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
@@ -0,0 +1,114 @@
|
|
1
|
+
.pagination {
|
2
|
+
display: inline-block;
|
3
|
+
padding-left: 0;
|
4
|
+
margin: 0;
|
5
|
+
border-radius: 2px;
|
6
|
+
}
|
7
|
+
|
8
|
+
.pagination-info {
|
9
|
+
margin-top: 8px;
|
10
|
+
text-align: right;
|
11
|
+
}
|
12
|
+
|
13
|
+
.pagination > li {
|
14
|
+
display: inline;
|
15
|
+
}
|
16
|
+
|
17
|
+
.pagination > li > a,
|
18
|
+
.pagination > li > span {
|
19
|
+
position: relative;
|
20
|
+
float: left;
|
21
|
+
padding: 6px 12px;
|
22
|
+
line-height: 1.42857143;
|
23
|
+
text-decoration: none;
|
24
|
+
color: #7E7E7E;
|
25
|
+
background-color: #f1f1f1;
|
26
|
+
border: 1px solid #fff;
|
27
|
+
margin-left: -1px;
|
28
|
+
}
|
29
|
+
|
30
|
+
.pagination > li:first-child > a,
|
31
|
+
.pagination > li:first-child > span {
|
32
|
+
margin-left: 0;
|
33
|
+
border-bottom-left-radius: 2px;
|
34
|
+
border-top-left-radius: 2px;
|
35
|
+
}
|
36
|
+
|
37
|
+
.pagination > li:last-child > a,
|
38
|
+
.pagination > li:last-child > span {
|
39
|
+
border-bottom-right-radius: 2px;
|
40
|
+
border-top-right-radius: 2px;
|
41
|
+
}
|
42
|
+
|
43
|
+
.pagination > li > a:hover,
|
44
|
+
.pagination > li > span:hover,
|
45
|
+
.pagination > li > a:focus,
|
46
|
+
.pagination > li > span:focus {
|
47
|
+
z-index: 2;
|
48
|
+
color: #333;
|
49
|
+
background-color: #e4e4e4;
|
50
|
+
border-color: #fff;
|
51
|
+
}
|
52
|
+
|
53
|
+
.pagination > .active > a,
|
54
|
+
.pagination > .active > span,
|
55
|
+
.pagination > .active > a:hover,
|
56
|
+
.pagination > .active > span:hover,
|
57
|
+
.pagination > .active > a:focus,
|
58
|
+
.pagination > .active > span:focus {
|
59
|
+
z-index: 3;
|
60
|
+
color: #fff;
|
61
|
+
background-color: #58d6e6;
|
62
|
+
border-color: #fff;
|
63
|
+
cursor: default;
|
64
|
+
}
|
65
|
+
|
66
|
+
.pagination > .disabled > span,
|
67
|
+
.pagination > .disabled > span:hover,
|
68
|
+
.pagination > .disabled > span:focus,
|
69
|
+
.pagination > .disabled > a,
|
70
|
+
.pagination > .disabled > a:hover,
|
71
|
+
.pagination > .disabled > a:focus {
|
72
|
+
color: #777777;
|
73
|
+
background-color: #E2E2E2;
|
74
|
+
border-color: #fff;
|
75
|
+
cursor: not-allowed;
|
76
|
+
}
|
77
|
+
|
78
|
+
.pagination-lg > li > a,
|
79
|
+
.pagination-lg > li > span {
|
80
|
+
padding: 10px 16px;
|
81
|
+
font-size: 17px;
|
82
|
+
line-height: 1.3333333;
|
83
|
+
}
|
84
|
+
|
85
|
+
.pagination-lg > li:first-child > a,
|
86
|
+
.pagination-lg > li:first-child > span {
|
87
|
+
border-bottom-left-radius: 2px;
|
88
|
+
border-top-left-radius: 2px;
|
89
|
+
}
|
90
|
+
|
91
|
+
.pagination-lg > li:last-child > a,
|
92
|
+
.pagination-lg > li:last-child > span {
|
93
|
+
border-bottom-right-radius: 2px;
|
94
|
+
border-top-right-radius: 2px;
|
95
|
+
}
|
96
|
+
|
97
|
+
.pagination-sm > li > a,
|
98
|
+
.pagination-sm > li > span {
|
99
|
+
padding: 5px 10px;
|
100
|
+
font-size: 12px;
|
101
|
+
line-height: 1.5;
|
102
|
+
}
|
103
|
+
|
104
|
+
.pagination-sm > li:first-child > a,
|
105
|
+
.pagination-sm > li:first-child > span {
|
106
|
+
border-bottom-left-radius: 2px;
|
107
|
+
border-top-left-radius: 2px;
|
108
|
+
}
|
109
|
+
|
110
|
+
.pagination-sm > li:last-child > a,
|
111
|
+
.pagination-sm > li:last-child > span {
|
112
|
+
border-bottom-right-radius: 2px;
|
113
|
+
border-top-right-radius: 2px;
|
114
|
+
}
|
@@ -0,0 +1,234 @@
|
|
1
|
+
.sidebar {
|
2
|
+
position: fixed;
|
3
|
+
background: #fff;
|
4
|
+
height: #{"calc(100% - 70px)"};
|
5
|
+
top: $header-height;
|
6
|
+
@include transition(all);
|
7
|
+
@include transition-duration(300ms);
|
8
|
+
z-index: 10;
|
9
|
+
overflow-y: auto;
|
10
|
+
box-shadow: $card-shadow;
|
11
|
+
}
|
12
|
+
|
13
|
+
#sidebar {
|
14
|
+
width: $sidebar-left-width;
|
15
|
+
|
16
|
+
@media(max-width: ($screen-md-max + 80)) {
|
17
|
+
@include translate3d(-($sidebar-left-width + 20), 0, 0);
|
18
|
+
box-shadow: 0 0 20px rgba(14, 18, 21, 0.38);
|
19
|
+
|
20
|
+
|
21
|
+
&.toggled {
|
22
|
+
@include translate3d(0, 0, 0);
|
23
|
+
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.sidebar-alt {
|
29
|
+
top: 0;
|
30
|
+
height: 100%;
|
31
|
+
|
32
|
+
@include translate3d(-$sidebar-left-width, 0, 0);
|
33
|
+
|
34
|
+
&.toggled {
|
35
|
+
@include translate3d(0, 0, 0);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
.s-profile {
|
40
|
+
& > a {
|
41
|
+
display: block;
|
42
|
+
height: 129px;
|
43
|
+
margin-bottom: 5px;
|
44
|
+
width: 100%;
|
45
|
+
background: asset-url("lotus_admin/profile-menu.png") no-repeat left top;
|
46
|
+
background-size: 100%;
|
47
|
+
|
48
|
+
.sp-pic {
|
49
|
+
padding: 12px;
|
50
|
+
|
51
|
+
& > img {
|
52
|
+
width: 47px;
|
53
|
+
height: 47px;
|
54
|
+
border-radius: 50%;
|
55
|
+
border: 3px solid rgba(0, 0, 0, 0.14);
|
56
|
+
box-sizing: content-box;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
.sp-info {
|
61
|
+
background: rgba(0, 0, 0, 0.37);
|
62
|
+
padding: 7px 14px;
|
63
|
+
color: #fff;
|
64
|
+
margin-top: 20px;
|
65
|
+
position: relative;
|
66
|
+
|
67
|
+
& > i {
|
68
|
+
font-size: 19px;
|
69
|
+
line-height: 100%;
|
70
|
+
position: absolute;
|
71
|
+
right: 15px;
|
72
|
+
top: 7px;
|
73
|
+
@include transition(all);
|
74
|
+
@include transition-duration(300ms);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
.main-menu {
|
80
|
+
display: none;
|
81
|
+
margin: 0 0 0;
|
82
|
+
|
83
|
+
}
|
84
|
+
|
85
|
+
&.toggled {
|
86
|
+
.sp-info {
|
87
|
+
& > i {
|
88
|
+
@include rotate(180deg);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
.main-menu {
|
95
|
+
list-style: none;
|
96
|
+
padding-left: 0;
|
97
|
+
margin: 20px 0 0 0;
|
98
|
+
|
99
|
+
a {
|
100
|
+
@include transition(color);
|
101
|
+
@include transition-duration(300ms);
|
102
|
+
}
|
103
|
+
|
104
|
+
a:hover,
|
105
|
+
.active > a,
|
106
|
+
a.active {
|
107
|
+
color: #262626;
|
108
|
+
}
|
109
|
+
|
110
|
+
& > li {
|
111
|
+
& > a {
|
112
|
+
padding: 14px 20px 14px 65px;
|
113
|
+
display: block;
|
114
|
+
font-weight: 500;
|
115
|
+
position: relative;
|
116
|
+
color: #4C4C4C;
|
117
|
+
|
118
|
+
& > i {
|
119
|
+
position: absolute;
|
120
|
+
left: 25px;
|
121
|
+
font-size: 18px;
|
122
|
+
top: 2px;
|
123
|
+
width: 25px;
|
124
|
+
text-align: center;
|
125
|
+
padding: 13px 0;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
& > a:hover,
|
130
|
+
&.active > a {
|
131
|
+
background-color: #f7f7f7;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
.sub-menu {
|
137
|
+
& > a {
|
138
|
+
position: relative;
|
139
|
+
|
140
|
+
&:before, &:after {
|
141
|
+
position: absolute;
|
142
|
+
top: 50%;
|
143
|
+
margin-top: -11px;
|
144
|
+
font-family: $font-icon-md;
|
145
|
+
font-size: 17px;
|
146
|
+
right: 15px;
|
147
|
+
@include transition(all);
|
148
|
+
@include transition-duration(250ms);
|
149
|
+
}
|
150
|
+
|
151
|
+
&:before {
|
152
|
+
content: "\f278";
|
153
|
+
@include scale(1);
|
154
|
+
}
|
155
|
+
|
156
|
+
&:after {
|
157
|
+
content: "\f273";
|
158
|
+
@include scale(0);
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
&.toggled {
|
163
|
+
& > a {
|
164
|
+
&:before {
|
165
|
+
content: "\f278";
|
166
|
+
@include scale(0);
|
167
|
+
}
|
168
|
+
|
169
|
+
&:after {
|
170
|
+
content: "\f273";
|
171
|
+
@include scale(1);
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
ul {
|
177
|
+
list-style: none;
|
178
|
+
display: none;
|
179
|
+
padding: 0;
|
180
|
+
|
181
|
+
& > li {
|
182
|
+
& > a {
|
183
|
+
padding: 8px 20px 8px 65px;
|
184
|
+
font-weight: 500;
|
185
|
+
display: block;
|
186
|
+
color: #989898;
|
187
|
+
}
|
188
|
+
|
189
|
+
&:first-child > a {
|
190
|
+
padding-top: 14px;
|
191
|
+
}
|
192
|
+
|
193
|
+
&:last-child > a {
|
194
|
+
padding-bottom: 16px;
|
195
|
+
}
|
196
|
+
|
197
|
+
ul {
|
198
|
+
font-size: 12px;
|
199
|
+
margin: 10px 0;
|
200
|
+
background-color: $app-gray;
|
201
|
+
}
|
202
|
+
}
|
203
|
+
}
|
204
|
+
|
205
|
+
&.active {
|
206
|
+
& > ul {
|
207
|
+
display: block;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
|
212
|
+
/*-------------------------
|
213
|
+
For Stupid IE9
|
214
|
+
--------------------------*/
|
215
|
+
.ie9 {
|
216
|
+
#sidebar {
|
217
|
+
@media(max-width: ($screen-md-max + 80)) {
|
218
|
+
display: none;
|
219
|
+
|
220
|
+
&.toggled {
|
221
|
+
display: block;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
.sidebar-alt {
|
227
|
+
display: none;
|
228
|
+
|
229
|
+
&.toggled {
|
230
|
+
display: block;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
}
|