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,55 @@
|
|
1
|
+
|
2
|
+
/*******************************************************************************
|
3
|
+
Message boxes
|
4
|
+
*******************************************************************************/
|
5
|
+
|
6
|
+
.loading {
|
7
|
+
background-image: url('/assets/caboose/loading_black_on_white.gif');
|
8
|
+
background-position: 0 center;
|
9
|
+
background-repeat: no-repeat;
|
10
|
+
color: #000;
|
11
|
+
font-weight: normal;
|
12
|
+
font-size: 16pt;
|
13
|
+
padding: 10px 10px 10px 40px;
|
14
|
+
}
|
15
|
+
|
16
|
+
.note {
|
17
|
+
padding: 20px;
|
18
|
+
margin-bottom: 10px;
|
19
|
+
background: #fef49c;
|
20
|
+
color: #000000;
|
21
|
+
font-weight: bold;
|
22
|
+
font-size: 1em;
|
23
|
+
border-radius: 3px;
|
24
|
+
|
25
|
+
h2 { margin: 0 0 10px 0; padding: 0; }
|
26
|
+
}
|
27
|
+
|
28
|
+
.note_small {
|
29
|
+
display: block;
|
30
|
+
padding: 4px 10px;
|
31
|
+
background: #fef49c;
|
32
|
+
color: #000000;
|
33
|
+
font-size: 1em;
|
34
|
+
border-radius: 3px;
|
35
|
+
}
|
36
|
+
|
37
|
+
.error {
|
38
|
+
background: #9c171b !important;
|
39
|
+
color: #ffffff;
|
40
|
+
a { color: #fff; }
|
41
|
+
a:hover { color: #000; }
|
42
|
+
}
|
43
|
+
|
44
|
+
.success {
|
45
|
+
background: #009900;
|
46
|
+
color: #ffffff;
|
47
|
+
a { color: #ffffff; }
|
48
|
+
}
|
49
|
+
|
50
|
+
.warning {
|
51
|
+
background: #9c171b !important;
|
52
|
+
color: #ffffff;
|
53
|
+
a { color: #fff; }
|
54
|
+
a:hover { color: #000; }
|
55
|
+
}
|
@@ -0,0 +1,189 @@
|
|
1
|
+
|
2
|
+
.page_links span,
|
3
|
+
.page_links a {
|
4
|
+
margin-right: 4px;
|
5
|
+
}
|
6
|
+
|
7
|
+
.mb_container {
|
8
|
+
/*width: 80%;*/
|
9
|
+
overflow: hidden;
|
10
|
+
|
11
|
+
* {
|
12
|
+
-moz-box-sizing: border-box;
|
13
|
+
-webkit-box-sizing: border-box;
|
14
|
+
box-sizing: border-box;
|
15
|
+
}
|
16
|
+
|
17
|
+
div.mb_model_attribute_text {
|
18
|
+
color: #000;
|
19
|
+
}
|
20
|
+
|
21
|
+
input[type=text], select.mb_fake, textarea {
|
22
|
+
border: #ccc 1px solid;
|
23
|
+
}
|
24
|
+
|
25
|
+
input[type=text], select, .mb_fake option, option {
|
26
|
+
font-size: 16px !important;
|
27
|
+
}
|
28
|
+
|
29
|
+
input.mb_dirty, textarea.mb_dirty {
|
30
|
+
background: #fff799 !important;
|
31
|
+
color: #000 !important;
|
32
|
+
}
|
33
|
+
|
34
|
+
select.mb_fake {
|
35
|
+
background: transparent;
|
36
|
+
position: absolute;
|
37
|
+
top: 0;
|
38
|
+
left: 0;
|
39
|
+
color: transparent;
|
40
|
+
background: transparent;
|
41
|
+
height: 43px;
|
42
|
+
|
43
|
+
option {
|
44
|
+
background: #fff;
|
45
|
+
color: #000;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.mb_bound_input_check a,
|
50
|
+
.mb_bound_input_cancel a {
|
51
|
+
border: 1px solid #ccc;
|
52
|
+
-moz-border-radius: 2px;
|
53
|
+
-webkit-border-radius: 2px;
|
54
|
+
border-radius: 2px;
|
55
|
+
|
56
|
+
font-size: 20px;
|
57
|
+
text-align: center;
|
58
|
+
background: #9CD092;
|
59
|
+
color: #fff;
|
60
|
+
|
61
|
+
display: block;
|
62
|
+
padding: 4px 0;
|
63
|
+
height: 34px;
|
64
|
+
}
|
65
|
+
|
66
|
+
.mb_bound_input_check a.loading {
|
67
|
+
background-image: url(/assets/caboose/loading_green.gif);
|
68
|
+
background-color: #9CD092;
|
69
|
+
background-repeat: no-repeat;
|
70
|
+
background-position: 6px 5px;
|
71
|
+
color: rgba(255, 255, 255, 0.0);
|
72
|
+
}
|
73
|
+
|
74
|
+
.mb_bound_textarea_controls a {
|
75
|
+
display: inline-block;
|
76
|
+
margin: 3px 0 0 1px;
|
77
|
+
padding: 8px 0 6px 0;
|
78
|
+
background: #ccc;
|
79
|
+
color: #000 !important;
|
80
|
+
text-align: center;
|
81
|
+
border: #666 1px solid;
|
82
|
+
|
83
|
+
a.save { width: 60px; }
|
84
|
+
a.discard { width: 80px; }
|
85
|
+
}
|
86
|
+
|
87
|
+
.mb_placeholder {
|
88
|
+
display: block;
|
89
|
+
margin: 0;
|
90
|
+
padding: 0 5px 0 3px;
|
91
|
+
/*height: 34px;*/
|
92
|
+
|
93
|
+
position: absolute;
|
94
|
+
top: 10px;
|
95
|
+
left: 1px;
|
96
|
+
z-index: 19;
|
97
|
+
|
98
|
+
span {
|
99
|
+
display: block;
|
100
|
+
font-size: 16px;
|
101
|
+
color: #757575;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
.mb_mask {
|
106
|
+
display: block;
|
107
|
+
margin: 0;
|
108
|
+
padding: 0 5px 0 0;
|
109
|
+
/*height: 34px;*/
|
110
|
+
|
111
|
+
position: absolute;
|
112
|
+
top: 8px;
|
113
|
+
right: 0px;
|
114
|
+
z-index: 19;
|
115
|
+
|
116
|
+
a {
|
117
|
+
display: block;
|
118
|
+
font-size: 14px;
|
119
|
+
color: #757575;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
form.mb_file_form div.mb_placeholder {
|
124
|
+
position: relative;
|
125
|
+
float: left;
|
126
|
+
margin-right: 14px;
|
127
|
+
}
|
128
|
+
|
129
|
+
form.mb_file_form div.mb_placeholder span {
|
130
|
+
display: inline;
|
131
|
+
}
|
132
|
+
|
133
|
+
input[type='checkbox'] {
|
134
|
+
position: absolute;
|
135
|
+
top: 16px;
|
136
|
+
left: 0;
|
137
|
+
z-index: 19;
|
138
|
+
|
139
|
+
margin: 0;
|
140
|
+
padding: 0;
|
141
|
+
width: 20px;
|
142
|
+
}
|
143
|
+
|
144
|
+
div.model_attribute_text {
|
145
|
+
color: #fff;
|
146
|
+
}
|
147
|
+
|
148
|
+
.mb_model_attribute {
|
149
|
+
background: none repeat scroll 0 0 transparent;
|
150
|
+
display: block;
|
151
|
+
padding: 2px 4px;
|
152
|
+
text-decoration: none;
|
153
|
+
}
|
154
|
+
|
155
|
+
.mb_clear {
|
156
|
+
clear: both;
|
157
|
+
line-height: 0;
|
158
|
+
}
|
159
|
+
|
160
|
+
.mb_fake_file_input {
|
161
|
+
position: relative;
|
162
|
+
overflow: hidden;
|
163
|
+
float: left;
|
164
|
+
margin-right: 14px;
|
165
|
+
|
166
|
+
input[type='file'] {
|
167
|
+
position: absolute;
|
168
|
+
top: 0;
|
169
|
+
right: 0;
|
170
|
+
z-index: 2;
|
171
|
+
width: 1000px;
|
172
|
+
height: 100px;
|
173
|
+
text-align: right;
|
174
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
175
|
+
filter: alpha(opacity=0);
|
176
|
+
-khtml-opacity: 0;
|
177
|
+
-moz-opacity: 0;
|
178
|
+
opacity: 0;
|
179
|
+
}
|
180
|
+
|
181
|
+
input[type='button'] {
|
182
|
+
z-index: 1;
|
183
|
+
}
|
184
|
+
|
185
|
+
input[type='submit'] {
|
186
|
+
display: none;
|
187
|
+
}
|
188
|
+
}
|
189
|
+
}
|
@@ -0,0 +1,261 @@
|
|
1
|
+
@import "caboose/admin/config";
|
2
|
+
|
3
|
+
.subnavigation-block {
|
4
|
+
&.Buttons {
|
5
|
+
li {
|
6
|
+
margin: 0 6px 6px 0;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
ul {
|
10
|
+
list-style-type: none;
|
11
|
+
li {
|
12
|
+
display: block;
|
13
|
+
line-height: 1.5em;
|
14
|
+
.btn {
|
15
|
+
&:hover {
|
16
|
+
text-decoration: none;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
a:not(.btn) {
|
20
|
+
color: $color-main;
|
21
|
+
text-decoration: none;
|
22
|
+
&:hover {
|
23
|
+
color: $color-alt;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.nav-breadcrumbs {
|
31
|
+
list-style-type: none;
|
32
|
+
li {
|
33
|
+
display: inline-block;
|
34
|
+
&:last-of-type::after {
|
35
|
+
content: "";
|
36
|
+
padding: 0;
|
37
|
+
}
|
38
|
+
&::after {
|
39
|
+
content: ">";
|
40
|
+
padding: 0 6px 0 10px;
|
41
|
+
color: $color-main;
|
42
|
+
position: relative;
|
43
|
+
bottom: 1px;
|
44
|
+
}
|
45
|
+
a {
|
46
|
+
color: $color-main;
|
47
|
+
text-decoration: none;
|
48
|
+
&:hover {
|
49
|
+
color: $color-alt;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.media-category-links-block {
|
56
|
+
h3 {
|
57
|
+
color: $color-main;
|
58
|
+
text-align: center;
|
59
|
+
font-size: 1.6em;
|
60
|
+
margin-bottom: 12px;
|
61
|
+
}
|
62
|
+
h4 {
|
63
|
+
color: $color-main;
|
64
|
+
text-align: center;
|
65
|
+
font-size: 1.4em;
|
66
|
+
margin-bottom: 12px;
|
67
|
+
}
|
68
|
+
ul {
|
69
|
+
max-width: 600px;
|
70
|
+
margin: 0 auto 30px auto;
|
71
|
+
li {
|
72
|
+
@include flexbox();
|
73
|
+
-webkit-justify-content: space-between;
|
74
|
+
justify-content: space-between;
|
75
|
+
padding: 8px 2%;
|
76
|
+
&:nth-of-type(odd) {
|
77
|
+
background-color: #E8E8E8;
|
78
|
+
}
|
79
|
+
@include mini {
|
80
|
+
flex-direction: column;
|
81
|
+
align-items: center;
|
82
|
+
}
|
83
|
+
.name {
|
84
|
+
display: block;
|
85
|
+
position: relative;
|
86
|
+
top: 13px;
|
87
|
+
@include flex(1 0 20%);
|
88
|
+
@include mini {
|
89
|
+
top: 0;
|
90
|
+
margin-bottom: 5px;
|
91
|
+
text-align: center;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
.btn {
|
95
|
+
font-size: 15px;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
.delay-show {
|
102
|
+
display: none;
|
103
|
+
}
|
104
|
+
#mmenu {
|
105
|
+
text-align: left;
|
106
|
+
font: $font-main;
|
107
|
+
color: $sidebar-font-color;
|
108
|
+
background: $sidebar-bg-color;
|
109
|
+
a, span {
|
110
|
+
font: $font-main;
|
111
|
+
font-size: 18px;
|
112
|
+
padding-top: 12px;
|
113
|
+
padding-bottom: 12px;
|
114
|
+
}
|
115
|
+
& > ul {
|
116
|
+
& > li {
|
117
|
+
& > ul.submenu {
|
118
|
+
& > li {
|
119
|
+
a, span {
|
120
|
+
padding-left: 25px;
|
121
|
+
color: $sidebar-font-color;
|
122
|
+
color: rgba($sidebar-font-color,0.8);
|
123
|
+
}
|
124
|
+
& > ul {
|
125
|
+
& > li {
|
126
|
+
a, span {
|
127
|
+
padding-left: 50px;
|
128
|
+
color: $sidebar-font-color;
|
129
|
+
color: rgba($sidebar-font-color,0.6);
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
.cmn-toggle-switch {
|
140
|
+
display: block;
|
141
|
+
position: absolute;
|
142
|
+
right: 2%;
|
143
|
+
top: 10px;
|
144
|
+
overflow: hidden;
|
145
|
+
margin: 0;
|
146
|
+
padding: 0;
|
147
|
+
width: 34px;
|
148
|
+
height: 35px;
|
149
|
+
font-size: 0;
|
150
|
+
text-indent: -9999px;
|
151
|
+
-webkit-appearance: none;
|
152
|
+
-moz-appearance: none;
|
153
|
+
appearance: none;
|
154
|
+
box-shadow: none;
|
155
|
+
border-radius: none;
|
156
|
+
border: none;
|
157
|
+
cursor: pointer;
|
158
|
+
z-index: 2;
|
159
|
+
}
|
160
|
+
|
161
|
+
.cmn-toggle-switch:focus {
|
162
|
+
outline: none;
|
163
|
+
}
|
164
|
+
|
165
|
+
.cmn-toggle-switch span {
|
166
|
+
display: block;
|
167
|
+
position: absolute;
|
168
|
+
top: 19px;
|
169
|
+
left: 0;
|
170
|
+
right: 0;
|
171
|
+
height: 4px;
|
172
|
+
background: $sidebar-icon-color;
|
173
|
+
}
|
174
|
+
|
175
|
+
.cmn-toggle-switch span::before,
|
176
|
+
.cmn-toggle-switch span::after {
|
177
|
+
position: absolute;
|
178
|
+
display: block;
|
179
|
+
left: 0;
|
180
|
+
width: 100%;
|
181
|
+
height: 4px;
|
182
|
+
background-color: $sidebar-icon-color;
|
183
|
+
content: "";
|
184
|
+
}
|
185
|
+
|
186
|
+
.cmn-toggle-switch span::before {
|
187
|
+
top: -10px;
|
188
|
+
}
|
189
|
+
|
190
|
+
.cmn-toggle-switch span::after {
|
191
|
+
bottom: -10px;
|
192
|
+
}
|
193
|
+
|
194
|
+
.cmn-toggle-switch__htx {
|
195
|
+
background-color: transparent;
|
196
|
+
}
|
197
|
+
|
198
|
+
.cmn-toggle-switch__htx span {
|
199
|
+
-webkit-transition: background 0 0.3s;
|
200
|
+
transition: background 0 0.3s;
|
201
|
+
}
|
202
|
+
|
203
|
+
.cmn-toggle-switch__htx span::before,
|
204
|
+
.cmn-toggle-switch__htx span::after {
|
205
|
+
-webkit-transition-duration: 0.3s, 0.3s;
|
206
|
+
transition-duration: 0.3s, 0.3s;
|
207
|
+
-webkit-transition-delay: 0.3s, 0;
|
208
|
+
transition-delay: 0.3s, 0;
|
209
|
+
}
|
210
|
+
|
211
|
+
.cmn-toggle-switch__htx span::before {
|
212
|
+
-webkit-transition-property: top, -webkit-transform;
|
213
|
+
transition-property: top, transform;
|
214
|
+
}
|
215
|
+
|
216
|
+
.cmn-toggle-switch__htx span::after {
|
217
|
+
-webkit-transition-property: bottom, -webkit-transform;
|
218
|
+
transition-property: bottom, transform;
|
219
|
+
}
|
220
|
+
|
221
|
+
.mm-opening .cmn-toggle-switch__htx span {
|
222
|
+
background: transparent;
|
223
|
+
}
|
224
|
+
|
225
|
+
.mm-opening .cmn-toggle-switch__htx span::before {
|
226
|
+
top: 0;
|
227
|
+
-webkit-transform: rotate(45deg);
|
228
|
+
-ms-transform: rotate(45deg);
|
229
|
+
transform: rotate(45deg);
|
230
|
+
}
|
231
|
+
|
232
|
+
.mm-opening .cmn-toggle-switch__htx span::after {
|
233
|
+
bottom: 0;
|
234
|
+
-webkit-transform: rotate(-45deg);
|
235
|
+
-ms-transform: rotate(-45deg);
|
236
|
+
transform: rotate(-45deg);
|
237
|
+
}
|
238
|
+
|
239
|
+
.mm-opening .cmn-toggle-switch__htx span::before,
|
240
|
+
.mm-opening .cmn-toggle-switch__htx span::after {
|
241
|
+
-webkit-transition-delay: 0, 0.3s;
|
242
|
+
transition-delay: 0, 0.3s;
|
243
|
+
}
|
244
|
+
|
245
|
+
.mm-menu .mm-navbar > a {
|
246
|
+
color: $sidebar-font-color !important;
|
247
|
+
}
|
248
|
+
|
249
|
+
.mm-menu .mm-listview > li .mm-prev:before, .mm-menu .mm-listview > li .mm-next:after, .mm-menu .mm-listview > li .mm-arrow:after, .mm-menu .mm-navbar .mm-btn:before, .mm-menu .mm-navbar .mm-btn:after {
|
250
|
+
border-color: $sidebar-font-color !important;
|
251
|
+
}
|
252
|
+
|
253
|
+
.mm-menu .mm-listview > li:after, .mm-menu .mm-listview > li .mm-prev:after, .mm-menu .mm-listview > li .mm-next:before, .mm-menu .mm-navbar {
|
254
|
+
border-color: $sidebar-border-color !important;
|
255
|
+
}
|
256
|
+
|
257
|
+
.slider-block-container {
|
258
|
+
.icon-left-big:hover, .icon-right-big:hover {
|
259
|
+
color: $color-main;
|
260
|
+
}
|
261
|
+
}
|