integral 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -30
  3. data/Rakefile +1 -1
  4. data/app/assets/images/integral/defaults/no_image_available.jpg +0 -0
  5. data/app/assets/javascripts/integral/backend.js +102 -11
  6. data/app/assets/javascripts/integral/frontend.js +37 -0
  7. data/app/assets/javascripts/integral/support/confirm_modal.coffee +2 -2
  8. data/app/assets/javascripts/integral/support/gallery.coffee +71 -54
  9. data/app/assets/javascripts/integral/support/lib/lazysizes.js +755 -0
  10. data/app/assets/javascripts/integral/support/lib/materialize-tags.js +49 -44
  11. data/app/assets/javascripts/integral/support/ls.instagram.js +57 -0
  12. data/app/assets/javascripts/integral/support/ls.twitter.js +66 -0
  13. data/app/assets/javascripts/integral/support/record_selector.coffee +1 -1
  14. data/app/assets/javascripts/integral/support/remote_form.coffee +5 -2
  15. data/app/assets/stylesheets/integral/backend.sass +2 -1
  16. data/app/assets/stylesheets/integral/backend/_foundation_settings.scss +3 -4
  17. data/app/assets/stylesheets/integral/backend/dashboard-layout.scss +4 -1
  18. data/app/assets/stylesheets/integral/backend/materialize-tags.sass +1 -1
  19. data/app/assets/stylesheets/integral/backend/modules/timeline.scss +214 -0
  20. data/app/assets/stylesheets/integral/backend/shared.sass +80 -11
  21. data/app/assets/stylesheets/integral/frontend.scss +45 -0
  22. data/app/assets/stylesheets/integral/frontend/_foundation_settings.scss +2 -2
  23. data/app/assets/stylesheets/integral/frontend/blog.sass +155 -142
  24. data/app/assets/stylesheets/integral/frontend/layout.sass +3 -3
  25. data/app/assets/stylesheets/integral/frontend/modules/article-footer.scss +55 -0
  26. data/app/assets/stylesheets/integral/frontend/modules/article.scss +34 -0
  27. data/app/assets/stylesheets/integral/frontend/modules/horizontal-post.scss +44 -0
  28. data/app/assets/stylesheets/integral/frontend/modules/inline-articles.scss +23 -0
  29. data/app/assets/stylesheets/integral/frontend/modules/latest-post.scss +37 -0
  30. data/app/assets/stylesheets/integral/frontend/modules/list-widget.scss +50 -0
  31. data/app/assets/stylesheets/integral/frontend/modules/piped-list.scss +33 -0
  32. data/app/assets/stylesheets/integral/frontend/modules/post-tags.scss +19 -0
  33. data/app/assets/stylesheets/integral/frontend/modules/scroll-container.scss +9 -0
  34. data/app/assets/stylesheets/integral/frontend/modules/sidebar-articles.scss +42 -0
  35. data/app/assets/stylesheets/integral/frontend/modules/sidebar-tags.scss +6 -0
  36. data/app/assets/stylesheets/integral/frontend/modules/sidebar-widget.scss +47 -0
  37. data/app/assets/stylesheets/integral/frontend/modules/vertical-post.scss +31 -0
  38. data/app/assets/stylesheets/integral/frontend/share_modal.sass +0 -5
  39. data/app/assets/stylesheets/integral/support/gallery.sass +8 -0
  40. data/app/assets/stylesheets/integral/support/media-query-indicator.sass +6 -0
  41. data/app/controllers/integral/application_controller.rb +7 -1
  42. data/app/controllers/integral/backend/activities_controller.rb +13 -2
  43. data/app/controllers/integral/backend/base_controller.rb +60 -7
  44. data/app/controllers/integral/backend/categories_controller.rb +49 -0
  45. data/app/controllers/integral/backend/pages_controller.rb +7 -2
  46. data/app/controllers/integral/backend/posts_controller.rb +8 -3
  47. data/app/controllers/integral/backend/static_pages_controller.rb +4 -0
  48. data/app/controllers/integral/backend/users_controller.rb +13 -7
  49. data/app/controllers/integral/categories_controller.rb +31 -0
  50. data/app/controllers/integral/pages_controller.rb +1 -1
  51. data/app/controllers/integral/posts_controller.rb +5 -3
  52. data/app/decorators/integral/category_decorator.rb +30 -0
  53. data/app/decorators/integral/category_version_decorator.rb +7 -0
  54. data/app/decorators/integral/image_version_decorator.rb +7 -0
  55. data/app/decorators/integral/list_decorator.rb +1 -1
  56. data/app/decorators/integral/list_version_decorator.rb +7 -0
  57. data/app/decorators/integral/page_version_decorator.rb +7 -0
  58. data/app/decorators/integral/post_decorator.rb +9 -1
  59. data/app/decorators/integral/post_version_decorator.rb +7 -0
  60. data/app/decorators/integral/user_decorator.rb +1 -1
  61. data/app/decorators/integral/user_version_decorator.rb +7 -0
  62. data/app/decorators/integral/version_decorator.rb +51 -12
  63. data/app/helpers/integral/backend/base_helper.rb +56 -2
  64. data/app/helpers/integral/blog_helper.rb +21 -4
  65. data/app/jobs/integral/webhook/delivery_job.rb +37 -0
  66. data/app/mailers/integral/contact_mailer.rb +4 -1
  67. data/app/models/concerns/integral/lazy_contentable.rb +54 -0
  68. data/app/models/concerns/integral/webhook/delivery.rb +30 -0
  69. data/app/models/concerns/integral/webhook/observable.rb +23 -0
  70. data/app/models/integral/category.rb +20 -0
  71. data/app/models/integral/category_version.rb +8 -0
  72. data/app/models/integral/list_item.rb +1 -2
  73. data/app/models/integral/page.rb +18 -3
  74. data/app/models/integral/post.rb +28 -1
  75. data/app/models/integral/version.rb +2 -2
  76. data/app/models/integral/webhook/endpoint.rb +40 -0
  77. data/app/models/integral/webhook/event.rb +20 -0
  78. data/app/policies/integral/base_policy.rb +1 -0
  79. data/app/policies/integral/category_policy.rb +9 -0
  80. data/app/serializers/integral/post_serializer.rb +24 -0
  81. data/app/uploaders/integral/avatar_uploader.rb +1 -1
  82. data/app/views/integral/backend/activities/_activity.haml +21 -0
  83. data/app/views/integral/backend/activities/_grid.haml +1 -2
  84. data/app/views/integral/backend/activities/shared/_grid.haml +3 -2
  85. data/app/views/integral/backend/activities/shared/{_listing.haml → index.haml} +1 -0
  86. data/app/views/integral/backend/activities/shared/{_log.haml → show.haml} +0 -0
  87. data/app/views/integral/backend/categories/_modal.haml +25 -0
  88. data/app/views/integral/backend/lists/_child_fields.haml +1 -1
  89. data/app/views/integral/backend/lists/_item_container.haml +1 -1
  90. data/app/views/integral/backend/lists/_item_modal.haml +1 -1
  91. data/app/views/integral/backend/lists/_list_item_fields.haml +1 -1
  92. data/app/views/integral/backend/pages/_form.haml +1 -4
  93. data/app/views/integral/backend/pages/_grid.haml +34 -9
  94. data/app/views/integral/backend/pages/edit.haml +9 -3
  95. data/app/views/integral/backend/pages/index.haml +11 -21
  96. data/app/views/integral/backend/pages/list.haml +22 -0
  97. data/app/views/integral/backend/pages/show.haml +48 -0
  98. data/app/views/integral/backend/posts/_form.haml +8 -6
  99. data/app/views/integral/backend/posts/_grid.haml +33 -7
  100. data/app/views/integral/backend/posts/index.haml +13 -19
  101. data/app/views/integral/backend/posts/list.haml +20 -0
  102. data/app/views/integral/backend/posts/show.haml +54 -0
  103. data/app/views/integral/backend/shared/_activity_modal.haml +13 -0
  104. data/app/views/integral/backend/shared/cards/_categories.haml +34 -0
  105. data/app/views/integral/backend/{static_pages/_card.haml → shared/cards/_object.haml} +0 -0
  106. data/app/views/integral/backend/shared/cards/_recent_activity.haml +20 -0
  107. data/app/views/integral/backend/shared/cards/_recent_pages.haml +19 -0
  108. data/app/views/integral/backend/shared/cards/_recent_posts.haml +18 -0
  109. data/app/views/integral/backend/shared/cards/_recent_user_activity.haml +1 -0
  110. data/app/views/integral/backend/shared/cards/_recent_users.haml +19 -0
  111. data/app/views/integral/backend/shared/cards/_top_post_authors.haml +19 -0
  112. data/app/views/integral/backend/shared/record_selector/_record.haml +6 -4
  113. data/app/views/integral/backend/static_pages/dashboard.haml +13 -11
  114. data/app/views/integral/backend/users/_grid.haml +24 -7
  115. data/app/views/integral/backend/users/index.haml +11 -17
  116. data/app/views/integral/backend/users/list.haml +18 -0
  117. data/app/views/integral/backend/users/show.haml +5 -11
  118. data/app/views/integral/categories/show.haml +5 -0
  119. data/app/views/integral/posts/_article_footer.haml +17 -0
  120. data/app/views/integral/posts/_card.haml +11 -0
  121. data/app/views/integral/posts/_latest_post.haml +8 -0
  122. data/app/views/integral/posts/_most_read_section.haml +8 -0
  123. data/app/views/integral/posts/_post.haml +11 -0
  124. data/app/views/integral/posts/_similar_posts.haml +5 -0
  125. data/app/views/integral/posts/index.haml +6 -5
  126. data/app/views/integral/posts/templates/default.haml +34 -33
  127. data/app/views/integral/shared/_subscribe_modal.haml +14 -0
  128. data/app/views/integral/shared/blog/_categories.haml +15 -0
  129. data/app/views/integral/shared/blog/_layout.haml +9 -0
  130. data/app/views/integral/shared/blog/_sidebar.haml +10 -0
  131. data/app/views/integral/shared/gallery/_placeholder.haml +1 -1
  132. data/app/views/integral/shared/gallery/_slide.haml +2 -2
  133. data/app/views/integral/shared/gallery/gallery.haml +5 -2
  134. data/app/views/integral/shared/sidebar/_item.haml +8 -0
  135. data/app/views/integral/shared/sidebar/_newsletter_signup.haml +7 -0
  136. data/app/views/integral/shared/sidebar/_popular_posts.haml +7 -0
  137. data/app/views/integral/shared/sidebar/_popular_tags.haml +7 -0
  138. data/app/views/integral/shared/sidebar/_recent_posts.haml +7 -0
  139. data/app/views/integral/tags/index.haml +2 -2
  140. data/app/views/integral/tags/show.haml +3 -6
  141. data/app/views/layouts/integral/backend.html.haml +3 -0
  142. data/app/views/layouts/integral/backend/_main_menu_items.haml +10 -0
  143. data/app/views/layouts/integral/frontend.html.haml +3 -3
  144. data/config/locales/en.yml +52 -49
  145. data/db/migrate/20190414172018_create_webhook_endpoints.rb +10 -0
  146. data/db/migrate/20190929191412_add_integral_post_categories.rb +13 -0
  147. data/db/migrate/20191203090008_add_image_to_integral_categories.rb +6 -0
  148. data/db/migrate/20200401210442_create_category_versions.rb +20 -0
  149. data/db/seeds.rb +3 -1
  150. data/lib/generators/integral/assets_generator.rb +2 -2
  151. data/lib/generators/integral/install_generator.rb +1 -1
  152. data/lib/generators/integral/views_generator.rb +1 -1
  153. data/lib/generators/templates/integral.rb +5 -0
  154. data/lib/integral.rb +3 -30
  155. data/lib/integral/acts_as_listable.rb +2 -2
  156. data/lib/integral/chart_renderer/base.rb +2 -0
  157. data/lib/integral/content_renderer.rb +2 -2
  158. data/lib/integral/engine.rb +2 -2
  159. data/lib/integral/grids/activities_grid.rb +15 -1
  160. data/lib/integral/list_item_renderer.rb +4 -2
  161. data/lib/integral/list_renderer.rb +1 -0
  162. data/lib/integral/middleware/page_router.rb +15 -6
  163. data/lib/integral/router.rb +19 -3
  164. data/lib/integral/version.rb +1 -1
  165. data/lib/integral/widgets/swiper_list.rb +3 -2
  166. data/public/images/integral/demo/continous-integration.png +0 -0
  167. data/public/images/integral/demo/foundation-frontend-framework.jpg +0 -0
  168. data/public/images/integral/demo/heroku.png +0 -0
  169. data/public/images/integral/demo/integral-cms-without-hassle.jpg +0 -0
  170. data/public/images/integral/demo/integral-features-activity-tracking.jpg +0 -0
  171. data/public/images/integral/demo/integral-features-contact-form.png +0 -0
  172. data/public/images/integral/demo/integral-features-design.jpg +0 -0
  173. data/public/images/integral/demo/integral-features-dynamic-pages.jpg +0 -0
  174. data/public/images/integral/demo/integral-features-image-management.jpg +0 -0
  175. data/public/images/integral/demo/integral-features-integrated-blog.jpg +0 -0
  176. data/public/images/integral/demo/integral-features-list-management.jpg +0 -0
  177. data/public/images/integral/demo/integral-features-seo-ready.jpg +0 -0
  178. data/public/images/integral/demo/integral-features-user-management.jpg +0 -0
  179. data/public/images/integral/demo/integral-presentation.png +0 -0
  180. data/spec/factories.rb +15 -7
  181. metadata +110 -98
  182. data/app/assets/javascripts/ckeditor/plugins/integral-card/icons/copywidget.png +0 -0
  183. data/app/assets/javascripts/ckeditor/plugins/integral-card/icons/editwidget.png +0 -0
  184. data/app/assets/javascripts/ckeditor/plugins/integral-card/icons/hidpi/copywidget.png +0 -0
  185. data/app/assets/javascripts/ckeditor/plugins/integral-card/icons/hidpi/editwidget.png +0 -0
  186. data/app/assets/javascripts/ckeditor/plugins/integral-card/icons/hidpi/removewidget.png +0 -0
  187. data/app/assets/javascripts/ckeditor/plugins/integral-card/icons/hidpi/widget.png +0 -0
  188. data/app/assets/javascripts/ckeditor/plugins/integral-card/icons/removewidget.png +0 -0
  189. data/app/assets/javascripts/ckeditor/plugins/integral-card/icons/widget.png +0 -0
  190. data/app/assets/javascripts/ckeditor/plugins/integral-card/plugin.js +0 -86
  191. data/app/assets/javascripts/ckeditor/plugins/integralrecentposts/dialogs/integralrecentposts.js +0 -40
  192. data/app/assets/javascripts/ckeditor/plugins/integralrecentposts/plugin.js +0 -32
  193. data/app/assets/javascripts/ckeditor/plugins/numericinput/LICENSE.md +0 -363
  194. data/app/assets/javascripts/ckeditor/plugins/numericinput/README.md +0 -16
  195. data/app/assets/javascripts/ckeditor/plugins/numericinput/plugin.js +0 -354
  196. data/app/assets/stylesheets/integral/frontend.sass +0 -25
  197. data/app/views/integral/backend/pages/activities.haml +0 -2
  198. data/app/views/integral/backend/pages/activity.haml +0 -1
  199. data/app/views/integral/backend/posts/activities.haml +0 -3
  200. data/app/views/integral/backend/posts/activity.haml +0 -1
  201. data/app/views/integral/posts/_collection.haml +0 -4
  202. data/app/views/integral/posts/_item.haml +0 -16
  203. data/app/views/integral/shared/_blog_layout.haml +0 -15
  204. data/app/views/integral/shared/_blog_sidebar.haml +0 -49
  205. data/lib/integral/slack_bot.rb +0 -45
@@ -446,6 +446,9 @@ ul.tabs
446
446
  label
447
447
  font-size: 1em
448
448
 
449
+ .card
450
+ overflow: initial
451
+
449
452
  .card.profile
450
453
  position: relative
451
454
  a.settings
@@ -712,17 +715,6 @@ table
712
715
  background-color: rgba(212, 223, 239, 0.3)
713
716
  font-size: 0.9em
714
717
  padding: 0.5em 1em
715
- .actions
716
- a
717
- color: $body-font-color-secondary
718
- border-radius: 50%
719
- padding: 0.4em 0.25em
720
- &:hover
721
- background-color: $primary-color
722
- color: $white
723
- .fa
724
- width: 2em
725
- text-align: center
726
718
  tr.empty-grid
727
719
  &:hover
728
720
  background-color: transparent
@@ -768,3 +760,80 @@ table
768
760
  left: 0.25em
769
761
  transform: rotate(-135deg)
770
762
 
763
+ .help-text
764
+ margin-bottom: 0
765
+
766
+ .card-action-title
767
+ display: flex
768
+ justify-content: space-between
769
+
770
+
771
+ .button--action-pane
772
+ cursor: pointer
773
+ border-radius: 50%
774
+ padding: .25rem
775
+ &:hover, &.hover
776
+ color: $white
777
+ background-color: $primary-color
778
+
779
+ .dropdown-pane--actions
780
+ padding: 0
781
+ background-color: transparent
782
+ box-shadow: none
783
+ width: auto
784
+ padding-top: 20px
785
+ .menu
786
+ padding: .5rem 0
787
+ background-color: $white
788
+ box-shadow: 1px 6px 15px 0 rgba(35, 52, 69, 0.15)
789
+ &:after
790
+ content: ' '
791
+ position: absolute
792
+ right: 0
793
+ top: -2.2em
794
+ height: 2.2em
795
+ width: 70%
796
+ &:before
797
+ content: ' '
798
+ width: 20px
799
+ height: 20px
800
+ border-radius: 0 0 0.5em 0
801
+ background: linear-gradient(-45deg, #ffffff 50%, transparent 50%)
802
+ position: absolute
803
+ margin: 0
804
+ right: 5px
805
+ transform: rotate(225deg) skewX(8deg) skewY(8deg)
806
+ top: -5px
807
+ i
808
+ width: 30px
809
+ text-align: center
810
+ a, button
811
+ display: block
812
+ width: 100%
813
+ padding: .75rem 1rem
814
+ color: $secondary-color
815
+ text-align: left
816
+ cursor: pointer
817
+ &.disabled
818
+ opacity: 0.25
819
+ cursor: not-allowed
820
+ &:hover
821
+ background-color: scale-color($primary-color, $lightness: 95%)
822
+
823
+
824
+ .stat-table-heading
825
+ display: flex
826
+ border-bottom: 2px solid rgba(158, 158, 158, 0.15)
827
+ padding-bottom: 8px
828
+ margin-top: -15px
829
+ align-items: flex-end
830
+ justify-content: space-between
831
+
832
+ .stat-table-header-count
833
+ font-size: 1.75rem
834
+ color: $primary-color
835
+ .stat-table-header
836
+ font-size: .8rem
837
+
838
+ .tr--clickable
839
+ cursor: pointer
@@ -0,0 +1,45 @@
1
+ @import 'font-awesome-sprockets';
2
+ @import 'font-awesome';
3
+ @import "toastr";
4
+
5
+ @import 'integral/frontend/foundation_and_overrides';
6
+
7
+ $nprogress-color: $primary-color;
8
+ $nprogress-height: 5px;
9
+
10
+ @import 'nprogress';
11
+ @import 'nprogress-turbolinks5';
12
+
13
+ @import 'integral/support/mixins';
14
+ @import 'integral/support/scroll-to-top';
15
+ @import 'integral/support/media-query-indicator';
16
+ @import 'integral/support/gallery';
17
+ @import "integral/support/swiper";
18
+
19
+ // Glob import only works without the /integral however if this file is copied to the host application then it fails
20
+ // It should also work within host application
21
+ // https://github.com/rails/sass-rails/issues/166#event-2225118948
22
+ // @import "frontend/modules/*"; - Works in engine but not host application
23
+ // @import "integralfrontend/modules/*"; - Doesn't work in either
24
+
25
+ @import "integral/frontend/modules/article-footer";
26
+ @import "integral/frontend/modules/article";
27
+ @import "integral/frontend/modules/horizontal-post";
28
+ @import "integral/frontend/modules/inline-articles";
29
+ @import "integral/frontend/modules/latest-post";
30
+ @import "integral/frontend/modules/list-widget";
31
+ @import "integral/frontend/modules/piped-list";
32
+ @import "integral/frontend/modules/sidebar-articles";
33
+ @import "integral/frontend/modules/sidebar-tags";
34
+ @import "integral/frontend/modules/sidebar-widget";
35
+ @import "integral/frontend/modules/vertical-post";
36
+ @import "integral/frontend/modules/post-tags";
37
+ @import "integral/frontend/modules/scroll-container";
38
+
39
+ @import 'integral/frontend/share_modal';
40
+ @import 'integral/frontend/layout';
41
+ @import 'integral/frontend/shared';
42
+ @import 'integral/frontend/demo';
43
+ @import 'integral/frontend/blog';
44
+
45
+ @import 'integral/frontend/overrides';
@@ -825,8 +825,8 @@ $titlebar-icon-spacing: 0.25rem;
825
825
  // -----------
826
826
 
827
827
  $has-tip-cursor: help;
828
- $has-tip-font-weight: $global-weight-bold;
829
- $has-tip-border-bottom: dotted 1px $dark-gray;
828
+ $has-tip-font-weight: initial;
829
+ $has-tip-border-bottom: none;
830
830
  $tooltip-background-color: $black;
831
831
  $tooltip-color: $white;
832
832
  $tooltip-padding: 0.75rem;
@@ -85,122 +85,122 @@ body.posts.show
85
85
  i
86
86
  margin-right: 0.5em
87
87
  font-size: 0.9em
88
- ul.post-list
89
- margin-left: 0
90
- list-style: none
91
- > li
92
- padding-bottom: 2em
93
- margin-bottom: 2em
94
- border-bottom: 1px solid #ececec
95
- @include breakpoint(small down)
96
- padding-bottom: 1em
97
- &:last-of-type
98
- border-bottom: none
99
- .record--post
100
- .post--title
101
- color: $secondary-color
102
- font-size: 2em
103
- font-weight: bold
104
- text-transform: none
105
- letter-spacing: 0.7px
106
- @include breakpoint(small down)
107
- font-size: 1.35em
108
- letter-spacing: 0.4px
109
- line-height: 1.3
110
- .post--image
111
- margin: 1em 0
112
- width: 100%
113
- height: 20em
114
- object-fit: cover
115
- @include breakpoint(small down)
116
- height: 15em
117
- margin: 0.5em 0
118
- .post--date
119
- font-family: $header-font-family
120
- font-size: 0.8em
121
- text-transform: uppercase
122
- letter-spacing: 0.5px
123
- color: $primary-color
124
- font-weight: bold
125
- ul.tag-list
126
- margin-left: 0
127
- list-style: none
128
- margin-top: 1em
129
- text-align: center
130
- @include breakpoint(small down)
131
- margin-top: 0.5em
132
- &.left
133
- text-align: left
134
- li
135
- display: inline-block
136
- margin: 0 1.5em 1em 0
137
- text-transform: uppercase
138
- font-weight: bold
139
- font-size: 0.9em
140
- @include breakpoint(small down)
141
- margin: 0 .5em .5em 0
142
- &:before
143
- content: '#'
144
- color: $primary-color
145
- margin-right: 0.1em
146
- a
147
- color: $body-font-color
148
- &:hover
149
- color: $primary-color
150
- .blog-widget
151
- h4
152
- display: flex
153
- margin-bottom: 2em
154
- font-size: 1em
155
- text-transform: uppercase
156
- span
157
- &:first-of-type
158
- flex-shrink: 1
159
- &:last-of-type
160
- flex-grow: 1
161
- border-bottom: 1px solid black
162
- margin-bottom: 0.5em
163
- margin-left: 0.5em
164
- &:after
165
- content: ''
166
- ul.record-list
167
- @include xy-grid
168
- margin-left: 0
169
- margin-bottom: 2em
170
- list-style: none
171
- li
172
- @include xy-cell(full, false, 0)
173
- @include breakpoint(medium only)
174
- @include xy-cell(1 of 2, false, 0)
175
- .grid-x
176
- margin-bottom: 1em
177
- > a
178
- @include xy-cell(1 of 6, false, 0)
179
- .meta
180
- @include xy-cell(5 of 6, true, $grid-margin-gutters, margin, left)
181
- img
182
- width: 100%
183
- height: 100%
184
- object-fit: cover
185
- h5
186
- margin-bottom: 0
187
- font-size: 1em
188
- a
189
- color: $secondary-color
190
- &:hover
191
- color: $primary-color
192
- .subtitle
193
- font-family: $header-font-family
194
- color: $primary-color
195
- text-transform: uppercase
196
- font-size: 0.7em
197
- font-weight: bold
198
- ul.tag-list
199
- text-align: left
200
- font-size: 0.8em
201
- li
202
- margin: 0 1em 0.75em 0
203
- font-family: $header-font-family
88
+ // ul.post-list
89
+ // margin-left: 0
90
+ // list-style: none
91
+ // > li
92
+ // padding-bottom: 2em
93
+ // margin-bottom: 2em
94
+ // border-bottom: 1px solid #ececec
95
+ // @include breakpoint(small down)
96
+ // padding-bottom: 1em
97
+ // &:last-of-type
98
+ // border-bottom: none
99
+ // .record--post
100
+ // .post--title
101
+ // color: $secondary-color
102
+ // font-size: 2em
103
+ // font-weight: bold
104
+ // text-transform: none
105
+ // letter-spacing: 0.7px
106
+ // @include breakpoint(small down)
107
+ // font-size: 1.35em
108
+ // letter-spacing: 0.4px
109
+ // line-height: 1.3
110
+ // .post--image
111
+ // margin: 1em 0
112
+ // width: 100%
113
+ // height: 20em
114
+ // object-fit: cover
115
+ // @include breakpoint(small down)
116
+ // height: 15em
117
+ // margin: 0.5em 0
118
+ // .post--date
119
+ // font-family: $header-font-family
120
+ // font-size: 0.8em
121
+ // text-transform: uppercase
122
+ // letter-spacing: 0.5px
123
+ // color: $primary-color
124
+ // font-weight: bold
125
+ // ul.tag-list
126
+ // margin-left: 0
127
+ // list-style: none
128
+ // margin-top: 1em
129
+ // text-align: center
130
+ // @include breakpoint(small down)
131
+ // margin-top: 0.5em
132
+ // &.left
133
+ // text-align: left
134
+ // li
135
+ // display: inline-block
136
+ // margin: 0 1.5em 1em 0
137
+ // text-transform: uppercase
138
+ // font-weight: bold
139
+ // font-size: 0.9em
140
+ // @include breakpoint(small down)
141
+ // margin: 0 .5em .5em 0
142
+ // &:before
143
+ // content: '#'
144
+ // color: $primary-color
145
+ // margin-right: 0.1em
146
+ // a
147
+ // color: $body-font-color
148
+ // &:hover
149
+ // color: $primary-color
150
+ .sidebar-widget
151
+ // h4
152
+ // display: flex
153
+ // margin-bottom: 2em
154
+ // font-size: 1em
155
+ // text-transform: uppercase
156
+ // span
157
+ // &:first-of-type
158
+ // flex-shrink: 1
159
+ // &:last-of-type
160
+ // flex-grow: 1
161
+ // border-bottom: 1px solid black
162
+ // margin-bottom: 0.5em
163
+ // margin-left: 0.5em
164
+ // &:after
165
+ // content: ''
166
+ // ul.record-list
167
+ // @include xy-grid
168
+ // margin-left: 0
169
+ // margin-bottom: 2em
170
+ // list-style: none
171
+ // li
172
+ // @include xy-cell(full, false, 0)
173
+ // @include breakpoint(medium only)
174
+ // @include xy-cell(1 of 2, false, 0)
175
+ // .grid-x
176
+ // margin-bottom: 1em
177
+ // > a
178
+ // @include xy-cell(1 of 6, false, 0)
179
+ // .meta
180
+ // @include xy-cell(5 of 6, true, $grid-margin-gutters, margin, left)
181
+ // img
182
+ // width: 100%
183
+ // height: 100%
184
+ // object-fit: cover
185
+ // h5
186
+ // margin-bottom: 0
187
+ // font-size: 1em
188
+ // a
189
+ // color: $secondary-color
190
+ // &:hover
191
+ // color: $primary-color
192
+ // .subtitle
193
+ // font-family: $header-font-family
194
+ // color: $primary-color
195
+ // text-transform: uppercase
196
+ // font-size: 0.7em
197
+ // font-weight: bold
198
+ // ul.tag-list
199
+ // text-align: left
200
+ // font-size: 0.8em
201
+ // li
202
+ // margin: 0 1em 0.75em 0
203
+ // font-family: $header-font-family
204
204
 
205
205
  &.newsletter-signup
206
206
  padding: 2em 0.5em
@@ -215,6 +215,7 @@ ul.tag-list
215
215
  margin: 1em 0
216
216
  font-weight: bold
217
217
  font-size: 1.25em
218
+ color: $white
218
219
  p
219
220
  font-size: .9em
220
221
  form
@@ -233,31 +234,43 @@ ul.tag-list
233
234
  box-shadow: none
234
235
  background-color: $white
235
236
  font-size: .9em
236
- .share-widget
237
- span
238
- @include button(false, $secondary-color)
239
- text-transform: uppercase
240
- a
241
- @include button
242
-
243
- section.related-posts
244
- margin: 1rem 0
237
+ // .share-widget
238
+ // span
239
+ // @include button(false, $secondary-color)
240
+ // text-transform: uppercase
241
+ // a
242
+ // @include button
243
+ //
244
+ // section.related-posts
245
+ // margin: 1rem 0
246
+ //
247
+ // article
248
+ // h2, h3, h4
249
+ // @include headerAnchor
250
+ //
251
+ // blockquote
252
+ // border: none
253
+ // &:before
254
+ // @include font-awesome('\f10d')
255
+ // display: block
256
+ // font-size: 4em
257
+ // text-align: center
258
+ // color: $header-color
259
+ // p
260
+ // color: $body-font-color
261
+ // font-size: 1.1em
262
+ // h3
263
+ // text-align: center
264
+ // font-size: 1.5em
245
265
 
246
- article
266
+ .wysiwyg-content--post
247
267
  h2, h3, h4
248
- @include headerAnchor
249
-
250
- blockquote
251
- border: none
252
- &:before
253
- @include font-awesome('\f10d')
254
- display: block
255
- font-size: 4em
256
- text-align: center
257
- color: $header-color
258
- p
259
- color: $body-font-color
260
- font-size: 1.1em
261
- h3
262
- text-align: center
263
- font-size: 1.5em
268
+ margin: 1rem 0
269
+ h3, h4
270
+ font-weight: normal
271
+ h2
272
+ font-size: 1.5rem
273
+ h3
274
+ font-size: 1.25rem
275
+ h4
276
+ font-size: 1.15rem