blueberry_admin 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,126 @@
1
+ /*
2
+ * Component: Table
3
+ * ----------------
4
+ */
5
+
6
+ .table
7
+ //Cells
8
+ > thead,
9
+ > tbody,
10
+ > tfoot
11
+ > tr
12
+ > th,
13
+ > td
14
+ max-width: 230px
15
+ border-top: 1px solid $box-border-color
16
+ outline: none
17
+ > td
18
+ min-height: 18px
19
+ vertical-align: middle
20
+
21
+ > thead > tr > th
22
+ border-bottom: 2px solid $box-border-color
23
+
24
+ //Bordered Table
25
+ .table-bordered
26
+ border: 1px solid $box-border-color
27
+ > thead,
28
+ > tbody,
29
+ > tfoot
30
+ > tr
31
+ > th,
32
+ > td
33
+ border: 1px solid $box-border-color
34
+
35
+
36
+
37
+ > thead > tr
38
+ > th,
39
+ > td
40
+ border-bottom-width: 2px
41
+
42
+ .table.no-border
43
+ &,
44
+ td,
45
+ th
46
+ border: 0
47
+
48
+
49
+
50
+ // .text-center in tables
51
+ table.text-center
52
+ &,
53
+ td,
54
+ th
55
+ text-align: center
56
+
57
+ .table.align
58
+ th
59
+ text-align: left
60
+
61
+ td
62
+ text-align: right
63
+
64
+ // custom cells
65
+ .table
66
+
67
+ td.action-buttons
68
+ text-align: right
69
+ +render-to(sm, md, lg)
70
+ white-space: nowrap
71
+ .btn + .btn
72
+ margin-left: 0.5em
73
+
74
+ td
75
+ .price, .number
76
+ min-width: 120px
77
+ text-align: right
78
+ display: inline-block
79
+
80
+ td.state
81
+ max-width: 80px
82
+ .glyphicon-ok
83
+ color: $brand-success
84
+ .glyphicon-remove
85
+ color: $brand-danger
86
+
87
+ // sortable table
88
+ table.dataTable
89
+
90
+ thead
91
+ .sorting,
92
+ .sorting_asc,
93
+ .sorting_desc
94
+ cursor: pointer
95
+
96
+ span
97
+ padding-right: 20px
98
+ display: block
99
+ position: relative
100
+ &:before,
101
+ &:after
102
+ content: ""
103
+ width: 0
104
+ height: 0
105
+ position: absolute
106
+ top: 50%
107
+ right: 0
108
+ border-style: solid
109
+ &:before
110
+ border-width: 0 4px 6px 4px
111
+ border-color: transparent transparent $gray-lighter transparent
112
+ transform: translate(0, -6px)
113
+ &:after
114
+ border-width: 6px 4px 0 4px
115
+ border-color: $gray-lighter transparent transparent transparent
116
+ transform: translate(0, 1px)
117
+
118
+ .sorting_desc
119
+ span
120
+ &:before
121
+ border-bottom-color: $brand-warning
122
+
123
+ .sorting_asc
124
+ span
125
+ &:after
126
+ border-top-color: $brand-warning
@@ -0,0 +1,41 @@
1
+ //
2
+ // Typography
3
+ // ---------------------------------
4
+
5
+ // default
6
+ a
7
+ color: $link-color
8
+
9
+ a:hover,
10
+ a:active,
11
+ a:focus
12
+ outline: none
13
+
14
+ // lists
15
+ ul, ol
16
+ padding-left: 20px
17
+
18
+ // headings
19
+ h1, h2, h3, h4, h5, h6
20
+ font-weight: 200
21
+
22
+ h1
23
+ font-size: 30px
24
+
25
+ h2
26
+ font-size: 24px
27
+
28
+ h3
29
+ font-size: 16px
30
+
31
+ h4
32
+ font-size: 14px
33
+
34
+ h5
35
+ font-size: 12px
36
+
37
+ h6
38
+ font-size: 10px
39
+
40
+ h3, h4, h5
41
+ font-weight: 600
@@ -0,0 +1,118 @@
1
+ //AdminLTE 2 Variables.less
2
+ //=========================
3
+
4
+ //PATHS
5
+ //--------------------------------------------------------
6
+
7
+ $boxed-layout-bg-image-path: "/images/boxed-bg.jpg" !default
8
+
9
+ //COLORS
10
+ //--------------------------------------------------------
11
+
12
+ $light-blue: #3c8dbc //Primary
13
+ $red: #dd4b39 //Danger
14
+ $green: #00a65a //Success
15
+ $aqua: #00c0ef //Info
16
+ $yellow: #f39c12 //Warning
17
+ $blue: #0073b7
18
+ $navy: #001F3F
19
+ $teal: #39CCCC
20
+ $olive: #3D9970
21
+ $lime: #01FF70
22
+ $orange: #FF851B
23
+ $fuchsia: #F012BE
24
+ $purple: #605ca8
25
+ $maroon: #D81B60
26
+ $black: #111
27
+ $gray: #d2d6de
28
+
29
+
30
+ //LAYOUT
31
+ //--------------------------------------------------------
32
+
33
+ //Side bar and logo width
34
+ $sidebar-width: 230px
35
+ //Boxed layout maximum width
36
+ $boxed-layout-max-width: 1024px
37
+ //When the logo should go to the top of the screen
38
+ $screen-header-collapse: 768px
39
+
40
+ //Link colors (Aka: <a> tags)
41
+ $link-color: $light-blue
42
+ $link-hover-color: lighten($link-color, 15%)
43
+
44
+ //Body background (Affects main content background only)
45
+ $body-bg: #ecf0f5
46
+
47
+ //SIDEBAR SKINS
48
+ //--------------------------------------------------------
49
+
50
+ //Dark sidebar
51
+ $sidebar-dark-bg: #222d32
52
+ $sidebar-dark-hover-bg: darken($sidebar-dark-bg, 2%)
53
+ $sidebar-dark-color: lighten($sidebar-dark-bg, 60%)
54
+ $sidebar-dark-hover-color: #fff
55
+ $sidebar-dark-submenu-bg: lighten($sidebar-dark-bg, 5%)
56
+ $sidebar-dark-submenu-color: lighten($sidebar-dark-submenu-bg, 40%)
57
+ $sidebar-dark-submenu-hover-color: #fff
58
+
59
+ //Light sidebar
60
+ $sidebar-light-bg: #f9fafc
61
+ $sidebar-light-hover-bg: lighten(#f0f0f1, 1.5%)
62
+ $sidebar-light-color: #444
63
+ $sidebar-light-hover-color: #000
64
+ $sidebar-light-submenu-bg: $sidebar-light-hover-bg
65
+ $sidebar-light-submenu-color: #777
66
+ $sidebar-light-submenu-hover-color: #000
67
+
68
+
69
+
70
+ //BOXES
71
+ //--------------------------------------------------------
72
+ $box-border-color: #f4f4f4
73
+ $box-border-radius: 3px
74
+ $box-footer-bg: #fff
75
+ $box-boxshadow: 0 1px 1px rgba(0, 0, 0, .1)
76
+ $box-padding: 10px
77
+
78
+ //Box variants
79
+ $box-default-border-top-color: #d2d6de
80
+
81
+ //BUTTONS
82
+ //--------------------------------------------------------
83
+ $btn-boxshadow: none
84
+
85
+ //PROGRESS BARS
86
+ //--------------------------------------------------------
87
+ $progress-bar-border-radius: 1px
88
+ $progress-bar-sm-border-radius: 1px
89
+ $progress-bar-xs-border-radius: 1px
90
+
91
+ //FORMS
92
+ //--------------------------------------------------------
93
+ $input-radius: 0px
94
+
95
+ //BUTTONS
96
+ //--------------------------------------------------------
97
+
98
+ //Border radius for non flat buttons
99
+ $btn-border-radius: 3px
100
+
101
+ //DIRECT CHAT
102
+ //--------------------------------------------------------
103
+ $direct-chat-height: 250px
104
+ $direct-chat-default-msg-bg: $gray
105
+ $direct-chat-default-font-color: #444
106
+ $direct-chat-default-msg-border-color: $gray
107
+
108
+
109
+ //CHAT WIDGET
110
+ //--------------------------------------------------------
111
+ $attachment-border-radius: 3px
112
+
113
+ //TRANSITIONS SETTINGS
114
+ //--------------------------------------------------------
115
+
116
+ //Transition global options
117
+ $transition-speed: .3s
118
+ $transition-fn: ease-in-out//cubic-bezier(0.32,1.25,0.375,1.15)
@@ -0,0 +1,78 @@
1
+ // Font
2
+ $font-stack: "Helvetica Neue", Helvetica, Arial, sans-serif
3
+
4
+ // Basic Colors
5
+ $gray-dark: #373a36
6
+ $gray-lighter: #dcdcdc
7
+
8
+ $navy: #238f49
9
+ $dark-gray: #c2c2c2
10
+ $blue: #33647f
11
+ $lazur: #3a8ab6
12
+ $yellow: $gray-dark
13
+ $red: #e1261c
14
+
15
+ $brand-primary: #1aabd5
16
+ $brand-danger: $red
17
+ $brand-info: $lazur
18
+ $brand-warning: $yellow
19
+ $brand-success: $navy
20
+ $brand-client: #002046
21
+ $brand-edit: #fdff54
22
+
23
+ $sidebar-bg: #2F2D2E
24
+
25
+ $light-gray: #D1DADE
26
+ $label-badget-color: #5E5E5E
27
+ $light-blue: #f3f6fb
28
+
29
+ // Layout
30
+ $sidebar-width: 230px
31
+ $control-sidebar-width: $sidebar-width
32
+ $boxed-layout-max-width: 1024px
33
+ $screen-header-collapse: 768px
34
+
35
+ $body-bg: #f4f6fa
36
+
37
+ // Typography
38
+ $text-color: $gray-dark
39
+
40
+ $link-color: $brand-primary
41
+ $link-hover-color: $link-color
42
+
43
+ $font-size-base: 14px
44
+
45
+
46
+ // Spiner color and margin
47
+ $spin-color: $navy
48
+ $spin-margin: 0 auto
49
+
50
+ // IBOX colors ( default panel colors)
51
+ $border-color: #e7eaec
52
+ $ibox-title-bg: #ffffff
53
+ $ibox-content-bg: #ffffff
54
+
55
+ //Sidebar width
56
+ $sidebar-width: 220px
57
+
58
+ // Boxed layout width
59
+ $boxed-width: 1200px
60
+ $boxed-backgound: url('patterns/shattered.png')
61
+
62
+ //Border radius for buttons
63
+ $btn-border-radius: 3px
64
+
65
+ //Navigation
66
+ $nav-bg: #2F4050
67
+ $nav-profil-pattern: url("patterns/header-profile.png") no-repeat
68
+ $nav-text-color: #a7b1c2
69
+
70
+ // components
71
+ $padding-base-vertical: 7px
72
+ $padding-base-horizontal: 13px
73
+
74
+ // Icon path
75
+ $icon-font-path: 'bootstrap-sass/assets/fonts/bootstrap/'
76
+
77
+ // break point
78
+ $order-break-point: 1700px
@@ -0,0 +1,128 @@
1
+ // Bootstrap Mid-Small - col-ms-* - the missing grid set for Bootstrap3.
2
+ //
3
+ // This is a hack to fill the gap between 480 and 767 pixels - a missing range
4
+ // in the bootstrap responsive grid structure. Use these classes to style pages
5
+ // on cellphones when they transition from portrait to landscape.
6
+ //
7
+ // Contains:
8
+ // Columns, Offsets, Pushes, Pulls for the Mid-Small layout
9
+ // Visibility classes for the Mid-Small layout
10
+ // Redefined visibility classes for the Extra Small layout
11
+ //
12
+ // See https://github.com/twbs/bootstrap/issues/10203 for more info.
13
+ // Original gist: https://gist.github.com/andyl/6360906
14
+ //
15
+ // Instructions: Add the following to the end of bootstrap.scss
16
+ //
17
+ // @import "bootstrap-ms"
18
+ //
19
+
20
+ // Mid-Small breakpoint
21
+ $screen-ms: 480px !default
22
+ $screen-ms-min: $screen-ms !default
23
+ $screen-ms-max: $screen-sm-min - 1 !default
24
+
25
+ // Redefined Extra Small max value (Can't override non-default variables in SASS)
26
+ $screen-xs-max-new: $screen-ms-min - 1 !default
27
+
28
+ // Common styles (see make-grid-columns() in bootstrap/mixins/_grid-framework.scss)
29
+ .col-ms-1,
30
+ .col-ms-2,
31
+ .col-ms-3,
32
+ .col-ms-4,
33
+ .col-ms-5,
34
+ .col-ms-6,
35
+ .col-ms-7,
36
+ .col-ms-8,
37
+ .col-ms-9,
38
+ .col-ms-10,
39
+ .col-ms-11,
40
+ .col-ms-12
41
+ position: relative
42
+ // Prevent columns from collapsing when empty
43
+ min-height: 1px
44
+ // Inner gutter via padding
45
+ padding-left: $grid-gutter-width / 2
46
+ padding-right: $grid-gutter-width / 2
47
+
48
+ // Misc. class adjustments for col-ms
49
+ @media (min-width: $screen-ms) and (max-width: $screen-ms-max)
50
+ .container
51
+ max-width: $screen-sm - 20px
52
+ .hidden-xs
53
+ display: block !important
54
+
55
+ // col-ms grid
56
+ @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max)
57
+ +make-grid(xs)
58
+
59
+ // Visibility utilities
60
+ +responsive-invisibility(".visible-xs, .visible-ms")
61
+
62
+ .visible-xs-block,
63
+ .visible-xs-inline,
64
+ .visible-xs-inline-block,
65
+ .visible-ms-block,
66
+ .visible-ms-inline,
67
+ .visible-ms-inline-block
68
+ display: none !important
69
+
70
+ @media (max-width: $screen-xs-max-new)
71
+ +responsive-visibility(".visible-xs")
72
+
73
+ .visible-xs-block
74
+ @media (max-width: $screen-xs-max-new)
75
+ display: block !important
76
+
77
+ .visible-xs-inline
78
+ @media (max-width: $screen-xs-max-new)
79
+ display: inline !important
80
+
81
+ .visible-xs-inline-block
82
+ @media (max-width: $screen-xs-max-new)
83
+ display: inline-block !important
84
+
85
+ @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max)
86
+ +responsive-visibility(".visible-ms")
87
+
88
+ .visible-ms-block
89
+ @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max)
90
+ display: block !important
91
+
92
+ .visible-ms-inline
93
+ @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max)
94
+ display: inline !important
95
+
96
+ .visible-ms-inline-block
97
+ @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max)
98
+ display: inline-block !important
99
+
100
+ @media (max-width: $screen-xs-max-new)
101
+ +responsive-invisibility(".hidden-xs")
102
+
103
+ @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max)
104
+ +responsive-invisibility(".hidden-ms")
105
+
106
+ // An extension of andyl's hack – https://gist.github.com/andyl/6360906
107
+ // in a mixin version.
108
+
109
+ =make-ms-column($columns, $gutter: $grid-gutter-width)
110
+ position: relative
111
+ min-height: 1px
112
+ padding-left: $gutter / 2
113
+ padding-right: $gutter / 2
114
+ @media (min-width: $screen-ms-min)
115
+ float: left
116
+ width: percentage($columns / $grid-columns)
117
+
118
+ =make-ms-column-offset($columns)
119
+ @media (min-width: $screen-ms-min)
120
+ margin-left: percentage($columns / $grid-columns)
121
+
122
+ =make-ms-column-push($columns)
123
+ @media (min-width: $screen-ms-min)
124
+ left: percentage($columns / $grid-columns)
125
+
126
+ =make-ms-column-pull($columns)
127
+ @media (min-width: $screen-ms-min)
128
+ right: percentage($columns / $grid-columns)