caboose-cms 0.9.229 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/assets/javascripts/caboose/admin.js +1 -1
- data/app/assets/javascripts/caboose/admin/application.js +20 -0
- data/app/assets/javascripts/caboose/admin_main.js +13 -3
- data/app/assets/javascripts/caboose/admin_media_index.js +158 -161
- data/app/assets/javascripts/caboose/application.js +7 -8
- data/app/assets/javascripts/caboose/block_content_controller_dragdrop.js +4 -60
- data/app/assets/javascripts/caboose/block_modal_controllers/block_dd_modal_controller.js +2 -3
- data/app/assets/javascripts/caboose/block_modal_controllers/media_modal_controller.js +6 -17
- data/app/assets/javascripts/caboose/model/all.js +1 -5
- data/app/assets/stylesheets/caboose/admin/_config.scss +102 -0
- data/app/assets/stylesheets/caboose/admin/application.css +11 -0
- data/app/assets/stylesheets/caboose/admin/component.css +183 -0
- data/app/assets/stylesheets/caboose/admin/froala.min.css +91 -0
- data/app/assets/stylesheets/caboose/admin/ie.scss +67 -0
- data/app/assets/stylesheets/caboose/admin/integrations/main.scss +6 -0
- data/app/assets/stylesheets/caboose/admin/integrations/shopify.scss +128 -0
- data/app/assets/stylesheets/caboose/admin/jquery-ui-subnav-theme.min.css +5 -0
- data/app/assets/stylesheets/caboose/admin/layout.scss +150 -0
- data/app/assets/stylesheets/caboose/admin/main.scss +34 -0
- data/app/assets/stylesheets/caboose/admin/modules/body.scss +176 -0
- data/app/assets/stylesheets/caboose/admin/modules/buttons.scss +120 -0
- data/app/assets/stylesheets/caboose/admin/modules/countdown.css +21 -0
- data/app/assets/stylesheets/caboose/admin/modules/crumbtrail.scss +80 -0
- data/app/assets/stylesheets/caboose/admin/modules/data_table.scss +92 -0
- data/app/assets/stylesheets/caboose/admin/modules/footer.scss +62 -0
- data/app/assets/stylesheets/caboose/admin/modules/forms.scss +72 -0
- data/app/assets/stylesheets/caboose/admin/modules/functions.scss +31 -0
- data/app/assets/stylesheets/caboose/admin/modules/grid.scss +108 -0
- data/app/assets/stylesheets/caboose/admin/modules/header.scss +77 -0
- data/app/assets/stylesheets/caboose/admin/modules/headings.scss +38 -0
- data/app/assets/stylesheets/caboose/admin/modules/main_nav.scss +73 -0
- data/app/assets/stylesheets/caboose/admin/modules/message_boxes.scss +55 -0
- data/app/assets/stylesheets/caboose/admin/modules/model_binder.scss +189 -0
- data/app/assets/stylesheets/caboose/admin/modules/navigation.scss +261 -0
- data/app/assets/stylesheets/caboose/admin/modules/order_bumps.scss +57 -0
- data/app/assets/stylesheets/caboose/admin/modules/pager.scss +34 -0
- data/app/assets/stylesheets/caboose/admin/modules/product_images.scss +21 -0
- data/app/assets/stylesheets/caboose/admin/modules/products.css +86 -0
- data/app/assets/stylesheets/caboose/admin/modules/search.scss +49 -0
- data/app/assets/stylesheets/caboose/admin/modules/selects.scss +12 -0
- data/app/assets/stylesheets/caboose/admin/modules/subnav_tabs.scss +34 -0
- data/app/assets/stylesheets/caboose/admin/modules/tabs.scss +140 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/block_anchors.scss +48 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/block_overlays.scss +182 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/device_selector.scss +65 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/froala.scss +81 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/group_overlay.scss +115 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/layout.scss +128 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/main.scss +18 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/modal.scss +11 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/preview.scss +25 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/publish.scss +25 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/revisions.scss +58 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/subnav.scss +273 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/top_nav.scss +109 -0
- data/app/assets/stylesheets/caboose/admin/pages/assets_index.css +48 -0
- data/app/assets/stylesheets/caboose/admin/pages/block_edit_image.css.scss +386 -0
- data/app/assets/stylesheets/caboose/admin/pages/media_index.css.scss +300 -0
- data/app/assets/stylesheets/caboose/admin/pages/new_block.css +9 -0
- data/app/assets/stylesheets/caboose/admin/pages/page_edit.scss +960 -0
- data/app/assets/stylesheets/caboose/admin/pages/page_edit_content.scss +103 -0
- data/app/assets/stylesheets/caboose/admin/pages/pages_index.scss +79 -0
- data/app/assets/stylesheets/caboose/admin/pages/post_edit_content.css +46 -0
- data/app/assets/stylesheets/caboose/admin/print.css +3 -0
- data/app/assets/stylesheets/caboose/admin/slack.scss +51 -0
- data/app/assets/stylesheets/caboose/admin_block_edit_image.css.scss +1 -2
- data/app/assets/stylesheets/caboose/admin_edit_page_content_dragdrop.scss +15 -71
- data/app/assets/stylesheets/caboose/admin_main.css.scss +29 -25
- data/app/assets/stylesheets/caboose/admin_media_index.css.scss +5 -26
- data/app/assets/stylesheets/caboose/application.css +5 -11
- data/app/assets/stylesheets/caboose/login.scss +0 -1
- data/app/assets/stylesheets/caboose/modal_main.css +19 -21
- data/app/assets/stylesheets/caboose/model_binder.css +4 -13
- data/app/assets/stylesheets/caboose/page_bar_generator.css +1 -2
- data/app/controllers/caboose/admin_controller.rb +4 -3
- data/app/controllers/caboose/application_controller.rb +19 -16
- data/app/controllers/caboose/assets_controller.rb +65 -0
- data/app/controllers/caboose/block_types_controller.rb +6 -8
- data/app/controllers/caboose/cart_controller.rb +2 -2
- data/app/controllers/caboose/fonts_controller.rb +2 -139
- data/app/controllers/caboose/invoices_controller.rb +4 -5
- data/app/controllers/caboose/login_logs_controller.rb +7 -5
- data/app/controllers/caboose/media_categories_controller.rb +2 -16
- data/app/controllers/caboose/media_controller.rb +11 -14
- data/app/controllers/caboose/pages_controller.rb +42 -104
- data/app/controllers/caboose/posts_controller.rb +7 -53
- data/app/controllers/caboose/products_controller.rb +1 -1
- data/app/controllers/caboose/sites_controller.rb +6 -25
- data/app/controllers/caboose/sns_controller.rb +3 -3
- data/app/controllers/caboose/themes_controller.rb +0 -30
- data/app/controllers/caboose/users_controller.rb +10 -17
- data/app/controllers/caboose/variants_controller.rb +9 -9
- data/app/models/caboose/ab_variant.rb +1 -1
- data/app/models/caboose/asset.rb +23 -0
- data/app/models/caboose/asset_manager.rb +92 -0
- data/app/models/caboose/asset_manifest.rb +91 -0
- data/app/models/caboose/block.rb +24 -100
- data/app/models/caboose/block_cache.rb +105 -0
- data/app/models/caboose/block_cache_file.rb +22 -0
- data/app/models/caboose/block_cache_image.rb +53 -0
- data/app/models/caboose/block_type.rb +3 -4
- data/app/models/caboose/block_type_category.rb +2 -2
- data/app/models/caboose/block_type_parser.rb +1 -1
- data/app/models/caboose/block_type_source.rb +2 -2
- data/app/models/caboose/calendar_event_group.rb +2 -2
- data/app/models/caboose/category.rb +2 -2
- data/app/models/caboose/comment_routes.rb +8 -7
- data/app/models/caboose/core_plugin.rb +3 -4
- data/app/models/caboose/export.rb +1 -1
- data/app/models/caboose/font.rb +2 -7
- data/app/models/caboose/font_variant.rb +0 -12
- data/app/models/caboose/invoice.rb +14 -14
- data/app/models/caboose/line_item.rb +4 -4
- data/app/models/caboose/media.rb +4 -15
- data/app/models/caboose/media_category.rb +7 -5
- data/app/models/caboose/modification.rb +2 -2
- data/app/models/caboose/page.rb +54 -325
- data/app/models/caboose/page_bar_generator.rb +10 -20
- data/app/models/caboose/page_cache.rb +12 -0
- data/app/models/caboose/page_cacher.rb +137 -0
- data/app/models/caboose/post.rb +8 -108
- data/app/models/caboose/product.rb +5 -5
- data/app/models/caboose/product_image.rb +1 -1
- data/app/models/caboose/role.rb +2 -2
- data/app/models/caboose/schema.rb +72 -73
- data/app/models/caboose/site.rb +1 -203
- data/app/models/caboose/theme.rb +5 -70
- data/app/views/caboose/admin/_content.html.erb +44 -0
- data/app/views/caboose/admin/_fonts.html.erb +47 -0
- data/app/views/caboose/admin/_footer.html.erb +1 -0
- data/app/views/caboose/admin/_header.html.erb +12 -0
- data/app/views/caboose/admin/_icons.html.erb +6 -0
- data/app/views/caboose/admin/_mobile_navigation.html.erb +22 -0
- data/app/views/caboose/admin/_post.html.erb +74 -0
- data/app/views/caboose/admin/index.html.erb +33 -36
- data/app/views/caboose/block_types/admin_edit.html.erb +8 -6
- data/app/views/caboose/blocks/_file.html.erb +2 -2
- data/app/views/caboose/blocks/_ga.html.erb +2 -1
- data/app/views/caboose/blocks/_image.html.erb +0 -4
- data/app/views/caboose/blocks/_render_function.html.erb +4 -9
- data/app/views/caboose/fonts/admin_index.html.erb +10 -55
- data/app/views/caboose/invoices_mailer/customer_status_updated.html.erb +14 -5
- data/app/views/caboose/login_logs/admin_index_for_user.html.erb +1 -1
- data/app/views/caboose/media/admin_index.html.erb +24 -14
- data/app/views/caboose/my_account/index.html.erb +0 -1
- data/app/views/caboose/pages/_admin_header.html.erb +0 -5
- data/app/views/caboose/pages/admin_edit_content.html.erb +2 -6
- data/app/views/caboose/pages/admin_edit_general.html.erb +4 -32
- data/app/views/caboose/pages/admin_new_old.html.erb +46 -0
- data/app/views/caboose/pages/test.html.erb +64 -0
- data/app/views/caboose/posts/_admin_header.html.erb +0 -5
- data/app/views/caboose/posts/admin_delete_form.html.erb +1 -1
- data/app/views/caboose/posts/admin_edit_content.html.erb +2 -6
- data/app/views/caboose/products/admin_group_variants.html.erb +1 -1
- data/app/views/caboose/products/admin_sort.html copy.erb +1 -1
- data/app/views/caboose/sites/admin_edit.html.erb +0 -21
- data/app/views/caboose/themes/admin_edit.html.erb +3 -7
- data/app/views/caboose/users/_admin_header.html.erb +0 -4
- data/app/views/caboose/users/admin_edit_roles.html.erb +0 -1
- data/app/views/caboose/variants/admin_group.html.erb +1 -1
- data/app/views/layouts/caboose/admin.html.erb +2 -9
- data/app/views/layouts/caboose/application.html.erb +92 -62
- data/config/routes.rb +1 -4
- data/lib/caboose/version.rb +1 -1
- data/lib/tasks/caboose.rake +14 -3
- metadata +238 -57
- data/app/controllers/caboose/change_logs_controller.rb +0 -13
- data/app/models/caboose/change_log.rb +0 -97
- data/app/views/caboose/blocks/_cached_block.html.erb +0 -28
- data/app/views/caboose/change_logs/admin_index.html.erb +0 -65
- data/app/views/caboose/fonts/admin_family_edit.html.erb +0 -63
- data/app/views/caboose/fonts/admin_family_index.html.erb +0 -42
- data/app/views/caboose/fonts/admin_variant_edit.html.erb +0 -84
- data/app/views/caboose/pages/admin_change_logs.html.erb +0 -56
- data/app/views/caboose/pages/compiled_asset.css.erb +0 -0
- data/app/views/caboose/pages/compiled_asset.js.erb +0 -0
- data/app/views/caboose/posts/admin_change_logs.html.erb +0 -56
- data/app/views/caboose/sites/compiled_asset.css.erb +0 -0
- data/app/views/caboose/sites/compiled_asset.js.erb +0 -0
- data/app/views/caboose/themes/admin_error_log.html.erb +0 -9
- data/app/views/caboose/themes/admin_js.html.erb +0 -131
- data/app/views/caboose/users/admin_change_logs.html.erb +0 -63
- data/app/views/layouts/caboose/css.css.erb +0 -44
- data/app/views/layouts/caboose/footer_css.css.erb +0 -41
- data/app/views/layouts/caboose/footer_js.js.erb +0 -31
- data/app/views/layouts/caboose/js.js.erb +0 -34
@@ -0,0 +1,62 @@
|
|
1
|
+
@import "caboose/admin/config";
|
2
|
+
|
3
|
+
footer#admin_main {
|
4
|
+
height: $footer-height;
|
5
|
+
background: $footer-bg-color;
|
6
|
+
font: $font-main;
|
7
|
+
font-size: 15px;
|
8
|
+
color: $footer-font-color;
|
9
|
+
text-align: center;
|
10
|
+
padding: 18px 0;
|
11
|
+
overflow: hidden;
|
12
|
+
clear: both;
|
13
|
+
.nine {
|
14
|
+
margin-top: 1.5em;
|
15
|
+
text-align: center;
|
16
|
+
a {
|
17
|
+
display: inline-block;
|
18
|
+
&:hover {
|
19
|
+
.nine-logo-svg { fill: $color-alt; }
|
20
|
+
.nine-logo-svg polygon { stroke: $color-alt; }
|
21
|
+
}
|
22
|
+
}
|
23
|
+
span {
|
24
|
+
display: block;
|
25
|
+
margin-bottom: 5px;
|
26
|
+
font-size: 12px;
|
27
|
+
}
|
28
|
+
.nine-logo-svg {
|
29
|
+
width: 80px;
|
30
|
+
height: 40px;
|
31
|
+
fill: #fff;
|
32
|
+
polygon {
|
33
|
+
stroke: #fff;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
nav {
|
38
|
+
margin-top: 10px;
|
39
|
+
ul {
|
40
|
+
padding: 0;
|
41
|
+
margin: 0;
|
42
|
+
list-style-type: none;
|
43
|
+
li {
|
44
|
+
display: inline-block;
|
45
|
+
margin-right: 8px;
|
46
|
+
font-size: 14px;
|
47
|
+
color: #fff;
|
48
|
+
&:last-of-type {
|
49
|
+
margin-right: 0;
|
50
|
+
}
|
51
|
+
a {
|
52
|
+
text-decoration: none;
|
53
|
+
color: $footer-font-color;
|
54
|
+
font-size: 14px;
|
55
|
+
&:hover {
|
56
|
+
color: $color-alt;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
@import "caboose/admin/config";
|
2
|
+
|
3
|
+
input[type="email"],
|
4
|
+
input[type="text"],
|
5
|
+
input[type="password"],
|
6
|
+
textarea {
|
7
|
+
background: #F9F9FB;
|
8
|
+
border-radius: 2px;
|
9
|
+
border-style: solid;
|
10
|
+
color: #505050;
|
11
|
+
font: $input-font;
|
12
|
+
font-size: 16px;
|
13
|
+
border-width: 1px;
|
14
|
+
border-color: #ccc;
|
15
|
+
-webkit-appearance: none;
|
16
|
+
font-size: $input-font-size;
|
17
|
+
padding: 9px 6px;
|
18
|
+
&:focus {
|
19
|
+
outline-width: 0;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
p.note {
|
24
|
+
background: $color-main;
|
25
|
+
display: inline-block;
|
26
|
+
padding: 6px 20px 8px 20px;
|
27
|
+
border-radius: 2px;
|
28
|
+
color: #fff;
|
29
|
+
font-weight: 300;
|
30
|
+
font-size: 14px;
|
31
|
+
margin-top: 15px;
|
32
|
+
a {
|
33
|
+
color: #fff;
|
34
|
+
}
|
35
|
+
&.success {
|
36
|
+
background: #24A55E;
|
37
|
+
}
|
38
|
+
&.error {
|
39
|
+
background: #A5242A;
|
40
|
+
}
|
41
|
+
&.loading {
|
42
|
+
background: #2475A5;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.cognito [class^="icon-"]::before, .cognito[class*=" icon-"]::before {
|
47
|
+
font-family: FontAwesome !important;
|
48
|
+
}
|
49
|
+
|
50
|
+
.cognito [class^="icon-"], .cognito[class*=" icon-"] {
|
51
|
+
font-size: 1em;
|
52
|
+
}
|
53
|
+
|
54
|
+
.cognito {
|
55
|
+
min-height: 300px;
|
56
|
+
background-image: url('/assets/shared/loading.gif');
|
57
|
+
background-size: 36px;
|
58
|
+
background-position: center center;
|
59
|
+
background-repeat: no-repeat;
|
60
|
+
.c-forms-heading .c-forms-form-title, .c-forms-form .c-forms-description, .c-forms-form .c-forms-heading {
|
61
|
+
margin-bottom: 0;
|
62
|
+
}
|
63
|
+
&.c-med, &.c-sml, &.c-lrg {
|
64
|
+
background-image: none;
|
65
|
+
}
|
66
|
+
.c-forms-form {
|
67
|
+
margin: 0 auto;
|
68
|
+
}
|
69
|
+
& > div:last-of-type {
|
70
|
+
visibility: hidden !important;
|
71
|
+
}
|
72
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
@import "caboose/admin/config";
|
2
|
+
|
3
|
+
.conceal {
|
4
|
+
@include big {
|
5
|
+
display: none !important;
|
6
|
+
}
|
7
|
+
@include small {
|
8
|
+
display: inherit;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.reveal {
|
13
|
+
@include big {
|
14
|
+
display: inherit;
|
15
|
+
}
|
16
|
+
@include small {
|
17
|
+
display: none !important;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.reveal-m {
|
22
|
+
@include big {
|
23
|
+
display: inherit;
|
24
|
+
}
|
25
|
+
@include small {
|
26
|
+
display: none !important;
|
27
|
+
}
|
28
|
+
@include medium {
|
29
|
+
display: none !important;
|
30
|
+
}
|
31
|
+
}
|
@@ -0,0 +1,108 @@
|
|
1
|
+
@import "caboose/admin/config";
|
2
|
+
|
3
|
+
.flexbox {
|
4
|
+
@include flexbox();
|
5
|
+
@include small {
|
6
|
+
flex-direction: column;
|
7
|
+
-webkit-flex-direction: column;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
.flex-grid-container {
|
12
|
+
.empty {
|
13
|
+
cursor: pointer;
|
14
|
+
&:hover {
|
15
|
+
background: #ffffd7;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
& > .constrain {
|
19
|
+
padding-left: 0;
|
20
|
+
padding-right: 0;
|
21
|
+
}
|
22
|
+
.flexbox {
|
23
|
+
@include flexbox();
|
24
|
+
.new_block_link, .new_block_link_over {
|
25
|
+
flex-basis: 0;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
.flex-grid-unit {
|
29
|
+
background-size: cover;
|
30
|
+
background-repeat: no-repeat;
|
31
|
+
background-position: center center;
|
32
|
+
-ms-behavior: url('/bg.htc');
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
.grid-row {
|
37
|
+
width: 100%;
|
38
|
+
&::after {
|
39
|
+
content: ".";
|
40
|
+
visibility: hidden;
|
41
|
+
display: block;
|
42
|
+
height: 0;
|
43
|
+
clear: both;
|
44
|
+
}
|
45
|
+
@include big {
|
46
|
+
.unit1of1 {
|
47
|
+
width: 100%;
|
48
|
+
float: left;
|
49
|
+
text-align: left;
|
50
|
+
}
|
51
|
+
.unit1of2 {
|
52
|
+
width: 50%;
|
53
|
+
float: left;
|
54
|
+
text-align: left;
|
55
|
+
}
|
56
|
+
.unit1of3 {
|
57
|
+
width: 33.3333333%;
|
58
|
+
float: left;
|
59
|
+
text-align: left;
|
60
|
+
}
|
61
|
+
.unit2of3 {
|
62
|
+
width: 66.6666666%;
|
63
|
+
float: left;
|
64
|
+
text-align: left;
|
65
|
+
}
|
66
|
+
.unit1of4 {
|
67
|
+
width: 25%;
|
68
|
+
float: left;
|
69
|
+
text-align: left;
|
70
|
+
}
|
71
|
+
.unit3of4 {
|
72
|
+
width: 75%;
|
73
|
+
float: left;
|
74
|
+
text-align: left;
|
75
|
+
}
|
76
|
+
.unit1of5 {
|
77
|
+
width: 20%;
|
78
|
+
float: left;
|
79
|
+
text-align: left;
|
80
|
+
}
|
81
|
+
.unit2of5 {
|
82
|
+
width: 40%;
|
83
|
+
float: left;
|
84
|
+
text-align: left;
|
85
|
+
}
|
86
|
+
.unit4of5 {
|
87
|
+
width: 80%;
|
88
|
+
float: left;
|
89
|
+
text-align: left;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
@include small {
|
94
|
+
.unit1of1,
|
95
|
+
.unit1of2,
|
96
|
+
.unit1of3,
|
97
|
+
.unit1of4,
|
98
|
+
.unit2of3,
|
99
|
+
.unit3of4,
|
100
|
+
.unit1of5,
|
101
|
+
.unit2of5,
|
102
|
+
.unit4of5 {
|
103
|
+
float: none;
|
104
|
+
text-align: center;
|
105
|
+
width: 100%;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
@import "caboose/admin/config";
|
2
|
+
|
3
|
+
header#admin_header {
|
4
|
+
width: 100%;
|
5
|
+
height: 54px;
|
6
|
+
background: #efefef;
|
7
|
+
|
8
|
+
#admin_logo_link {
|
9
|
+
display: none;
|
10
|
+
float: left;
|
11
|
+
width: 350px;
|
12
|
+
height: 100%;
|
13
|
+
background: top left #efefef;
|
14
|
+
|
15
|
+
a {
|
16
|
+
background: url('/assets/caboose/admin/caboose_logo.gif') top left #d07f7f;
|
17
|
+
span { display: none; }
|
18
|
+
}
|
19
|
+
&:focus {
|
20
|
+
outline-width: 0;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
#admin_top_nav {
|
25
|
+
float: right;
|
26
|
+
width: 150px;
|
27
|
+
|
28
|
+
ul {
|
29
|
+
list-style: none;
|
30
|
+
margin: 0;
|
31
|
+
padding: 0;
|
32
|
+
|
33
|
+
li {
|
34
|
+
list-style: none;
|
35
|
+
margin: 0;
|
36
|
+
padding: 0;
|
37
|
+
float: left;
|
38
|
+
|
39
|
+
a {
|
40
|
+
display: block;
|
41
|
+
text-decoration: none;
|
42
|
+
height: 54px;
|
43
|
+
position: relative;
|
44
|
+
|
45
|
+
span.icon {
|
46
|
+
position: absolute;
|
47
|
+
top: 4px;
|
48
|
+
left: 10px;
|
49
|
+
display: block;
|
50
|
+
width: 30px;
|
51
|
+
height: 30px;
|
52
|
+
background-image: url('/assets/caboose/admin/admin_top_nav.gif');
|
53
|
+
}
|
54
|
+
span.text {
|
55
|
+
display: block;
|
56
|
+
height: 54px;
|
57
|
+
padding-top: 34px;
|
58
|
+
color: #7b7d7f !important;
|
59
|
+
font-size: 10px;
|
60
|
+
text-align: center;
|
61
|
+
}
|
62
|
+
&:hover {
|
63
|
+
span.text {
|
64
|
+
color: #d07f7f !important;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
&.my_account a { span.icon { background-position: 0px 0px; left: 25px; } width: 80px; }
|
70
|
+
&.help a { span.icon { background-position: 0px -30px; left: 8px; } width: 45px; }
|
71
|
+
|
72
|
+
&.my_account a:hover { span.icon { background-position: -30px 0px; }}
|
73
|
+
&.help a:hover { span.icon { background-position: -30px -30px; }}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
@import "caboose/admin/config";
|
2
|
+
|
3
|
+
h1,h2,h3,h4,h5,h6 {
|
4
|
+
font: $heading-font;
|
5
|
+
line-height: 1em;
|
6
|
+
margin-bottom: $font-size * 0.8;
|
7
|
+
&.heading-block {
|
8
|
+
color: $color-main;
|
9
|
+
clear: both;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
h1 {
|
13
|
+
font-size: 2em;
|
14
|
+
}
|
15
|
+
h2 {
|
16
|
+
font-size: 1.8em;
|
17
|
+
}
|
18
|
+
h3 {
|
19
|
+
font-size: 1.6em;
|
20
|
+
}
|
21
|
+
h4 {
|
22
|
+
font-size: 1.4em;
|
23
|
+
}
|
24
|
+
h5 {
|
25
|
+
font-size: 1.2em;
|
26
|
+
}
|
27
|
+
h6 {
|
28
|
+
font-size: 1em;
|
29
|
+
}
|
30
|
+
em, i {
|
31
|
+
font-style: italic;
|
32
|
+
}
|
33
|
+
b, strong {
|
34
|
+
font-weight: bold;
|
35
|
+
}
|
36
|
+
span.bold {
|
37
|
+
font-weight: bold;
|
38
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
#admin_nav {
|
2
|
+
height: 100vh;
|
3
|
+
width: 80px;
|
4
|
+
z-index: 100;
|
5
|
+
background: #1d2531;
|
6
|
+
padding: 20px 0 20px 0;
|
7
|
+
border: none;
|
8
|
+
flex: none;
|
9
|
+
|
10
|
+
ul {
|
11
|
+
border: none;
|
12
|
+
list-style: none;
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
|
16
|
+
li {
|
17
|
+
list-style: none;
|
18
|
+
margin: 0;
|
19
|
+
padding: 0;
|
20
|
+
|
21
|
+
a {
|
22
|
+
display: block;
|
23
|
+
text-decoration: none;
|
24
|
+
width: auto;
|
25
|
+
height: 80px;
|
26
|
+
position: relative;
|
27
|
+
|
28
|
+
span.icon {
|
29
|
+
position: absolute;
|
30
|
+
top: 0;
|
31
|
+
left: 0;
|
32
|
+
display: block;
|
33
|
+
width: 80px;
|
34
|
+
height: 60px;
|
35
|
+
background-image: url('/assets/caboose/admin/admin_left_nav.gif');
|
36
|
+
}
|
37
|
+
span.text {
|
38
|
+
display: block;
|
39
|
+
position: absolute;
|
40
|
+
top: 54px;
|
41
|
+
left: 0;
|
42
|
+
width: 80px;
|
43
|
+
height: 26px;
|
44
|
+
color: #4F5E73 !important;
|
45
|
+
text-transform: uppercase;
|
46
|
+
font-size: 10px;
|
47
|
+
text-align: center;
|
48
|
+
}
|
49
|
+
&:hover {
|
50
|
+
span.text { color: #999 !important; }
|
51
|
+
}
|
52
|
+
}
|
53
|
+
&.selected {
|
54
|
+
a, a:hover {
|
55
|
+
span.text { color: #d07f7f !important; }
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
&.pages { a { span.icon { background-position: 0px 0px; } &:hover { span.icon { background-position: -160px 0px; }}} &.selected { a, a:hover { span.icon { background-position: -80px 0px; }}}}
|
60
|
+
&.media { a { span.icon { background-position: 0px -80px; } &:hover { span.icon { background-position: -160px -80px; }}} &.selected { a, a:hover { span.icon { background-position: -80px -80px; }}}}
|
61
|
+
&.posts { a { span.icon { background-position: 0px -160px; } &:hover { span.icon { background-position: -160px -160px; }}} &.selected { a, a:hover { span.icon { background-position: -80px -160px; }}}}
|
62
|
+
&.calendars { a { span.icon { background-position: 0px -240px; } &:hover { span.icon { background-position: -160px -240px; }}} &.selected { a, a:hover { span.icon { background-position: -80px -240px; }}}}
|
63
|
+
&.settings { a { span.icon { background-position: 0px -320px; } &:hover { span.icon { background-position: -162px -320px; }}} &.selected { a, a:hover { span.icon { background-position: -80px -320px; }}}}
|
64
|
+
&.analytics { a { span.icon { background-position: 0px -400px; } &:hover { span.icon { background-position: -160px -400px; }}} &.selected { a, a:hover { span.icon { background-position: -80px -400px; }}}}
|
65
|
+
&.leads { a { span.icon { background-position: 0px -480px; } &:hover { span.icon { background-position: -160px -480px; }}} &.selected { a, a:hover { span.icon { background-position: -80px -480px; }}}}
|
66
|
+
&.store { a { span.icon { background-position: 0px -560px; } &:hover { span.icon { background-position: -160px -560px; }}} &.selected { a, a:hover { span.icon { background-position: -80px -560px; }}}}
|
67
|
+
&.eyesight { a { span.icon { background-position: 0px -640px; } &:hover { span.icon { background-position: -160px -640px; }}} &.selected { a, a:hover { span.icon { background-position: -80px -640px; }}}}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
#admin_sub_nav {
|
72
|
+
z-index : 50;
|
73
|
+
}
|