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,18 @@
|
|
1
|
+
/*
|
2
|
+
* /app/assets/stylsheets/caboose/admin/page_edit/main.scss
|
3
|
+
*
|
4
|
+
*= require_self
|
5
|
+
*= require caboose/admin/page_edit/block_overlays
|
6
|
+
*= require caboose/admin/page_edit/block_anchors
|
7
|
+
*= require caboose/admin/page_edit/device_selector
|
8
|
+
*= require caboose/admin/page_edit/froala
|
9
|
+
*= require caboose/admin/page_edit/group_overlay
|
10
|
+
*= require caboose/admin/page_edit/layout
|
11
|
+
*= require caboose/admin/page_edit/preview
|
12
|
+
*= require caboose/admin/page_edit/publish
|
13
|
+
*= require caboose/admin/page_edit/revisions
|
14
|
+
*= require caboose/admin/page_edit/subnav
|
15
|
+
*= require caboose/admin/page_edit/top_nav
|
16
|
+
*= require caboose/admin/page_edit/modal
|
17
|
+
*/
|
18
|
+
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
|
@@ -0,0 +1,25 @@
|
|
1
|
+
#preview_confirm {
|
2
|
+
position: absolute;
|
3
|
+
top: 48px;
|
4
|
+
right: 10px;
|
5
|
+
z-index: 1000;
|
6
|
+
width: 300px;
|
7
|
+
padding: 10px;
|
8
|
+
border-radius: 6px 6px 6px 6px;
|
9
|
+
border-color: #EDEEF0;
|
10
|
+
border-width: 0 2px 2px 2px;
|
11
|
+
border-style: solid;
|
12
|
+
background: #3893e5;
|
13
|
+
font-size: 14px;
|
14
|
+
color: #fff;
|
15
|
+
text-align: center;
|
16
|
+
p { margin-bottom: 8px; }
|
17
|
+
|
18
|
+
select, input[type=text] {
|
19
|
+
margin: 0;
|
20
|
+
padding: 4px 8px;
|
21
|
+
border: #ccc 1px solid;
|
22
|
+
font-size: 14px;
|
23
|
+
width: 250px;
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
#publish_confirm {
|
2
|
+
position: absolute;
|
3
|
+
top: 48px;
|
4
|
+
right: 10px;
|
5
|
+
z-index: 1000;
|
6
|
+
width: 300px;
|
7
|
+
padding: 10px;
|
8
|
+
border-radius: 6px 0 6px 6px;
|
9
|
+
border-color: #EDEEF0;
|
10
|
+
border-width: 0 2px 2px 2px;
|
11
|
+
border-style: solid;
|
12
|
+
background: #6cb049;
|
13
|
+
font-size: 14px;
|
14
|
+
color: #fff;
|
15
|
+
text-align: center;
|
16
|
+
p { margin-bottom: 8px; }
|
17
|
+
|
18
|
+
select, input[type=text] {
|
19
|
+
margin: 0;
|
20
|
+
padding: 4px 8px;
|
21
|
+
border: #ccc 1px solid;
|
22
|
+
font-size: 14px;
|
23
|
+
width: 250px;
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
|
2
|
+
#revision_history {
|
3
|
+
position: absolute;
|
4
|
+
top: 48px;
|
5
|
+
right: 10px;
|
6
|
+
z-index: 1000;
|
7
|
+
width: 300px;
|
8
|
+
max-height: 200px;
|
9
|
+
overflow-y: scroll;
|
10
|
+
border-radius: 6px 6px 6px 6px;
|
11
|
+
border-color: #EDEEF0;
|
12
|
+
border-width: 0 2px 2px 2px;
|
13
|
+
border-style: solid;
|
14
|
+
background: #3893e5;
|
15
|
+
color: #fff;
|
16
|
+
text-align: center;
|
17
|
+
p {
|
18
|
+
padding: 10px;
|
19
|
+
}
|
20
|
+
|
21
|
+
ul {
|
22
|
+
margin: 0;
|
23
|
+
padding: 0;
|
24
|
+
list-style: none;
|
25
|
+
|
26
|
+
li {
|
27
|
+
margin: 0;
|
28
|
+
padding: 0;
|
29
|
+
list-style: none;
|
30
|
+
|
31
|
+
a {
|
32
|
+
display: block;
|
33
|
+
margin: 0;
|
34
|
+
padding: 0 30px 0 0;
|
35
|
+
width: 285px;
|
36
|
+
background: #3893E5;
|
37
|
+
color: #fff;
|
38
|
+
font-size: 12px;
|
39
|
+
text-decoration: none;
|
40
|
+
border-top: #2d76b7 1px solid;;
|
41
|
+
|
42
|
+
span {
|
43
|
+
display: inline-block;
|
44
|
+
margin: 0;
|
45
|
+
padding: 8px 8px;
|
46
|
+
text-align: center;
|
47
|
+
|
48
|
+
&.user { width: 50%; }
|
49
|
+
&.date { width: 25%; }
|
50
|
+
&.time { width: 25%; }
|
51
|
+
}
|
52
|
+
}
|
53
|
+
&:first-child a { border-top: 0; }
|
54
|
+
&.like a { background-image: url('/assets/caboose/admin/like_thumb.png'); background-position: 4px 3px; }
|
55
|
+
&.current a { background: #2d76b7; }
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
@@ -0,0 +1,273 @@
|
|
1
|
+
|
2
|
+
header#admin_header,
|
3
|
+
#admin_nav,
|
4
|
+
#admin_subnav {
|
5
|
+
font-family: 'Open Sans';
|
6
|
+
z-index: 999;
|
7
|
+
}
|
8
|
+
|
9
|
+
#admin_subnav {
|
10
|
+
h1, h2, h3, h4, h5, h6 {
|
11
|
+
font-family: 'Open Sans';
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
#admin_subnav #admin_subnav_content #edit_block_content .mb_container input[type=text],
|
16
|
+
#admin_subnav #admin_subnav_content #edit_block_content .mb_container select,
|
17
|
+
#admin_subnav #admin_subnav_content #edit_block_content .mb_container .mb_fake option,
|
18
|
+
#admin_subnav #admin_subnav_content #edit_block_content .mb_container option,
|
19
|
+
#admin_subnav #admin_subnav_content #edit_block_content .mb_container .mb_placeholder span {
|
20
|
+
font-family: 'Open Sans';
|
21
|
+
}
|
22
|
+
|
23
|
+
|
24
|
+
#viewers input[type=checkbox] { position: relative; }
|
25
|
+
#editors input[type=checkbox] { position: relative; }
|
26
|
+
|
27
|
+
#admin_subnav .ui-tabs { padding: 0; }
|
28
|
+
#admin_subnav .ui-tabs .ui-tabs-nav { width: 100%; }
|
29
|
+
#admin_subnav .ui-tabs .ui-tabs-nav li { width: 32%; }
|
30
|
+
#admin_subnav .ui-tabs .ui-tabs-nav .ui-tabs-anchor { display: block; padding: 0; width: 100%; text-align: center; }
|
31
|
+
#admin_subnav .ui-tabs .ui-tabs-panel { padding: 0; }
|
32
|
+
#admin_subnav .ui-tabs .ui-tabs-panel .ui-accordion-content { padding: 4px; }
|
33
|
+
#admin_subnav {
|
34
|
+
.subnav_tabs {
|
35
|
+
padding: 0 !important;
|
36
|
+
ul {
|
37
|
+
padding: 0 !important;
|
38
|
+
li {
|
39
|
+
margin: 0;
|
40
|
+
padding: 0;
|
41
|
+
width: 33%;
|
42
|
+
a {
|
43
|
+
font-size: 10px;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
ul.edit_selector {
|
50
|
+
width: 270px;
|
51
|
+
list-style: none;
|
52
|
+
margin: 0;
|
53
|
+
padding: 0;
|
54
|
+
border-top: 4px solid #f7f7f7;
|
55
|
+
li {
|
56
|
+
list-style: none;
|
57
|
+
margin: 0;
|
58
|
+
padding: 0;
|
59
|
+
float: left;
|
60
|
+
|
61
|
+
a {
|
62
|
+
display: block;
|
63
|
+
text-decoration: none;
|
64
|
+
width: 90px;
|
65
|
+
height: 75px;
|
66
|
+
position: relative;
|
67
|
+
// border-top: #f7f7f7 4px solid;
|
68
|
+
border-bottom: #f7f7f7 4px solid;
|
69
|
+
|
70
|
+
span.icon {
|
71
|
+
position: absolute;
|
72
|
+
top: 0px;
|
73
|
+
left: 20px;
|
74
|
+
display: block;
|
75
|
+
width: 50px;
|
76
|
+
height: 50px;
|
77
|
+
background-image: url('/assets/caboose/admin/page_edit_icons2.gif');
|
78
|
+
}
|
79
|
+
span.text {
|
80
|
+
display: block;
|
81
|
+
position: absolute;
|
82
|
+
top: 50px;
|
83
|
+
left: 0;
|
84
|
+
width: 90px;
|
85
|
+
height: 20px;
|
86
|
+
color: #a1a1a1 !important;
|
87
|
+
text-transform: uppercase;
|
88
|
+
font-size: 10px;
|
89
|
+
text-align: center;
|
90
|
+
}
|
91
|
+
&:hover {
|
92
|
+
border-bottom: #8d9fb9 4px solid;
|
93
|
+
span.text { color: #8d9fb9 !important; }
|
94
|
+
}
|
95
|
+
}
|
96
|
+
&.selected {
|
97
|
+
a, a:hover {
|
98
|
+
border-bottom: #505e72 4px solid;
|
99
|
+
span.text { color: #505e72 !important; }
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
&.content { a { span.icon { background-position: 0px 0px; } &:hover { span.icon { background-position: -50px 0px; }}} &.selected { a, a:hover { span.icon { background-position: -100px 0px; }}}}
|
104
|
+
&.layout { a { span.icon { background-position: 0px -50px; } &:hover { span.icon { background-position: -50px -50px; }}} &.selected { a, a:hover { span.icon { background-position: -100px -50px; }}}}
|
105
|
+
&.settings { a { span.icon { background-position: 0px -100px; } &:hover { span.icon { background-position: -50px -100px; }}} &.selected { a, a:hover { span.icon { background-position: -100px -100px; }}}}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
li.layout_block_type {
|
110
|
+
list-style: none;
|
111
|
+
width: 190px;
|
112
|
+
height: 114px;
|
113
|
+
background: url('http://placehold.it/190x114');
|
114
|
+
border: #ccc 1px solid;
|
115
|
+
margin: 0 auto 10px auto;
|
116
|
+
span.name { display: none; }
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
#admin_subnav_content {
|
121
|
+
h2 {
|
122
|
+
clear: left;
|
123
|
+
}
|
124
|
+
|
125
|
+
input.search {
|
126
|
+
width: calc(100% - 10px);
|
127
|
+
height: 30px;
|
128
|
+
margin: 0 auto 10px 0;
|
129
|
+
border-radius: 7px;
|
130
|
+
border: #ccc 2px solid;
|
131
|
+
}
|
132
|
+
|
133
|
+
input.search:focus {
|
134
|
+
outline: none;
|
135
|
+
box-shadow: 0px 0px 2px blue;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
ul.block_types {
|
140
|
+
clear: left;
|
141
|
+
li:nth-child(odd) { margin: 0 10px 10px auto; }
|
142
|
+
li:nth-child(even) { margin: 0 auto 10px 10px; }
|
143
|
+
}
|
144
|
+
|
145
|
+
ul.block_type_groups {
|
146
|
+
clear: left;
|
147
|
+
li:nth-child(odd) { margin: 0 10px 10px auto; }
|
148
|
+
li:nth-child(even) { margin: 0 auto 10px 10px; }
|
149
|
+
}
|
150
|
+
|
151
|
+
li.new_block_type,
|
152
|
+
li.new_block_type_group {
|
153
|
+
list-style: none;
|
154
|
+
width: 100px;
|
155
|
+
height: 100px;
|
156
|
+
float: left;
|
157
|
+
position: relative;
|
158
|
+
|
159
|
+
background-color: #F2F2F2;
|
160
|
+
border-color: #ccc;
|
161
|
+
border-width: 10px;
|
162
|
+
border-style: solid;
|
163
|
+
border-radius: 10px;
|
164
|
+
border-width: 2px;
|
165
|
+
|
166
|
+
background-size: cover;
|
167
|
+
|
168
|
+
.name {
|
169
|
+
display: table;
|
170
|
+
position: absolute;
|
171
|
+
top: 4px;
|
172
|
+
left: 4px;
|
173
|
+
z-index: 21;
|
174
|
+
width: 88px;
|
175
|
+
height: 32px;
|
176
|
+
text-align: center;
|
177
|
+
span {
|
178
|
+
display: table-cell;
|
179
|
+
vertical-align: middle;
|
180
|
+
text-align: center;
|
181
|
+
font-size: 10px;
|
182
|
+
text-transform: uppercase;
|
183
|
+
line-height: 0.95
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
.tag {
|
188
|
+
position: absolute;
|
189
|
+
top: 72px;
|
190
|
+
left: 75px;
|
191
|
+
}
|
192
|
+
|
193
|
+
.tag:hover {
|
194
|
+
cursor: pointer;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
.block_tabs {
|
199
|
+
width: 270px;
|
200
|
+
background: #E7E7E7;
|
201
|
+
margin: 0 0 10px -20px;
|
202
|
+
padding: 10px 0 0 0;
|
203
|
+
ul {
|
204
|
+
text-align: center;
|
205
|
+
li {
|
206
|
+
display: inline-block;
|
207
|
+
a {
|
208
|
+
display: block;
|
209
|
+
margin: 0;
|
210
|
+
padding: 4px 8px;
|
211
|
+
font-size: 12px;
|
212
|
+
text-decoration: none;
|
213
|
+
border-right: #E7E7E7 1px solid;
|
214
|
+
border-bottom: #E7E7E7 1px solid;
|
215
|
+
color: #000;
|
216
|
+
}
|
217
|
+
&:last-child { a { border-right: 0 }}
|
218
|
+
&.selected {
|
219
|
+
border-bottom: none;
|
220
|
+
a { background: #fff; border-bottom: #fff 1px solid; }
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
.subblock_tabs {
|
227
|
+
|
228
|
+
width: 250px;
|
229
|
+
height: 40px;
|
230
|
+
margin: 0 10px 20px -10px;
|
231
|
+
padding: 0;
|
232
|
+
|
233
|
+
background: #fff;
|
234
|
+
border-bottom: #ccc 1px solid;
|
235
|
+
position: relative;
|
236
|
+
ul {
|
237
|
+
position: absolute;
|
238
|
+
top: 10px;
|
239
|
+
left: 0;
|
240
|
+
|
241
|
+
width: 250px;
|
242
|
+
margin: 0 auto;
|
243
|
+
text-align: center;
|
244
|
+
|
245
|
+
li {
|
246
|
+
display: inline-block;
|
247
|
+
a {
|
248
|
+
display: block;
|
249
|
+
height: 30px;
|
250
|
+
margin: 0;
|
251
|
+
padding: 4px 8px 0 8px;
|
252
|
+
font-size: 12px;
|
253
|
+
text-decoration: none;
|
254
|
+
border-top: #ccc 1px solid;
|
255
|
+
border-right: #ccc 1px solid;
|
256
|
+
border-bottom: #ccc 1px solid;
|
257
|
+
color: #000;
|
258
|
+
}
|
259
|
+
&:first-child { a { border-left: #ccc 1px solid; }}
|
260
|
+
&.selected {
|
261
|
+
height: 48px;
|
262
|
+
border-bottom: none;
|
263
|
+
a { background: #fff; border-bottom: #fff 1px solid; }
|
264
|
+
}
|
265
|
+
}
|
266
|
+
}
|
267
|
+
}
|
268
|
+
|
269
|
+
select#tag_selector {
|
270
|
+
width: 100%;
|
271
|
+
font-size: 12pt;
|
272
|
+
margin-bottom: 16px;
|
273
|
+
}
|
@@ -0,0 +1,109 @@
|
|
1
|
+
|
2
|
+
#admin_header #admin_page_top_nav {
|
3
|
+
position: absolute;
|
4
|
+
top: 0;
|
5
|
+
right: 0;
|
6
|
+
|
7
|
+
& > ul {
|
8
|
+
& > li {
|
9
|
+
position: absolute;
|
10
|
+
top: 0;
|
11
|
+
right: 0;
|
12
|
+
display: inline-block;
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
vertical-align: top;
|
16
|
+
|
17
|
+
a {
|
18
|
+
margin: 0;
|
19
|
+
padding: 0;
|
20
|
+
display: inline-block;
|
21
|
+
text-decoration: none;
|
22
|
+
font-size: 12px;
|
23
|
+
text-transform: uppercase;
|
24
|
+
text-align: center;
|
25
|
+
position: relative;
|
26
|
+
background-repeat: no-repeat;
|
27
|
+
border: transparent 1px solid;
|
28
|
+
color: #fff;
|
29
|
+
}
|
30
|
+
a:hover {
|
31
|
+
border: #2d76b7 1px solid;
|
32
|
+
}
|
33
|
+
|
34
|
+
&.select-device {
|
35
|
+
top: 13px;
|
36
|
+
right: 243px;
|
37
|
+
|
38
|
+
#select_device_wrapper {
|
39
|
+
display: none;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
&.stack { top: 13px; right: 244px; }
|
44
|
+
&.undo { top: 13px; right: 204px; }
|
45
|
+
&.redo { top: 13px; right: 174px; }
|
46
|
+
&.revisions { top: 26px; right: 174px; }
|
47
|
+
&.preview { top: 13px; right: 93px; }
|
48
|
+
&.publish { top: 13px; right: 12px; }
|
49
|
+
|
50
|
+
&.select-device a { background-color: #3893e5; width: 75px; height: 30px; border-radius: 6px; padding: 5px 10px 0 10px; }
|
51
|
+
&.undo a { background-color: #3893e5; width: 29px; height: 18px; border-radius: 6px 0px 0px 0px; background-image: url('/assets/caboose/admin/undo_arrow.png'); background-position: 6px 1px; }
|
52
|
+
&.redo a { background-color: #3893e5; width: 29px; height: 18px; border-radius: 0px 6px 0px 0px; background-image: url('/assets/caboose/admin/redo_arrow.png'); background-position: 6px 1px; }
|
53
|
+
&.revisions a { background-color: #3893e5; width: 59px; height: 11px; border-radius: 0px 0px 6px 6px; background-image: url('/assets/caboose/admin/down_arrow.png'); background-position: 22px 0px; }
|
54
|
+
&.preview a { background-color: #3893e5; width: 71px; height: 30px; border-radius: 6px; padding: 5px 10px 0 10px; }
|
55
|
+
&.publish a { background-color: #6cb049; width: 71px; height: 30px; border-radius: 6px; padding: 5px 10px 0 10px; }
|
56
|
+
|
57
|
+
&.stack a { background-color: #3893e5; width: 71px; height: 30px; border-radius: 6px; padding: 5px 10px 0 10px; text-align: center; }
|
58
|
+
&.undo a { background-color: #3893e5; width: 29px; height: 18px; border-radius: 6px 0px 0px 0px; background-image: url('/assets/caboose/admin/undo_arrow.png'); background-position: 6px 1px; }
|
59
|
+
&.redo a { background-color: #3893e5; width: 29px; height: 18px; border-radius: 0px 6px 0px 0px; background-image: url('/assets/caboose/admin/redo_arrow.png'); background-position: 6px 1px; }
|
60
|
+
&.revisions a { background-color: #3893e5; width: 59px; height: 11px; border-radius: 0px 0px 6px 6px; background-image: url('/assets/caboose/admin/down_arrow.png'); background-position: 22px 0px; }
|
61
|
+
&.preview a { background-color: #3893e5; width: 71px; height: 30px; border-radius: 6px; padding: 5px 10px 0 10px; text-align: center; }
|
62
|
+
&.publish a { background-color: #6cb049; width: 71px; height: 30px; border-radius: 6px; padding: 5px 10px 0 10px; text-align: center; }
|
63
|
+
|
64
|
+
&.revisions.open { top: 31px; }
|
65
|
+
&.revisions.open a { height: 16px; border-radius: 0; border-color: transparent !important; }
|
66
|
+
&.revisions.open a:hover { height: 16px; border-radius: 0; border-color: transparent !important; }
|
67
|
+
|
68
|
+
&.preview.open a { height: 35px; border-radius: 6px 6px 0 0; border-color: transparent !important; }
|
69
|
+
&.preview.open a:hover { border-color: #72a761 1px solid; }
|
70
|
+
|
71
|
+
&.publish.open a { height: 35px; border-radius: 6px 6px 0 0; border-color: transparent !important; }
|
72
|
+
&.publish.open a:hover { border-color: #72a761 1px solid; }
|
73
|
+
|
74
|
+
&.stack a span { }
|
75
|
+
&.undo a span { display: none; }
|
76
|
+
&.redo a span { display: none; }
|
77
|
+
&.revisions a span { display: none; }
|
78
|
+
&.preview a span { }
|
79
|
+
&.publish a span { }
|
80
|
+
|
81
|
+
|
82
|
+
&.select-device.open {
|
83
|
+
#select_device_wrapper {
|
84
|
+
display: block;
|
85
|
+
position: absolute;
|
86
|
+
top: 35px;
|
87
|
+
right: -110px;
|
88
|
+
z-index: 1000;
|
89
|
+
width: 250px;
|
90
|
+
padding: 10px;
|
91
|
+
border-radius: 6px 6px 6px 6px;
|
92
|
+
border-color: #EDEEF0;
|
93
|
+
border-width: 0 2px 2px 2px;
|
94
|
+
border-style: solid;
|
95
|
+
background: #3893e5;
|
96
|
+
color: #fff;
|
97
|
+
text-align: center;
|
98
|
+
}
|
99
|
+
/*
|
100
|
+
a {
|
101
|
+
height: 35px;
|
102
|
+
border-radius: 6px 6px 0 0;
|
103
|
+
border-color: transparent !important;
|
104
|
+
}
|
105
|
+
*/
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|