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,48 @@
1
+ /*
2
+ * Component: Callout
3
+ * ------------------
4
+ */
5
+
6
+ // Base styles (regardless of theme)
7
+ .callout
8
+ @include border-radius-same(3px)
9
+ margin: 0 0 20px 0
10
+ padding: 15px 30px 15px 15px
11
+ border-left: 5px solid #eee
12
+ a
13
+ color: #fff
14
+ text-decoration: underline
15
+ &:hover
16
+ color: #eee
17
+
18
+
19
+ h4
20
+ margin-top: 0
21
+ font-weight: 600
22
+
23
+ p:last-child
24
+ margin-bottom: 0
25
+
26
+ code,
27
+ .highlight
28
+ background-color: #fff
29
+
30
+
31
+ // Themes for different contexts
32
+ &.callout-danger
33
+ @extend .bg-red
34
+ border-color: darken($red, 10%)
35
+
36
+ &.callout-warning
37
+ @extend .bg-yellow
38
+ border-color: darken($yellow, 10%)
39
+
40
+ &.callout-info
41
+ @extend .bg-aqua
42
+ border-color: darken($aqua, 10%)
43
+
44
+ &.callout-success
45
+ @extend .bg-green
46
+ border-color: darken($green, 10%)
47
+
48
+
@@ -0,0 +1,13 @@
1
+ //
2
+ // Component: Carousel
3
+ // -------------------
4
+
5
+ .carousel-control
6
+ background-image: none!important
7
+ > .fa
8
+ font-size: 40px
9
+ position: absolute
10
+ top: 50%
11
+ z-index: 5
12
+ display: inline-block
13
+ margin-top: -20px
@@ -0,0 +1,274 @@
1
+ /*
2
+ * Component: Control sidebar. By default, this is the right sidebar.
3
+ */
4
+ //The sidebar's background control class
5
+ //This is a hack to make the background visible while scrolling
6
+ .control-sidebar-bg
7
+ position: fixed
8
+ z-index: 1000
9
+ bottom: 0
10
+
11
+ //Transitions
12
+ .control-sidebar-bg,
13
+ .control-sidebar
14
+ top: 0
15
+ right: -$control-sidebar-width
16
+ width: $control-sidebar-width
17
+ @include transition(right $transition-speed ease-in-out)
18
+
19
+ //The sidebar
20
+ .control-sidebar
21
+ position: absolute
22
+ padding-top: $navbar-height
23
+ z-index: 1010
24
+ //Fix position after header collapse
25
+ @media (max-width: $screen-sm)
26
+ padding-top: $navbar-height + 50
27
+
28
+ //Tab panes
29
+ > .tab-content
30
+ padding: 10px 15px
31
+
32
+ //Open state with slide over content effect
33
+ &.control-sidebar-open
34
+ &,
35
+ + .control-sidebar-bg
36
+ right: 0
37
+
38
+
39
+
40
+ //Open without slide over content
41
+ .control-sidebar-open
42
+ .control-sidebar-bg,
43
+ .control-sidebar
44
+ right: 0
45
+
46
+ @media(min-width: $screen-sm)
47
+ .content-wrapper,
48
+ .right-side,
49
+ .main-footer
50
+ margin-right: $control-sidebar-width
51
+
52
+
53
+
54
+ //Control sidebar tabs
55
+ .control-sidebar-tabs
56
+ > li
57
+ &:first-of-type > a
58
+ margin-left: 1px
59
+ &,
60
+ &:hover
61
+ border-left-width: 0!important
62
+
63
+
64
+ > a
65
+ @include border-radius-same(0 !important)
66
+ //Hover and active states
67
+ &,
68
+ &:hover
69
+ border-top: none
70
+ border-right: none
71
+ border-left: 1px solid transparent!important
72
+ border-bottom: 1px solid transparent!important
73
+
74
+ .icon
75
+ font-size: 16px
76
+
77
+
78
+ //Active state
79
+ &.active
80
+ > a
81
+ &,
82
+ &:hover,
83
+ &:focus,
84
+ &:active
85
+ border-top: none!important
86
+ border-right: none!important
87
+ border-bottom: none!important
88
+
89
+
90
+
91
+
92
+ //Remove responsiveness on small screens
93
+ @media(max-width: $screen-sm)
94
+ display: table
95
+ >li
96
+ display: table-cell!important
97
+
98
+
99
+
100
+ //Headings in the sidebar content
101
+ .control-sidebar-heading
102
+ font-weight: 400
103
+ font-size: 16px
104
+ padding: 10px 0
105
+ margin-bottom: 10px
106
+
107
+ //Subheadings
108
+ .control-sidebar-subheading
109
+ display: block
110
+ font-weight: 400
111
+ font-size: 14px
112
+
113
+ //Control Sidebar Menu
114
+ .control-sidebar-menu
115
+ list-style: none
116
+ padding: 0
117
+ margin: 0 -15px
118
+ > li > a
119
+ @include clearfix
120
+ display: block
121
+ padding: 10px 15px
122
+ > .control-sidebar-subheading
123
+ margin-top: 0
124
+
125
+
126
+ .menu-icon
127
+ float: left
128
+ width: 35px
129
+ height: 35px
130
+ border-radius: 50%
131
+ text-align: center
132
+ line-height: 35px
133
+
134
+ .menu-info
135
+ margin-left: 45px
136
+ margin-top: 3px
137
+ > .control-sidebar-subheading
138
+ margin: 0
139
+
140
+ > p
141
+ margin: 0
142
+ font-size: 11px
143
+
144
+
145
+ .progress
146
+ margin: 0
147
+
148
+
149
+ //Dark skin
150
+ .control-sidebar-dark
151
+ color: $sidebar-dark-color
152
+ // Background
153
+ &,
154
+ + .control-sidebar-bg
155
+ background: $sidebar-dark-bg
156
+
157
+ // Sidebar tabs
158
+ .control-sidebar-tabs
159
+ border-bottom: darken($sidebar-dark-bg, 3%)
160
+ > li
161
+ > a
162
+ background: darken($sidebar-dark-bg, 5%)
163
+ color: $sidebar-dark-color
164
+ //Hover and active states
165
+ &,
166
+ &:hover
167
+ border-left-color: darken($sidebar-dark-bg, 7%)!important
168
+ border-bottom-color: darken($sidebar-dark-bg, 7%)!important
169
+
170
+ &:hover,
171
+ &:focus,
172
+ &:active
173
+ background: darken($sidebar-dark-bg, 3%)
174
+
175
+
176
+ //Active state
177
+ &.active
178
+ > a
179
+ &,
180
+ &:hover,
181
+ &:focus,
182
+ &:active
183
+ background: $sidebar-dark-bg
184
+ color: #fff
185
+
186
+
187
+
188
+
189
+
190
+ //Heading & subheading
191
+ .control-sidebar-heading,
192
+ .control-sidebar-subheading
193
+ color: #fff
194
+
195
+ //Sidebar list
196
+ .control-sidebar-menu
197
+ > li
198
+ > a
199
+ &:hover
200
+ background: $sidebar-dark-hover-bg
201
+
202
+ .menu-info
203
+ > p
204
+ color: $sidebar-dark-color
205
+
206
+
207
+
208
+
209
+
210
+
211
+ //Light skin
212
+ .control-sidebar-light
213
+ color: lighten($sidebar-light-color, 10%)
214
+ // Background
215
+ &,
216
+ + .control-sidebar-bg
217
+ background: $sidebar-light-bg
218
+ border-left: 1px solid $gray
219
+
220
+ // Sidebar tabs
221
+ .control-sidebar-tabs
222
+ border-bottom: $gray
223
+ > li
224
+ > a
225
+ background: darken($sidebar-light-bg, 5%)
226
+ color: $sidebar-light-color
227
+ //Hover and active states
228
+ &,
229
+ &:hover
230
+ border-left-color: $gray!important
231
+ border-bottom-color: $gray!important
232
+
233
+ &:hover,
234
+ &:focus,
235
+ &:active
236
+ background: darken($sidebar-light-bg, 3%)
237
+
238
+
239
+ //Active state
240
+ &.active
241
+ > a
242
+ &,
243
+ &:hover,
244
+ &:focus,
245
+ &:active
246
+ background: $sidebar-light-bg
247
+ color: #111
248
+
249
+
250
+
251
+
252
+
253
+ //Heading & subheading
254
+ .control-sidebar-heading,
255
+ .control-sidebar-subheading
256
+ color: #111
257
+
258
+ //Sidebar list
259
+ .control-sidebar-menu
260
+ margin-left: -14px
261
+ > li
262
+ > a
263
+ &:hover
264
+ background: $sidebar-light-hover-bg
265
+
266
+ .menu-info
267
+ > p
268
+ color: lighten($sidebar-light-color, 10%)
269
+
270
+
271
+
272
+
273
+
274
+
@@ -0,0 +1,38 @@
1
+ //
2
+ // Layout
3
+ // ---------------------------------
4
+
5
+ .def-list
6
+ h3
7
+ width: 200px
8
+ text-align: right
9
+
10
+ .def-list-row
11
+ margin: 0 0 9px
12
+ +clearfix
13
+
14
+ .def
15
+ width: 200px
16
+ font-weight: bold
17
+ text-align: right
18
+ display: block
19
+ float: left
20
+
21
+ .term
22
+ padding-left: 240px
23
+ display: block
24
+
25
+ .def-list-row--price
26
+ font-size: 20px
27
+
28
+ small
29
+ display: block
30
+
31
+ .box--order-detail
32
+
33
+ .def-list-row--price
34
+ font-size: 20px
35
+
36
+ small
37
+ display: block
38
+ font-size: 14px
@@ -0,0 +1,172 @@
1
+ /*
2
+ * Component: Direct Chat
3
+ * ----------------------
4
+ */
5
+ .direct-chat
6
+ .box-body
7
+ @include border-bottom-radius(0)
8
+ position: relative
9
+ overflow-x: hidden
10
+ padding: 0
11
+
12
+ &.chat-pane-open
13
+ .direct-chat-contacts
14
+ @include translate(0, 0)
15
+
16
+
17
+
18
+ .direct-chat-messages
19
+ @include translate(0, 0)
20
+ padding: 10px
21
+ height: 250px
22
+ overflow: auto
23
+
24
+ .direct-chat-msg,
25
+ .direct-chat-text
26
+ display: block
27
+
28
+ .direct-chat-msg
29
+ @include clearfix
30
+ margin-bottom: 10px
31
+
32
+ .direct-chat-messages,
33
+ .direct-chat-contacts
34
+ @include transition-transform(.5s ease-in-out)
35
+
36
+ .direct-chat-text
37
+ @include border-radius-same(5px)
38
+ position: relative
39
+ padding: 5px 10px
40
+ background: $direct-chat-default-msg-bg
41
+ border: 1px solid $direct-chat-default-msg-border-color
42
+ margin: 5px 0 0 50px
43
+ color: $direct-chat-default-font-color
44
+
45
+ //Create the arrow
46
+ &:after,
47
+ &:before
48
+ position: absolute
49
+ right: 100%
50
+ top: 15px
51
+ border: solid transparent
52
+ border-right-color: $direct-chat-default-msg-border-color
53
+ content: ' '
54
+ height: 0
55
+ width: 0
56
+ pointer-events: none
57
+
58
+
59
+ &:after
60
+ border-width: 5px
61
+ margin-top: -5px
62
+
63
+ &:before
64
+ border-width: 6px
65
+ margin-top: -6px
66
+
67
+ .right &
68
+ margin-right: 50px
69
+ margin-left: 0
70
+ &:after,
71
+ &:before
72
+ right: auto
73
+ left: 100%
74
+ border-right-color: transparent
75
+ border-left-color: $direct-chat-default-msg-border-color
76
+
77
+
78
+
79
+ .direct-chat-img
80
+ @include border-radius-same(50%)
81
+ float: left
82
+ width: 40px
83
+ height: 40px
84
+ .right &
85
+ float: right
86
+
87
+
88
+ .direct-chat-info
89
+ display: block
90
+ margin-bottom: 2px
91
+ font-size: 12px
92
+
93
+ .direct-chat-name
94
+ font-weight: 600
95
+
96
+ .direct-chat-timestamp
97
+ color: #999
98
+
99
+ //Direct chat contacts pane
100
+ .direct-chat-contacts-open
101
+ .direct-chat-contacts
102
+ @include translate(0, 0)
103
+
104
+
105
+ .direct-chat-contacts
106
+ @include translate(101%, 0)
107
+ position: absolute
108
+ top: 0
109
+ bottom: 0
110
+ height: 250px
111
+ width: 100%
112
+ background: #222d32
113
+ color: #fff
114
+ overflow: auto
115
+
116
+
117
+ //Contacts list -- for displaying contacts in direct chat contacts pane
118
+ .contacts-list
119
+ @extend .list-unstyled
120
+ > li
121
+ @include clearfix
122
+ border-bottom: 1px solid rgba(0,0,0,0.2)
123
+ padding: 10px
124
+ margin: 0
125
+ &:last-of-type
126
+ border-bottom: none
127
+
128
+
129
+
130
+ .contacts-list-img
131
+ @include border-radius-same(50%)
132
+ width: 40px
133
+ float: left
134
+
135
+ .contacts-list-info
136
+ margin-left: 45px
137
+ color: #fff
138
+
139
+ .contacts-list-name,
140
+ .contacts-list-status
141
+ display: block
142
+
143
+ .contacts-list-name
144
+ font-weight: 600
145
+
146
+ .contacts-list-status
147
+ font-size: 12px
148
+
149
+ .contacts-list-date
150
+ color: #aaa
151
+ font-weight: normal
152
+
153
+ .contacts-list-msg
154
+ color: #999
155
+
156
+
157
+ //Direct Chat Variants
158
+ .direct-chat-danger
159
+ @include direct-chat-variant($red)
160
+
161
+ .direct-chat-primary
162
+ @include direct-chat-variant($light-blue)
163
+
164
+ .direct-chat-warning
165
+ @include direct-chat-variant($yellow)
166
+
167
+ .direct-chat-info
168
+ @include direct-chat-variant($aqua)
169
+
170
+ .direct-chat-success
171
+ @include direct-chat-variant($green)
172
+