blueberry_admin 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +32 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/stylesheets/blueberry_admin.sass +11 -0
  6. data/app/assets/stylesheets/blueberry_admin/base/_forms.sass +130 -0
  7. data/app/assets/stylesheets/blueberry_admin/base/_miscellaneous.sass +356 -0
  8. data/app/assets/stylesheets/blueberry_admin/base/_table.sass +126 -0
  9. data/app/assets/stylesheets/blueberry_admin/base/_typography.sass +41 -0
  10. data/app/assets/stylesheets/blueberry_admin/common/_variables-origin.sass +118 -0
  11. data/app/assets/stylesheets/blueberry_admin/common/_variables.sass +78 -0
  12. data/app/assets/stylesheets/blueberry_admin/common/bootstrap-ms.sass +128 -0
  13. data/app/assets/stylesheets/blueberry_admin/common/bootstrap-override.sass +4 -0
  14. data/app/assets/stylesheets/blueberry_admin/components/_alerts.sass +47 -0
  15. data/app/assets/stylesheets/blueberry_admin/components/_boxes.sass +132 -0
  16. data/app/assets/stylesheets/blueberry_admin/components/_buttons.sass +310 -0
  17. data/app/assets/stylesheets/blueberry_admin/components/_callout.sass +48 -0
  18. data/app/assets/stylesheets/blueberry_admin/components/_carousel.sass +13 -0
  19. data/app/assets/stylesheets/blueberry_admin/components/_control-sidebar.sass +274 -0
  20. data/app/assets/stylesheets/blueberry_admin/components/_def-list.sass +38 -0
  21. data/app/assets/stylesheets/blueberry_admin/components/_direct-chat.sass +172 -0
  22. data/app/assets/stylesheets/blueberry_admin/components/_dropdown.sass +296 -0
  23. data/app/assets/stylesheets/blueberry_admin/components/_filter.sass +9 -0
  24. data/app/assets/stylesheets/blueberry_admin/components/_header.sass +246 -0
  25. data/app/assets/stylesheets/blueberry_admin/components/_info-box.sass +66 -0
  26. data/app/assets/stylesheets/blueberry_admin/components/_labels.sass +22 -0
  27. data/app/assets/stylesheets/blueberry_admin/components/_modal.sass +73 -0
  28. data/app/assets/stylesheets/blueberry_admin/components/_navs.sass +174 -0
  29. data/app/assets/stylesheets/blueberry_admin/components/_products.sass +57 -0
  30. data/app/assets/stylesheets/blueberry_admin/components/_progress-bars.sass +107 -0
  31. data/app/assets/stylesheets/blueberry_admin/components/_redactor.sass +15 -0
  32. data/app/assets/stylesheets/blueberry_admin/components/_small-box.sass +89 -0
  33. data/app/assets/stylesheets/blueberry_admin/components/_timeline.sass +98 -0
  34. data/app/assets/stylesheets/blueberry_admin/components/_users-list.sass +39 -0
  35. data/app/assets/stylesheets/blueberry_admin/layout/_sidebar-mini.sass +137 -0
  36. data/app/assets/stylesheets/blueberry_admin/layout/_sidebar.sass +154 -0
  37. data/app/assets/stylesheets/blueberry_admin/layout/layout.sass +122 -0
  38. data/app/assets/stylesheets/blueberry_admin/pages/_404_500_errors.sass +36 -0
  39. data/app/assets/stylesheets/blueberry_admin/pages/_fullcalendar.sass +88 -0
  40. data/app/assets/stylesheets/blueberry_admin/pages/_invoice.sass +16 -0
  41. data/app/assets/stylesheets/blueberry_admin/pages/_lockscreen.sass +68 -0
  42. data/app/assets/stylesheets/blueberry_admin/pages/_login_and_register.sass +40 -0
  43. data/app/assets/stylesheets/blueberry_admin/pages/_mailbox.sass +77 -0
  44. data/app/assets/stylesheets/blueberry_admin/skins/_skin-aerotec.sass +14 -0
  45. data/app/assets/stylesheets/blueberry_admin/utils/functions.sass +23 -0
  46. data/app/assets/stylesheets/blueberry_admin/utils/make-columns.sass +67 -0
  47. data/app/assets/stylesheets/blueberry_admin/utils/mixins-origin.sass +291 -0
  48. data/app/assets/stylesheets/blueberry_admin/utils/mixins.sass +24 -0
  49. data/app/assets/stylesheets/blueberry_admin/utils/render-to.sass +27 -0
  50. data/lib/blueberry_admin.rb +5 -0
  51. data/lib/blueberry_admin/engine.rb +4 -0
  52. data/lib/blueberry_admin/version.rb +3 -0
  53. data/lib/tasks/blueberry_admin_tasks.rake +4 -0
  54. metadata +156 -0
@@ -0,0 +1,66 @@
1
+ /*
2
+ * Component: Info Box
3
+ * -------------------
4
+ */
5
+ .info-box
6
+ display: block
7
+ min-height: 90px
8
+ background: #fff
9
+ width: 100%
10
+ box-shadow: $box-boxshadow
11
+ @include border-radius-same(2px)
12
+ margin-bottom: 15px
13
+ small
14
+ font-size: 14px
15
+
16
+ .progress
17
+ background: rgba(0,0,0,.2)
18
+ margin: 5px -10px 5px -10px
19
+ height: 2px
20
+ &,
21
+ & .progress-bar
22
+ @include border-radius-same(0)
23
+
24
+ .progress-bar
25
+ background: #fff
26
+
27
+
28
+
29
+ .info-box-icon
30
+ @include border-radius(2px, 0, 2px, 0)
31
+ display: block
32
+ float: left
33
+ height: 90px
34
+ width: 90px
35
+ text-align: center
36
+ font-size: 45px
37
+ line-height: 90px
38
+ background: rgba(0,0,0,0.2)
39
+
40
+ .info-box-content
41
+ padding: 5px 10px
42
+ margin-left: 90px
43
+
44
+ .info-box-number
45
+ display: block
46
+ font-weight: bold
47
+ font-size: 18px
48
+
49
+ .progress-description,
50
+ .info-box-text
51
+ display: block
52
+ font-size: 14px
53
+ white-space: nowrap
54
+ overflow: hidden
55
+ text-overflow: ellipsis
56
+
57
+ .info-box-text
58
+ text-transform: uppercase
59
+
60
+ .info-box-more
61
+ display: block
62
+
63
+
64
+ .progress-description
65
+ margin: 0
66
+
@@ -0,0 +1,22 @@
1
+ //
2
+ // Labels
3
+ // ---------------------------------
4
+
5
+ .label-default
6
+ background-color: $gray
7
+ color: #444
8
+
9
+ .label-danger
10
+ @extend .bg-red
11
+
12
+ .label-info
13
+ @extend .bg-aqua
14
+
15
+ .label-warning
16
+ @extend .bg-yellow
17
+
18
+ .label-primary
19
+ @extend .bg-light-blue
20
+
21
+ .label-success
22
+ @extend .bg-green
@@ -0,0 +1,73 @@
1
+ /*
2
+ * Component: modal
3
+ * ----------------
4
+ */
5
+ .modal
6
+ background: rgba(0,0,0,.3)
7
+
8
+ .modal-content
9
+ @include border-radius-same(0)
10
+ @include box-shadow(0 2px 3px rgba(0,0,0,.125) !important)
11
+ border: 0
12
+ @media (min-width: $screen-sm-min)
13
+ @include box-shadow(0 2px 3px rgba(0,0,0,.125) !important)
14
+
15
+
16
+ .modal-header
17
+ border-bottom-color: $box-border-color
18
+
19
+ .modal-footer
20
+ border-top-color: $box-border-color
21
+
22
+
23
+ //Modal variants
24
+ .modal-primary
25
+ .modal-body
26
+ @extend .bg-light-blue
27
+
28
+ .modal-header,
29
+ .modal-footer
30
+ @extend .bg-light-blue-active
31
+ border-color: darken($light-blue, 10%)
32
+
33
+
34
+ .modal-warning
35
+ .modal-body
36
+ @extend .bg-yellow
37
+
38
+ .modal-header,
39
+ .modal-footer
40
+ @extend .bg-yellow-active
41
+ border-color: darken($yellow, 10%)
42
+
43
+
44
+ .modal-info
45
+ .modal-body
46
+ @extend .bg-aqua
47
+
48
+ .modal-header,
49
+ .modal-footer
50
+ @extend .bg-aqua-active
51
+ border-color: darken($aqua, 10%)
52
+
53
+
54
+ .modal-success
55
+ .modal-body
56
+ @extend .bg-green
57
+
58
+ .modal-header,
59
+ .modal-footer
60
+ @extend .bg-green-active
61
+ border-color: darken($green, 10%)
62
+
63
+
64
+ .modal-danger
65
+ .modal-body
66
+ @extend .bg-red
67
+
68
+ .modal-header,
69
+ .modal-footer
70
+ @extend .bg-red-active
71
+ border-color: darken($red, 10%)
72
+
73
+
@@ -0,0 +1,174 @@
1
+ /*
2
+ * Component: Nav
3
+ * --------------
4
+ */
5
+
6
+ .nav
7
+ > li > a:hover,
8
+ > li > a:active,
9
+ > li > a:focus
10
+ color: #444
11
+ background: #f7f7f7
12
+
13
+
14
+
15
+ /* NAV PILLS */
16
+ .nav-pills
17
+ > li > a
18
+ @include border-radius-same(0)
19
+ border-top: 3px solid transparent
20
+ color: #444
21
+ > .fa,
22
+ > .glyphicon,
23
+ > .ion
24
+ margin-right: 5px
25
+
26
+
27
+ > li.active > a,
28
+ > li.active > a:hover,
29
+ > li.active > a:focus
30
+ border-top-color: $light-blue
31
+
32
+ > li.active > a
33
+ font-weight: 600
34
+
35
+
36
+ /* NAV STACKED */
37
+ .nav-stacked
38
+ > li > a
39
+ @include border-radius-same(0)
40
+ border-top: 0
41
+ border-left: 3px solid transparent
42
+ color: #444
43
+
44
+ > li.active > a,
45
+ > li.active > a:hover
46
+ border-top: 0
47
+ border-left-color: $light-blue
48
+
49
+
50
+ > li.header
51
+ border-bottom: 1px solid #ddd
52
+ color: #777
53
+ margin-bottom: 10px
54
+ padding: 5px 10px
55
+ text-transform: uppercase
56
+
57
+
58
+
59
+ /* NAV TABS */
60
+ .nav-tabs-custom
61
+ margin-bottom: 20px
62
+ background: #fff
63
+ box-shadow: $box-boxshadow
64
+ border-radius: $box-border-radius
65
+ > .nav-tabs
66
+ margin: 0
67
+ border-bottom-color: #f4f4f4
68
+ @include border-top-radius($box-border-radius)
69
+ > li
70
+ border-top: 3px solid transparent
71
+ margin-bottom: -2px
72
+ > a
73
+ color: #444
74
+ @include border-radius-same(0 !important)
75
+ &,
76
+ &:hover
77
+ background: transparent
78
+ margin: 0
79
+
80
+ &:hover
81
+ color: #999
82
+
83
+
84
+ &:not(.active)
85
+ > a:hover,
86
+ > a:focus,
87
+ > a:active
88
+ border-color: transparent
89
+
90
+
91
+ margin-right: 5px
92
+
93
+
94
+ > li.active
95
+ border-top-color: $light-blue
96
+ & > a,
97
+ &:hover > a
98
+ background-color: #fff
99
+ color: #444
100
+
101
+ > a
102
+ border-top-color: transparent
103
+ border-left-color: #f4f4f4
104
+ border-right-color: #f4f4f4
105
+
106
+
107
+
108
+
109
+ > li:first-of-type
110
+ margin-left: 0
111
+ &.active
112
+ > a
113
+ border-left-color: transparent
114
+
115
+
116
+
117
+
118
+ //Pulled to the right
119
+ &.pull-right
120
+ float: none!important
121
+ > li
122
+ float: right
123
+
124
+ > li:first-of-type
125
+ margin-right: 0
126
+ > a
127
+ border-left-width: 1px
128
+
129
+ &.active
130
+ > a
131
+ border-left-color: #f4f4f4
132
+ border-right-color: transparent
133
+
134
+
135
+
136
+
137
+
138
+ > li.header
139
+ line-height: 35px
140
+ padding: 0 10px
141
+ font-size: 20px
142
+ color: #444
143
+ > .fa,
144
+ > .glyphicon,
145
+ > .ion
146
+ margin-right: 5px
147
+
148
+
149
+
150
+
151
+ > .tab-content
152
+ background: #fff
153
+ padding: 10px
154
+ @include border-bottom-radius($box-border-radius)
155
+
156
+
157
+ .dropdown.open > a
158
+ &:active,
159
+ &:focus
160
+ background: transparent
161
+ color: #999
162
+
163
+
164
+
165
+
166
+ /* PAGINATION */
167
+ .pagination
168
+ > li > a
169
+ background: #fafafa
170
+ color: #666
171
+ @include border-radius-same(0 !important)
172
+
173
+
174
+
@@ -0,0 +1,57 @@
1
+ /*
2
+ * Component: Products List
3
+ * ------------------------
4
+ */
5
+
6
+ .product-list
7
+ margin: 0 0 20px
8
+ padding: 0
9
+ list-style: none
10
+ display: flex
11
+ flex-wrap: wrap
12
+
13
+ .product-list__item
14
+ padding: 30px
15
+ margin-bottom: 30px
16
+ position: relative
17
+ width: 25%
18
+ border-right: 1px dashed $blue
19
+ +render-to($order-break-point)
20
+ width: 33.3333%
21
+
22
+ h3
23
+ margin-top: 0
24
+
25
+ .quantity
26
+ input
27
+ width: 100px
28
+
29
+ .wholesale-package,
30
+ .quantity,
31
+ .price
32
+ margin-bottom: 10px
33
+
34
+ strong
35
+ display: block
36
+
37
+ .form-inline .form-control
38
+ width: 60px
39
+
40
+ .btn
41
+ display: inline-block
42
+
43
+ .price--big
44
+ font-size: 18px
45
+
46
+ strong
47
+ font-size: 14px
48
+
49
+
50
+ .product-list__item:nth-child(4n)
51
+ border-right: 1px dashed #ffffff
52
+ +render-to($order-break-point)
53
+ border-right: 1px dashed $blue
54
+
55
+ .product-list__item:nth-child(3n)
56
+ +render-to($order-break-point)
57
+ border-right: 1px dashed #ffffff
@@ -0,0 +1,107 @@
1
+ /*
2
+ * Component: Progress Bar
3
+ * -----------------------
4
+ */
5
+
6
+ //General CSS
7
+ .progress,
8
+ .progress > .progress-bar
9
+ @include box-shadow(none)
10
+ &, .progress-bar
11
+ @include border-radius-same($progress-bar-border-radius)
12
+
13
+
14
+
15
+ /* size variation */
16
+ .progress.sm,
17
+ .progress-sm
18
+ height: 10px
19
+ &, .progress-bar
20
+ @include border-radius-same($progress-bar-sm-border-radius)
21
+
22
+
23
+ .progress.xs,
24
+ .progress-xs
25
+ height: 7px
26
+ &, .progress-bar
27
+ @include border-radius-same($progress-bar-xs-border-radius)
28
+
29
+
30
+ .progress.xxs,
31
+ .progress-xxs
32
+ height: 3px
33
+ &, .progress-bar
34
+ @include border-radius-same($progress-bar-xs-border-radius)
35
+
36
+
37
+ /* Vertical bars */
38
+ .progress.vertical
39
+ position: relative
40
+ width: 30px
41
+ height: 200px
42
+ display: inline-block
43
+ margin-right: 10px
44
+ > .progress-bar
45
+ width: 100%!important
46
+ position: absolute
47
+ bottom: 0
48
+
49
+
50
+ //Sizes
51
+ &.sm,
52
+ &.progress-sm
53
+ width: 20px
54
+
55
+
56
+ &.xs,
57
+ &.progress-xs
58
+ width: 10px
59
+
60
+ &.xxs,
61
+ &.progress-xxs
62
+ width: 3px
63
+
64
+
65
+
66
+ //Progress Groups
67
+ .progress-group
68
+ .progress-text
69
+ font-weight: 600
70
+
71
+ .progress-number
72
+ float: right
73
+
74
+
75
+
76
+ /* Remove margins from progress bars when put in a table */
77
+ .table
78
+ tr > td .progress
79
+ margin: 0
80
+
81
+
82
+
83
+ // Variations
84
+ // -------------------------
85
+ .progress-bar-light-blue,
86
+ .progress-bar-primary
87
+ @include progress-bar-variant($light-blue)
88
+
89
+ .progress-bar-green,
90
+ .progress-bar-success
91
+ @include progress-bar-variant($green)
92
+
93
+
94
+ .progress-bar-aqua,
95
+ .progress-bar-info
96
+ @include progress-bar-variant($aqua)
97
+
98
+
99
+ .progress-bar-yellow,
100
+ .progress-bar-warning
101
+ @include progress-bar-variant($yellow)
102
+
103
+
104
+ .progress-bar-red,
105
+ .progress-bar-danger
106
+ @include progress-bar-variant($red)
107
+