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,182 @@
|
|
1
|
+
#block_overlays_container {
|
2
|
+
position: absolute;
|
3
|
+
top: 0;
|
4
|
+
left: 0;
|
5
|
+
|
6
|
+
#block_overlays {
|
7
|
+
position: relative;
|
8
|
+
|
9
|
+
.section_width_overlay {
|
10
|
+
position: absolute;
|
11
|
+
top: 0;
|
12
|
+
left: 0;
|
13
|
+
z-index: 100;
|
14
|
+
border-left: #3893E5 1px dashed;
|
15
|
+
border-right: #3893E5 1px dashed;
|
16
|
+
}
|
17
|
+
|
18
|
+
.block_overlay {
|
19
|
+
position: absolute;
|
20
|
+
top: 0;
|
21
|
+
left: 0;
|
22
|
+
z-index: 100;
|
23
|
+
/*
|
24
|
+
border: #ff0000 1px dashed;
|
25
|
+
*/
|
26
|
+
&.section_block_overlay {
|
27
|
+
border-bottom: #ff0000 1px dashed;
|
28
|
+
}
|
29
|
+
.message {
|
30
|
+
width: 100%;
|
31
|
+
height: 100%;
|
32
|
+
display: table;
|
33
|
+
}
|
34
|
+
.caboose_note {
|
35
|
+
width: 100%;
|
36
|
+
height: 100%;
|
37
|
+
display: table-cell;
|
38
|
+
vertical-align: middle;
|
39
|
+
text-align: center;
|
40
|
+
padding: 10px 20px; background: #d07f7f; color: #fff; font-size: 16px;
|
41
|
+
}
|
42
|
+
&.selected {
|
43
|
+
background: #fff799;
|
44
|
+
border: #ff0000 2px solid;
|
45
|
+
background: transparent;
|
46
|
+
}
|
47
|
+
|
48
|
+
$dt1: 1px dotted #666666;
|
49
|
+
$dt3: 2px solid #00ff00 !important;
|
50
|
+
|
51
|
+
&.drop_target_active { /* border: $dt1; */ }
|
52
|
+
&.drop_target_hover_all { border-top: $dt3; border-right: $dt3; border-bottom: $dt3; border-left: $dt3; }
|
53
|
+
&.drop_target_hover_top { border-top: $dt3; }
|
54
|
+
&.drop_target_hover_bottom { border-bottom: $dt3; }
|
55
|
+
&.drop_target_hover_left { border-left: $dt3; }
|
56
|
+
&.drop_target_hover_right { border-right: $dt3; }
|
57
|
+
|
58
|
+
&.anchor_source_top { border-top: #00ff00 2px solid !important; }
|
59
|
+
&.anchor_source_right { border-right: #00ff00 2px solid !important; }
|
60
|
+
&.anchor_source_bottom { border-bottom: #00ff00 2px solid !important; }
|
61
|
+
&.anchor_source_left { border-left: #00ff00 2px solid !important; }
|
62
|
+
|
63
|
+
&.anchor_target_top { border-bottom: #00ff00 2px solid !important; }
|
64
|
+
&.anchor_target_right { border-left: #00ff00 2px solid !important; }
|
65
|
+
&.anchor_target_bottom { border-top: #00ff00 2px solid !important; }
|
66
|
+
&.anchor_target_left { border-right: #00ff00 2px solid !important; }
|
67
|
+
|
68
|
+
.overlay_controls {
|
69
|
+
display: none;
|
70
|
+
}
|
71
|
+
|
72
|
+
&.over,
|
73
|
+
&.anchor_drag {
|
74
|
+
/*
|
75
|
+
background: #e3e3e3 !important;
|
76
|
+
background-color: rgba(0,0,0,0.1) !important;
|
77
|
+
*/
|
78
|
+
border: #ff0000 1px dashed;
|
79
|
+
&.selected {
|
80
|
+
border: #ff0000 2px solid;
|
81
|
+
}
|
82
|
+
.overlay_controls {
|
83
|
+
display: block;
|
84
|
+
a {
|
85
|
+
position: absolute;
|
86
|
+
top: -26px;
|
87
|
+
display: block;
|
88
|
+
width: 25px;
|
89
|
+
height: 25px;
|
90
|
+
background-image: url('/assets/caboose/admin/overlay_nav.png');
|
91
|
+
background-repeat: no-repeat;
|
92
|
+
background-position: top left;
|
93
|
+
border: #10151b 1px solid;
|
94
|
+
|
95
|
+
&.content { right: 125px; background-position: -450px 0; border-width: 1px 0px 1px 1px; width: 50px; height: 27px; }
|
96
|
+
&.anchors { right: 99px; background-position: -450px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
97
|
+
&.layers { right: 74px; background-position: -350px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
98
|
+
&.duplicate { right: 49px; background-position: -375px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
99
|
+
&.save { right: 24px; background-position: -300px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
100
|
+
&.delete { right: -1px; background-position: -325px 0; border-width: 1px 1px 1px 1px; width: 27px; height: 27px; }
|
101
|
+
|
102
|
+
&.content {
|
103
|
+
background: #4f5e72;
|
104
|
+
span {
|
105
|
+
padding: 2px 4px 0 0;
|
106
|
+
display: block;
|
107
|
+
text-align: center;
|
108
|
+
color: #fff;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
/*
|
113
|
+
&.align_left { right: 25px; background-position: 50px 0; }
|
114
|
+
&.align_right { right: 25px; background-position: 50px 0; }
|
115
|
+
&.align_bottom { right: 25px; background-position: 50px 0; }
|
116
|
+
&.align_top { right: 25px; background-position: 50px 0; }
|
117
|
+
&.align_horizontally { right: 25px; background-position: 50px 0; }
|
118
|
+
&.align_vertically { right: 25px; background-position: 50px 0; }
|
119
|
+
&.center_horiontally { right: 25px; background-position: 50px 0; }
|
120
|
+
&.center_vertically { right: 25px; background-position: 50px 0; }
|
121
|
+
*/
|
122
|
+
}
|
123
|
+
}
|
124
|
+
&.section_block_overlay {
|
125
|
+
.overlay_controls {
|
126
|
+
a {
|
127
|
+
top: -1px;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
/*
|
135
|
+
.over > .content_handle { display: block; position: relative; z-index: 3; }
|
136
|
+
.over > .anchors_handle { display: block; position: relative; z-index: 3; }
|
137
|
+
.over > .layers_handle { display: block; position: relative; z-index: 3; }
|
138
|
+
.over > .duplicate_handle { display: block; position: relative; z-index: 3; }
|
139
|
+
.over > .save_handle { display: block; position: relative; z-index: 3; }
|
140
|
+
.over > .delete_handle { display: block; position: relative; z-index: 3; }
|
141
|
+
|
142
|
+
.over > .content_handle span { position: absolute; top: 0; right: 200px; width: 100px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
|
143
|
+
.over > .anchors_handle span { position: absolute; top: 0; right: 72px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
|
144
|
+
.over > .layers_handle span { position: absolute; top: 0; right: 54px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
|
145
|
+
.over > .duplicate_handle span { position: absolute; top: 0; right: 36px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
|
146
|
+
.over > .save_handle span { position: absolute; top: 0; right: 18px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
|
147
|
+
.over > .delete_handle span { position: absolute; top: 0; right: 0px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
|
148
|
+
*/
|
149
|
+
|
150
|
+
.highlight {
|
151
|
+
border: rgba(255, 255, 0, 0.5) 2px solid !important;
|
152
|
+
background-color: rgba(255, 255, 0, 0.5);
|
153
|
+
}
|
154
|
+
/*
|
155
|
+
.block_overlay_flex_grid {
|
156
|
+
border: #ff0000 1px dashed;
|
157
|
+
}
|
158
|
+
.block_overlay_flex_unit {
|
159
|
+
border: #ff0000 1px dashed;
|
160
|
+
}
|
161
|
+
*/
|
162
|
+
|
163
|
+
.guide {
|
164
|
+
display: none;
|
165
|
+
position: absolute;
|
166
|
+
left: 0;
|
167
|
+
top: 0;
|
168
|
+
background: #ff0000 !important;
|
169
|
+
z-index: 20000;
|
170
|
+
}
|
171
|
+
|
172
|
+
#guide-h {
|
173
|
+
border-top: 1px dashed #55f !important;
|
174
|
+
width: 100%;
|
175
|
+
}
|
176
|
+
|
177
|
+
#guide-v {
|
178
|
+
border-left: 1px dashed #55f !important;
|
179
|
+
height: 100%;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
|
2
|
+
#select_device_wrapper {
|
3
|
+
|
4
|
+
table {
|
5
|
+
margin: 0 auto;
|
6
|
+
width: 100%;
|
7
|
+
|
8
|
+
td {
|
9
|
+
text-align: center;
|
10
|
+
}
|
11
|
+
|
12
|
+
tr#device_selector {
|
13
|
+
td {
|
14
|
+
margin: 0;
|
15
|
+
padding: 0;
|
16
|
+
|
17
|
+
a {
|
18
|
+
display: block;
|
19
|
+
text-decoration: none;
|
20
|
+
width: 74px;
|
21
|
+
height: 54px !important;
|
22
|
+
margin: 0 auto;
|
23
|
+
padding: 0;
|
24
|
+
position: relative;
|
25
|
+
|
26
|
+
span.icon {
|
27
|
+
position: absolute;
|
28
|
+
top: 0px;
|
29
|
+
left: 0px;
|
30
|
+
display: block;
|
31
|
+
width: 74px;
|
32
|
+
height: 54px;
|
33
|
+
background-image: url('/assets/caboose/admin/admin_device_icons.gif');
|
34
|
+
background-position: center center;
|
35
|
+
}
|
36
|
+
span.text {
|
37
|
+
display: block;
|
38
|
+
position: absolute;
|
39
|
+
top: 36px;
|
40
|
+
left: 0;
|
41
|
+
width: 74px;
|
42
|
+
height: 16px;
|
43
|
+
color: #333 !important;
|
44
|
+
text-transform: uppercase;
|
45
|
+
font-size: 10px;
|
46
|
+
text-align: center;
|
47
|
+
}
|
48
|
+
&:hover {
|
49
|
+
span.text { color: white !important; }
|
50
|
+
}
|
51
|
+
}
|
52
|
+
&.selected {
|
53
|
+
border-bottom: none;
|
54
|
+
a, a:hover {
|
55
|
+
span.text { color: white !important; }
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
&.breakpoint3 /* Mobile */ { a { span.icon { background-position: -74px 0px; } &:hover { span.icon { background-position: -148px 0px; }}} &.selected { a, a:hover { span.icon { background-position: 0 0px; }}}}
|
60
|
+
&.breakpoint2 /* Tablet */ { a { span.icon { background-position: -74px -54px; } &:hover { span.icon { background-position: -148px -54px; }}} &.selected { a, a:hover { span.icon { background-position: 0 -54px; }}}}
|
61
|
+
&.breakpoint1 /* Desktop */ { a { span.icon { background-position: -74px -108px; } &:hover { span.icon { background-position: -148px -108px; }}} &.selected { a, a:hover { span.icon { background-position: 0 -108px; }}}}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
/****************************************/
|
2
|
+
/* Heading Froala editor
|
3
|
+
/****************************************/
|
4
|
+
|
5
|
+
.fr-box.fr-basic .fr-wrapper {
|
6
|
+
background: transparent !important;
|
7
|
+
}
|
8
|
+
.fr-box.fr-basic.fr-top .fr-wrapper {
|
9
|
+
box-shadow : none !important;
|
10
|
+
-webkit-box-shadow: none !important;
|
11
|
+
}
|
12
|
+
|
13
|
+
.heading-froala > .fr-toolbar.fr-desktop.fr-top {
|
14
|
+
position: absolute;
|
15
|
+
top: -40px;
|
16
|
+
width: 500px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.fr-box.fr-basic .fr-wrapper {
|
20
|
+
text-align: center;
|
21
|
+
}
|
22
|
+
|
23
|
+
.fr-box.fr-basic .fr-element {
|
24
|
+
padding: 0 !important;
|
25
|
+
overflow-x: hidden !important;
|
26
|
+
height: 100% !important;
|
27
|
+
}
|
28
|
+
|
29
|
+
.fr-element.fr-viewer {
|
30
|
+
margin: 0;
|
31
|
+
}
|
32
|
+
|
33
|
+
/* Fake highlighting */
|
34
|
+
.sp-text-selected, .sp-text-selected span{
|
35
|
+
/* color: #000 !important; */
|
36
|
+
background-color: #ACCEF7;
|
37
|
+
}
|
38
|
+
|
39
|
+
/* Selection show text color */
|
40
|
+
.fr-element > h1::selection {
|
41
|
+
color: inherit;
|
42
|
+
}
|
43
|
+
|
44
|
+
.fr-element > h1::-moz-selection {
|
45
|
+
color: inherit;
|
46
|
+
}
|
47
|
+
|
48
|
+
.fr-element > h1 > span::selection {
|
49
|
+
color: inherit;
|
50
|
+
}
|
51
|
+
|
52
|
+
.fr-element > h1 > span::-moz-selection {
|
53
|
+
color: inherit;
|
54
|
+
}
|
55
|
+
|
56
|
+
/****************************************/
|
57
|
+
/* Richtext Froala editor
|
58
|
+
/****************************************/
|
59
|
+
|
60
|
+
.richtext-froala > .fr-toolbar.fr-desktop.fr-top {
|
61
|
+
position: absolute;
|
62
|
+
top: -80px;
|
63
|
+
width: 600px;
|
64
|
+
}
|
65
|
+
|
66
|
+
/* Selection show text color */
|
67
|
+
.fr-element::selection {
|
68
|
+
color: inherit;
|
69
|
+
}
|
70
|
+
|
71
|
+
.fr-element::-moz-selection {
|
72
|
+
color: inherit;
|
73
|
+
}
|
74
|
+
|
75
|
+
.fr-element > span::selection {
|
76
|
+
color: inherit;
|
77
|
+
}
|
78
|
+
|
79
|
+
.fr-element > span::-moz-selection {
|
80
|
+
color: inherit;
|
81
|
+
}
|
@@ -0,0 +1,115 @@
|
|
1
|
+
.group_overlay {
|
2
|
+
border: #0000ff 1px dotted;
|
3
|
+
position: absolute;
|
4
|
+
|
5
|
+
.caboose_note {
|
6
|
+
width: 100%;
|
7
|
+
height: 100%;
|
8
|
+
display: table-cell;
|
9
|
+
vertical-align: middle;
|
10
|
+
text-align: center;
|
11
|
+
padding: 10px 20px;
|
12
|
+
background: #d07f7f;
|
13
|
+
color: #fff;
|
14
|
+
font-size: 16px;
|
15
|
+
}
|
16
|
+
|
17
|
+
.group_controls {
|
18
|
+
position: absolute;
|
19
|
+
top: -20px;
|
20
|
+
height: 20px;
|
21
|
+
a {
|
22
|
+
float: right;
|
23
|
+
width: 20px;
|
24
|
+
&.hover { background: #ff0000; }
|
25
|
+
}
|
26
|
+
#align_top {}
|
27
|
+
#align_bottom {}
|
28
|
+
#align_left {}
|
29
|
+
#align_right {}
|
30
|
+
#evenly_dist_h {}
|
31
|
+
#evenly_dist_v {}
|
32
|
+
#create_group {}
|
33
|
+
#clear_group {}
|
34
|
+
}
|
35
|
+
|
36
|
+
.overlay_controls {
|
37
|
+
position: absolute;
|
38
|
+
left: -1px;
|
39
|
+
top: -2px;
|
40
|
+
box-sizing: border-box;
|
41
|
+
display: block;
|
42
|
+
a {
|
43
|
+
position: absolute;
|
44
|
+
top: -25px;
|
45
|
+
display: block;
|
46
|
+
width: 26px;
|
47
|
+
height: 26px;
|
48
|
+
background-image: url('/assets/caboose/admin/overlay_nav.png');
|
49
|
+
background-repeat: no-repeat;
|
50
|
+
background-position: top left;
|
51
|
+
background-color: #ff0000;
|
52
|
+
border: #10151b 1px solid;
|
53
|
+
color: #fff;
|
54
|
+
|
55
|
+
/*
|
56
|
+
&.layers { right: 74px; background-position: -250px 0; background-color: #3c4c62; border-width: 1px 0px 1px 1px; }
|
57
|
+
&.duplicate { right: 49px; background-position: -275px 0; background-color: #3c4c62; border-width: 1px 0px 1px 1px; }
|
58
|
+
*/
|
59
|
+
|
60
|
+
span {
|
61
|
+
display: block;
|
62
|
+
color: #fff;
|
63
|
+
padding-top: 4px;
|
64
|
+
background: #4f5e72;
|
65
|
+
font-size: 12px;
|
66
|
+
}
|
67
|
+
&.align { left: 0px; background: #4f5e72; border-width: 1px 0px 1px 1px; width: 50px; height: 27px; text-align: center; }
|
68
|
+
&.distribute { left: 50px; background: #4f5e72; border-width: 1px 0px 1px 1px; width: 75px; height: 27px; text-align: center; }
|
69
|
+
&.save { left: 125px; background-position: -300px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
70
|
+
&.delete { left: 151px; background-position: -325px 0; border-width: 1px 1px 1px 1px; width: 27px; height: 27px; }
|
71
|
+
|
72
|
+
&.align_top_edges { top: 0; left: 0px; background-position: 0px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
73
|
+
&.align_vertical_centers { top: 0; left: 25px; background-position: -25px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
74
|
+
&.align_bottom_edges { top: 0; left: 50px; background-position: -50px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
75
|
+
&.align_left_edges { top: 0; left: 75px; background-position: -75px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
76
|
+
&.align_horizontal_centers { top: 0; left: 100px; background-position: -100px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
77
|
+
&.align_right_edges { top: 0; left: 125px; background-position: -125px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
78
|
+
|
79
|
+
&.dist_top_edges { top: 0; left: 0px; background-position: -150px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
80
|
+
&.dist_vertical_centers { top: 0; left: 25px; background-position: -175px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
81
|
+
&.dist_bottom_edges { top: 0; left: 50px; background-position: -200px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
82
|
+
&.dist_left_edges { top: 0; left: 75px; background-position: -225px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
83
|
+
&.dist_horizontal_centers { top: 0; left: 100px; background-position: -250px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
84
|
+
&.dist_right_edges { top: 0; left: 125px; background-position: -275px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
85
|
+
&.dist_padding_vertically { top: 0; left: 150px; background-position: -300px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
86
|
+
&.dist_padding_horizontally { top: 0; left: 175px; background-position: -325px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
87
|
+
}
|
88
|
+
#align_controls {
|
89
|
+
position: absolute;
|
90
|
+
top: -25px;
|
91
|
+
left: 50px;
|
92
|
+
width: 0;
|
93
|
+
height: 27px;
|
94
|
+
overflow: hidden;
|
95
|
+
background: #ff0000;
|
96
|
+
}
|
97
|
+
#distribute_controls {
|
98
|
+
position: absolute;
|
99
|
+
top: -25px;
|
100
|
+
left: 125px;
|
101
|
+
width: 0;
|
102
|
+
height: 27px;
|
103
|
+
overflow: hidden;
|
104
|
+
background: #ff0000;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
#multiselect {
|
110
|
+
position:absolute;
|
111
|
+
z-index: 9000;
|
112
|
+
background-color:rgba(73, 144, 225, 0.3);
|
113
|
+
border: 1px solid #4990E1;
|
114
|
+
cursor: default !important;
|
115
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
|
2
|
+
body {
|
3
|
+
padding-bottom: 500px;
|
4
|
+
}
|
5
|
+
|
6
|
+
#loco-loading-overlay {
|
7
|
+
position: fixed;
|
8
|
+
top: 0;
|
9
|
+
left: 0;
|
10
|
+
width: 100%;
|
11
|
+
height: 100%;
|
12
|
+
background: rgba(255,255,255,0.85);
|
13
|
+
z-index: 9999;
|
14
|
+
text-align: center;
|
15
|
+
img {
|
16
|
+
display: inline-block;
|
17
|
+
margin-bottom: 20px;
|
18
|
+
}
|
19
|
+
h1 {
|
20
|
+
margin-bottom: 0;
|
21
|
+
font-size: 18px;
|
22
|
+
color: #4990E1;
|
23
|
+
font-family: "Open Sans";
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
#admin_subnav_toggle {
|
28
|
+
position: absolute;
|
29
|
+
top: 0;
|
30
|
+
left: 0;
|
31
|
+
|
32
|
+
a {
|
33
|
+
display: block;
|
34
|
+
width: 20px;
|
35
|
+
height: 54px;
|
36
|
+
background-image: url('/assets/caboose/admin/left_arrow.png');
|
37
|
+
background-position: center center;
|
38
|
+
background-repeat: no-repeat;
|
39
|
+
|
40
|
+
span { display: none; }
|
41
|
+
}
|
42
|
+
&.no_left_nav {
|
43
|
+
a {
|
44
|
+
background-image: url('/assets/caboose/admin/right_arrow.png');
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
#admin_content_wrapper {
|
50
|
+
// height: calc(100vh - 54px);
|
51
|
+
// overflow: scroll;
|
52
|
+
}
|
53
|
+
#admin_content_body {
|
54
|
+
background: #f3f3f3;
|
55
|
+
padding: 0 !important;
|
56
|
+
}
|
57
|
+
#admin_content_body #page_content {
|
58
|
+
/*max-width: calc(100vw - 390px);*/
|
59
|
+
margin: 0 0 0 1px; /*20px auto*/
|
60
|
+
&.desktop { width: 1080px; }
|
61
|
+
&.tablet { width: 570px; }
|
62
|
+
&.mobile { width: 315px; }
|
63
|
+
}
|
64
|
+
|
65
|
+
#admin_content_body {
|
66
|
+
text-align: center;
|
67
|
+
position: relative;
|
68
|
+
}
|
69
|
+
|
70
|
+
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
|
71
|
+
|
72
|
+
.flex-grid-container.ui-droppable, .flex-grid-unit.ui-droppable {
|
73
|
+
border: 1px dashed #cccccc;
|
74
|
+
&.block_over {
|
75
|
+
border-color: #4990E1;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
#page_content {
|
80
|
+
background: #fff;
|
81
|
+
|
82
|
+
.new_block_link { position: relative; width: 100%; }
|
83
|
+
.new_block_link .line { position: absolute; top: -11px; width: 100%; height: 2px; background: transparent; }
|
84
|
+
.new_block_link a { position: absolute; top: -20px; left: 45%; background: transparent; color: transparent !important; display: block; padding: 4px 8px; }
|
85
|
+
.new_block_link_over { position: relative; width: 100%; }
|
86
|
+
.new_block_link_over .line { position: absolute; top: -11px; width: 100%; height: 2px; background: #ccc; }
|
87
|
+
.new_block_link_over a { position: absolute; top: -22px; left: 45%; color: #fff; background: #666; display: block; padding: 2px 4px; text-decoration: none; font-size: 12px; }
|
88
|
+
|
89
|
+
box-sizing: border-box;
|
90
|
+
-moz-box-sizing: border-box;
|
91
|
+
-webkit-box-sizing: border-box;
|
92
|
+
|
93
|
+
$dt1: 1px dotted #666666;
|
94
|
+
$dt2: none;
|
95
|
+
$dt3: 2px solid #ff0000;
|
96
|
+
|
97
|
+
.drop_target_active { border: $dt1; }
|
98
|
+
.drop_target_hover_all { border-top: $dt3; border-right: $dt3; border-bottom: $dt3; border-left: $dt3; }
|
99
|
+
.drop_target_hover_top { border-top: $dt3; border-right: $dt1; border-bottom: $dt1; border-left: $dt1; }
|
100
|
+
.drop_target_hover_bottom { border-top: $dt1; border-right: $dt1; border-bottom: $dt3; border-left: $dt1; }
|
101
|
+
.drop_target_hover_left { border-top: $dt1; border-right: $dt1; border-bottom: $dt1; border-left: $dt3; }
|
102
|
+
.drop_target_hover_right { border-top: $dt1; border-right: $dt3; border-bottom: $dt1; border-left: $dt1; }
|
103
|
+
}
|
104
|
+
|
105
|
+
.magic_header {
|
106
|
+
padding: 4px 8px;
|
107
|
+
font-size: 10px;
|
108
|
+
}
|
109
|
+
|
110
|
+
.move {
|
111
|
+
width : 25px;
|
112
|
+
height: 25px;
|
113
|
+
right : 0;
|
114
|
+
}
|
115
|
+
|
116
|
+
.move_up {
|
117
|
+
margin-top: 25px;
|
118
|
+
}
|
119
|
+
|
120
|
+
.move_down {
|
121
|
+
margin-top: 50px;
|
122
|
+
}
|
123
|
+
|
124
|
+
/****************************************/
|
125
|
+
|
126
|
+
.selected {
|
127
|
+
border-bottom: #505e72 4px solid;
|
128
|
+
}
|