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,4 @@
1
+ @import variables-origin
2
+ @import variables
3
+ @import bootstrap-sass
4
+ @import bootstrap-ms
@@ -0,0 +1,47 @@
1
+ /*
2
+ * Component: alert
3
+ * ----------------
4
+ */
5
+
6
+ .alert
7
+ margin: 20px
8
+ +border-radius-same(3px)
9
+ color: white
10
+
11
+ h4
12
+ font-weight: 600
13
+
14
+ .icon
15
+ margin-right: 10px
16
+
17
+ .close
18
+ color: #000
19
+ @include opacity(.2)
20
+ &:hover
21
+ @include opacity(.5)
22
+
23
+
24
+ a
25
+ color: #fff
26
+ text-decoration: underline
27
+
28
+ //Alert Variants
29
+ .alert-success,
30
+ .alert-notice
31
+ background: $green
32
+ border-color: darken($green, 5%)
33
+
34
+ .alert-danger,
35
+ .alert-error,
36
+ .alert-alert
37
+ background: $red
38
+ border-color: darken($red, 5%)
39
+
40
+ .alert-warning
41
+ background: $yellow
42
+ border-color: darken($yellow, 5%)
43
+
44
+ .alert-info
45
+ background: $aqua
46
+ border-color: darken($aqua, 5%)
47
+
@@ -0,0 +1,132 @@
1
+ //
2
+ // Layout boxes
3
+ // ---------------------------------
4
+
5
+ .box
6
+ margin: 0 0 30px
7
+ padding: 0
8
+ clear: both
9
+
10
+ &.collapsed
11
+ &:after,
12
+ &:before
13
+ display: table
14
+
15
+ .box-content
16
+ display: none
17
+
18
+ .fa.fa-chevron-up:before
19
+ content: "\f078"
20
+
21
+ .fa.fa-chevron-down:before
22
+ content: "\f077"
23
+
24
+ .box-header
25
+ margin-bottom: 0
26
+ padding: 14px 0 7px
27
+ min-height: 48px
28
+ border-color: $border-color
29
+ border-style: solid solid none
30
+ border-width: 1px
31
+ background-color: $ibox-title-bg
32
+ color: inherit
33
+ +clearfix
34
+
35
+ h3
36
+ margin-top: 5px
37
+
38
+ .heading,
39
+ .actions
40
+ +make-columns(sm6)
41
+ padding: 0 20px
42
+
43
+ .actions
44
+ text-align: right
45
+
46
+ .btn + .btn
47
+ margin-left: 0.5em
48
+
49
+ .box-content
50
+ background-color: $ibox-content-bg
51
+ color: inherit
52
+ padding: 0 20px
53
+ border-color: $border-color
54
+ border-image: none
55
+ border-style: solid
56
+ border-width: 1px
57
+ clear: both
58
+ &:before
59
+ content: ""
60
+ margin-bottom: 35px
61
+ display: block
62
+ &:after
63
+ content: ""
64
+ margin-top: 35px
65
+ display: block
66
+
67
+ hr
68
+ border-top: 1px dashed $border-color
69
+
70
+ .box-footer,
71
+ padding: 20px 20px
72
+ font-size: 90%
73
+ border: 1px solid $border-color
74
+ border-top: none
75
+ background: #ffffff
76
+ color: inherit
77
+ background: white
78
+
79
+ .for-horizontal-form
80
+ padding-left: 200px
81
+
82
+ .btn + .btn
83
+ margin-left: 1em
84
+
85
+ form
86
+ display: inline-block
87
+ & + form
88
+ margin-left: 1em
89
+
90
+ .box-heading
91
+ background-color: #f3f6fb
92
+ border-bottom: none
93
+
94
+ .box-heading h3
95
+ font-weight: 200
96
+ font-size: 24px
97
+
98
+ .box-title h5
99
+ display: inline-block
100
+ font-size: 14px
101
+ margin: 0 0 7px
102
+ padding: 0
103
+ text-overflow: ellipsis
104
+ float: left
105
+
106
+ .box-title .label
107
+ float: left
108
+ margin-left: 4px
109
+
110
+ .box-tools
111
+ display: block
112
+ float: none
113
+ margin-top: 0
114
+ position: relative
115
+ padding: 0
116
+ text-align: right
117
+
118
+ a
119
+ cursor: pointer
120
+ margin-left: 5px
121
+ color: #c4c4c4
122
+
123
+ .btn-primary
124
+ color: #fff
125
+
126
+ .dropdown-menu > li > a
127
+ padding: 4px 10px
128
+ font-size: 12px
129
+
130
+ &.open > .dropdown-menu
131
+ left: auto
132
+ right: 0
@@ -0,0 +1,310 @@
1
+ .btn
2
+ border-radius: $btn-border-radius
3
+
4
+ .glyphicon
5
+ margin-right: 0.4em
6
+
7
+ .float-e-margins .btn
8
+ margin-bottom: 5px
9
+
10
+ .btn-w-m
11
+ min-width: 120px
12
+
13
+ .btn-primary.btn-outline
14
+ color: $navy
15
+
16
+ .btn-success.btn-outline
17
+ color: $blue
18
+
19
+ .btn-info.btn-outline
20
+ color: $lazur
21
+
22
+ .btn-warning.btn-outline
23
+ color: $yellow
24
+
25
+ .btn-danger.btn-outline
26
+ color: $red
27
+
28
+ .btn-primary.btn-outline:hover,
29
+ .btn-success.btn-outline:hover,
30
+ .btn-info.btn-outline:hover,
31
+ .btn-warning.btn-outline:hover,
32
+ .btn-danger.btn-outline:hover
33
+ color: white
34
+
35
+ .btn-default
36
+ background-color: $dark-gray
37
+ border-color: $dark-gray
38
+ color: white
39
+
40
+ &:hover,
41
+ &:focus,
42
+ &:active,
43
+ &.active,
44
+ &:active:focus,
45
+ &:active:hover,
46
+ &.active:hover,
47
+ &.active:focus,
48
+ background-image: none
49
+ background-color: darken($dark-gray, 3%)
50
+ border-color: darken($dark-gray, 3%)
51
+ color: white
52
+
53
+ .glyphicon
54
+ opacity: 0.6
55
+
56
+ .glyphicon-eye-open
57
+ color: $brand-success
58
+
59
+ .glyphicon-pencil
60
+ opacity: 1
61
+ color: $brand-edit
62
+
63
+ .glyphicon-remove
64
+ color: $brand-danger
65
+
66
+ .btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled:active, .btn-default.disabled.active, .btn-default[disabled], .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled]:active, .btn-default.active[disabled], fieldset[disabled] .btn-default, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default.active
67
+ background-color: lighten($dark-gray, 4%)
68
+ border-color: lighten($dark-gray, 4%)
69
+
70
+
71
+ .btn-primary
72
+ background-color: $brand-primary
73
+ border-color: $brand-primary
74
+ color: white
75
+
76
+
77
+ .btn-primary
78
+ &:hover,
79
+ &:focus,
80
+ &:active,
81
+ &.active,
82
+ &:active:focus,
83
+ &:active:hover,
84
+ &.active:hover,
85
+ &.active:focus
86
+ background-color: darken($brand-primary, 3%)
87
+ border-color: darken($brand-primary, 3%)
88
+ color: white
89
+
90
+
91
+ .btn-primary
92
+ &:active,
93
+ &.active,
94
+ background-image: none
95
+
96
+
97
+ .btn-primary
98
+ &.disabled,
99
+ &.disabled:hover,
100
+ &.disabled:focus,
101
+ &.disabled:active,
102
+ &.disabled.active,
103
+ &[disabled],
104
+ &[disabled]:hover,
105
+ &[disabled]:focus,
106
+ &[disabled]:active
107
+ &.active[disabled],
108
+ background-color: lighten($brand-primary,4%)
109
+ border-color: lighten($brand-primary, 4%)
110
+
111
+ .btn-success
112
+ background-color: $brand-success
113
+ border-color: $brand-success
114
+ color: white
115
+
116
+ .btn-success
117
+ &:hover,
118
+ &:focus,
119
+ &:active,
120
+ &.active,
121
+ &:active:focus,
122
+ &:active:hover,
123
+ &.active:hover,
124
+ &.active:focus
125
+ background-color: darken($brand-success, 3%)
126
+ border-color: darken($brand-success, 3%)
127
+ color: white
128
+
129
+ .btn-success
130
+ &:active,
131
+ &.active
132
+ background-image: none
133
+
134
+ .btn-success
135
+ &.disabled,
136
+ &.disabled:hover,
137
+ &.disabled:focus,
138
+ &.disabled:active,
139
+ &.disabled.active,
140
+ &[disabled],
141
+ &[disabled]:hover,
142
+ &[disabled]:focus,
143
+ &[disabled]:active,
144
+ &.active[disabled],
145
+ background-color: lighten($brand-success, 4%)
146
+ border-color: lighten($brand-success, 4%)
147
+
148
+ .btn-info
149
+ background-color: $lazur
150
+ border-color: $lazur
151
+ color: white
152
+
153
+
154
+ .btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info, .btn-info:active:focus, .btn-info:active:hover, .btn-info.active:hover, .btn-info.active:focus
155
+ background-color: darken($lazur, 3%)
156
+ border-color: darken($lazur, 3%)
157
+ color: white
158
+
159
+ .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info
160
+ background-image: none
161
+
162
+ .btn-info.disabled, .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled:active, .btn-info.disabled.active, .btn-info[disabled], .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled]:active, .btn-info.active[disabled], fieldset[disabled] .btn-info, fieldset[disabled] .btn-info:hover, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info.active
163
+ background-color: lighten($lazur, 4%)
164
+ border-color: lighten($lazur, 4%)
165
+
166
+ .btn-warning
167
+ background-color: $yellow
168
+ border-color: $yellow
169
+ color: white
170
+
171
+ .btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning, .btn-warning:active:focus, .btn-warning:active:hover, .btn-warning.active:hover, .btn-warning.active:focus
172
+ background-color: darken($yellow, 3%)
173
+ border-color: darken($yellow, 3%)
174
+ color: white
175
+
176
+ .btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning
177
+ background-image: none
178
+
179
+ .btn-warning.disabled, .btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled:active, .btn-warning.disabled.active, .btn-warning[disabled], .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled]:active, .btn-warning.active[disabled], fieldset[disabled] .btn-warning, fieldset[disabled] .btn-warning:hover, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning.active
180
+ background-color: lighten($yellow, 4%)
181
+ border-color: lighten($yellow, 4%)
182
+
183
+ .btn-danger
184
+ background-color: $red
185
+ border-color: $red
186
+ color: white
187
+
188
+ .btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger, .btn-danger:active:focus, .btn-danger:active:hover, .btn-danger.active:hover, .btn-danger.active:focus
189
+ background-color: darken($red, 3%)
190
+ border-color: darken($red, 3%)
191
+ color: white
192
+
193
+ .btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger
194
+ background-image: none
195
+
196
+ .btn-danger.disabled, .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled:active, .btn-danger.disabled.active, .btn-danger[disabled], .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled]:active, .btn-danger.active[disabled], fieldset[disabled] .btn-danger, fieldset[disabled] .btn-danger:hover, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger:active, fieldset[disabled] .btn-danger.active
197
+ background-color: lighten($red, 4%)
198
+ border-color: lighten($red, 4%)
199
+
200
+ .btn-link
201
+ color: inherit
202
+
203
+ .btn-link:hover, .btn-link:focus, .btn-link:active, .btn-link.active, .open .dropdown-toggle.btn-link
204
+ color: $navy
205
+ text-decoration: none
206
+
207
+ .btn-link:active, .btn-link.active, .open .dropdown-toggle.btn-link
208
+ background-image: none
209
+
210
+ .btn-link.disabled, .btn-link.disabled:hover, .btn-link.disabled:focus, .btn-link.disabled:active, .btn-link.disabled.active, .btn-link[disabled], .btn-link[disabled]:hover, .btn-link[disabled]:focus, .btn-link[disabled]:active, .btn-link.active[disabled], fieldset[disabled] .btn-link, fieldset[disabled] .btn-link:hover, fieldset[disabled] .btn-link:focus, fieldset[disabled] .btn-link:active, fieldset[disabled] .btn-link.active
211
+ color: #cacaca
212
+
213
+ .btn-white
214
+ color: inherit
215
+ background: white
216
+ border: 1px solid $border-color
217
+
218
+ .btn-white:hover, .btn-white:focus, .btn-white:active, .btn-white.active, .open .dropdown-toggle.btn-white, .btn-white:active:focus, .btn-white:active:hover, .btn-white.active:hover, .btn-white.active:focus
219
+ color: inherit
220
+ border: 1px solid #d2d2d2
221
+
222
+ .btn-white:active, .btn-white.active
223
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) inset
224
+
225
+ .btn-white:active, .btn-white.active, .open .dropdown-toggle.btn-white
226
+ background-image: none
227
+
228
+ .btn-white.disabled, .btn-white.disabled:hover, .btn-white.disabled:focus, .btn-white.disabled:active, .btn-white.disabled.active, .btn-white[disabled], .btn-white[disabled]:hover, .btn-white[disabled]:focus, .btn-white[disabled]:active, .btn-white.active[disabled], fieldset[disabled] .btn-white, fieldset[disabled] .btn-white:hover, fieldset[disabled] .btn-white:focus, fieldset[disabled] .btn-white:active, fieldset[disabled] .btn-white.active
229
+ color: #cacaca
230
+
231
+ .form-control, .form-control:focus, .has-error .form-control:focus, .has-success .form-control:focus, .has-warning .form-control:focus, .navbar-collapse, .navbar-form, .navbar-form-custom .form-control:focus, .navbar-form-custom .form-control:hover, .open .btn.dropdown-toggle, .panel, .popover, .progress, .progress-bar
232
+ box-shadow: none
233
+
234
+ .btn-outline
235
+ color: inherit
236
+ background-color: transparent
237
+ transition: all 0.5s
238
+
239
+ .btn-rounded
240
+ border-radius: 50px
241
+
242
+ .btn-large-dim
243
+ width: 90px
244
+ height: 90px
245
+ font-size: 42px
246
+
247
+ button.dim
248
+ display: inline-block
249
+ color: white
250
+ text-decoration: none
251
+ text-transform: uppercase
252
+ text-align: center
253
+ padding-top: 6px
254
+ margin-right: 10px
255
+ position: relative
256
+ cursor: pointer
257
+ border-radius: 5px
258
+ font-weight: 600
259
+ margin-bottom: 20px !important
260
+
261
+ button.dim:active
262
+ top: 3px
263
+
264
+ button.btn-primary.dim
265
+ box-shadow: inset 0px 0px 0px darken($navy, 6%), 0px 5px 0px 0px darken($navy, 6%), 0px 10px 5px #999999
266
+
267
+ button.btn-primary.dim:active
268
+ box-shadow: inset 0px 0px 0px darken($navy, 6%), 0px 2px 0px 0px darken($navy, 6%), 0px 5px 3px #999999
269
+
270
+ button.btn-default.dim
271
+ box-shadow: inset 0px 0px 0px darken($dark-gray, 6%), 0px 5px 0px 0px darken($dark-gray, 6%), 0px 10px 5px #999999
272
+
273
+ button.btn-default.dim:active
274
+ box-shadow: inset 0px 0px 0px darken($dark-gray, 6%), 0px 2px 0px 0px darken($dark-gray, 6%), 0px 5px 3px #999999
275
+
276
+ button.btn-warning.dim
277
+ box-shadow: inset 0px 0px 0px darken($yellow, 6%), 0px 5px 0px 0px darken($yellow, 6%), 0px 10px 5px #999999
278
+
279
+ button.btn-warning.dim:active
280
+ box-shadow: inset 0px 0px 0px darken($yellow, 6%), 0px 2px 0px 0px darken($yellow, 6%), 0px 5px 3px #999999
281
+
282
+ button.btn-info.dim
283
+ box-shadow: inset 0px 0px 0px darken($lazur, 6%), 0px 5px 0px 0px darken($lazur, 6%), 0px 10px 5px #999999
284
+
285
+ button.btn-info.dim:active
286
+ box-shadow: inset 0px 0px 0px darken($lazur, 6%), 0px 2px 0px 0px darken($lazur, 6%), 0px 5px 3px #999999
287
+
288
+ button.btn-success.dim
289
+ box-shadow: inset 0px 0px 0px darken($blue, 6%), 0px 5px 0px 0px darken($blue, 6%), 0px 10px 5px #999999
290
+
291
+ button.btn-success.dim:active
292
+ box-shadow: inset 0px 0px 0px darken($blue, 6%), 0px 2px 0px 0px darken($blue, 6%), 0px 5px 3px #999999
293
+
294
+ button.btn-danger.dim
295
+ box-shadow: inset 0px 0px 0px darken($red, 6%), 0px 5px 0px 0px darken($red, 6%), 0px 10px 5px #999999
296
+
297
+ button.btn-danger.dim:active
298
+ box-shadow: inset 0px 0px 0px darken($red, 6%), 0px 2px 0px 0px darken($red, 6%), 0px 5px 3px #999999
299
+
300
+ button.dim:before
301
+ font-size: 50px
302
+ line-height: 1em
303
+ font-weight: normal
304
+ color: white
305
+ display: block
306
+ padding-top: 10px
307
+
308
+ button.dim:active:before
309
+ top: 7px
310
+ font-size: 50px