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,57 @@
|
|
1
|
+
@import "caboose/admin/config";
|
2
|
+
|
3
|
+
.order_bumps {
|
4
|
+
|
5
|
+
.current_order_bumps {
|
6
|
+
table {
|
7
|
+
border-collapse: collapse;
|
8
|
+
margin-bottom: 10px;
|
9
|
+
|
10
|
+
th {
|
11
|
+
margin: 0;
|
12
|
+
padding: 4px 8px;
|
13
|
+
border: #ccc 1px solid;
|
14
|
+
font-weight: bold;
|
15
|
+
text-align: center;
|
16
|
+
}
|
17
|
+
td {
|
18
|
+
margin: 0;
|
19
|
+
padding: 4px 8px;
|
20
|
+
border: #ccc 1px solid;
|
21
|
+
|
22
|
+
&.product {}
|
23
|
+
&.quantity {
|
24
|
+
text-align: right;
|
25
|
+
input {
|
26
|
+
width: 60px;
|
27
|
+
text-align: right;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
&.price {
|
31
|
+
text-align: right;
|
32
|
+
input {
|
33
|
+
width: 60px;
|
34
|
+
text-align: right;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.order_bumps_general table,
|
42
|
+
.order_bumps_display table,
|
43
|
+
.order_bumps_shipping table,
|
44
|
+
.order_bumps_tax table {
|
45
|
+
margin-bottom: 10px;
|
46
|
+
td {
|
47
|
+
margin: 0;
|
48
|
+
padding: 4px 8px;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
}
|
53
|
+
|
54
|
+
ul.modal_subtabs {
|
55
|
+
float: left;
|
56
|
+
|
57
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
|
2
|
+
.page_links {
|
3
|
+
|
4
|
+
}
|
5
|
+
|
6
|
+
.page_links a {
|
7
|
+
display: inline-block;
|
8
|
+
margin: 0 2px;
|
9
|
+
padding: 5px 8px 3px 8px;
|
10
|
+
|
11
|
+
border: #333 1px solid;
|
12
|
+
background: #333;
|
13
|
+
color: #fff;
|
14
|
+
text-decoration: none;
|
15
|
+
}
|
16
|
+
|
17
|
+
.page_links a:hover {
|
18
|
+
background: #505050;
|
19
|
+
color: #fff;
|
20
|
+
}
|
21
|
+
|
22
|
+
.page_links .middle_links a {
|
23
|
+
|
24
|
+
}
|
25
|
+
|
26
|
+
.page_links span.current_page {
|
27
|
+
display: inline-block;
|
28
|
+
padding: 5px 8px 3px 8px;
|
29
|
+
|
30
|
+
border: #333 1px solid;
|
31
|
+
background: #ccc;
|
32
|
+
color: #000;
|
33
|
+
text-decoration: none;
|
34
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
.product_images {
|
3
|
+
.large_image img { width: 400px; }
|
4
|
+
.thumbnails img { width: 100px; }
|
5
|
+
.spacer { line-height: 0; clear: left; }
|
6
|
+
}
|
7
|
+
|
8
|
+
.product_images_edit_thumbs {
|
9
|
+
div {
|
10
|
+
width: 72px;
|
11
|
+
height: 72px;
|
12
|
+
background-size: contain;
|
13
|
+
background-repeat: no-repeat;
|
14
|
+
background-position: center center;
|
15
|
+
margin: 0 4px 4px 0;
|
16
|
+
float: left;
|
17
|
+
}
|
18
|
+
.selected {
|
19
|
+
border: #ff0000 2px solid;
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
|
2
|
+
#modal_tabs {
|
3
|
+
width: 200px;
|
4
|
+
float: left;
|
5
|
+
/*
|
6
|
+
position: absolute;
|
7
|
+
top: 41px;
|
8
|
+
left: 0;
|
9
|
+
*/
|
10
|
+
list-style: none;
|
11
|
+
margin: 0;
|
12
|
+
padding: 0;
|
13
|
+
border-top: #ccc 1px solid;
|
14
|
+
}
|
15
|
+
#modal_tabs ul li {
|
16
|
+
list-style: none;
|
17
|
+
margin: 0;
|
18
|
+
padding: 0;
|
19
|
+
}
|
20
|
+
#modal_tabs li.back {
|
21
|
+
padding: 10px 0;
|
22
|
+
}
|
23
|
+
#modal_tabs a {
|
24
|
+
display: block;
|
25
|
+
margin: 0;
|
26
|
+
padding: 16px 12px 12px 12px;
|
27
|
+
text-decoration: none;
|
28
|
+
background: #efefef;
|
29
|
+
border-bottom: #ccc 1px solid;
|
30
|
+
color: #000;
|
31
|
+
}
|
32
|
+
#modal_tabs a:hover {
|
33
|
+
background: #666;
|
34
|
+
color: #fff;
|
35
|
+
}
|
36
|
+
#modal_tabs li.selected a {
|
37
|
+
background: transparent;
|
38
|
+
color: #000;
|
39
|
+
font-weight: bold;
|
40
|
+
}
|
41
|
+
#modal_content2 {
|
42
|
+
margin-left: 220px;
|
43
|
+
}
|
44
|
+
#modal_content h1 {
|
45
|
+
height: 30px;
|
46
|
+
padding-bottom: 10px;
|
47
|
+
border-bottom: #666 1px dotted;
|
48
|
+
}
|
49
|
+
#variants_wrapper {
|
50
|
+
width: 100%;
|
51
|
+
}
|
52
|
+
#variants {
|
53
|
+
border-collapse: collapse;
|
54
|
+
}
|
55
|
+
#variants td {
|
56
|
+
margin: 0;
|
57
|
+
padding: 0;
|
58
|
+
border: #666 1px dotted;
|
59
|
+
}
|
60
|
+
#variants td input[type='text'] {
|
61
|
+
background: transparent;
|
62
|
+
color: #000;
|
63
|
+
border: 0;
|
64
|
+
font-size: 75%;
|
65
|
+
}
|
66
|
+
#variants th {
|
67
|
+
font-size: 85%;
|
68
|
+
}
|
69
|
+
#variants td.edit a {
|
70
|
+
display: block;
|
71
|
+
padding: 12px 12px;
|
72
|
+
border: 0;
|
73
|
+
}
|
74
|
+
#variants td.edit a:hover {
|
75
|
+
background: #333;
|
76
|
+
color: #fff;
|
77
|
+
}
|
78
|
+
#variants td.delete a {
|
79
|
+
display: block;
|
80
|
+
padding: 12px 12px;
|
81
|
+
border: 0;
|
82
|
+
}
|
83
|
+
#variants td.delete a:hover {
|
84
|
+
background: #333;
|
85
|
+
color: #fff;
|
86
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
@import "caboose/admin/config";
|
2
|
+
|
3
|
+
.search-results-container {
|
4
|
+
max-width: $max-width;
|
5
|
+
margin: 0 auto;
|
6
|
+
padding: 20px 2%;
|
7
|
+
.intro {
|
8
|
+
font-size: 1.1em;
|
9
|
+
margin-bottom: 20px;
|
10
|
+
}
|
11
|
+
.results {
|
12
|
+
list-style-type: none;
|
13
|
+
li {
|
14
|
+
display: block;
|
15
|
+
padding: 10px 2%;
|
16
|
+
color: $color-dark;
|
17
|
+
&:nth-of-type(odd) {
|
18
|
+
background: rgb(240, 240, 240);
|
19
|
+
}
|
20
|
+
a, .event-title {
|
21
|
+
color: $color-main;
|
22
|
+
}
|
23
|
+
.post-meta {
|
24
|
+
font-size: 0.95em;
|
25
|
+
margin-top: 2px;
|
26
|
+
padding-left: 18px;
|
27
|
+
color: #5A5A5A;
|
28
|
+
.author {
|
29
|
+
font-style: italic;
|
30
|
+
font-size: 14px;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
.result-text {
|
34
|
+
margin-top: 4px;
|
35
|
+
font-size: 0.9em;
|
36
|
+
}
|
37
|
+
.date {
|
38
|
+
margin-top: 3px;
|
39
|
+
font-size: 0.85em;
|
40
|
+
color: rgb(121, 121, 121);
|
41
|
+
}
|
42
|
+
.highlight {
|
43
|
+
background: rgb(249, 249, 176);
|
44
|
+
display: inline-block;
|
45
|
+
padding: 1px;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
@import "caboose/admin/config";
|
2
|
+
|
3
|
+
.admin_container select {
|
4
|
+
background: #fff none repeat scroll 0 0;
|
5
|
+
border-color: #2475a5;
|
6
|
+
border-radius: 2px;
|
7
|
+
border-style: solid;
|
8
|
+
border-width: 1px;
|
9
|
+
color: #505050;
|
10
|
+
font: 1em "body-font",sans-serif;
|
11
|
+
padding: 9px 0px;
|
12
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
|
2
|
+
#admin_subnav_content {
|
3
|
+
#tabs {
|
4
|
+
list-style: none;
|
5
|
+
margin: 0;
|
6
|
+
padding: 0;
|
7
|
+
|
8
|
+
li {
|
9
|
+
list-style: none;
|
10
|
+
margin: 0;
|
11
|
+
padding: 0;
|
12
|
+
|
13
|
+
a {
|
14
|
+
display: block;
|
15
|
+
text-decoration: none;
|
16
|
+
color: #7b7d7f;
|
17
|
+
margin: 0 -20px 0 -10px;
|
18
|
+
padding: 8px 20px 8px 10px;
|
19
|
+
}
|
20
|
+
|
21
|
+
&.selected {
|
22
|
+
background: #f9f9fb;
|
23
|
+
a {
|
24
|
+
background: #f9f9fb;
|
25
|
+
color: #000;
|
26
|
+
border-left: #dededf 1px solid;
|
27
|
+
border-top: #dededf 1px solid;
|
28
|
+
border-bottom: #dededf 1px solid;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
@@ -0,0 +1,140 @@
|
|
1
|
+
|
2
|
+
.horizontal_tabs_container {
|
3
|
+
|
4
|
+
width: 100%;
|
5
|
+
margin: 0;
|
6
|
+
padding: 0;
|
7
|
+
|
8
|
+
ul.tabs {
|
9
|
+
width: 100%;
|
10
|
+
height: 30px;
|
11
|
+
margin: 0 auto 20px auto;
|
12
|
+
background: #fff;
|
13
|
+
border-bottom: #ccc 1px solid;
|
14
|
+
text-align: center;
|
15
|
+
list-style: none;
|
16
|
+
|
17
|
+
li {
|
18
|
+
display: inline-block;
|
19
|
+
a {
|
20
|
+
display: block;
|
21
|
+
height: 30px;
|
22
|
+
margin: 0;
|
23
|
+
padding: 4px 8px 0 8px;
|
24
|
+
font-size: 12px;
|
25
|
+
text-decoration: none;
|
26
|
+
border-top: #ccc 1px solid;
|
27
|
+
border-right: #ccc 1px solid;
|
28
|
+
border-bottom: #ccc 1px solid;
|
29
|
+
color: #000;
|
30
|
+
}
|
31
|
+
&:first-child { a { border-left: #ccc 1px solid; }}
|
32
|
+
&.selected {
|
33
|
+
height: 48px;
|
34
|
+
border-bottom: none;
|
35
|
+
a { background: #fff; border-bottom: #fff 1px solid; }
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
.content {
|
40
|
+
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
#admin_content_body {
|
45
|
+
.horizontal_tabs_container {
|
46
|
+
|
47
|
+
width: 100%;
|
48
|
+
margin: 0;
|
49
|
+
padding: 0;
|
50
|
+
background: transparent;
|
51
|
+
|
52
|
+
ul.tabs {
|
53
|
+
width: 100%;
|
54
|
+
height: 60px;
|
55
|
+
margin: 0 auto 0 auto;
|
56
|
+
padding: 20px 0 0 0;
|
57
|
+
border-bottom: #ccc 1px solid;
|
58
|
+
text-align: left;
|
59
|
+
list-style: none;
|
60
|
+
background: transparent;
|
61
|
+
|
62
|
+
li {
|
63
|
+
display: inline-block;
|
64
|
+
a {
|
65
|
+
display: block;
|
66
|
+
height: 40px;
|
67
|
+
margin: 0;
|
68
|
+
padding: 8px 8px 0 8px;
|
69
|
+
font-size: 16px;
|
70
|
+
text-decoration: none;
|
71
|
+
border-top: #ccc 1px solid;
|
72
|
+
border-left: #ccc 1px solid;
|
73
|
+
border-right: #ccc 1px solid;
|
74
|
+
border-bottom: #ccc 1px solid;
|
75
|
+
background: #f1f1f1;
|
76
|
+
color: #000;
|
77
|
+
}
|
78
|
+
&:first-child { a { border-left: #ccc 1px solid; }}
|
79
|
+
&.selected {
|
80
|
+
height: 48px;
|
81
|
+
border-bottom: none;
|
82
|
+
a { background: #fff; border-bottom: #fff 1px solid; }
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
.content {
|
87
|
+
|
88
|
+
}
|
89
|
+
}
|
90
|
+
.tab_content {
|
91
|
+
background: #fff;
|
92
|
+
padding: 20px;
|
93
|
+
border-left: #ccc 1px solid;
|
94
|
+
border-right: #ccc 1px solid;
|
95
|
+
border-bottom: #ccc 1px solid;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
.vertical_tabs_container {
|
100
|
+
.tabs {
|
101
|
+
width: 150px;
|
102
|
+
margin: 0;
|
103
|
+
padding: 0;
|
104
|
+
float: left;
|
105
|
+
list-style: none;
|
106
|
+
|
107
|
+
li {
|
108
|
+
list-style: none;
|
109
|
+
margin: 0;
|
110
|
+
padding: 0;
|
111
|
+
border: none;
|
112
|
+
|
113
|
+
a {
|
114
|
+
display: block;
|
115
|
+
text-decoration: none;
|
116
|
+
color: #7b7d7f;
|
117
|
+
margin: 0 -20px 0 -10px;
|
118
|
+
padding: 8px 20px 8px 10px;
|
119
|
+
text-decoration: none;
|
120
|
+
}
|
121
|
+
|
122
|
+
&.selected {
|
123
|
+
background: #f9f9fb;
|
124
|
+
border: none;
|
125
|
+
|
126
|
+
a {
|
127
|
+
background: #f9f9fb;
|
128
|
+
color: #000;
|
129
|
+
border-left: #dededf 1px solid;
|
130
|
+
border-top: #dededf 1px solid;
|
131
|
+
border-bottom: #dededf 1px solid;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
.content {
|
137
|
+
margin-left: 175px;
|
138
|
+
|
139
|
+
}
|
140
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
|
2
|
+
.block_overlay {
|
3
|
+
|
4
|
+
.block_anchors {
|
5
|
+
display: none;
|
6
|
+
}
|
7
|
+
|
8
|
+
&.over,
|
9
|
+
&.anchor_drag {
|
10
|
+
|
11
|
+
.block_anchors {
|
12
|
+
display: block;
|
13
|
+
width: 100%;
|
14
|
+
height: 100%;
|
15
|
+
position: absolute;
|
16
|
+
top: 0;
|
17
|
+
left: 0;
|
18
|
+
|
19
|
+
a {
|
20
|
+
position: absolute;
|
21
|
+
display: block;
|
22
|
+
width: 25px;
|
23
|
+
height: 25px;
|
24
|
+
background-image: url('/assets/caboose/admin/overlay_nav.png');
|
25
|
+
background-repeat: no-repeat;
|
26
|
+
background-position: -450px 0;
|
27
|
+
border: #10151b 1px solid;
|
28
|
+
&.set { background-position: -325px 0; }
|
29
|
+
|
30
|
+
&.top { top: 0; left: 50%; /* transform: translateY(10px); */ }
|
31
|
+
&.right { top: 50%; right: 0; /* transform: translateY(10px); */ }
|
32
|
+
&.bottom { top: 100%; left: 50%; /* transform: translateY(10px); */ }
|
33
|
+
&.left { top: 50%; left: 0; /* transform: translateY(10px); */ }
|
34
|
+
|
35
|
+
span {
|
36
|
+
display: none;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
.anchor_line {
|
41
|
+
position: absolute;
|
42
|
+
z-index: 1000000;
|
43
|
+
height: 3px;
|
44
|
+
background: #ff0000;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|