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,9 @@
|
|
1
|
+
|
2
|
+
#modal_content div.icons { height: 400px; overflow-y: scroll; }
|
3
|
+
#modal_content div.icons h2 { clear: both; padding: 20px 0px 10px 0; text-align: center; }
|
4
|
+
#modal_content div.icons a { display: block; float: left; margin: 4px; border: #fff 0px solid; width: 120px; height: 100px; text-align: center; vertical-align: middle; border: #666 4px solid; }
|
5
|
+
#modal_content div.icons a span.icon { display: block; padding: 10px 20px; font-size: 24pt; color: #fff; }
|
6
|
+
#modal_content div.icons a span.name { display: block; }
|
7
|
+
#modal_content div.icons a:hover { background: #fff69f; color: #000; border: #666 0px solid; border: #666 4px solid; }
|
8
|
+
#modal_content div.icons a:hover span.icon { color: #000; }
|
9
|
+
#modal_content div.icons a:hover span.name { color: #000; }
|
@@ -0,0 +1,960 @@
|
|
1
|
+
body {
|
2
|
+
padding-bottom: 500px;
|
3
|
+
}
|
4
|
+
|
5
|
+
#loco-loading-overlay {
|
6
|
+
position: fixed;
|
7
|
+
top: 0;
|
8
|
+
left: 0;
|
9
|
+
width: 100%;
|
10
|
+
height: 100%;
|
11
|
+
background: rgba(255,255,255,0.85);
|
12
|
+
z-index: 9999;
|
13
|
+
text-align: center;
|
14
|
+
img {
|
15
|
+
display: inline-block;
|
16
|
+
margin-bottom: 20px;
|
17
|
+
}
|
18
|
+
h1 {
|
19
|
+
margin-bottom: 0;
|
20
|
+
font-size: 18px;
|
21
|
+
color: #4990E1;
|
22
|
+
font-family: "Open Sans";
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
#admin_content_wrapper {
|
27
|
+
// height: calc(100vh - 54px);
|
28
|
+
// overflow: scroll;
|
29
|
+
}
|
30
|
+
#admin_content_body {
|
31
|
+
background: #f3f3f3;
|
32
|
+
padding: 0 !important;
|
33
|
+
}
|
34
|
+
#admin_content_body #page_content {
|
35
|
+
/*max-width: calc(100vw - 390px);*/
|
36
|
+
margin: 0 0 0 1px; /*20px auto*/
|
37
|
+
&.desktop { width: 1080px; }
|
38
|
+
&.tablet { width: 570px; }
|
39
|
+
&.mobile { width: 315px; }
|
40
|
+
}
|
41
|
+
|
42
|
+
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
|
43
|
+
|
44
|
+
header#admin_header,
|
45
|
+
#admin_nav,
|
46
|
+
#admin_subnav {
|
47
|
+
font-family: 'Open Sans';
|
48
|
+
z-index: 999;
|
49
|
+
}
|
50
|
+
|
51
|
+
#admin_subnav {
|
52
|
+
h1, h2, h3, h4, h5, h6 {
|
53
|
+
font-family: 'Open Sans';
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
#admin_subnav #admin_subnav_content #edit_block_content .mb_container input[type=text],
|
58
|
+
#admin_subnav #admin_subnav_content #edit_block_content .mb_container select,
|
59
|
+
#admin_subnav #admin_subnav_content #edit_block_content .mb_container .mb_fake option,
|
60
|
+
#admin_subnav #admin_subnav_content #edit_block_content .mb_container option,
|
61
|
+
#admin_subnav #admin_subnav_content #edit_block_content .mb_container .mb_placeholder span {
|
62
|
+
font-family: 'Open Sans';
|
63
|
+
}
|
64
|
+
|
65
|
+
|
66
|
+
#viewers input[type=checkbox] { position: relative; }
|
67
|
+
#editors input[type=checkbox] { position: relative; }
|
68
|
+
|
69
|
+
#admin_subnav .ui-tabs { padding: 0; }
|
70
|
+
#admin_subnav .ui-tabs .ui-tabs-nav { width: 100%; }
|
71
|
+
#admin_subnav .ui-tabs .ui-tabs-nav li { width: 32%; }
|
72
|
+
#admin_subnav .ui-tabs .ui-tabs-nav .ui-tabs-anchor { display: block; padding: 0; width: 100%; text-align: center; }
|
73
|
+
#admin_subnav .ui-tabs .ui-tabs-panel { padding: 0; }
|
74
|
+
#admin_subnav .ui-tabs .ui-tabs-panel .ui-accordion-content { padding: 4px; }
|
75
|
+
#admin_subnav {
|
76
|
+
.subnav_tabs {
|
77
|
+
padding: 0 !important;
|
78
|
+
ul {
|
79
|
+
padding: 0 !important;
|
80
|
+
li {
|
81
|
+
margin: 0;
|
82
|
+
padding: 0;
|
83
|
+
width: 33%;
|
84
|
+
a {
|
85
|
+
font-size: 10px;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
ul.edit_selector {
|
92
|
+
width: 270px;
|
93
|
+
list-style: none;
|
94
|
+
margin: 0;
|
95
|
+
padding: 0;
|
96
|
+
border-top: 4px solid #f7f7f7;
|
97
|
+
li {
|
98
|
+
list-style: none;
|
99
|
+
margin: 0;
|
100
|
+
padding: 0;
|
101
|
+
float: left;
|
102
|
+
|
103
|
+
a {
|
104
|
+
display: block;
|
105
|
+
text-decoration: none;
|
106
|
+
width: 90px;
|
107
|
+
height: 75px;
|
108
|
+
position: relative;
|
109
|
+
// border-top: #f7f7f7 4px solid;
|
110
|
+
border-bottom: #f7f7f7 4px solid;
|
111
|
+
|
112
|
+
span.icon {
|
113
|
+
position: absolute;
|
114
|
+
top: 0px;
|
115
|
+
left: 20px;
|
116
|
+
display: block;
|
117
|
+
width: 50px;
|
118
|
+
height: 50px;
|
119
|
+
background-image: url('/assets/caboose/admin/page_edit_icons2.gif');
|
120
|
+
}
|
121
|
+
span.text {
|
122
|
+
display: block;
|
123
|
+
position: absolute;
|
124
|
+
top: 50px;
|
125
|
+
left: 0;
|
126
|
+
width: 90px;
|
127
|
+
height: 20px;
|
128
|
+
color: #a1a1a1 !important;
|
129
|
+
text-transform: uppercase;
|
130
|
+
font-size: 10px;
|
131
|
+
text-align: center;
|
132
|
+
}
|
133
|
+
&:hover {
|
134
|
+
border-bottom: #8d9fb9 4px solid;
|
135
|
+
span.text { color: #8d9fb9 !important; }
|
136
|
+
}
|
137
|
+
}
|
138
|
+
&.selected {
|
139
|
+
a, a:hover {
|
140
|
+
border-bottom: #505e72 4px solid;
|
141
|
+
span.text { color: #505e72 !important; }
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
&.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; }}}}
|
146
|
+
&.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; }}}}
|
147
|
+
&.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; }}}}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
li.layout_block_type {
|
152
|
+
list-style: none;
|
153
|
+
width: 190px;
|
154
|
+
height: 114px;
|
155
|
+
background: url('http://placehold.it/190x114');
|
156
|
+
border: #ccc 1px solid;
|
157
|
+
margin: 0 auto 10px auto;
|
158
|
+
span.name { display: none; }
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
#admin_subnav_content h2 { clear: left; }
|
163
|
+
|
164
|
+
ul.block_types {
|
165
|
+
clear: left;
|
166
|
+
li:nth-child(odd) { margin: 0 10px 10px auto; }
|
167
|
+
li:nth-child(even) { margin: 0 auto 10px 10px; }
|
168
|
+
}
|
169
|
+
|
170
|
+
ul.block_type_groups {
|
171
|
+
clear: left;
|
172
|
+
li:nth-child(odd) { margin: 0 10px 10px auto; }
|
173
|
+
li:nth-child(even) { margin: 0 auto 10px 10px; }
|
174
|
+
}
|
175
|
+
|
176
|
+
li.new_block_type,
|
177
|
+
li.new_block_type_group {
|
178
|
+
list-style: none;
|
179
|
+
width: 100px;
|
180
|
+
height: 100px;
|
181
|
+
float: left;
|
182
|
+
position: relative;
|
183
|
+
|
184
|
+
background-color: #F2F2F2;
|
185
|
+
border-color: #ccc;
|
186
|
+
border-width: 10px;
|
187
|
+
border-style: solid;
|
188
|
+
border-radius: 10px;
|
189
|
+
border-width: 2px;
|
190
|
+
|
191
|
+
background-size: cover;
|
192
|
+
|
193
|
+
.name {
|
194
|
+
display: table;
|
195
|
+
position: absolute;
|
196
|
+
top: 4px;
|
197
|
+
left: 4px;
|
198
|
+
z-index: 21;
|
199
|
+
width: 88px;
|
200
|
+
height: 32px;
|
201
|
+
text-align: center;
|
202
|
+
span {
|
203
|
+
display: table-cell;
|
204
|
+
vertical-align: middle;
|
205
|
+
text-align: center;
|
206
|
+
font-size: 10px;
|
207
|
+
text-transform: uppercase;
|
208
|
+
line-height: 0.95
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
#admin_content_body {
|
214
|
+
text-align: center;
|
215
|
+
position: relative;
|
216
|
+
}
|
217
|
+
|
218
|
+
#select_device_wrapper {
|
219
|
+
|
220
|
+
table {
|
221
|
+
margin: 0 auto;
|
222
|
+
width: 100%;
|
223
|
+
|
224
|
+
td {
|
225
|
+
text-align: center;
|
226
|
+
}
|
227
|
+
|
228
|
+
tr#device_selector {
|
229
|
+
td {
|
230
|
+
margin: 0;
|
231
|
+
padding: 0;
|
232
|
+
|
233
|
+
a {
|
234
|
+
display: block;
|
235
|
+
text-decoration: none;
|
236
|
+
width: 74px;
|
237
|
+
height: 54px !important;
|
238
|
+
margin: 0 auto;
|
239
|
+
padding: 0;
|
240
|
+
position: relative;
|
241
|
+
|
242
|
+
span.icon {
|
243
|
+
position: absolute;
|
244
|
+
top: 0px;
|
245
|
+
left: 0px;
|
246
|
+
display: block;
|
247
|
+
width: 74px;
|
248
|
+
height: 54px;
|
249
|
+
background-image: url('/assets/caboose/admin/admin_device_icons.gif');
|
250
|
+
background-position: center center;
|
251
|
+
}
|
252
|
+
span.text {
|
253
|
+
display: block;
|
254
|
+
position: absolute;
|
255
|
+
top: 36px;
|
256
|
+
left: 0;
|
257
|
+
width: 74px;
|
258
|
+
height: 16px;
|
259
|
+
color: #333 !important;
|
260
|
+
text-transform: uppercase;
|
261
|
+
font-size: 10px;
|
262
|
+
text-align: center;
|
263
|
+
}
|
264
|
+
&:hover {
|
265
|
+
span.text { color: white !important; }
|
266
|
+
}
|
267
|
+
}
|
268
|
+
&.selected {
|
269
|
+
border-bottom: none;
|
270
|
+
a, a:hover {
|
271
|
+
span.text { color: white !important; }
|
272
|
+
}
|
273
|
+
}
|
274
|
+
|
275
|
+
&.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; }}}}
|
276
|
+
&.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; }}}}
|
277
|
+
&.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; }}}}
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
|
283
|
+
.flex-grid-container.ui-droppable, .flex-grid-unit.ui-droppable {
|
284
|
+
border: 1px dashed #cccccc;
|
285
|
+
&.block_over {
|
286
|
+
border-color: #4990E1;
|
287
|
+
}
|
288
|
+
}
|
289
|
+
|
290
|
+
#page_content {
|
291
|
+
background: #fff;
|
292
|
+
|
293
|
+
.new_block_link { position: relative; width: 100%; }
|
294
|
+
.new_block_link .line { position: absolute; top: -11px; width: 100%; height: 2px; background: transparent; }
|
295
|
+
.new_block_link a { position: absolute; top: -20px; left: 45%; background: transparent; color: transparent !important; display: block; padding: 4px 8px; }
|
296
|
+
.new_block_link_over { position: relative; width: 100%; }
|
297
|
+
.new_block_link_over .line { position: absolute; top: -11px; width: 100%; height: 2px; background: #ccc; }
|
298
|
+
.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; }
|
299
|
+
|
300
|
+
.flexbox {
|
301
|
+
.flex-grid-unit {
|
302
|
+
&.resize_handle {
|
303
|
+
position: relative;
|
304
|
+
width: 4px;
|
305
|
+
background: #dcdcdc;
|
306
|
+
transition: all ease-in 0.1s;
|
307
|
+
position: relative;
|
308
|
+
border-radius: 2px;
|
309
|
+
.grabber {
|
310
|
+
display: none;
|
311
|
+
// width: 20px; height: 20px; position: absolute; top: calc(50% - 10px); left: -10px; background: transparent;
|
312
|
+
}
|
313
|
+
}
|
314
|
+
}
|
315
|
+
&:hover {
|
316
|
+
.flex-grid-unit {
|
317
|
+
&.resize_handle {
|
318
|
+
position: relative;
|
319
|
+
width: 4px;
|
320
|
+
background: #dcdcdc;
|
321
|
+
transition: all ease-in 0.1s;
|
322
|
+
position: relative;
|
323
|
+
border-radius: 2px;
|
324
|
+
.grabber {
|
325
|
+
display: none;
|
326
|
+
// width: 20px; height: 20px; position: absolute; top: calc(50% - 10px); left: -10px; background: #ff0000;
|
327
|
+
}
|
328
|
+
}
|
329
|
+
}
|
330
|
+
}
|
331
|
+
}
|
332
|
+
|
333
|
+
box-sizing: border-box;
|
334
|
+
-moz-box-sizing: border-box;
|
335
|
+
-webkit-box-sizing: border-box;
|
336
|
+
|
337
|
+
$dt1: 1px dotted #666666;
|
338
|
+
$dt2: none;
|
339
|
+
$dt3: 2px solid #ff0000;
|
340
|
+
|
341
|
+
.drop_target_active { border: $dt1; }
|
342
|
+
.drop_target_hover_all { border-top: $dt3; border-right: $dt3; border-bottom: $dt3; border-left: $dt3; }
|
343
|
+
.drop_target_hover_top { border-top: $dt3; border-right: $dt1; border-bottom: $dt1; border-left: $dt1; }
|
344
|
+
.drop_target_hover_bottom { border-top: $dt1; border-right: $dt1; border-bottom: $dt3; border-left: $dt1; }
|
345
|
+
.drop_target_hover_left { border-top: $dt1; border-right: $dt1; border-bottom: $dt1; border-left: $dt3; }
|
346
|
+
.drop_target_hover_right { border-top: $dt1; border-right: $dt3; border-bottom: $dt1; border-left: $dt1; }
|
347
|
+
|
348
|
+
.flex-grid-unit > .drop_target_active { border-bottom: $dt1; }
|
349
|
+
.flex-grid-unit > .drop_target_hover_top { border-bottom: $dt1; }
|
350
|
+
.flex-grid-unit > .drop_target_hover_bottom { border-bottom: $dt3; }
|
351
|
+
.flex-grid-unit > .drop_target_hover_left { border-bottom: $dt1; }
|
352
|
+
.flex-grid-unit > .drop_target_hover_right { border-bottom: $dt1; }
|
353
|
+
|
354
|
+
/*
|
355
|
+
.flex-grid-unit > .drop_target_active:first-child { border-top: $dt2 !important; border-right: $dt2 !important; border-bottom: $dt1; border-left: $dt2 !important; }
|
356
|
+
.flex-grid-unit > .drop_target_hover_top:first-child { border-top: $dt2 !important; border-right: $dt2 !important; border-bottom: $dt1; border-left: $dt2 !important; }
|
357
|
+
.flex-grid-unit > .drop_target_hover_bottom:first-child { border-top: $dt2 !important; border-right: $dt2 !important; border-bottom: $dt3; border-left: $dt2 !important; }
|
358
|
+
.flex-grid-unit > .drop_target_hover_left:first-child { border-top: $dt2 !important; border-right: $dt2 !important; border-bottom: $dt1; border-left: $dt2 !important; }
|
359
|
+
.flex-grid-unit > .drop_target_hover_right:first-child { border-top: $dt2 !important; border-right: $dt2 !important; border-bottom: $dt1; border-left: $dt2 !important; }
|
360
|
+
|
361
|
+
.flex-grid-unit > .drop_target_active:last-child { border-top: $dt1; border-right: $dt2 !important; border-bottom: $dt2 !important; border-left: $dt2 !important; }
|
362
|
+
.flex-grid-unit > .drop_target_hover_top:last-child { border-top: $dt3; border-right: $dt2 !important; border-bottom: $dt2 !important; border-left: $dt2 !important; }
|
363
|
+
.flex-grid-unit > .drop_target_hover_bottom:last-child { border-top: $dt1; border-right: $dt2 !important; border-bottom: $dt2 !important; border-left: $dt2 !important; }
|
364
|
+
.flex-grid-unit > .drop_target_hover_left:last-child { border-top: $dt1; border-right: $dt2 !important; border-bottom: $dt2 !important; border-left: $dt2 !important; }
|
365
|
+
.flex-grid-unit > .drop_target_hover_right:last-child { border-top: $dt1; border-right: $dt2 !important; border-bottom: $dt2 !important; border-left: $dt2 !important; }
|
366
|
+
*/
|
367
|
+
|
368
|
+
/*
|
369
|
+
.drop_target {}
|
370
|
+
.drop_target_horizontal { height: 10px; border: #efefef 1px solid; background: transparent; }
|
371
|
+
.drop_target_vertical { width: 10px !important; border: #efefef 1px solid; background: transparent; flex: 0 0 10px; }
|
372
|
+
|
373
|
+
.drop_target_highlight { border: 1px dotted #666666; }
|
374
|
+
.drop_target_horizontal_highlight { height: 10px; border: #ccc 1px solid; background: #efefef !important; }
|
375
|
+
.drop_target_vertical_highlight { width: 10px !important; border: #ccc 1px solid; background: #efefef !important; flex: 0 0 10px; }
|
376
|
+
|
377
|
+
.drop_target_horizontal_hover { height: 10px; border: #ff0000 1px solid; background: #ffcccc !important; }
|
378
|
+
.drop_target_vertical_hover { width: 10px !important; border: #ff0000 1px solid; background: #ffcccc !important; flex: 0 0 10px; }
|
379
|
+
.drop_target_highlight_about_to_drop { height: 40px !important; background: #ffffff !important; border: #ff0000 1px solid; }
|
380
|
+
*/
|
381
|
+
}
|
382
|
+
|
383
|
+
.magic_header {
|
384
|
+
padding: 4px 8px;
|
385
|
+
font-size: 10px;
|
386
|
+
}
|
387
|
+
|
388
|
+
.block_tabs {
|
389
|
+
width: 270px;
|
390
|
+
background: #E7E7E7;
|
391
|
+
margin: 0 0 10px -20px;
|
392
|
+
padding: 10px 0 0 0;
|
393
|
+
ul {
|
394
|
+
li {
|
395
|
+
display: inline-block;
|
396
|
+
a {
|
397
|
+
display: block;
|
398
|
+
margin: 0;
|
399
|
+
padding: 4px 8px;
|
400
|
+
font-size: 12px;
|
401
|
+
text-decoration: none;
|
402
|
+
border-right: #E7E7E7 1px solid;
|
403
|
+
border-bottom: #E7E7E7 1px solid;
|
404
|
+
color: #000;
|
405
|
+
}
|
406
|
+
&:last-child { a { border-right: 0 }}
|
407
|
+
&.selected { a { background: #fff; border-bottom: #fff 1px solid; }}
|
408
|
+
}
|
409
|
+
}
|
410
|
+
}
|
411
|
+
|
412
|
+
#admin_header #admin_page_top_nav {
|
413
|
+
position: absolute;
|
414
|
+
top: 0;
|
415
|
+
right: 0;
|
416
|
+
|
417
|
+
& > ul {
|
418
|
+
& > li {
|
419
|
+
position: absolute;
|
420
|
+
top: 0;
|
421
|
+
right: 0;
|
422
|
+
display: inline-block;
|
423
|
+
margin: 0;
|
424
|
+
padding: 0;
|
425
|
+
vertical-align: top;
|
426
|
+
|
427
|
+
a {
|
428
|
+
margin: 0;
|
429
|
+
padding: 0;
|
430
|
+
display: inline-block;
|
431
|
+
text-decoration: none;
|
432
|
+
font-size: 12px;
|
433
|
+
text-transform: uppercase;
|
434
|
+
text-align: center;
|
435
|
+
position: relative;
|
436
|
+
background-repeat: no-repeat;
|
437
|
+
border: transparent 1px solid;
|
438
|
+
color: #fff;
|
439
|
+
}
|
440
|
+
a:hover {
|
441
|
+
border: #2d76b7 1px solid;
|
442
|
+
}
|
443
|
+
|
444
|
+
&.select-device {
|
445
|
+
top: 13px;
|
446
|
+
right: 243px;
|
447
|
+
|
448
|
+
#select_device_wrapper {
|
449
|
+
display: none;
|
450
|
+
}
|
451
|
+
}
|
452
|
+
|
453
|
+
&.stack { top: 13px; right: 244px; }
|
454
|
+
&.undo { top: 13px; right: 204px; }
|
455
|
+
&.redo { top: 13px; right: 174px; }
|
456
|
+
&.revisions { top: 26px; right: 174px; }
|
457
|
+
&.preview { top: 13px; right: 93px; }
|
458
|
+
&.publish { top: 13px; right: 12px; }
|
459
|
+
|
460
|
+
&.select-device a { background-color: #3893e5; width: 75px; height: 30px; border-radius: 6px; padding: 5px 10px 0 10px; }
|
461
|
+
&.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; }
|
462
|
+
&.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; }
|
463
|
+
&.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; }
|
464
|
+
&.preview a { background-color: #3893e5; width: 71px; height: 30px; border-radius: 6px; padding: 5px 10px 0 10px; }
|
465
|
+
&.publish a { background-color: #6cb049; width: 71px; height: 30px; border-radius: 6px; padding: 5px 10px 0 10px; }
|
466
|
+
|
467
|
+
&.stack a { background-color: #3893e5; width: 71px; height: 30px; border-radius: 6px; padding: 5px 10px 0 10px; text-align: center; }
|
468
|
+
&.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; }
|
469
|
+
&.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; }
|
470
|
+
&.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; }
|
471
|
+
&.preview a { background-color: #3893e5; width: 71px; height: 30px; border-radius: 6px; padding: 5px 10px 0 10px; text-align: center; }
|
472
|
+
&.publish a { background-color: #6cb049; width: 71px; height: 30px; border-radius: 6px; padding: 5px 10px 0 10px; text-align: center; }
|
473
|
+
|
474
|
+
&.revisions.open { top: 31px; }
|
475
|
+
&.revisions.open a { height: 16px; border-radius: 0; border-color: transparent !important; }
|
476
|
+
&.revisions.open a:hover { height: 16px; border-radius: 0; border-color: transparent !important; }
|
477
|
+
|
478
|
+
&.preview.open a { height: 35px; border-radius: 6px 6px 0 0; border-color: transparent !important; }
|
479
|
+
&.preview.open a:hover { border-color: #72a761 1px solid; }
|
480
|
+
|
481
|
+
&.publish.open a { height: 35px; border-radius: 6px 6px 0 0; border-color: transparent !important; }
|
482
|
+
&.publish.open a:hover { border-color: #72a761 1px solid; }
|
483
|
+
|
484
|
+
&.stack a span { }
|
485
|
+
&.undo a span { display: none; }
|
486
|
+
&.redo a span { display: none; }
|
487
|
+
&.revisions a span { display: none; }
|
488
|
+
&.preview a span { }
|
489
|
+
&.publish a span { }
|
490
|
+
|
491
|
+
|
492
|
+
&.select-device.open {
|
493
|
+
#select_device_wrapper {
|
494
|
+
display: block;
|
495
|
+
position: absolute;
|
496
|
+
top: 35px;
|
497
|
+
right: -110px;
|
498
|
+
z-index: 1000;
|
499
|
+
width: 300px;
|
500
|
+
padding: 10px;
|
501
|
+
border-radius: 6px 6px 6px 6px;
|
502
|
+
border-color: #EDEEF0;
|
503
|
+
border-width: 0 2px 2px 2px;
|
504
|
+
border-style: solid;
|
505
|
+
background: #3893e5;
|
506
|
+
color: #fff;
|
507
|
+
text-align: center;
|
508
|
+
}
|
509
|
+
/*
|
510
|
+
a {
|
511
|
+
height: 35px;
|
512
|
+
border-radius: 6px 6px 0 0;
|
513
|
+
border-color: transparent !important;
|
514
|
+
}
|
515
|
+
*/
|
516
|
+
}
|
517
|
+
}
|
518
|
+
}
|
519
|
+
}
|
520
|
+
|
521
|
+
#revision_history {
|
522
|
+
position: absolute;
|
523
|
+
top: 48px;
|
524
|
+
right: 10px;
|
525
|
+
z-index: 1000;
|
526
|
+
width: 300px;
|
527
|
+
max-height: 200px;
|
528
|
+
overflow-y: scroll;
|
529
|
+
border-radius: 6px 6px 6px 6px;
|
530
|
+
border-color: #EDEEF0;
|
531
|
+
border-width: 0 2px 2px 2px;
|
532
|
+
border-style: solid;
|
533
|
+
background: #3893e5;
|
534
|
+
color: #fff;
|
535
|
+
text-align: center;
|
536
|
+
p {
|
537
|
+
padding: 10px;
|
538
|
+
}
|
539
|
+
|
540
|
+
ul {
|
541
|
+
margin: 0;
|
542
|
+
padding: 0;
|
543
|
+
list-style: none;
|
544
|
+
|
545
|
+
li {
|
546
|
+
margin: 0;
|
547
|
+
padding: 0;
|
548
|
+
list-style: none;
|
549
|
+
|
550
|
+
a {
|
551
|
+
display: block;
|
552
|
+
margin: 0;
|
553
|
+
padding: 0 30px 0 0;
|
554
|
+
width: 285px;
|
555
|
+
background: #3893E5;
|
556
|
+
color: #fff;
|
557
|
+
font-size: 12px;
|
558
|
+
text-decoration: none;
|
559
|
+
border-top: #2d76b7 1px solid;;
|
560
|
+
|
561
|
+
span {
|
562
|
+
display: inline-block;
|
563
|
+
margin: 0;
|
564
|
+
padding: 8px 8px;
|
565
|
+
text-align: center;
|
566
|
+
|
567
|
+
&.user { width: 50%; }
|
568
|
+
&.date { width: 25%; }
|
569
|
+
&.time { width: 25%; }
|
570
|
+
}
|
571
|
+
}
|
572
|
+
&:first-child a { border-top: 0; }
|
573
|
+
&.like a { background-image: url('/assets/caboose/admin/like_thumb.png'); background-position: 4px 3px; }
|
574
|
+
&.current a { background: #2d76b7; }
|
575
|
+
}
|
576
|
+
}
|
577
|
+
}
|
578
|
+
|
579
|
+
#preview_confirm {
|
580
|
+
position: absolute;
|
581
|
+
top: 48px;
|
582
|
+
right: 10px;
|
583
|
+
z-index: 1000;
|
584
|
+
width: 300px;
|
585
|
+
padding: 10px;
|
586
|
+
border-radius: 6px 6px 6px 6px;
|
587
|
+
border-color: #EDEEF0;
|
588
|
+
border-width: 0 2px 2px 2px;
|
589
|
+
border-style: solid;
|
590
|
+
background: #3893e5;
|
591
|
+
font-size: 14px;
|
592
|
+
color: #fff;
|
593
|
+
text-align: center;
|
594
|
+
p { margin-bottom: 8px; }
|
595
|
+
|
596
|
+
select, input[type=text] {
|
597
|
+
margin: 0;
|
598
|
+
padding: 4px 8px;
|
599
|
+
border: #ccc 1px solid;
|
600
|
+
font-size: 14px;
|
601
|
+
width: 250px;
|
602
|
+
}
|
603
|
+
}
|
604
|
+
|
605
|
+
#publish_confirm {
|
606
|
+
position: absolute;
|
607
|
+
top: 48px;
|
608
|
+
right: 10px;
|
609
|
+
z-index: 1000;
|
610
|
+
width: 300px;
|
611
|
+
padding: 10px;
|
612
|
+
border-radius: 6px 0 6px 6px;
|
613
|
+
border-color: #EDEEF0;
|
614
|
+
border-width: 0 2px 2px 2px;
|
615
|
+
border-style: solid;
|
616
|
+
background: #6cb049;
|
617
|
+
font-size: 14px;
|
618
|
+
color: #fff;
|
619
|
+
text-align: center;
|
620
|
+
p { margin-bottom: 8px; }
|
621
|
+
|
622
|
+
select, input[type=text] {
|
623
|
+
margin: 0;
|
624
|
+
padding: 4px 8px;
|
625
|
+
border: #ccc 1px solid;
|
626
|
+
font-size: 14px;
|
627
|
+
width: 250px;
|
628
|
+
}
|
629
|
+
}
|
630
|
+
|
631
|
+
#block_overlays_container {
|
632
|
+
position: absolute;
|
633
|
+
top: 0;
|
634
|
+
left: 0;
|
635
|
+
|
636
|
+
#block_overlays {
|
637
|
+
position: relative;
|
638
|
+
|
639
|
+
.section_width_overlay {
|
640
|
+
position: absolute;
|
641
|
+
top: 0;
|
642
|
+
left: 0;
|
643
|
+
z-index: 100;
|
644
|
+
border-left: #3893E5 1px dashed;
|
645
|
+
border-right: #3893E5 1px dashed;
|
646
|
+
}
|
647
|
+
|
648
|
+
.block_overlay {
|
649
|
+
position: absolute;
|
650
|
+
top: 0;
|
651
|
+
left: 0;
|
652
|
+
z-index: 100;
|
653
|
+
/*
|
654
|
+
border: #ff0000 1px dashed;
|
655
|
+
*/
|
656
|
+
&.section_block_overlay {
|
657
|
+
border-bottom: #ff0000 1px dashed;
|
658
|
+
}
|
659
|
+
.message {
|
660
|
+
width: 100%;
|
661
|
+
height: 100%;
|
662
|
+
display: table;
|
663
|
+
}
|
664
|
+
.caboose_note {
|
665
|
+
width: 100%;
|
666
|
+
height: 100%;
|
667
|
+
display: table-cell;
|
668
|
+
vertical-align: middle;
|
669
|
+
text-align: center;
|
670
|
+
padding: 10px 20px; background: #d07f7f; color: #fff; font-size: 16px;
|
671
|
+
}
|
672
|
+
&.selected {
|
673
|
+
background: #fff799;
|
674
|
+
border: #ff0000 2px solid;
|
675
|
+
background: transparent;
|
676
|
+
}
|
677
|
+
|
678
|
+
$dt1: 1px dotted #666666;
|
679
|
+
$dt3: 2px solid #00ff00 !important;
|
680
|
+
|
681
|
+
&.drop_target_active { /* border: $dt1; */ }
|
682
|
+
&.drop_target_hover_all { border-top: $dt3; border-right: $dt3; border-bottom: $dt3; border-left: $dt3; }
|
683
|
+
&.drop_target_hover_top { border-top: $dt3; }
|
684
|
+
&.drop_target_hover_bottom { border-bottom: $dt3; }
|
685
|
+
&.drop_target_hover_left { border-left: $dt3; }
|
686
|
+
&.drop_target_hover_right { border-right: $dt3; }
|
687
|
+
|
688
|
+
.overlay_controls {
|
689
|
+
display: none;
|
690
|
+
}
|
691
|
+
|
692
|
+
&.over {
|
693
|
+
/*
|
694
|
+
background: #e3e3e3 !important;
|
695
|
+
background-color: rgba(0,0,0,0.1) !important;
|
696
|
+
*/
|
697
|
+
border: #ff0000 1px dashed;
|
698
|
+
&.selected {
|
699
|
+
border: #ff0000 2px solid;
|
700
|
+
}
|
701
|
+
.overlay_controls {
|
702
|
+
display: block;
|
703
|
+
a {
|
704
|
+
position: absolute;
|
705
|
+
top: -26px;
|
706
|
+
display: block;
|
707
|
+
width: 25px;
|
708
|
+
height: 25px;
|
709
|
+
background-image: url('/assets/caboose/admin/overlay_nav.png');
|
710
|
+
background-repeat: no-repeat;
|
711
|
+
background-position: top left;
|
712
|
+
border: #10151b 1px solid;
|
713
|
+
|
714
|
+
&.layers { right: 74px; background-position: -350px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
715
|
+
&.duplicate { right: 49px; background-position: -375px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
716
|
+
&.save { right: 24px; background-position: -300px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
717
|
+
&.delete { right: -1px; background-position: -325px 0; border-width: 1px 1px 1px 1px; width: 27px; height: 27px; }
|
718
|
+
|
719
|
+
/*
|
720
|
+
&.align_left { right: 25px; background-position: 50px 0; }
|
721
|
+
&.align_right { right: 25px; background-position: 50px 0; }
|
722
|
+
&.align_bottom { right: 25px; background-position: 50px 0; }
|
723
|
+
&.align_top { right: 25px; background-position: 50px 0; }
|
724
|
+
&.align_horizontally { right: 25px; background-position: 50px 0; }
|
725
|
+
&.align_vertically { right: 25px; background-position: 50px 0; }
|
726
|
+
&.center_horiontally { right: 25px; background-position: 50px 0; }
|
727
|
+
&.center_vertically { right: 25px; background-position: 50px 0; }
|
728
|
+
*/
|
729
|
+
}
|
730
|
+
}
|
731
|
+
&.section_block_overlay {
|
732
|
+
.overlay_controls {
|
733
|
+
a {
|
734
|
+
top: -1px;
|
735
|
+
}
|
736
|
+
}
|
737
|
+
}
|
738
|
+
}
|
739
|
+
}
|
740
|
+
|
741
|
+
.over > .layers_handle { display: block; position: relative; z-index: 3; }
|
742
|
+
.over > .duplicate_handle { display: block; position: relative; z-index: 3; }
|
743
|
+
.over > .save_handle { display: block; position: relative; z-index: 3; }
|
744
|
+
.over > .delete_handle { display: block; position: relative; z-index: 3; }
|
745
|
+
|
746
|
+
.over > .layers_handle span { position: absolute; top: 0; right: 54px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
|
747
|
+
.over > .duplicate_handle span { position: absolute; top: 0; right: 36px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
|
748
|
+
.over > .save_handle span { position: absolute; top: 0; right: 18px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
|
749
|
+
.over > .delete_handle span { position: absolute; top: 0; right: 0px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
|
750
|
+
|
751
|
+
.highlight { border-width: 2px; background-color: rgba(255, 255, 0, 0.5); }
|
752
|
+
/*
|
753
|
+
.block_overlay_flex_grid {
|
754
|
+
border: #ff0000 1px dashed;
|
755
|
+
}
|
756
|
+
.block_overlay_flex_unit {
|
757
|
+
border: #ff0000 1px dashed;
|
758
|
+
}
|
759
|
+
*/
|
760
|
+
|
761
|
+
.guide {
|
762
|
+
display: none;
|
763
|
+
position: absolute;
|
764
|
+
left: 0;
|
765
|
+
top: 0;
|
766
|
+
background: #ff0000 !important;
|
767
|
+
z-index: 20000;
|
768
|
+
}
|
769
|
+
|
770
|
+
#guide-h {
|
771
|
+
border-top: 1px dashed #55f !important;
|
772
|
+
width: 100%;
|
773
|
+
}
|
774
|
+
|
775
|
+
#guide-v {
|
776
|
+
border-left: 1px dashed #55f !important;
|
777
|
+
height: 100%;
|
778
|
+
}
|
779
|
+
}
|
780
|
+
}
|
781
|
+
|
782
|
+
.group_overlay {
|
783
|
+
border: #0000ff 1px dotted;
|
784
|
+
position: absolute;
|
785
|
+
|
786
|
+
.caboose_note {
|
787
|
+
width: 100%;
|
788
|
+
height: 100%;
|
789
|
+
display: table-cell;
|
790
|
+
vertical-align: middle;
|
791
|
+
text-align: center;
|
792
|
+
padding: 10px 20px;
|
793
|
+
background: #d07f7f;
|
794
|
+
color: #fff;
|
795
|
+
font-size: 16px;
|
796
|
+
}
|
797
|
+
|
798
|
+
.group_controls {
|
799
|
+
position: absolute;
|
800
|
+
top: -20px;
|
801
|
+
height: 20px;
|
802
|
+
a {
|
803
|
+
float: right;
|
804
|
+
width: 20px;
|
805
|
+
&.hover { background: #ff0000; }
|
806
|
+
}
|
807
|
+
#align_top {}
|
808
|
+
#align_bottom {}
|
809
|
+
#align_left {}
|
810
|
+
#align_right {}
|
811
|
+
#evenly_dist_h {}
|
812
|
+
#evenly_dist_v {}
|
813
|
+
#create_group {}
|
814
|
+
#clear_group {}
|
815
|
+
}
|
816
|
+
|
817
|
+
.overlay_controls {
|
818
|
+
position: absolute;
|
819
|
+
left: -1px;
|
820
|
+
top: -2px;
|
821
|
+
box-sizing: border-box;
|
822
|
+
display: block;
|
823
|
+
a {
|
824
|
+
position: absolute;
|
825
|
+
top: -25px;
|
826
|
+
display: block;
|
827
|
+
width: 26px;
|
828
|
+
height: 26px;
|
829
|
+
background-image: url('/assets/caboose/admin/overlay_nav.png');
|
830
|
+
background-repeat: no-repeat;
|
831
|
+
background-position: top left;
|
832
|
+
background-color: #ff0000;
|
833
|
+
border: #10151b 1px solid;
|
834
|
+
color: #fff;
|
835
|
+
|
836
|
+
/*
|
837
|
+
&.layers { right: 74px; background-position: -250px 0; background-color: #3c4c62; border-width: 1px 0px 1px 1px; }
|
838
|
+
&.duplicate { right: 49px; background-position: -275px 0; background-color: #3c4c62; border-width: 1px 0px 1px 1px; }
|
839
|
+
*/
|
840
|
+
|
841
|
+
span {
|
842
|
+
display: block;
|
843
|
+
color: #fff;
|
844
|
+
padding-top: 4px;
|
845
|
+
background: #4f5e72;
|
846
|
+
font-size: 12px;
|
847
|
+
}
|
848
|
+
&.align { left: 0px; background: #4f5e72; border-width: 1px 0px 1px 1px; width: 50px; height: 27px; text-align: center; }
|
849
|
+
&.distribute { left: 50px; background: #4f5e72; border-width: 1px 0px 1px 1px; width: 75px; height: 27px; text-align: center; }
|
850
|
+
&.save { left: 125px; background-position: -300px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
851
|
+
&.delete { left: 151px; background-position: -325px 0; border-width: 1px 1px 1px 1px; width: 27px; height: 27px; }
|
852
|
+
|
853
|
+
&.align_top_edges { top: 0; left: 0px; background-position: 0px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
854
|
+
&.align_vertical_centers { top: 0; left: 25px; background-position: -25px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
855
|
+
&.align_bottom_edges { top: 0; left: 50px; background-position: -50px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
856
|
+
&.align_left_edges { top: 0; left: 75px; background-position: -75px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
857
|
+
&.align_horizontal_centers { top: 0; left: 100px; background-position: -100px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
858
|
+
&.align_right_edges { top: 0; left: 125px; background-position: -125px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
859
|
+
|
860
|
+
&.dist_top_edges { top: 0; left: 0px; background-position: -150px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
861
|
+
&.dist_vertical_centers { top: 0; left: 25px; background-position: -175px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
862
|
+
&.dist_bottom_edges { top: 0; left: 50px; background-position: -200px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
863
|
+
&.dist_left_edges { top: 0; left: 75px; background-position: -225px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
864
|
+
&.dist_horizontal_centers { top: 0; left: 100px; background-position: -250px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
865
|
+
&.dist_right_edges { top: 0; left: 125px; background-position: -275px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
866
|
+
&.dist_padding_vertically { top: 0; left: 150px; background-position: -300px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
867
|
+
&.dist_padding_horizontally { top: 0; left: 175px; background-position: -325px 0; border-width: 1px 0px 1px 1px; width: 26px; height: 27px; }
|
868
|
+
}
|
869
|
+
#align_controls {
|
870
|
+
position: absolute;
|
871
|
+
top: -25px;
|
872
|
+
left: 50px;
|
873
|
+
width: 0;
|
874
|
+
height: 27px;
|
875
|
+
overflow: hidden;
|
876
|
+
background: #ff0000;
|
877
|
+
}
|
878
|
+
#distribute_controls {
|
879
|
+
position: absolute;
|
880
|
+
top: -25px;
|
881
|
+
left: 125px;
|
882
|
+
width: 0;
|
883
|
+
height: 27px;
|
884
|
+
overflow: hidden;
|
885
|
+
background: #ff0000;
|
886
|
+
}
|
887
|
+
}
|
888
|
+
}
|
889
|
+
|
890
|
+
.move {
|
891
|
+
width : 25px;
|
892
|
+
height: 25px;
|
893
|
+
right : 0;
|
894
|
+
}
|
895
|
+
|
896
|
+
.move_up {
|
897
|
+
margin-top: 25px;
|
898
|
+
}
|
899
|
+
|
900
|
+
.move_down {
|
901
|
+
margin-top: 50px;
|
902
|
+
}
|
903
|
+
|
904
|
+
/****************************************/
|
905
|
+
|
906
|
+
.selected {
|
907
|
+
border-bottom: #505e72 4px solid;
|
908
|
+
}
|
909
|
+
|
910
|
+
#multiselect {
|
911
|
+
position:absolute;
|
912
|
+
z-index: 9000;
|
913
|
+
background-color:rgba(73, 144, 225, 0.3);
|
914
|
+
border: 1px solid #4990E1;
|
915
|
+
cursor: default !important;
|
916
|
+
}
|
917
|
+
|
918
|
+
/****************************************/
|
919
|
+
/* Heading Froala editor
|
920
|
+
/****************************************/
|
921
|
+
|
922
|
+
.fr-box.fr-basic .fr-wrapper {
|
923
|
+
background: transparent !important;
|
924
|
+
}
|
925
|
+
.fr-box.fr-basic.fr-top .fr-wrapper {
|
926
|
+
box-shadow : none !important;
|
927
|
+
-webkit-box-shadow: none !important;
|
928
|
+
}
|
929
|
+
|
930
|
+
.heading-froala > .fr-toolbar.fr-desktop.fr-top {
|
931
|
+
position: absolute;
|
932
|
+
top: -40px;
|
933
|
+
width: 500px;
|
934
|
+
}
|
935
|
+
|
936
|
+
.fr-box.fr-basic .fr-wrapper {
|
937
|
+
text-align: center;
|
938
|
+
}
|
939
|
+
|
940
|
+
.fr-box.fr-basic .fr-element {
|
941
|
+
padding: 0 !important;
|
942
|
+
overflow-x: hidden !important;
|
943
|
+
height: 100% !important;
|
944
|
+
}
|
945
|
+
|
946
|
+
.fr-element.fr-viewer {
|
947
|
+
margin: 0;
|
948
|
+
}
|
949
|
+
|
950
|
+
/****************************************/
|
951
|
+
/* Richtext Froala editor
|
952
|
+
/****************************************/
|
953
|
+
|
954
|
+
.richtext-froala > .fr-toolbar.fr-desktop.fr-top {
|
955
|
+
position: absolute;
|
956
|
+
top: -80px;
|
957
|
+
width: 600px;
|
958
|
+
}
|
959
|
+
|
960
|
+
/****************************************/
|