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
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c46eb70394639bd1bde63dad89b69feb2dfb75cb
4
+ data.tar.gz: b904b8ec73b34eac22e33978b6a6e2c17f0ab9b9
5
+ SHA512:
6
+ metadata.gz: c4afd21d1f5e22ff770f0d901891d1830b58b86b4f7df1b35560e06f37aac542ba8c39439e249a7948fb502176598b485f254800fb97a95dd93b6f6d908389a4
7
+ data.tar.gz: a394b840a1ee541db77ae6055b461c89727250a35be1fde6c00180e36e84037178e035b0ce92482e2e2ba2062299b590e45e61fd33a6aa23c9cea121f4f4eb4f
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2017 Tonda Pleskac
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # BlueberryAdmin
2
+ Short description and motivation.
3
+
4
+ ## Usage
5
+ How to use my plugin.
6
+
7
+ ## Installation
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'blueberry_admin'
12
+ ```
13
+
14
+ ```sass
15
+ @import blueberry_admin
16
+ ```
17
+
18
+ And then execute:
19
+ ```bash
20
+ $ bundle
21
+ ```
22
+
23
+ Or install it yourself as:
24
+ ```bash
25
+ $ gem install blueberry_admin
26
+ ```
27
+
28
+ ## Contributing
29
+ Contribution directions go here.
30
+
31
+ ## License
32
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,34 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'BlueberryAdmin'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.md')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+
18
+
19
+
20
+
21
+
22
+ require 'bundler/gem_tasks'
23
+
24
+ require 'rake/testtask'
25
+
26
+ Rake::TestTask.new(:test) do |t|
27
+ t.libs << 'lib'
28
+ t.libs << 'test'
29
+ t.pattern = 'test/**/*_test.rb'
30
+ t.verbose = false
31
+ end
32
+
33
+
34
+ task default: :test
@@ -0,0 +1,11 @@
1
+ $icon-font-path: 'bootstrap-sass/assets/fonts/bootstrap/'
2
+
3
+ @import blueberry_admin/common/bootstrap-override
4
+
5
+ @import blueberry_admin/utils/**/*
6
+
7
+ @import blueberry_admin/base/**/*
8
+ @import blueberry_admin/layout/**/*
9
+ @import blueberry_admin/components/**/*
10
+ @import blueberry_admin/pages/**/*
11
+ @import blueberry_admin/skins/**/*
@@ -0,0 +1,130 @@
1
+ //
2
+ // Forms
3
+ // ---------------------------------
4
+
5
+ .form-control
6
+ width: 100%
7
+ height: 38px
8
+ display: block
9
+ border: 1px solid darken($gray-lighter, 5%)
10
+ border-radius: 1px
11
+ color: inherit
12
+ background: white
13
+ transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s
14
+
15
+ textarea.form-control
16
+ min-height: 280px
17
+
18
+ select.form-control
19
+ appearance: none
20
+
21
+ .form-control:focus, .single-line:focus
22
+ border-color: $navy !important
23
+
24
+ .has-success .form-control
25
+ border-color: $navy
26
+
27
+ .has-warning .form-control
28
+ border-color: $yellow
29
+
30
+ .has-error .form-control
31
+ border-color: $red
32
+
33
+ .has-success .control-label
34
+ color: $navy
35
+
36
+ .has-warning .control-label
37
+ color: $yellow
38
+
39
+ .has-error .control-label
40
+ color: $red
41
+
42
+ .input-group-addon
43
+ background-color: white
44
+ border: 1px solid darken($gray-lighter, 5%)
45
+ border-radius: 1px
46
+ color: inherit
47
+ font-size: 14px
48
+ font-weight: 400
49
+ line-height: 1
50
+ padding: 6px 12px
51
+ text-align: center
52
+
53
+ // variants
54
+ .form-horizontal
55
+ +render-to(sm, md, lg)
56
+ legend
57
+ padding: 0 30px 0 0
58
+ width: 200px
59
+ font-size: 16px
60
+ font-weight: bold
61
+ text-align: right
62
+ display: inline-block
63
+ border: none
64
+ color: $brand-primary
65
+
66
+ .form-group
67
+ margin-left: 0
68
+ margin-right: 0
69
+ clear: both
70
+
71
+ .control-label
72
+ margin: 0
73
+ padding-right: 30px
74
+ float: left
75
+ width: 200px
76
+
77
+ .form-control-wrapper
78
+ margin-left: 200px
79
+ width: calc(100% - 190px)
80
+ max-width: 350px
81
+ display: block
82
+ position: relative
83
+
84
+ .text .form-control-wrapper
85
+ max-width: 600px
86
+
87
+ .form-control-holder
88
+ margin-left: 200px
89
+
90
+ .form-control
91
+ margin-left: 0
92
+
93
+ .control-label
94
+ width: auto
95
+ float: none
96
+
97
+ .checkbox
98
+ margin-left: 200px
99
+
100
+ .help-block
101
+ margin-left: 200px
102
+
103
+ .gallery
104
+ margin-bottom: 20px
105
+
106
+ .form-inline
107
+ +render-to(sm, md, lg)
108
+ .form-group
109
+ margin-right: 1em
110
+
111
+ .control-label
112
+ margin-right: 0.5em
113
+
114
+ .form-control-wrapper
115
+ display: inline-block
116
+
117
+ .inliners
118
+ width: 100%
119
+ height: 55px
120
+ position: relative
121
+ clear: both
122
+ & > .form-group
123
+ float: left
124
+ clear: none
125
+ &:first-child
126
+ margin-right: 30px
127
+ .form-inline
128
+ float: left
129
+ .checkbox
130
+ margin-left: 30px
@@ -0,0 +1,356 @@
1
+ /*
2
+ * General: Miscellaneous
3
+ * ----------------------
4
+ */
5
+ // 10px padding and margins
6
+ .pad
7
+ padding: 10px
8
+
9
+ .margin
10
+ margin: 10px
11
+
12
+ .margin-bottom
13
+ margin-bottom: 20px
14
+
15
+ // Display inline
16
+ .inline
17
+ display: inline
18
+ width: auto
19
+
20
+
21
+ // Description Blocks
22
+ .description-block
23
+ display: block
24
+ margin: 10px 0
25
+ text-align: center
26
+ &.margin-bottom
27
+ margin-bottom: 25px
28
+
29
+ > .description-header
30
+ margin: 0
31
+ padding: 0
32
+ font-weight: 600
33
+ font-size: 16px
34
+
35
+ > .description-text
36
+ text-transform: uppercase
37
+
38
+
39
+
40
+ // Background colors
41
+ .bg-red,
42
+ .bg-yellow,
43
+ .bg-aqua,
44
+ .bg-blue,
45
+ .bg-light-blue,
46
+ .bg-green,
47
+ .bg-navy,
48
+ .bg-teal,
49
+ .bg-olive,
50
+ .bg-lime,
51
+ .bg-orange ,
52
+ .bg-fuchsia,
53
+ .bg-purple,
54
+ .bg-maroon,
55
+ .bg-black,
56
+ .bg-red-active,
57
+ .bg-yellow-active,
58
+ .bg-aqua-active,
59
+ .bg-blue-active,
60
+ .bg-light-blue-active,
61
+ .bg-green-active,
62
+ .bg-navy-active,
63
+ .bg-teal-active,
64
+ .bg-olive-active,
65
+ .bg-lime-active,
66
+ .bg-orange-active,
67
+ .bg-fuchsia-active,
68
+ .bg-purple-active,
69
+ .bg-maroon-active,
70
+ .bg-black-active
71
+ color: #fff !important
72
+
73
+ .bg-gray
74
+ color: #000
75
+ background-color: $gray !important
76
+
77
+ .bg-black
78
+ background-color: $black !important
79
+
80
+ .bg-red
81
+ background-color: $red !important
82
+
83
+ .bg-yellow
84
+ background-color: $yellow !important
85
+
86
+ .bg-aqua
87
+ background-color: $aqua !important
88
+
89
+ .bg-blue
90
+ background-color: $blue !important
91
+
92
+ .bg-light-blue
93
+ background-color: $light-blue !important
94
+
95
+ .bg-green
96
+ background-color: $green !important
97
+
98
+ .bg-navy
99
+ background-color: $navy !important
100
+
101
+ .bg-teal
102
+ background-color: $teal !important
103
+
104
+ .bg-olive
105
+ background-color: $olive !important
106
+
107
+ .bg-lime
108
+ background-color: $lime !important
109
+
110
+ .bg-orange
111
+ background-color: $orange !important
112
+
113
+ .bg-fuchsia
114
+ background-color: $fuchsia !important
115
+
116
+ .bg-purple
117
+ background-color: $purple !important
118
+
119
+ .bg-maroon
120
+ background-color: $maroon !important
121
+
122
+
123
+ //Set of Active Background Colors
124
+ .bg-gray-active
125
+ color: #000
126
+ background-color: darken($gray,10%)!important
127
+
128
+ .bg-black-active
129
+ background-color: darken($black, 10%)!important
130
+
131
+ .bg-red-active
132
+ background-color: darken($red , 6%)!important
133
+
134
+ .bg-yellow-active
135
+ background-color: darken($yellow , 6%)!important
136
+
137
+ .bg-aqua-active
138
+ background-color: darken($aqua , 6%)!important
139
+
140
+ .bg-blue-active
141
+ background-color: darken($blue , 10%)!important
142
+
143
+ .bg-light-blue-active
144
+ background-color: darken($light-blue , 6%)!important
145
+
146
+ .bg-green-active
147
+ background-color: darken($green , 5%)!important
148
+
149
+ .bg-navy-active
150
+ background-color: darken($navy , 2%)!important
151
+
152
+ .bg-teal-active
153
+ background-color: darken($teal , 5%)!important
154
+
155
+ .bg-olive-active
156
+ background-color: darken($olive , 5%)!important
157
+
158
+ .bg-lime-active
159
+ background-color: darken($lime , 5%)!important
160
+
161
+ .bg-orange-active
162
+ background-color: darken($orange , 5%)!important
163
+
164
+ .bg-fuchsia-active
165
+ background-color: darken($fuchsia , 5%)!important
166
+
167
+ .bg-purple-active
168
+ background-color: darken($purple , 5%)!important
169
+
170
+ .bg-maroon-active
171
+ background-color: darken($maroon , 3%)!important
172
+
173
+
174
+ //Disabled!
175
+ [class^="bg-"].disabled
176
+ @include opacity(.65)
177
+
178
+
179
+ // Text colors
180
+ .text-red
181
+ color: $red !important
182
+
183
+ .text-yellow
184
+ color: $yellow !important
185
+
186
+ .text-aqua
187
+ color: $aqua !important
188
+
189
+ .text-blue
190
+ color: $blue !important
191
+
192
+ .text-black
193
+ color: $black!important
194
+
195
+ .text-light-blue
196
+ color: $light-blue !important
197
+
198
+ .text-green
199
+ color: $green !important
200
+
201
+ .text-gray
202
+ color: $gray !important
203
+
204
+ .text-navy
205
+ color: $navy !important
206
+
207
+ .text-teal
208
+ color: $teal !important
209
+
210
+ .text-olive
211
+ color: $olive !important
212
+
213
+ .text-lime
214
+ color: $lime !important
215
+
216
+ .text-orange
217
+ color: $orange !important
218
+
219
+ .text-fuchsia
220
+ color: $fuchsia !important
221
+
222
+ .text-purple
223
+ color: $purple !important
224
+
225
+ .text-maroon
226
+ color: $maroon !important
227
+
228
+
229
+ // Hide elements by display none only
230
+ .hide
231
+ display: none !important
232
+
233
+
234
+ // Remove borders
235
+ .no-border
236
+ border: 0px !important
237
+
238
+ // Remove padding
239
+ .no-padding
240
+ padding: 0px !important
241
+
242
+ // Remove margins
243
+ .no-margin
244
+ margin: 0px !important
245
+
246
+
247
+ // Remove box shadow
248
+ .no-shadow
249
+ box-shadow: none!important
250
+
251
+
252
+ // Unstyled List
253
+ .list-unstyled
254
+ list-style: none
255
+ margin: 0
256
+ padding: 0
257
+
258
+
259
+ // Remove border radius
260
+ .flat
261
+ @include border-radius-same(0 !important)
262
+
263
+
264
+ .text-bold
265
+ &, &.table td, &.table th
266
+ font-weight: 700
267
+
268
+
269
+
270
+
271
+
272
+ // _fix for sparkline tooltip
273
+ .jqstooltip
274
+ padding: 5px!important
275
+ width:auto!important
276
+ height:auto!important
277
+
278
+
279
+
280
+ // Gradient Background colors
281
+ .bg-teal-gradient
282
+ @include gradient($teal, $teal, lighten($teal, 16%))
283
+ color: #fff
284
+
285
+
286
+ .bg-light-blue-gradient
287
+ @include gradient($light-blue, $light-blue, lighten($light-blue, 12%))
288
+ color: #fff
289
+
290
+
291
+ .bg-blue-gradient
292
+ @include gradient($blue, $blue, lighten($blue, 7%))
293
+ color: #fff
294
+
295
+ .bg-aqua-gradient
296
+ @include gradient($aqua, $aqua, lighten($aqua, 7%))
297
+ color: #fff
298
+
299
+ .bg-yellow-gradient
300
+ @include gradient($yellow, $yellow, lighten($yellow, 16%))
301
+ color: #fff
302
+
303
+ .bg-purple-gradient
304
+ @include gradient($purple, $purple, lighten($purple, 16%))
305
+ color: #fff
306
+
307
+ .bg-green-gradient
308
+ @include gradient($green, $green, lighten($green, 7%))
309
+ color: #fff
310
+
311
+ .bg-red-gradient
312
+ @include gradient($red, $red, lighten($red, 10%))
313
+ color: #fff
314
+
315
+ .bg-black-gradient
316
+ @include gradient($black, $black, lighten($black, 10%))
317
+ color: #fff
318
+
319
+ .bg-maroon-gradient
320
+ @include gradient($maroon, $maroon, lighten($maroon, 10%))
321
+ color: #fff
322
+
323
+ .connectedSortable
324
+ min-height: 100px
325
+
326
+ .ui-helper-hidden-accessible
327
+ border: 0
328
+ clip: rect(0 0 0 0)
329
+ height: 1px
330
+ margin: -1px
331
+ overflow: hidden
332
+ padding: 0
333
+ position: absolute
334
+ width: 1px
335
+
336
+ .sort-highlight
337
+ background: #f4f4f4
338
+ border: 1px dashed #ddd
339
+ margin-bottom: 10px
340
+
341
+ .full-opacity-hover
342
+ @include opacity(.65)
343
+ &:hover
344
+ @include opacity(1)
345
+
346
+
347
+ // Charts
348
+ .chart
349
+ position: relative
350
+ overflow: hidden
351
+ width: 100%
352
+ svg,
353
+ canvas
354
+ width: 100%!important
355
+
356
+