blueberry_admin 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +32 -0
- data/Rakefile +34 -0
- data/app/assets/stylesheets/blueberry_admin.sass +11 -0
- data/app/assets/stylesheets/blueberry_admin/base/_forms.sass +130 -0
- data/app/assets/stylesheets/blueberry_admin/base/_miscellaneous.sass +356 -0
- data/app/assets/stylesheets/blueberry_admin/base/_table.sass +126 -0
- data/app/assets/stylesheets/blueberry_admin/base/_typography.sass +41 -0
- data/app/assets/stylesheets/blueberry_admin/common/_variables-origin.sass +118 -0
- data/app/assets/stylesheets/blueberry_admin/common/_variables.sass +78 -0
- data/app/assets/stylesheets/blueberry_admin/common/bootstrap-ms.sass +128 -0
- data/app/assets/stylesheets/blueberry_admin/common/bootstrap-override.sass +4 -0
- data/app/assets/stylesheets/blueberry_admin/components/_alerts.sass +47 -0
- data/app/assets/stylesheets/blueberry_admin/components/_boxes.sass +132 -0
- data/app/assets/stylesheets/blueberry_admin/components/_buttons.sass +310 -0
- data/app/assets/stylesheets/blueberry_admin/components/_callout.sass +48 -0
- data/app/assets/stylesheets/blueberry_admin/components/_carousel.sass +13 -0
- data/app/assets/stylesheets/blueberry_admin/components/_control-sidebar.sass +274 -0
- data/app/assets/stylesheets/blueberry_admin/components/_def-list.sass +38 -0
- data/app/assets/stylesheets/blueberry_admin/components/_direct-chat.sass +172 -0
- data/app/assets/stylesheets/blueberry_admin/components/_dropdown.sass +296 -0
- data/app/assets/stylesheets/blueberry_admin/components/_filter.sass +9 -0
- data/app/assets/stylesheets/blueberry_admin/components/_header.sass +246 -0
- data/app/assets/stylesheets/blueberry_admin/components/_info-box.sass +66 -0
- data/app/assets/stylesheets/blueberry_admin/components/_labels.sass +22 -0
- data/app/assets/stylesheets/blueberry_admin/components/_modal.sass +73 -0
- data/app/assets/stylesheets/blueberry_admin/components/_navs.sass +174 -0
- data/app/assets/stylesheets/blueberry_admin/components/_products.sass +57 -0
- data/app/assets/stylesheets/blueberry_admin/components/_progress-bars.sass +107 -0
- data/app/assets/stylesheets/blueberry_admin/components/_redactor.sass +15 -0
- data/app/assets/stylesheets/blueberry_admin/components/_small-box.sass +89 -0
- data/app/assets/stylesheets/blueberry_admin/components/_timeline.sass +98 -0
- data/app/assets/stylesheets/blueberry_admin/components/_users-list.sass +39 -0
- data/app/assets/stylesheets/blueberry_admin/layout/_sidebar-mini.sass +137 -0
- data/app/assets/stylesheets/blueberry_admin/layout/_sidebar.sass +154 -0
- data/app/assets/stylesheets/blueberry_admin/layout/layout.sass +122 -0
- data/app/assets/stylesheets/blueberry_admin/pages/_404_500_errors.sass +36 -0
- data/app/assets/stylesheets/blueberry_admin/pages/_fullcalendar.sass +88 -0
- data/app/assets/stylesheets/blueberry_admin/pages/_invoice.sass +16 -0
- data/app/assets/stylesheets/blueberry_admin/pages/_lockscreen.sass +68 -0
- data/app/assets/stylesheets/blueberry_admin/pages/_login_and_register.sass +40 -0
- data/app/assets/stylesheets/blueberry_admin/pages/_mailbox.sass +77 -0
- data/app/assets/stylesheets/blueberry_admin/skins/_skin-aerotec.sass +14 -0
- data/app/assets/stylesheets/blueberry_admin/utils/functions.sass +23 -0
- data/app/assets/stylesheets/blueberry_admin/utils/make-columns.sass +67 -0
- data/app/assets/stylesheets/blueberry_admin/utils/mixins-origin.sass +291 -0
- data/app/assets/stylesheets/blueberry_admin/utils/mixins.sass +24 -0
- data/app/assets/stylesheets/blueberry_admin/utils/render-to.sass +27 -0
- data/lib/blueberry_admin.rb +5 -0
- data/lib/blueberry_admin/engine.rb +4 -0
- data/lib/blueberry_admin/version.rb +3 -0
- data/lib/tasks/blueberry_admin_tasks.rake +4 -0
- metadata +156 -0
@@ -0,0 +1,122 @@
|
|
1
|
+
//
|
2
|
+
// Layout
|
3
|
+
// ---------------------------------
|
4
|
+
|
5
|
+
html,
|
6
|
+
body
|
7
|
+
min-height: 100%
|
8
|
+
|
9
|
+
body
|
10
|
+
-webkit-font-smoothing: antialiased
|
11
|
+
-moz-osx-font-smoothing: grayscale
|
12
|
+
font-weight: 400
|
13
|
+
overflow-x: hidden
|
14
|
+
overflow-y: auto
|
15
|
+
|
16
|
+
|
17
|
+
/* Layout */
|
18
|
+
.wrapper
|
19
|
+
@include clearfix
|
20
|
+
min-height: 100vh
|
21
|
+
position: relative
|
22
|
+
overflow: hidden !important
|
23
|
+
.layout-boxed &
|
24
|
+
max-width: 1250px
|
25
|
+
margin: 0 auto
|
26
|
+
min-height: 100%
|
27
|
+
box-shadow: 0 0 8px rgba(0,0,0,0.5)
|
28
|
+
position: relative
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
.layout-boxed
|
33
|
+
background: url($boxed-layout-bg-image-path) repeat fixed
|
34
|
+
|
35
|
+
|
36
|
+
/*
|
37
|
+
* Content Wrapper - contains the main content
|
38
|
+
* ```.right-side has been deprecated as of v2.0.0 in favor of .content-wrapper ```
|
39
|
+
*/
|
40
|
+
.content-wrapper,
|
41
|
+
.right-side,
|
42
|
+
.main-footer
|
43
|
+
//Using disposable variable to join statements with a comma
|
44
|
+
$transition-rule: $transition-speed $transition-fn, margin $transition-speed $transition-fn
|
45
|
+
@include transition-transform($transition-rule)
|
46
|
+
margin-left: $sidebar-width
|
47
|
+
z-index: 820
|
48
|
+
//Top nav layout
|
49
|
+
.layout-top-nav &
|
50
|
+
margin-left: 0
|
51
|
+
|
52
|
+
@media (max-width: $screen-xs-max)
|
53
|
+
margin-left: 0
|
54
|
+
|
55
|
+
//When opening the sidebar on large screens
|
56
|
+
.sidebar-collapse &
|
57
|
+
@media (min-width: $screen-sm)
|
58
|
+
margin-left: 0
|
59
|
+
|
60
|
+
|
61
|
+
//When opening the sidebar on small screens
|
62
|
+
.sidebar-open &
|
63
|
+
@media (max-width: $screen-xs-max)
|
64
|
+
@include translate($sidebar-width, 0)
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
.content-wrapper,
|
70
|
+
.right-side
|
71
|
+
min-height: 100%
|
72
|
+
background-color: $body-bg
|
73
|
+
z-index: 800
|
74
|
+
|
75
|
+
.main-footer
|
76
|
+
background: #fff
|
77
|
+
padding: 15px
|
78
|
+
color: #444
|
79
|
+
border-top: 1px solid $gray
|
80
|
+
|
81
|
+
|
82
|
+
/* Fixed layout */
|
83
|
+
.fixed
|
84
|
+
.main-header,
|
85
|
+
.main-sidebar,
|
86
|
+
.left-side
|
87
|
+
position: fixed
|
88
|
+
|
89
|
+
.main-header
|
90
|
+
top: 0
|
91
|
+
right: 0
|
92
|
+
left: 0
|
93
|
+
|
94
|
+
.content-wrapper,
|
95
|
+
.right-side
|
96
|
+
padding-top: 50px
|
97
|
+
@media (max-width: $screen-header-collapse)
|
98
|
+
padding-top: 100px
|
99
|
+
|
100
|
+
|
101
|
+
&.layout-boxed
|
102
|
+
.wrapper
|
103
|
+
max-width: 100%
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
/* Content */
|
109
|
+
.content
|
110
|
+
min-height: 250px
|
111
|
+
padding: 30px
|
112
|
+
|
113
|
+
|
114
|
+
/* Page Header */
|
115
|
+
.page-header
|
116
|
+
margin: 10px 0 20px 0
|
117
|
+
font-size: 22px
|
118
|
+
|
119
|
+
> small
|
120
|
+
color: #666
|
121
|
+
display: block
|
122
|
+
margin-top: 5px
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/*
|
2
|
+
* Page: 400 and 500 error pages
|
3
|
+
* ------------------------------
|
4
|
+
*/
|
5
|
+
.error-page
|
6
|
+
width: 600px
|
7
|
+
margin: 20px auto 0 auto
|
8
|
+
@media (max-width: $screen-sm-max)
|
9
|
+
width: 100%
|
10
|
+
|
11
|
+
//For the error number e.g: 404
|
12
|
+
> .headline
|
13
|
+
float: left
|
14
|
+
font-size: 100px
|
15
|
+
font-weight: 300
|
16
|
+
@media (max-width: $screen-sm-max)
|
17
|
+
float: none
|
18
|
+
text-align: center
|
19
|
+
|
20
|
+
|
21
|
+
//For the message
|
22
|
+
> .error-content
|
23
|
+
margin-left: 190px
|
24
|
+
@media (max-width: $screen-sm-max)
|
25
|
+
margin-left: 0
|
26
|
+
|
27
|
+
> h3
|
28
|
+
font-weight: 300
|
29
|
+
font-size: 25px
|
30
|
+
@media(max-width: $screen-sm-max)
|
31
|
+
text-align: center
|
32
|
+
|
33
|
+
|
34
|
+
display: block
|
35
|
+
|
36
|
+
|
@@ -0,0 +1,88 @@
|
|
1
|
+
/*
|
2
|
+
* Plugin: Full Calendar
|
3
|
+
* ---------------------
|
4
|
+
*/
|
5
|
+
//Fullcalendar buttons
|
6
|
+
.fc-button
|
7
|
+
background: #f4f4f4
|
8
|
+
background-image: none
|
9
|
+
color: #444
|
10
|
+
border-color: #ddd
|
11
|
+
border-bottom-color: #ddd
|
12
|
+
&:hover,
|
13
|
+
&:active,
|
14
|
+
&.hover
|
15
|
+
background-color: #e9e9e9
|
16
|
+
|
17
|
+
|
18
|
+
// Calendar title
|
19
|
+
.fc-header-title h2
|
20
|
+
font-size: 15px
|
21
|
+
line-height: 1.6em
|
22
|
+
color: #666
|
23
|
+
margin-left: 10px
|
24
|
+
|
25
|
+
.fc-header-right
|
26
|
+
padding-right: 10px
|
27
|
+
|
28
|
+
.fc-header-left
|
29
|
+
padding-left: 10px
|
30
|
+
|
31
|
+
// Calendar table header cells
|
32
|
+
.fc-widget-header
|
33
|
+
background: #fafafa
|
34
|
+
|
35
|
+
.fc-grid
|
36
|
+
width: 100%
|
37
|
+
border: 0
|
38
|
+
|
39
|
+
.fc-widget-header:first-of-type,
|
40
|
+
.fc-widget-content:first-of-type
|
41
|
+
border-left: 0
|
42
|
+
border-right: 0
|
43
|
+
|
44
|
+
.fc-widget-header:last-of-type,
|
45
|
+
.fc-widget-content:last-of-type
|
46
|
+
border-right: 0
|
47
|
+
|
48
|
+
.fc-toolbar
|
49
|
+
padding: $box-padding
|
50
|
+
margin: 0
|
51
|
+
|
52
|
+
.fc-day-number
|
53
|
+
font-size: 20px
|
54
|
+
font-weight: 300
|
55
|
+
padding-right: 10px
|
56
|
+
|
57
|
+
.fc-color-picker
|
58
|
+
list-style: none
|
59
|
+
margin: 0
|
60
|
+
padding: 0
|
61
|
+
> li
|
62
|
+
float: left
|
63
|
+
font-size: 30px
|
64
|
+
margin-right: 5px
|
65
|
+
line-height: 30px
|
66
|
+
.fa
|
67
|
+
@include transition-transform(linear .3s)
|
68
|
+
&:hover
|
69
|
+
@include rotate(30deg)
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
#add-new-event
|
75
|
+
@include transition(all linear .3s)
|
76
|
+
|
77
|
+
.external-event
|
78
|
+
padding: 5px 10px
|
79
|
+
font-weight: bold
|
80
|
+
margin-bottom: 4px
|
81
|
+
box-shadow: $box-boxshadow
|
82
|
+
text-shadow: $box-boxshadow
|
83
|
+
border-radius: $box-border-radius
|
84
|
+
cursor: move
|
85
|
+
&:hover
|
86
|
+
box-shadow: inset 0 0 90px rgba(0,0,0,0.2)
|
87
|
+
|
88
|
+
|
@@ -0,0 +1,68 @@
|
|
1
|
+
/*
|
2
|
+
* Page: Lock Screen
|
3
|
+
* -----------------
|
4
|
+
*/
|
5
|
+
/* ADD THIS CLASS TO THE <BODY> TAG */
|
6
|
+
.lockscreen
|
7
|
+
background: $gray
|
8
|
+
|
9
|
+
.lockscreen-logo
|
10
|
+
font-size: 35px
|
11
|
+
text-align: center
|
12
|
+
margin-bottom: 25px
|
13
|
+
font-weight: 300
|
14
|
+
a
|
15
|
+
color: #444
|
16
|
+
|
17
|
+
|
18
|
+
.lockscreen-wrapper
|
19
|
+
max-width: 400px
|
20
|
+
margin: 0 auto
|
21
|
+
margin-top: 10%
|
22
|
+
|
23
|
+
/* User name [optional] */
|
24
|
+
.lockscreen .lockscreen-name
|
25
|
+
text-align: center
|
26
|
+
font-weight: 600
|
27
|
+
|
28
|
+
/* Will contain the image and the sign in form */
|
29
|
+
.lockscreen-item
|
30
|
+
@include border-radius-same(4px)
|
31
|
+
padding: 0
|
32
|
+
background: #fff
|
33
|
+
position: relative
|
34
|
+
margin: 10px auto 30px auto
|
35
|
+
width: 290px
|
36
|
+
|
37
|
+
/* User image */
|
38
|
+
.lockscreen-image
|
39
|
+
@include border-radius-same(50%)
|
40
|
+
position: absolute
|
41
|
+
left: -10px
|
42
|
+
top: -25px
|
43
|
+
background: #fff
|
44
|
+
padding: 5px
|
45
|
+
z-index: 10
|
46
|
+
> img
|
47
|
+
@include border-radius-same(50%)
|
48
|
+
width: 70px
|
49
|
+
height: 70px
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
/* Contains the password input and the login button */
|
54
|
+
.lockscreen-credentials
|
55
|
+
margin-left: 70px
|
56
|
+
.form-control
|
57
|
+
border: 0 !important
|
58
|
+
|
59
|
+
.btn
|
60
|
+
background-color: #fff
|
61
|
+
border: 0
|
62
|
+
padding: 0 10px
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
.lockscreen-footer
|
67
|
+
margin-top: 10px
|
68
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
//
|
2
|
+
// Login and register
|
3
|
+
// ---------------------------------
|
4
|
+
|
5
|
+
.admin-sessions
|
6
|
+
.sidebar
|
7
|
+
display: none
|
8
|
+
|
9
|
+
.header
|
10
|
+
display: none
|
11
|
+
|
12
|
+
.content-wrapper
|
13
|
+
margin: 30px auto 0
|
14
|
+
max-width: 360px
|
15
|
+
|
16
|
+
.alert
|
17
|
+
margin-left: 0
|
18
|
+
margin-right: 0
|
19
|
+
|
20
|
+
.login-box
|
21
|
+
margin: 100px 0 0
|
22
|
+
padding: 20px
|
23
|
+
background: white
|
24
|
+
border: 1px solid $border-color
|
25
|
+
|
26
|
+
.logo
|
27
|
+
margin: 0 auto 50px
|
28
|
+
width: 200px
|
29
|
+
text-align: center
|
30
|
+
|
31
|
+
img
|
32
|
+
max-width: 100%
|
33
|
+
|
34
|
+
.btn
|
35
|
+
width: 100%
|
36
|
+
display: block
|
37
|
+
|
38
|
+
.login-form-remember,
|
39
|
+
.login-form-shared
|
40
|
+
text-align: center
|
@@ -0,0 +1,77 @@
|
|
1
|
+
/*
|
2
|
+
* Page: Mailbox
|
3
|
+
* -------------
|
4
|
+
*/
|
5
|
+
.mailbox-messages
|
6
|
+
> .table
|
7
|
+
margin: 0
|
8
|
+
|
9
|
+
|
10
|
+
.mailbox-controls
|
11
|
+
padding: 5px
|
12
|
+
&.with-border
|
13
|
+
border-bottom: 1px solid $box-border-color
|
14
|
+
|
15
|
+
|
16
|
+
.mailbox-read-info
|
17
|
+
border-bottom: 1px solid $box-border-color
|
18
|
+
padding: 10px
|
19
|
+
h3
|
20
|
+
font-size: 20px
|
21
|
+
margin: 0
|
22
|
+
|
23
|
+
h5
|
24
|
+
margin: 0
|
25
|
+
padding: 5px 0 0 0
|
26
|
+
|
27
|
+
|
28
|
+
.mailbox-read-time
|
29
|
+
color: #999
|
30
|
+
font-size: 13px
|
31
|
+
|
32
|
+
.mailbox-read-message
|
33
|
+
padding: 10px
|
34
|
+
|
35
|
+
.mailbox-attachments
|
36
|
+
@extend .list-unstyled
|
37
|
+
li
|
38
|
+
float: left
|
39
|
+
width: 200px
|
40
|
+
border: 1px solid #eee
|
41
|
+
margin-bottom: 10px
|
42
|
+
margin-right: 10px
|
43
|
+
|
44
|
+
|
45
|
+
.mailbox-attachment-name
|
46
|
+
font-weight: bold
|
47
|
+
color: #666
|
48
|
+
|
49
|
+
.mailbox-attachment-icon,
|
50
|
+
.mailbox-attachment-info,
|
51
|
+
.mailbox-attachment-size
|
52
|
+
display: block
|
53
|
+
|
54
|
+
.mailbox-attachment-info
|
55
|
+
padding: 10px
|
56
|
+
background: #f4f4f4
|
57
|
+
|
58
|
+
.mailbox-attachment-size
|
59
|
+
color: #999
|
60
|
+
font-size: 12px
|
61
|
+
|
62
|
+
.mailbox-attachment-icon
|
63
|
+
text-align: center
|
64
|
+
font-size: 65px
|
65
|
+
color: #666
|
66
|
+
padding: 20px 10px
|
67
|
+
&.has-img
|
68
|
+
padding: 0
|
69
|
+
> img
|
70
|
+
max-width: 100%
|
71
|
+
height: auto
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
.mailbox-attachment-close
|
76
|
+
@extend .close
|
77
|
+
|