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.
Files changed (187) hide show
  1. checksums.yaml +5 -5
  2. data/app/assets/javascripts/caboose/admin.js +1 -1
  3. data/app/assets/javascripts/caboose/admin/application.js +20 -0
  4. data/app/assets/javascripts/caboose/admin_main.js +13 -3
  5. data/app/assets/javascripts/caboose/admin_media_index.js +158 -161
  6. data/app/assets/javascripts/caboose/application.js +7 -8
  7. data/app/assets/javascripts/caboose/block_content_controller_dragdrop.js +4 -60
  8. data/app/assets/javascripts/caboose/block_modal_controllers/block_dd_modal_controller.js +2 -3
  9. data/app/assets/javascripts/caboose/block_modal_controllers/media_modal_controller.js +6 -17
  10. data/app/assets/javascripts/caboose/model/all.js +1 -5
  11. data/app/assets/stylesheets/caboose/admin/_config.scss +102 -0
  12. data/app/assets/stylesheets/caboose/admin/application.css +11 -0
  13. data/app/assets/stylesheets/caboose/admin/component.css +183 -0
  14. data/app/assets/stylesheets/caboose/admin/froala.min.css +91 -0
  15. data/app/assets/stylesheets/caboose/admin/ie.scss +67 -0
  16. data/app/assets/stylesheets/caboose/admin/integrations/main.scss +6 -0
  17. data/app/assets/stylesheets/caboose/admin/integrations/shopify.scss +128 -0
  18. data/app/assets/stylesheets/caboose/admin/jquery-ui-subnav-theme.min.css +5 -0
  19. data/app/assets/stylesheets/caboose/admin/layout.scss +150 -0
  20. data/app/assets/stylesheets/caboose/admin/main.scss +34 -0
  21. data/app/assets/stylesheets/caboose/admin/modules/body.scss +176 -0
  22. data/app/assets/stylesheets/caboose/admin/modules/buttons.scss +120 -0
  23. data/app/assets/stylesheets/caboose/admin/modules/countdown.css +21 -0
  24. data/app/assets/stylesheets/caboose/admin/modules/crumbtrail.scss +80 -0
  25. data/app/assets/stylesheets/caboose/admin/modules/data_table.scss +92 -0
  26. data/app/assets/stylesheets/caboose/admin/modules/footer.scss +62 -0
  27. data/app/assets/stylesheets/caboose/admin/modules/forms.scss +72 -0
  28. data/app/assets/stylesheets/caboose/admin/modules/functions.scss +31 -0
  29. data/app/assets/stylesheets/caboose/admin/modules/grid.scss +108 -0
  30. data/app/assets/stylesheets/caboose/admin/modules/header.scss +77 -0
  31. data/app/assets/stylesheets/caboose/admin/modules/headings.scss +38 -0
  32. data/app/assets/stylesheets/caboose/admin/modules/main_nav.scss +73 -0
  33. data/app/assets/stylesheets/caboose/admin/modules/message_boxes.scss +55 -0
  34. data/app/assets/stylesheets/caboose/admin/modules/model_binder.scss +189 -0
  35. data/app/assets/stylesheets/caboose/admin/modules/navigation.scss +261 -0
  36. data/app/assets/stylesheets/caboose/admin/modules/order_bumps.scss +57 -0
  37. data/app/assets/stylesheets/caboose/admin/modules/pager.scss +34 -0
  38. data/app/assets/stylesheets/caboose/admin/modules/product_images.scss +21 -0
  39. data/app/assets/stylesheets/caboose/admin/modules/products.css +86 -0
  40. data/app/assets/stylesheets/caboose/admin/modules/search.scss +49 -0
  41. data/app/assets/stylesheets/caboose/admin/modules/selects.scss +12 -0
  42. data/app/assets/stylesheets/caboose/admin/modules/subnav_tabs.scss +34 -0
  43. data/app/assets/stylesheets/caboose/admin/modules/tabs.scss +140 -0
  44. data/app/assets/stylesheets/caboose/admin/page_edit/block_anchors.scss +48 -0
  45. data/app/assets/stylesheets/caboose/admin/page_edit/block_overlays.scss +182 -0
  46. data/app/assets/stylesheets/caboose/admin/page_edit/device_selector.scss +65 -0
  47. data/app/assets/stylesheets/caboose/admin/page_edit/froala.scss +81 -0
  48. data/app/assets/stylesheets/caboose/admin/page_edit/group_overlay.scss +115 -0
  49. data/app/assets/stylesheets/caboose/admin/page_edit/layout.scss +128 -0
  50. data/app/assets/stylesheets/caboose/admin/page_edit/main.scss +18 -0
  51. data/app/assets/stylesheets/caboose/admin/page_edit/modal.scss +11 -0
  52. data/app/assets/stylesheets/caboose/admin/page_edit/preview.scss +25 -0
  53. data/app/assets/stylesheets/caboose/admin/page_edit/publish.scss +25 -0
  54. data/app/assets/stylesheets/caboose/admin/page_edit/revisions.scss +58 -0
  55. data/app/assets/stylesheets/caboose/admin/page_edit/subnav.scss +273 -0
  56. data/app/assets/stylesheets/caboose/admin/page_edit/top_nav.scss +109 -0
  57. data/app/assets/stylesheets/caboose/admin/pages/assets_index.css +48 -0
  58. data/app/assets/stylesheets/caboose/admin/pages/block_edit_image.css.scss +386 -0
  59. data/app/assets/stylesheets/caboose/admin/pages/media_index.css.scss +300 -0
  60. data/app/assets/stylesheets/caboose/admin/pages/new_block.css +9 -0
  61. data/app/assets/stylesheets/caboose/admin/pages/page_edit.scss +960 -0
  62. data/app/assets/stylesheets/caboose/admin/pages/page_edit_content.scss +103 -0
  63. data/app/assets/stylesheets/caboose/admin/pages/pages_index.scss +79 -0
  64. data/app/assets/stylesheets/caboose/admin/pages/post_edit_content.css +46 -0
  65. data/app/assets/stylesheets/caboose/admin/print.css +3 -0
  66. data/app/assets/stylesheets/caboose/admin/slack.scss +51 -0
  67. data/app/assets/stylesheets/caboose/admin_block_edit_image.css.scss +1 -2
  68. data/app/assets/stylesheets/caboose/admin_edit_page_content_dragdrop.scss +15 -71
  69. data/app/assets/stylesheets/caboose/admin_main.css.scss +29 -25
  70. data/app/assets/stylesheets/caboose/admin_media_index.css.scss +5 -26
  71. data/app/assets/stylesheets/caboose/application.css +5 -11
  72. data/app/assets/stylesheets/caboose/login.scss +0 -1
  73. data/app/assets/stylesheets/caboose/modal_main.css +19 -21
  74. data/app/assets/stylesheets/caboose/model_binder.css +4 -13
  75. data/app/assets/stylesheets/caboose/page_bar_generator.css +1 -2
  76. data/app/controllers/caboose/admin_controller.rb +4 -3
  77. data/app/controllers/caboose/application_controller.rb +19 -16
  78. data/app/controllers/caboose/assets_controller.rb +65 -0
  79. data/app/controllers/caboose/block_types_controller.rb +6 -8
  80. data/app/controllers/caboose/cart_controller.rb +2 -2
  81. data/app/controllers/caboose/fonts_controller.rb +2 -139
  82. data/app/controllers/caboose/invoices_controller.rb +4 -5
  83. data/app/controllers/caboose/login_logs_controller.rb +7 -5
  84. data/app/controllers/caboose/media_categories_controller.rb +2 -16
  85. data/app/controllers/caboose/media_controller.rb +11 -14
  86. data/app/controllers/caboose/pages_controller.rb +42 -104
  87. data/app/controllers/caboose/posts_controller.rb +7 -53
  88. data/app/controllers/caboose/products_controller.rb +1 -1
  89. data/app/controllers/caboose/sites_controller.rb +6 -25
  90. data/app/controllers/caboose/sns_controller.rb +3 -3
  91. data/app/controllers/caboose/themes_controller.rb +0 -30
  92. data/app/controllers/caboose/users_controller.rb +10 -17
  93. data/app/controllers/caboose/variants_controller.rb +9 -9
  94. data/app/models/caboose/ab_variant.rb +1 -1
  95. data/app/models/caboose/asset.rb +23 -0
  96. data/app/models/caboose/asset_manager.rb +92 -0
  97. data/app/models/caboose/asset_manifest.rb +91 -0
  98. data/app/models/caboose/block.rb +24 -100
  99. data/app/models/caboose/block_cache.rb +105 -0
  100. data/app/models/caboose/block_cache_file.rb +22 -0
  101. data/app/models/caboose/block_cache_image.rb +53 -0
  102. data/app/models/caboose/block_type.rb +3 -4
  103. data/app/models/caboose/block_type_category.rb +2 -2
  104. data/app/models/caboose/block_type_parser.rb +1 -1
  105. data/app/models/caboose/block_type_source.rb +2 -2
  106. data/app/models/caboose/calendar_event_group.rb +2 -2
  107. data/app/models/caboose/category.rb +2 -2
  108. data/app/models/caboose/comment_routes.rb +8 -7
  109. data/app/models/caboose/core_plugin.rb +3 -4
  110. data/app/models/caboose/export.rb +1 -1
  111. data/app/models/caboose/font.rb +2 -7
  112. data/app/models/caboose/font_variant.rb +0 -12
  113. data/app/models/caboose/invoice.rb +14 -14
  114. data/app/models/caboose/line_item.rb +4 -4
  115. data/app/models/caboose/media.rb +4 -15
  116. data/app/models/caboose/media_category.rb +7 -5
  117. data/app/models/caboose/modification.rb +2 -2
  118. data/app/models/caboose/page.rb +54 -325
  119. data/app/models/caboose/page_bar_generator.rb +10 -20
  120. data/app/models/caboose/page_cache.rb +12 -0
  121. data/app/models/caboose/page_cacher.rb +137 -0
  122. data/app/models/caboose/post.rb +8 -108
  123. data/app/models/caboose/product.rb +5 -5
  124. data/app/models/caboose/product_image.rb +1 -1
  125. data/app/models/caboose/role.rb +2 -2
  126. data/app/models/caboose/schema.rb +72 -73
  127. data/app/models/caboose/site.rb +1 -203
  128. data/app/models/caboose/theme.rb +5 -70
  129. data/app/views/caboose/admin/_content.html.erb +44 -0
  130. data/app/views/caboose/admin/_fonts.html.erb +47 -0
  131. data/app/views/caboose/admin/_footer.html.erb +1 -0
  132. data/app/views/caboose/admin/_header.html.erb +12 -0
  133. data/app/views/caboose/admin/_icons.html.erb +6 -0
  134. data/app/views/caboose/admin/_mobile_navigation.html.erb +22 -0
  135. data/app/views/caboose/admin/_post.html.erb +74 -0
  136. data/app/views/caboose/admin/index.html.erb +33 -36
  137. data/app/views/caboose/block_types/admin_edit.html.erb +8 -6
  138. data/app/views/caboose/blocks/_file.html.erb +2 -2
  139. data/app/views/caboose/blocks/_ga.html.erb +2 -1
  140. data/app/views/caboose/blocks/_image.html.erb +0 -4
  141. data/app/views/caboose/blocks/_render_function.html.erb +4 -9
  142. data/app/views/caboose/fonts/admin_index.html.erb +10 -55
  143. data/app/views/caboose/invoices_mailer/customer_status_updated.html.erb +14 -5
  144. data/app/views/caboose/login_logs/admin_index_for_user.html.erb +1 -1
  145. data/app/views/caboose/media/admin_index.html.erb +24 -14
  146. data/app/views/caboose/my_account/index.html.erb +0 -1
  147. data/app/views/caboose/pages/_admin_header.html.erb +0 -5
  148. data/app/views/caboose/pages/admin_edit_content.html.erb +2 -6
  149. data/app/views/caboose/pages/admin_edit_general.html.erb +4 -32
  150. data/app/views/caboose/pages/admin_new_old.html.erb +46 -0
  151. data/app/views/caboose/pages/test.html.erb +64 -0
  152. data/app/views/caboose/posts/_admin_header.html.erb +0 -5
  153. data/app/views/caboose/posts/admin_delete_form.html.erb +1 -1
  154. data/app/views/caboose/posts/admin_edit_content.html.erb +2 -6
  155. data/app/views/caboose/products/admin_group_variants.html.erb +1 -1
  156. data/app/views/caboose/products/admin_sort.html copy.erb +1 -1
  157. data/app/views/caboose/sites/admin_edit.html.erb +0 -21
  158. data/app/views/caboose/themes/admin_edit.html.erb +3 -7
  159. data/app/views/caboose/users/_admin_header.html.erb +0 -4
  160. data/app/views/caboose/users/admin_edit_roles.html.erb +0 -1
  161. data/app/views/caboose/variants/admin_group.html.erb +1 -1
  162. data/app/views/layouts/caboose/admin.html.erb +2 -9
  163. data/app/views/layouts/caboose/application.html.erb +92 -62
  164. data/config/routes.rb +1 -4
  165. data/lib/caboose/version.rb +1 -1
  166. data/lib/tasks/caboose.rake +14 -3
  167. metadata +238 -57
  168. data/app/controllers/caboose/change_logs_controller.rb +0 -13
  169. data/app/models/caboose/change_log.rb +0 -97
  170. data/app/views/caboose/blocks/_cached_block.html.erb +0 -28
  171. data/app/views/caboose/change_logs/admin_index.html.erb +0 -65
  172. data/app/views/caboose/fonts/admin_family_edit.html.erb +0 -63
  173. data/app/views/caboose/fonts/admin_family_index.html.erb +0 -42
  174. data/app/views/caboose/fonts/admin_variant_edit.html.erb +0 -84
  175. data/app/views/caboose/pages/admin_change_logs.html.erb +0 -56
  176. data/app/views/caboose/pages/compiled_asset.css.erb +0 -0
  177. data/app/views/caboose/pages/compiled_asset.js.erb +0 -0
  178. data/app/views/caboose/posts/admin_change_logs.html.erb +0 -56
  179. data/app/views/caboose/sites/compiled_asset.css.erb +0 -0
  180. data/app/views/caboose/sites/compiled_asset.js.erb +0 -0
  181. data/app/views/caboose/themes/admin_error_log.html.erb +0 -9
  182. data/app/views/caboose/themes/admin_js.html.erb +0 -131
  183. data/app/views/caboose/users/admin_change_logs.html.erb +0 -63
  184. data/app/views/layouts/caboose/css.css.erb +0 -44
  185. data/app/views/layouts/caboose/footer_css.css.erb +0 -41
  186. data/app/views/layouts/caboose/footer_js.js.erb +0 -31
  187. 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
+ }