creative-dashpaper-gem 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +41 -0
  3. data/lib/creative/dash_papergem/version.rb +8 -0
  4. data/lib/creative/dash_papergem.rb +10 -0
  5. data/vendor/assets/fonts/themify.eot +0 -0
  6. data/vendor/assets/fonts/themify.svg +362 -0
  7. data/vendor/assets/fonts/themify.ttf +0 -0
  8. data/vendor/assets/fonts/themify.woff +0 -0
  9. data/vendor/assets/images/apple-icon.png +0 -0
  10. data/vendor/assets/images/background.jpg +0 -0
  11. data/vendor/assets/images/faces/face-0.jpg +0 -0
  12. data/vendor/assets/images/faces/face-1.jpg +0 -0
  13. data/vendor/assets/images/faces/face-2.jpg +0 -0
  14. data/vendor/assets/images/faces/face-3.jpg +0 -0
  15. data/vendor/assets/images/favicon.png +0 -0
  16. data/vendor/assets/images/new_logo.png +0 -0
  17. data/vendor/assets/images/tim_80x80.png +0 -0
  18. data/vendor/assets/javascripts/bootstrap-checkbox-radio.js +248 -0
  19. data/vendor/assets/javascripts/bootstrap-notify.js +404 -0
  20. data/vendor/assets/javascripts/bootstrap.min.js +7 -0
  21. data/vendor/assets/javascripts/chartist.min.js +9 -0
  22. data/vendor/assets/javascripts/demo.js +151 -0
  23. data/vendor/assets/javascripts/jquery-1.10.2.js +9789 -0
  24. data/vendor/assets/javascripts/paper-dashboard.js +126 -0
  25. data/vendor/assets/stylesheets/animate.min.css +6 -0
  26. data/vendor/assets/stylesheets/bootstrap.min.css +5 -0
  27. data/vendor/assets/stylesheets/demo.css +70 -0
  28. data/vendor/assets/stylesheets/paper/_alerts.scss +64 -0
  29. data/vendor/assets/stylesheets/paper/_buttons.scss +114 -0
  30. data/vendor/assets/stylesheets/paper/_cards.scss +243 -0
  31. data/vendor/assets/stylesheets/paper/_chartist.scss +230 -0
  32. data/vendor/assets/stylesheets/paper/_checkbox-radio.scss +132 -0
  33. data/vendor/assets/stylesheets/paper/_dropdown.scss +115 -0
  34. data/vendor/assets/stylesheets/paper/_footers.scss +43 -0
  35. data/vendor/assets/stylesheets/paper/_inputs.scss +171 -0
  36. data/vendor/assets/stylesheets/paper/_misc.scss +69 -0
  37. data/vendor/assets/stylesheets/paper/_mixins.scss +17 -0
  38. data/vendor/assets/stylesheets/paper/_navbars.scss +167 -0
  39. data/vendor/assets/stylesheets/paper/_responsive.scss +447 -0
  40. data/vendor/assets/stylesheets/paper/_sidebar-and-main-panel.scss +195 -0
  41. data/vendor/assets/stylesheets/paper/_tables.scss +77 -0
  42. data/vendor/assets/stylesheets/paper/_typography.scss +117 -0
  43. data/vendor/assets/stylesheets/paper/_variables.scss +262 -0
  44. data/vendor/assets/stylesheets/paper/mixins/_buttons.scss +85 -0
  45. data/vendor/assets/stylesheets/paper/mixins/_cards.scss +8 -0
  46. data/vendor/assets/stylesheets/paper/mixins/_chartist.scss +104 -0
  47. data/vendor/assets/stylesheets/paper/mixins/_icons.scss +13 -0
  48. data/vendor/assets/stylesheets/paper/mixins/_inputs.scss +17 -0
  49. data/vendor/assets/stylesheets/paper/mixins/_labels.scss +21 -0
  50. data/vendor/assets/stylesheets/paper/mixins/_navbars.scss +11 -0
  51. data/vendor/assets/stylesheets/paper/mixins/_sidebar.scss +42 -0
  52. data/vendor/assets/stylesheets/paper/mixins/_tabs.scss +4 -0
  53. data/vendor/assets/stylesheets/paper/mixins/_transparency.scss +20 -0
  54. data/vendor/assets/stylesheets/paper/mixins/_vendor-prefixes.scss +197 -0
  55. data/vendor/assets/stylesheets/paper-dashboard.css +3315 -0
  56. data/vendor/assets/stylesheets/paper-dashboard.scss +28 -0
  57. data/vendor/assets/stylesheets/themify-icons.css +1081 -0
  58. metadata +148 -0
@@ -0,0 +1,447 @@
1
+ @media (min-width: 992px){
2
+ .navbar{
3
+ min-height: 75px;
4
+ }
5
+ .navbar-form {
6
+ margin-top: 21px;
7
+ margin-bottom: 21px;
8
+ padding-left: 5px;
9
+ padding-right: 5px;
10
+ }
11
+ .navbar-search-form{
12
+ display: none;
13
+ }
14
+ .navbar-nav > li > .dropdown-menu,
15
+ .dropdown .dropdown-menu{
16
+ transform: translate3d(0px, -40px, 0px);
17
+ transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.3s ease 0s, height 0s linear 0.35s;
18
+ }
19
+ .navbar-nav > li.open > .dropdown-menu, .dropdown.open .dropdown-menu{
20
+ transform: translate3d(0px, 0px, 0px);
21
+ }
22
+
23
+ .navbar-nav > li > .dropdown-menu:before{
24
+ border-bottom: 11px solid $medium-pale-bg;
25
+ border-left: 11px solid rgba(0, 0, 0, 0);
26
+ border-right: 11px solid rgba(0, 0, 0, 0);
27
+ content: "";
28
+ display: inline-block;
29
+ position: absolute;
30
+ right: 12px;
31
+ top: -11px;
32
+ }
33
+ .navbar-nav > li > .dropdown-menu:after {
34
+ border-bottom: 11px solid $pale-bg;
35
+ border-left: 11px solid rgba(0, 0, 0, 0);
36
+ border-right: 11px solid rgba(0, 0, 0, 0);
37
+ content: "";
38
+ display: inline-block;
39
+ position: absolute;
40
+ right: 12px;
41
+ top: -10px;
42
+ }
43
+
44
+ .navbar-nav.navbar-left > li > .dropdown-menu:before{
45
+ right: auto;
46
+ left: 12px;
47
+ }
48
+
49
+ .navbar-nav.navbar-left > li > .dropdown-menu:after{
50
+ right: auto;
51
+ left: 12px;
52
+ }
53
+
54
+ .navbar{
55
+ .navbar-header{
56
+ margin-left: 10px;
57
+ }
58
+ }
59
+
60
+ .footer:not(.footer-big){
61
+ nav > ul{
62
+ li:first-child{
63
+ margin-left: 0;
64
+ }
65
+ }
66
+ }
67
+
68
+ body > .navbar-collapse.collapse{
69
+ display: none !important;
70
+ }
71
+
72
+ .card{
73
+ form{
74
+ [class*="col-"]{
75
+ padding: 6px;
76
+ }
77
+ [class*="col-"]:first-child{
78
+ padding-left: 15px;
79
+ }
80
+ [class*="col-"]:last-child{
81
+ padding-right: 15px;
82
+ }
83
+ }
84
+ }
85
+ }
86
+
87
+ /* Changes for small display */
88
+
89
+ @media (max-width: 991px){
90
+ .sidebar{
91
+ display: none;
92
+ }
93
+
94
+ .main-panel{
95
+ width: 100%;
96
+ }
97
+ .navbar-transparent{
98
+ padding-top: 15px;
99
+ background-color: rgba(0, 0, 0, 0.45);
100
+ }
101
+ body {
102
+ position: relative;
103
+ }
104
+ h6{
105
+ font-size: 1em;
106
+ }
107
+ .wrapper{
108
+ @include transform-translate-x(0px);
109
+ @include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
110
+ left: 0;
111
+ background-color: white;
112
+ }
113
+ .navbar .container{
114
+ left: 0;
115
+ width: 100%;
116
+ @include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
117
+ position: relative;
118
+ }
119
+ .navbar .navbar-collapse.collapse,
120
+ .navbar .navbar-collapse.collapse.in,
121
+ .navbar .navbar-collapse.collapsing{
122
+ display: none !important;
123
+ }
124
+
125
+ .navbar-nav > li{
126
+ float: none;
127
+ position: relative;
128
+ display: block;
129
+ }
130
+
131
+ .off-canvas-sidebar {
132
+ position: fixed;
133
+ display: block;
134
+ top: 0;
135
+ height: 100%;
136
+ width: 230px;
137
+ right: 0;
138
+ z-index: 1032;
139
+ visibility: visible;
140
+ background-color: #999;
141
+ overflow-y: visible;
142
+ border-top: none;
143
+ text-align: left;
144
+ padding-right: 0px;
145
+ padding-left: 0;
146
+
147
+ @include transform-translate-x(230px);
148
+ @include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
149
+
150
+ .sidebar-wrapper {
151
+ position: relative;
152
+ z-index: 3;
153
+ overflow-y: scroll;
154
+ height: 100%;
155
+ box-shadow: inset 1px 0px 0px 0px $medium-gray;
156
+ }
157
+
158
+ .nav{
159
+ margin-top: 0;
160
+ padding: 10px $margin-base-vertical 0;
161
+
162
+ > li{
163
+
164
+ > a{
165
+ margin: 0px 0px;
166
+ color: $default-color;
167
+ text-transform: uppercase;
168
+ font-weight: 600;
169
+ font-size: $font-size-small;
170
+ line-height: $line-height-general;
171
+ padding: 10px 0;
172
+
173
+ &:hover,
174
+ &.active{
175
+ color: $default-states-color;
176
+ }
177
+
178
+ p,
179
+ .notification,
180
+ .caret,
181
+ {
182
+ display: inline-block;
183
+ }
184
+
185
+ .caret{
186
+ float: right;
187
+ position: relative;
188
+ top: 12px;
189
+ }
190
+
191
+ i{
192
+ font-size: 18px;
193
+ margin-right: 10px;
194
+ line-height: 26px;
195
+ }
196
+ }
197
+
198
+ &.active > a{
199
+
200
+ &:before{
201
+ border-right: none;
202
+ border-left: 12px solid $medium-gray;
203
+ border-top: 12px solid transparent;
204
+ border-bottom: 12px solid transparent;
205
+ right: auto;
206
+ margin-left: -$margin-base-vertical;
207
+ left: 0px;
208
+ top: 10px;
209
+ }
210
+
211
+ &:after{
212
+ border-right: none;
213
+ border-left: 12px solid $bg-nude;
214
+ border-top: 12px solid transparent;
215
+ border-bottom: 12px solid transparent;
216
+ right: auto;
217
+ margin-left: -$margin-base-vertical;
218
+ left: -1px;
219
+ top: 10px;
220
+ }
221
+ }
222
+
223
+ }
224
+
225
+
226
+
227
+ }
228
+
229
+ &::after{
230
+ top: 0;
231
+ left: 0;
232
+ height: 100%;
233
+ width: 100%;
234
+ position: absolute;
235
+ background-color: $bg-nude;
236
+ background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(112, 112, 112, 0) 60%, rgba(186, 186, 186, 0.15) 100%);
237
+ display: block;
238
+ content: "";
239
+ z-index: 1;
240
+ }
241
+ &.has-image::after{
242
+ @include black-filter(.8);
243
+ }
244
+
245
+ .logo{
246
+ position: relative;
247
+ z-index: 4;
248
+ padding-top: 11px;
249
+ padding-bottom: 11px;
250
+ }
251
+
252
+ .divider{
253
+ height: 1px;
254
+ margin: 10px 0;
255
+ }
256
+ }
257
+ .nav-open .navbar-collapse{
258
+ @include transform-translate-x(0px);
259
+ }
260
+ .nav-open .navbar .container{
261
+ left: -230px;
262
+ }
263
+ .nav-open .wrapper{
264
+ left: 0;
265
+ @include transform-translate-x(-230px);
266
+ }
267
+ .navbar-toggle .icon-bar {
268
+ display: block;
269
+ position: relative;
270
+ background: #fff;
271
+ width: 24px;
272
+ height: 2px;
273
+ border-radius: 1px;
274
+ margin: 0 auto;
275
+ }
276
+
277
+ .navbar-header .navbar-toggle {
278
+ margin: 10px 15px 10px 0;
279
+ width: 40px;
280
+ height: 40px;
281
+ }
282
+ .bar1,
283
+ .bar2,
284
+ .bar3 {
285
+ outline: 1px solid transparent;
286
+ }
287
+ .bar1 {
288
+ top: 0px;
289
+ @include bar-animation($topbar-back);
290
+ }
291
+ .bar2 {
292
+ opacity: 1;
293
+ }
294
+ .bar3 {
295
+ bottom: 0px;
296
+ @include bar-animation($bottombar-back);
297
+ }
298
+ .toggled .bar1 {
299
+ top: 6px;
300
+ @include bar-animation($topbar-x);
301
+ }
302
+ .toggled .bar2 {
303
+ opacity: 0;
304
+ }
305
+ .toggled .bar3 {
306
+ bottom: 6px;
307
+ @include bar-animation($bottombar-x);
308
+ }
309
+
310
+ @include topbar-x-rotation();
311
+ @include topbar-back-rotation();
312
+ @include bottombar-x-rotation();
313
+ @include bottombar-back-rotation();
314
+
315
+ @-webkit-keyframes fadeIn {
316
+ 0% {opacity: 0;}
317
+ 100% {opacity: 1;}
318
+ }
319
+ @-moz-keyframes fadeIn {
320
+ 0% {opacity: 0;}
321
+ 100% {opacity: 1;}
322
+ }
323
+ @keyframes fadeIn {
324
+ 0% {opacity: 0;}
325
+ 100% {opacity: 1;}
326
+ }
327
+
328
+ .dropdown-menu .divider{
329
+ background-color: rgba(229, 229, 229, 0.15);
330
+ }
331
+
332
+ .navbar-nav {
333
+ margin: 1px 0;
334
+ }
335
+
336
+ .dropdown-menu {
337
+ display: none;
338
+
339
+ & > li > a{
340
+ &:hover,
341
+ &:focus{
342
+ background-color: transparent;
343
+ }
344
+ }
345
+ }
346
+
347
+ .navbar-fixed-top {
348
+ -webkit-backface-visibility: hidden;
349
+ }
350
+ #bodyClick {
351
+ height: 100%;
352
+ width: 100%;
353
+ position: fixed;
354
+ opacity: 0;
355
+ top: 0;
356
+ left: auto;
357
+ right: 230px;
358
+ content: "";
359
+ z-index: 9999;
360
+ overflow-x: hidden;
361
+ }
362
+ .form-control + .form-control-feedback{
363
+ margin-top: -8px;
364
+ }
365
+ .navbar-toggle:hover,.navbar-toggle:focus {
366
+ background-color: transparent !important;
367
+ }
368
+ .btn.dropdown-toggle{
369
+ margin-bottom: 0;
370
+ }
371
+ .media-post .author{
372
+ width: 20%;
373
+ float: none !important;
374
+ display: block;
375
+ margin: 0 auto 10px;
376
+ }
377
+ .media-post .media-body{
378
+ width: 100%;
379
+ }
380
+
381
+ .navbar-collapse.collapse{
382
+ height: 100% !important;
383
+ }
384
+ .navbar-collapse.collapse.in {
385
+ display: block;
386
+ }
387
+ .navbar-header .collapse, .navbar-toggle {
388
+ display:block !important;
389
+ }
390
+ .navbar-header {
391
+ float:none;
392
+ }
393
+ .navbar-nav .open .dropdown-menu {
394
+ position: static;
395
+ float: none;
396
+ width: auto;
397
+ margin-top: 0;
398
+ background-color: transparent;
399
+ border: 0;
400
+ -webkit-box-shadow: none;
401
+ box-shadow: none;
402
+ }
403
+
404
+ .main-panel > .content{
405
+ padding-left: 0;
406
+ padding-right: 0;
407
+ }
408
+ .nav .open > a{
409
+ &,
410
+ &:focus,
411
+ &:hover{
412
+ background-color: transparent;
413
+ }
414
+
415
+ }
416
+
417
+ .footer .copyright{
418
+ padding: 0px 15px;
419
+ width: 100%;
420
+ }
421
+ }
422
+
423
+ //overwrite table responsive for 768px screens
424
+
425
+ @media (min-width: 992px){
426
+ .table-full-width{
427
+ margin-left: -15px;
428
+ margin-right: -15px;
429
+ }
430
+ .table-responsive{
431
+ overflow: visible;
432
+ }
433
+
434
+ }
435
+
436
+ @media (max-width: 991px){
437
+ .table-responsive {
438
+ width: 100%;
439
+ margin-bottom: 15px;
440
+ border: 1px solid #dddddd;
441
+ overflow-x: scroll;
442
+ overflow-y: hidden;
443
+ -ms-overflow-style: -ms-autohiding-scrollbar;
444
+ -webkit-overflow-scrolling: touch;
445
+ }
446
+
447
+ }
@@ -0,0 +1,195 @@
1
+ .sidebar{
2
+ position: absolute;
3
+ top: 0;
4
+ bottom: 0;
5
+ left: 0;
6
+ z-index: 1;
7
+ background-size: cover;
8
+ background-position: center center;
9
+ .sidebar-wrapper{
10
+ position: relative;
11
+ max-height: none;
12
+ min-height: 100%;
13
+ overflow: hidden;
14
+ width: 260px;
15
+ z-index: 4;
16
+ box-shadow: inset -1px 0px 0px 0px $medium-gray;
17
+ }
18
+ .sidebar-background{
19
+ position: absolute;
20
+ z-index: 1;
21
+ height: 100%;
22
+ width: 100%;
23
+ display: block;
24
+ top: 0;
25
+ left: 0;
26
+ background-size: cover;
27
+ background-position: center center;
28
+ }
29
+
30
+ }
31
+ .sidebar,
32
+ .off-canvas-sidebar{
33
+ width: 260px;
34
+ display: block;
35
+ font-weight: 200;
36
+
37
+ .logo{
38
+ padding: 18px 0px;
39
+ margin: 0 20px;
40
+
41
+ p{
42
+ float: left;
43
+ font-size: 20px;
44
+ margin: 10px 10px;
45
+ line-height: 20px;
46
+ }
47
+
48
+ .simple-text{
49
+ text-transform: uppercase;
50
+ padding: $padding-small-vertical $padding-zero;
51
+ display: block;
52
+ font-size: $font-size-large;
53
+ text-align: center;
54
+ font-weight: $font-weight-normal;
55
+ line-height: 30px;
56
+ }
57
+ }
58
+
59
+ .nav{
60
+ margin-top: 20px;
61
+
62
+ li{
63
+ > a{
64
+ margin: 10px 0px;
65
+ padding-left: 25px;
66
+ padding-right: 25px;
67
+
68
+ opacity: .7;
69
+ }
70
+
71
+ &:hover > a{
72
+ opacity: 1;
73
+ }
74
+
75
+ &.active > a{
76
+ color: $primary-color;
77
+ opacity: 1;
78
+
79
+ &:before{
80
+ border-right: 17px solid $medium-gray;
81
+ border-top: 17px solid transparent;
82
+ border-bottom: 17px solid transparent;
83
+ content: "";
84
+ display: inline-block;
85
+ position: absolute;
86
+ right: 0;
87
+ top: 8px;
88
+ }
89
+
90
+ &:after{
91
+ border-right: 17px solid $bg-nude;
92
+ border-top: 17px solid transparent;
93
+ border-bottom: 17px solid transparent;
94
+ content: "";
95
+ display: inline-block;
96
+ position: absolute;
97
+ right: -1px;
98
+ top: 8px;
99
+ }
100
+ }
101
+ }
102
+
103
+ p{
104
+ margin: 0;
105
+ line-height: 30px;
106
+ font-size: 12px;
107
+ font-weight: 600;
108
+ text-transform: uppercase;
109
+ }
110
+
111
+ i{
112
+ font-size: 24px;
113
+ float: left;
114
+ margin-right: 15px;
115
+ line-height: 30px;
116
+ width: 30px;
117
+ text-align: center;
118
+ }
119
+ }
120
+
121
+ &:after,
122
+ &:before{
123
+ display: block;
124
+ content: "";
125
+ position: absolute;
126
+ width: 100%;
127
+ height: 100%;
128
+ top: 0;
129
+ left: 0;
130
+ z-index: 2;
131
+ background: $white-background-color;
132
+ }
133
+
134
+ &,
135
+ &[data-background-color="white"]{
136
+ @include sidebar-background-color($white-background-color, $default-color);
137
+ }
138
+ &[data-background-color="black"]{
139
+ @include sidebar-background-color($black-background-color, $white-color);
140
+ }
141
+
142
+ &[data-active-color="primary"]{
143
+ @include sidebar-active-color($primary-color);
144
+ }
145
+ &[data-active-color="info"]{
146
+ @include sidebar-active-color($info-color);
147
+ }
148
+ &[data-active-color="success"]{
149
+ @include sidebar-active-color($success-color);
150
+ }
151
+ &[data-active-color="warning"]{
152
+ @include sidebar-active-color($warning-color);
153
+ }
154
+ &[data-active-color="danger"]{
155
+ @include sidebar-active-color($danger-color);
156
+ }
157
+
158
+ }
159
+
160
+ .main-panel{
161
+ background-color: $bg-nude;
162
+ background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(112, 112, 112, 0) 60%, rgba(186, 186, 186, 0.15) 100%);
163
+ position: relative;
164
+ z-index: 2;
165
+ float: right;
166
+ width: $sidebar-width;
167
+ min-height: 100%;
168
+
169
+ > .content{
170
+ padding: 30px 15px;
171
+ min-height: calc(100% - 123px);
172
+ }
173
+
174
+ > .footer{
175
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
176
+ }
177
+
178
+ .navbar{
179
+ margin-bottom: 0;
180
+ }
181
+ }
182
+
183
+ .sidebar,
184
+ .main-panel{
185
+ overflow: auto;
186
+ max-height: 100%;
187
+ height: 100%;
188
+ -webkit-transition-property: top,bottom;
189
+ transition-property: top,bottom;
190
+ -webkit-transition-duration: .2s,.2s;
191
+ transition-duration: .2s,.2s;
192
+ -webkit-transition-timing-function: linear,linear;
193
+ transition-timing-function: linear,linear;
194
+ -webkit-overflow-scrolling: touch;
195
+ }