lotus_admin 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17ebcae5c9385f7abe94cdcba4f62412177ebd09
4
- data.tar.gz: ece5e079729dfaa9e003f33df15b42640f72c5b1
3
+ metadata.gz: ae10a8d37efc530f9af4475611f6816e6e092527
4
+ data.tar.gz: 74e6dfffade1eaa462770e3714c43ad8c010890a
5
5
  SHA512:
6
- metadata.gz: 427d76a76ca1cdaefc8352c1b1a1e15996ca3cc4e3501f0f51a0a73b28dd4d2dd5734802e7528082a68b604f8550816b6c1407d9ad3dc438458f70af2361a0a1
7
- data.tar.gz: 5c967997e73de7994576d182e0ca663ca8cd336833c6246849aa8a66b21df7e8574639d1df91a011fa2a1d807072ffde1651480e6e024f6c105d38923dc15286
6
+ metadata.gz: 751d3b16ef8b667c8c061aa33719f1acafa1bd0421c667e2c80711a97fa4d34cd4e83033eac729e36cbd04eaa62aef42f3f7ce7b3aa50b3f0bb79565ea4c5d38
7
+ data.tar.gz: f6fe33efd289b6e6f02fd83cbdbf5d46ba3ada25097bc8631cfcb5bed498cb779714a3f828f77c487987ad90934008bddf63bfd94594d432bf359c7d8708d333
@@ -1,3 +1,3 @@
1
1
  module LotusAdmin
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
@@ -47,6 +47,7 @@
47
47
 
48
48
  .sp-pic {
49
49
  padding: 12px;
50
+ height: 77px;
50
51
 
51
52
  & > img {
52
53
  width: 47px;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lotus_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Millsaps-Brewer
@@ -365,7 +365,6 @@ files:
365
365
  - vendor/assets/stylesheets/lotus_admin/theme/inc/sidebar.scss
366
366
  - vendor/assets/stylesheets/lotus_admin/theme/inc/table.scss
367
367
  - vendor/assets/stylesheets/lotus_admin/theme/inc/variables.scss
368
- - vendor/assets/stylesheets/theme/inc/sidebar.scss
369
368
  homepage: http://www.madebylotus.com
370
369
  licenses:
371
370
  - MIT
@@ -1,234 +0,0 @@
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
- }