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,296 @@
1
+ /*
2
+ * Component: Dropdown menus
3
+ * -------------------------
4
+ */
5
+
6
+ /*Dropdowns in general*/
7
+ .dropdown-menu
8
+ box-shadow: none
9
+ border-color: #eee
10
+ > li > a
11
+ color: #777
12
+
13
+ > li > a > .glyphicon,
14
+ > li > a > .fa,
15
+ > li > a > .ion
16
+ margin-right: 10px
17
+
18
+ > li > a:hover
19
+ background-color: lighten($gray, 5%)
20
+ color: #333
21
+
22
+ > .divider
23
+ background-color: #eee
24
+
25
+
26
+
27
+ //Navbar custom dropdown menu
28
+ .navbar-nav .dropdown-menu
29
+ @include box-shadow(none !important)
30
+
31
+
32
+ .navbar-nav > .notifications-menu,
33
+ .navbar-nav > .messages-menu,
34
+ .navbar-nav > .tasks-menu
35
+ position: relative
36
+ //fix width and padding
37
+ > .dropdown-menu
38
+ > li
39
+ position: relative
40
+
41
+ width: 280px
42
+ //Remove padding and margins
43
+ padding: 0 0 0 0!important
44
+ margin: 0!important
45
+ top: 100%
46
+
47
+ //Define header class
48
+ > .dropdown-menu > li.header
49
+ @include border-radius(4px, 4px, 0, 0)
50
+ background-color: #ffffff
51
+ padding: 7px 10px
52
+ border-bottom: 1px solid #f4f4f4
53
+ color: #444444
54
+ font-size: 14px
55
+
56
+
57
+
58
+ //Define footer class
59
+ > .dropdown-menu > li.footer > a
60
+ @include border-radius(0px, 0px, 4px, 4px)
61
+ font-size: 12px
62
+ background-color: #fff
63
+ padding: 7px 10px
64
+ border-bottom: 1px solid #eeeeee
65
+ color: #444!important
66
+ @media (max-width: $screen-sm-max)
67
+ background: #fff!important
68
+ color: #444!important
69
+
70
+ text-align: center
71
+ //Hover state
72
+ &:hover
73
+ text-decoration: none
74
+ font-weight: normal
75
+
76
+
77
+
78
+ //Clear inner menu padding and margins
79
+ > .dropdown-menu > li .menu
80
+ max-height: 200px
81
+ margin: 0
82
+ padding: 0
83
+ list-style: none
84
+ overflow-x: hidden
85
+ > li > a
86
+ display: block
87
+ white-space: nowrap /* Prevent text from breaking */
88
+ border-bottom: 1px solid #f4f4f4
89
+ // Hove state
90
+ &:hover
91
+ background: #f4f4f4
92
+ text-decoration: none
93
+
94
+
95
+
96
+
97
+
98
+ //Notifications menu
99
+ .navbar-nav > .notifications-menu
100
+ > .dropdown-menu > li .menu
101
+ // Links inside the menu
102
+ > li > a
103
+ color: #444444
104
+ overflow: hidden
105
+ text-overflow: ellipsis
106
+ white-space: nowrap
107
+ padding: 10px
108
+ // Icons inside the menu
109
+ > .glyphicon,
110
+ > .fa,
111
+ > .ion
112
+ width: 20px
113
+
114
+
115
+
116
+
117
+
118
+
119
+ //Messages menu
120
+ .navbar-nav > .messages-menu
121
+ //Inner menu
122
+ > .dropdown-menu > li .menu
123
+ // Messages menu item
124
+ > li > a
125
+ margin: 0px
126
+ //line-height: 20px
127
+ padding: 10px 10px
128
+ // User image
129
+ > div > img
130
+ margin: auto 10px auto auto
131
+ width: 40px
132
+ height: 40px
133
+
134
+ // Message heading
135
+ > h4
136
+ padding: 0
137
+ margin: 0 0 0 45px
138
+ color: #444444
139
+ font-size: 15px
140
+ position: relative
141
+ // Small for message time display
142
+ > small
143
+ color: #999999
144
+ font-size: 10px
145
+ position: absolute
146
+ top: 0px
147
+ right: 0px
148
+
149
+
150
+
151
+ > p
152
+ margin: 0 0 0 45px
153
+ font-size: 12px
154
+ color: #888888
155
+
156
+
157
+ @include clearfix
158
+
159
+
160
+
161
+
162
+
163
+ //Tasks menu
164
+ .navbar-nav > .tasks-menu
165
+ > .dropdown-menu > li .menu
166
+ > li > a
167
+ padding: 10px
168
+
169
+ > h3
170
+ font-size: 14px
171
+ padding: 0
172
+ margin: 0 0 10px 0
173
+ color: #666666
174
+
175
+
176
+ > .progress
177
+ padding: 0
178
+ margin: 0
179
+
180
+
181
+
182
+
183
+ //User menu
184
+ .navbar-nav > .user-menu
185
+ > .dropdown-menu
186
+ @include border-top-radius(0)
187
+ padding: 1px 0 0 0
188
+ border-top-width: 0
189
+ width: 280px
190
+
191
+ &,
192
+ > .user-body
193
+ @include border-bottom-radius(4px)
194
+
195
+ // Header menu
196
+ > li.user-header
197
+ height: 175px
198
+ padding: 10px
199
+ text-align: center
200
+ // User image
201
+ > img
202
+ z-index: 5
203
+ height: 90px
204
+ width: 90px
205
+ border: 3px solid
206
+ border-color: transparent
207
+ border-color: rgba(255, 255, 255, 0.2)
208
+
209
+ > p
210
+ z-index: 5
211
+ color: #fff
212
+ color: rgba(255, 255, 255, 0.8)
213
+ font-size: 17px
214
+ //text-shadow: 2px 2px 3px #333333
215
+ margin-top: 10px
216
+ > small
217
+ display: block
218
+ font-size: 12px
219
+
220
+
221
+
222
+
223
+ // Menu Body
224
+ > .user-body
225
+ padding: 15px
226
+ border-bottom: 1px solid #f4f4f4
227
+ border-top: 1px solid #dddddd
228
+ @include clearfix
229
+ a
230
+ color: #444 !important
231
+ @media (max-width: $screen-sm-max)
232
+ background: #fff !important
233
+ color: #444 !important
234
+
235
+
236
+
237
+
238
+ // Menu Footer
239
+ > .user-footer
240
+ background-color: #f9f9f9
241
+ padding: 10px
242
+ @include clearfix
243
+ .btn-default
244
+ color: #666666
245
+
246
+
247
+
248
+ .user-image
249
+ float: left
250
+ width: 25px
251
+ height: 25px
252
+ border-radius: 50%
253
+ margin-right: 10px
254
+ margin-top: -2px
255
+ @media (max-width: $screen-xs-max)
256
+ float: none
257
+ margin-right: 0
258
+ margin-top: -8px
259
+ line-height: 10px
260
+
261
+
262
+
263
+
264
+ /* Add fade animation to dropdown menus by appending
265
+ the class .animated-dropdown-menu to the .dropdown-menu ul (or ol)*/
266
+ .open:not(.dropup) > .animated-dropdown-menu
267
+ @include backface-visibility(visible !important)
268
+ // @include animation(flipInX .7s both)
269
+
270
+
271
+ /* Fix dropdown menu in navbars */
272
+ .navbar-custom-menu > .navbar-nav
273
+ > li
274
+ position: relative
275
+ > .dropdown-menu
276
+ position: absolute
277
+ right: 0
278
+ left: auto
279
+
280
+
281
+
282
+ @media (max-width: $screen-sm-max)
283
+ .navbar-custom-menu > .navbar-nav
284
+ float: right
285
+ > li
286
+ position: static
287
+ > .dropdown-menu
288
+ position: absolute
289
+ right: 5%
290
+ left: auto
291
+ border: 1px solid #ddd
292
+ background: #fff
293
+
294
+
295
+
296
+
@@ -0,0 +1,9 @@
1
+ //
2
+ // Filter
3
+ // ---------------------------------
4
+
5
+
6
+ .filter-search
7
+ .form-control-search
8
+ width: 300px
9
+ max-width: 100%
@@ -0,0 +1,246 @@
1
+ /*
2
+ * Component: Main Header
3
+ * ----------------------
4
+ */
5
+
6
+ .header
7
+ position: relative
8
+ max-height: 100px
9
+ z-index: 1030
10
+ background: white
11
+ border-bottom: 1px solid $border-color
12
+ //Navbar
13
+ > .navbar
14
+ @include transition(margin-left $transition-speed $transition-fn)
15
+ margin-bottom: 0
16
+ border: none
17
+ min-height: $navbar-height
18
+ border-radius: 0
19
+ .layout-top-nav &
20
+ margin-left: 0!important
21
+
22
+
23
+ //Navbar search text input
24
+ #navbar-search-input
25
+ background: rgba(255,255,255,.2)
26
+ border-color: transparent
27
+ &:focus,
28
+ &:active
29
+ border-color: rgba(0,0,0,.1)!important
30
+ background: rgba(255,255,255,.9)
31
+
32
+ &::-moz-placeholder
33
+ color: #ccc
34
+ opacity: 1
35
+
36
+ &:-ms-input-placeholder
37
+ color: #ccc
38
+
39
+ &::-webkit-input-placeholder
40
+ color: #ccc
41
+
42
+
43
+ //Navbar Right Menu
44
+ .navbar-custom-menu,
45
+ .navbar-right
46
+ float: right
47
+ @media (max-width: $screen-sm-max)
48
+ a
49
+ color: inherit
50
+ background: transparent
51
+
52
+
53
+
54
+ .navbar-right
55
+ @media (max-width: $screen-header-collapse)
56
+ float: none
57
+ .navbar-collapse &
58
+ margin: 7.5px -15px
59
+
60
+ > li
61
+ color: inherit
62
+ border: 0
63
+
64
+
65
+
66
+ //Navbar toggle button
67
+ .sidebar-toggle
68
+ float: left
69
+ background-color: transparent
70
+ background-image: none
71
+ padding: $navbar-padding-vertical $navbar-padding-horizontal
72
+ //Add the fontawesome bars icon
73
+ font-family: fontAwesome
74
+ &:before
75
+ content: "\f0c9"
76
+
77
+ &:hover
78
+ color: #fff
79
+
80
+ &:focus,
81
+ &:active
82
+ background: transparent
83
+
84
+
85
+ .sidebar-toggle .icon-bar
86
+ display: none
87
+
88
+ //Navbar User Menu
89
+ .navbar .nav > li.user > a
90
+ > .fa,
91
+ > .glyphicon,
92
+ > .ion
93
+ margin-right: 5px
94
+
95
+
96
+
97
+ //Labels in navbar
98
+ .navbar .nav > li > a > .label
99
+ position: absolute
100
+ top: 9px
101
+ right: 7px
102
+ text-align: center
103
+ font-size: 9px
104
+ padding: 2px 3px
105
+ line-height: .9
106
+
107
+
108
+ //Logo bar
109
+ .logo
110
+ @include transition(width $transition-speed $transition-fn)
111
+ display: block
112
+ float: left
113
+ height: $navbar-height
114
+ font-size: 20px
115
+ line-height: 50px
116
+ text-align: center
117
+ width: $sidebar-width
118
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
119
+ padding: 0 15px
120
+ font-weight: 300
121
+ overflow: hidden
122
+ //Add support to sidebar mini by allowing the user to create
123
+ //2 logo designs. mini and lg
124
+ .logo-lg
125
+ //should be visibile when sidebar isn't collapsed
126
+ display: block
127
+
128
+ .logo-mini
129
+ display: none
130
+
131
+
132
+ //Navbar Brand. Alternative logo with layout-top-nav
133
+ .navbar-brand
134
+ color: #fff
135
+
136
+
137
+
138
+ // Content Header
139
+ .content-header
140
+ position: relative
141
+ padding: 15px 30px 0
142
+ // Header Text
143
+ > h1
144
+ margin: 0
145
+ font-size: 24px
146
+ > small
147
+ font-size: 15px
148
+ display: inline-block
149
+ padding-left: 4px
150
+ font-weight: 300
151
+
152
+
153
+
154
+ > .breadcrumb
155
+ float: right
156
+ background: transparent
157
+ margin-top: 0px
158
+ margin-bottom: 0
159
+ font-size: 12px
160
+ padding: 7px 5px
161
+ position: absolute
162
+ top: 15px
163
+ right: 30px
164
+ @include border-radius-same(2px)
165
+ > li > a
166
+ color: #444
167
+ text-decoration: none
168
+ display: inline-block
169
+ > .fa, > .glyphicon, > .ion
170
+ margin-right: 5px
171
+
172
+
173
+ > li + li:before
174
+ content: '>\00a0'
175
+
176
+
177
+
178
+ @media (max-width: $screen-sm-max)
179
+ > .breadcrumb
180
+ position: relative
181
+ margin-top: 5px
182
+ top: 0
183
+ right: 0
184
+ float: none
185
+ background: $gray
186
+ padding-left: 10px
187
+ li:before
188
+ color: darken($gray, 20%)
189
+
190
+
191
+
192
+
193
+ .navbar-toggle
194
+ color: #fff
195
+ border: 0
196
+ margin: 0
197
+ padding: $navbar-padding-vertical $navbar-padding-horizontal
198
+
199
+ //Control navbar scaffolding on x-small screens
200
+ @media (max-width: $screen-sm-max)
201
+ .navbar-custom-menu .navbar-nav > li
202
+ float: left
203
+
204
+ //Dont't let links get full width
205
+ .navbar-custom-menu .navbar-nav
206
+ margin: 0
207
+ float: left
208
+
209
+
210
+ .navbar-custom-menu .navbar-nav > li > a
211
+ padding-top: 15px
212
+ padding-bottom: 15px
213
+ line-height: 20px
214
+
215
+
216
+
217
+ // Collapse header
218
+ @media (max-width: $screen-header-collapse)
219
+ .header
220
+ position: relative
221
+ .logo,
222
+ .navbar
223
+ width: 100%
224
+ float: none
225
+ position: relative!important
226
+
227
+ .navbar
228
+ margin: 0
229
+
230
+ .navbar-custom-menu
231
+ float: right
232
+
233
+
234
+
235
+
236
+ .navbar-collapse.pull-left
237
+ @media(max-width: $screen-sm-max)
238
+ float: none!important
239
+ + .navbar-custom-menu
240
+ display: block
241
+ position: absolute
242
+ top: 0
243
+ right: 40px
244
+
245
+
246
+