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,103 @@
1
+
2
+ #content .block h1 {
3
+ background: transparent;
4
+ border-bottom: none;
5
+ }
6
+
7
+ #blocks { list-style: none; margin: 0 20px 0 -20px; padding: 0; min-height: 100px; }
8
+ #blocks > li { list-style: none; margin: 0; padding: 0; position: relative; }
9
+ #blocks > li:hover { background: #fff799; }
10
+ #blocks .ui-selecting { background: #ddd; }
11
+ #blocks .ui-selected { background: #fff799; }
12
+ #blocks .sortable-placeholder { height: 40px; background: #fff799; border: #ccc 1px solid; }
13
+
14
+ /*
15
+ #blocks li .sort_handle { display: none; }
16
+ #blocks li:hover .sort_handle { position: absolute; top: 0; right: 22px; display: block; width: 20px; height: 20px; background-color: #ccc; }
17
+ #blocks li:hover .sort_handle span { margin: 2px 1px; }
18
+ */
19
+
20
+ #blocks li .select_handle { display: none; }
21
+ #blocks li .move_up_handle { display: none; }
22
+ #blocks li .move_down_handle { display: none; }
23
+ #blocks li .delete_handle { display: none; }
24
+ #blocks li:hover .select_handle { position: absolute; top: 0; right: 66px; display: block; width: 20px; height: 20px; background-color: #ccc; }
25
+ #blocks li:hover .move_up_handle { position: absolute; top: 0; right: 44px; display: block; width: 20px; height: 20px; background-color: #ccc; }
26
+ #blocks li:hover .move_down_handle { position: absolute; top: 0; right: 22px; display: block; width: 20px; height: 20px; background-color: #ccc; }
27
+ #blocks li:hover .delete_handle { position: absolute; top: 0; right: 0px; display: block; width: 20px; height: 20px; background-color: #ccc; }
28
+ #blocks li:hover .select_handle span { margin: 2px 1px; }
29
+ #blocks li:hover .move_up_handle span { margin: 2px 1px; }
30
+ #blocks li:hover .move_down_handle span { margin: 2px 1px; }
31
+ #blocks li:hover .delete_handle span { margin: 2px 1px; }
32
+
33
+ .sortable_placeholder {
34
+ background: #ccc;
35
+ height: 100px;
36
+ width: 100%;
37
+ }
38
+
39
+ .flex-grid-container.ui-droppable, .flex-grid-unit.ui-droppable {
40
+ border: 1px dashed #cccccc;
41
+ &.block_over {
42
+ border-color: blue;
43
+ }
44
+ }
45
+
46
+ .block.over {
47
+ background: #fef49c;
48
+ }
49
+
50
+ .block {
51
+ z-index: 19;
52
+ border: transparent 1px solid;
53
+ margin: 0 0 2px 20px;
54
+ }
55
+
56
+ #block_new {
57
+ border: #ccc 1px solid;
58
+ padding: 10px;
59
+ background: #fef49c;
60
+ }
61
+
62
+ #new_blocks_container1 {
63
+ position: absolute;
64
+ top: 30px;
65
+ right: 33px;
66
+ width: 200px;
67
+ text-align: right;
68
+ z-index: 100;
69
+ }
70
+ #new_blocks_container2 {
71
+ position: fixed;
72
+ top: 86px;
73
+ right: 20px;
74
+ width: 200px;
75
+ background: #fff799;
76
+ border: #ccc 1px solid;
77
+ padding: 10px 10px 10px 10px;
78
+ z-index: 101;
79
+ }
80
+ #new_blocks_container2 input { margin-left: 28px; }
81
+ #new_blocks { list-style: none; margin: 0; padding: 0; }
82
+ #new_blocks li { list-style: none; margin: 2px; padding: 4px; background: #eee; border: #ccc 1px solid; text-align: left; }
83
+
84
+ /*********************************/
85
+
86
+ #content h1#page_title {
87
+ position: absolute;
88
+ top: -36px;
89
+ left: 60px;
90
+ background: transparent;
91
+ margin: 0;
92
+ padding: 0;
93
+ color: #fff;
94
+ border: 0;
95
+ font-size: 20pt;
96
+ }
97
+ #tabs { display: none; }
98
+ #content2 { margin-left: 0; }
99
+ .block { border: #ccc 1px dotted; }
100
+ #new_blocks_container1 {
101
+ top: -58px;
102
+ right: 250px;
103
+ }
@@ -0,0 +1,79 @@
1
+
2
+ #admin_subnav {
3
+ ul.sitemap {
4
+ list-style: none;
5
+ margin: 0 0 0 -16px;
6
+ padding: 0;
7
+
8
+ li {
9
+ list-style: none;
10
+ margin: 0;
11
+ padding: 0;
12
+ position: relative;
13
+
14
+ .vertical_line { display: none; }
15
+ .icon {
16
+ display: block;
17
+ width: 36px;
18
+ height: 36px;
19
+ position: absolute;
20
+ top: 0;
21
+ left: 0;
22
+ z-index: 20;
23
+ background: url('/assets/caboose/admin/sitemap_file.gif') top left no-repeat;
24
+ background-position: -12px 0;
25
+ }
26
+ a {
27
+ text-decoration: none;
28
+ display: block;
29
+ padding-top: 6px;
30
+ padding-left: 34px;
31
+ color: #505e72;
32
+ font-weight: normal !important;
33
+ font-size: 10pt;
34
+ min-height: 36px;
35
+ &:hover { background: #f9f9fb; }
36
+ }
37
+
38
+ &.open {
39
+ .icon {
40
+ background: url('/assets/caboose/admin/sitemap_file.gif') top left no-repeat;
41
+ }
42
+ }
43
+ &.closed {
44
+ .icon {
45
+ background: url('/assets/caboose/admin/sitemap_file_collapsed.gif') top left no-repeat;
46
+ }
47
+ }
48
+ }
49
+
50
+ ul {
51
+ margin-left: 13px;
52
+
53
+ li {
54
+ position: relative;
55
+
56
+ .vertical_line {
57
+ display: block;
58
+ position: absolute;
59
+ top: 0;
60
+ left: 0;
61
+ z-index: 21;
62
+ width: 1px;
63
+ height: 100%;
64
+ background: #d5d5d5;
65
+ }
66
+ &:last-child {
67
+ .vertical_line {
68
+ height: 18px;
69
+ }
70
+ }
71
+ .icon { background-position: -1px 0; }
72
+ a { padding-left: 44px; }
73
+ ul { margin-left: 24px; }
74
+ }
75
+ }
76
+ }
77
+
78
+ p.btn { clear: left; }
79
+ }
@@ -0,0 +1,46 @@
1
+
2
+ #tiny_header {
3
+ display: block;
4
+ color: #fff;
5
+ background-image: url(/assets/caboose/caboose_logo_small.png);
6
+ background-color: #000;
7
+ background-repeat: no-repeat;
8
+ background-position: right 0;
9
+ padding: 0 50px 0 10px;
10
+ position: absolute;
11
+ top: 0px;
12
+ right: 0px;
13
+ z-index: 100000;
14
+ border-left: #fff 1px solid;
15
+ border-bottom: #fff 1px solid;
16
+ }
17
+ #tiny_header a {
18
+ display: inline-block;
19
+ color: #fff;
20
+ padding: 16px 10px;
21
+ }
22
+ .block_over { background: #e3e3e3; }
23
+ .select_handle { display: none; }
24
+ .move_up_handle { display: none; }
25
+ .move_down_handle { display: none; }
26
+ .delete_handle { display: none; }
27
+ .block_over > .select_handle { display: block; position: relative; }
28
+ .block_over > .move_up_handle { display: block; position: relative; }
29
+ .block_over > .move_down_handle { display: block; position: relative; }
30
+ .block_over > .delete_handle { display: block; position: relative; }
31
+ .block_over > .select_handle span { position: absolute; top: 0; right: 54px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
32
+ .block_over > .move_up_handle span { position: absolute; top: 0; right: 36px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
33
+ .block_over > .move_down_handle span { position: absolute; top: 0; right: 18px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
34
+ .block_over > .delete_handle span { position: absolute; top: 0; right: 0px; width: 18px; height: 18px; background-color: #fff; border: #ccc 1px solid; }
35
+
36
+ .selected { background: #fff799; }
37
+
38
+ .new_block_link { position: relative; width: 100%; }
39
+ .new_block_link .line { position: absolute; top: -11px; width: 100%; height: 2px; background: transparent; }
40
+ .new_block_link a { position: absolute; top: -20px; left: 45%; background: transparent; color: transparent !important; display: block; padding: 4px 8px; }
41
+
42
+ .new_block_link_over { position: relative; width: 100%; }
43
+ .new_block_link_over .line { position: absolute; top: -11px; width: 100%; height: 2px; background: #ccc; }
44
+ .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; }
45
+
46
+ .caboose_note { padding: 10px 20px; background: #990000; color: #fff; font-size: 16px; }
@@ -0,0 +1,51 @@
1
+ #admin_content_wrapper {
2
+ margin-left: 80px;
3
+ width: initial;
4
+ }
5
+
6
+ .slack_communicator {
7
+ width: 100%;
8
+ .conversation {
9
+ border: #ccc 1px solid;
10
+ max-height: 400px;
11
+ overflow-y: scroll;
12
+
13
+ .conversation_message {
14
+ margin: 0;
15
+ padding: 8px;
16
+ border-bottom: #ccc 1px solid;
17
+
18
+ .icon {
19
+ float: left;
20
+ img { margin-right: 4px; border-radius: 5px; }
21
+ }
22
+ .name {
23
+ display: none; /* inline-block; */
24
+ font-weight: strong;
25
+ }
26
+ .timestamp {
27
+ font-size: 0.7em;
28
+ }
29
+ .body {
30
+ font-weight: normal;
31
+ }
32
+ }
33
+ }
34
+ .new_message_container {
35
+ width: 100%;
36
+ input {
37
+ width: 100%;
38
+ border-color: #ccc;
39
+ border-width: 0 1px 1px 1px;
40
+ border-style: solid;
41
+ padding: 10px;
42
+ font-size: 1.2em;
43
+ }
44
+ }
45
+ .presence {
46
+ padding: 10px 0;
47
+ .icon { width: 20px; height: 20px; float: left; border-radius: 10px; margin-right: 4px; }
48
+ .active { .icon { background: #00a651; color: #fff; } }
49
+ .away { .icon { background: #ed1c24; color: #fff; } }
50
+ }
51
+ }
@@ -1,8 +1,7 @@
1
1
  #media .img-wrap {
2
2
  background-image: url("/assets/caboose/grid.png");
3
3
  background-size: 15px;
4
- display: block;
5
- width: 100%;
4
+ display: inline-block;
6
5
  }
7
6
 
8
7
  #detail_image {
@@ -155,29 +155,6 @@ body.editing .footer-wrapper #footer-msg {
155
155
  }
156
156
  }
157
157
  }
158
- .file-select {
159
- p {
160
- font-size: 13px;
161
- border: 1px solid gainsboro;
162
- display: block;
163
- background: #dff4fb;
164
- padding: 5px;
165
- cursor: pointer;
166
- overflow: hidden;
167
- span {
168
- display: block;
169
- margin-top: 3px;
170
- font-family: monospace;
171
- font-size: 12px;
172
- overflow: hidden;
173
- color: #292929;
174
- font-weight: normal;
175
- }
176
- }
177
- &:hover p {
178
- background: #fbf6df;
179
- }
180
- }
181
158
  #modal_crumbtrail {
182
159
  margin-bottom: 15px;
183
160
  padding-top: 4px;
@@ -237,34 +214,7 @@ body.editing .footer-wrapper #footer-msg {
237
214
  }
238
215
  }
239
216
  }
240
- .caboose-btn.remove {
241
- background-size: 11px;
242
- background-repeat: no-repeat;
243
- background-position: 8px 7px;
244
- background-image: url('/assets/caboose/icons/delete.png');
245
- background-color: #6f3030;
246
- &:hover { background-color: shade(#6f3030, 20%); }
247
- }
248
217
  .img-wrap {
249
- display: block;
250
- width: 100%;
251
- & > span {
252
- font-family: monospace;
253
- font-size: 11px;
254
- border: 1px solid gainsboro;
255
- border-bottom: 0;
256
- display: block;
257
- background: #dff4fb;
258
- margin: 0;
259
- padding: 4px;
260
- color: #292929;
261
- font-weight: normal;
262
- overflow: hidden;
263
- }
264
- embed {
265
- display: block;
266
- margin-bottom: 5px;
267
- }
268
218
  .img-holder {
269
219
  cursor: pointer;
270
220
  span.select {
@@ -289,22 +239,24 @@ body.editing .footer-wrapper #footer-msg {
289
239
  }
290
240
  }
291
241
  }
242
+ .caboose-btn.remove {
243
+ background-size: 11px;
244
+ background-repeat: no-repeat;
245
+ background-position: 8px 7px;
246
+ background-image: url('/assets/caboose/icons/delete.png');
247
+ background-color: #6f3030;
248
+ &:hover { background-color: shade(#6f3030, 20%); }
249
+ }
292
250
  .filename {
293
- font-family: monospace;
294
- font-size: 12px;
295
- border: 1px solid gainsboro;
296
- display: block;
297
- background: #dff4fb;
251
+ background: #ecebe8;
298
252
  margin: 0;
299
- padding: 4px;
300
- color: #292929;
301
- font-weight: normal;
302
- overflow: hidden;
253
+ padding: 5px;
254
+ width: 190px;
255
+ display: block;
303
256
  }
304
257
  }
305
258
  .mb_container {
306
259
  padding-top: 18px;
307
- width: 100% !important;
308
260
  input, textarea {
309
261
  display: block;
310
262
  border-radius: 0 !important;
@@ -332,13 +284,6 @@ body.editing .footer-wrapper #footer-msg {
332
284
  background: #fffac5 !important;
333
285
  }
334
286
  }
335
- table.data.checkbox_multiple {
336
- label {
337
- font-size: 12px;
338
- position: relative;
339
- top: 2px;
340
- }
341
- }
342
287
  textarea {
343
288
  min-height: 80px;
344
289
  }
@@ -701,7 +646,6 @@ p.caboose_note.delete {
701
646
  font-weight: 300;
702
647
  font-size: 1.2em;
703
648
  margin-bottom: 0;
704
- color: #2b2b2b;
705
649
  }
706
650
  // opacity: 0;
707
651
  // transition: opacity 300ms ease;
@@ -788,7 +732,7 @@ body > .container, body > .mm-page > .container {
788
732
  &[href*="preview"] {
789
733
  background: #404088;
790
734
  }
791
- &.pub {
735
+ &[href*="publish"] {
792
736
  background: #3b753b;
793
737
  }
794
738
  &:hover {
@@ -802,12 +746,12 @@ body > .container, body > .mm-page > .container {
802
746
  &.published {
803
747
  background-color: #353535;
804
748
  #m-unpub { display: none; }
805
- a[href*="revert"], a.pub, a[href*="preview"] {
749
+ a[href*="revert"], a[href*="publish"], a[href*="preview"] {
806
750
  display: none;
807
751
  }
808
752
  }
809
753
  &.unpublished {
810
- background-color: #73a8af;
754
+ background-color: #7da4a9;
811
755
  #m-pub { display: none; }
812
756
  }
813
757
  }
@@ -144,10 +144,6 @@ body * {
144
144
  display: none;
145
145
  }
146
146
 
147
- #top_nav ul li:hover ul {
148
- display: block;
149
- }
150
-
151
147
  #top_nav ul li ul li {
152
148
  display: block;
153
149
  }
@@ -501,32 +497,40 @@ Page Bar Generator
501
497
  *******************************************************************************/
502
498
 
503
499
  .page_links {
504
- a {
505
- display: inline-block;
506
- margin: 0 3px;
507
- padding: 8px 10px;
508
- background: #2d2d2d;
509
- color: #fff;
510
- text-decoration: none;
511
- cursor: pointer;
512
- &:hover {
513
- background: #000;
514
- color: #fff;
515
- }
516
- }
517
- span.current_page {
518
- display: inline-block;
519
- padding: 8px 10px;
520
- margin: 0 3px;
521
- background: #ccc;
522
- color: #2d2d2d;
523
- text-decoration: none;
524
- }
500
+
501
+ }
502
+
503
+ .page_links a {
504
+ display: inline-block;
505
+ margin: 0 3px;
506
+ padding: 8px 10px;
507
+ background: #2d2d2d;
508
+ color: #fff;
509
+ text-decoration: none;
510
+ }
511
+
512
+ .page_links a:hover {
513
+ background: #000;
514
+ color: #fff;
515
+ }
516
+
517
+ .page_links .middle_links a {
518
+
519
+ }
520
+
521
+ .page_links span.current_page {
522
+ display: inline-block;
523
+ padding: 8px 10px;
524
+ margin: 0 3px;
525
+ background: #ccc;
526
+ color: #2d2d2d;
527
+ text-decoration: none;
525
528
  }
526
529
 
527
530
  #search_form input[type='text'] { padding: 6px 12px; }
528
531
  #search_form input[type='submit'] { height: 35px; padding: 0 12px; }
529
532
 
533
+
530
534
  .new-page-form-wrapper {
531
535
  max-width: 950px;
532
536
  margin: 0 auto;