pageflow 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pageflow might be problematic. Click here for more details.

Files changed (426) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +181 -0
  3. data/README.md +11 -37
  4. data/admins/pageflow/accounts.rb +20 -2
  5. data/admins/pageflow/entry.rb +55 -30
  6. data/admins/pageflow/membership.rb +1 -0
  7. data/admins/pageflow/revisions.rb +2 -0
  8. data/admins/pageflow/user.rb +25 -16
  9. data/app/assets/images/pageflow/editor/blank_entry/logo.png +0 -0
  10. data/app/assets/images/pageflow/themes/default/close_button_sprite.png +0 -0
  11. data/app/assets/images/pageflow/themes/default/favicon.ico +0 -0
  12. data/app/assets/images/pageflow/{touch_indicator.png → themes/default/indicators/hidden_text.png} +0 -0
  13. data/app/assets/images/pageflow/{touch_indicator_invert.png → themes/default/indicators/hidden_text_invert.png} +0 -0
  14. data/app/assets/images/pageflow/{scroll_down_indicator.png → themes/default/indicators/scroll_down.png} +0 -0
  15. data/app/assets/images/pageflow/{scroll_down_indicator_invert.png → themes/default/indicators/scroll_down_invert.png} +0 -0
  16. data/app/assets/images/pageflow/themes/default/loading_spinner/logo.png +0 -0
  17. data/app/assets/images/pageflow/themes/default/logo_header.png +0 -0
  18. data/app/assets/images/pageflow/themes/default/logo_header_invert.png +0 -0
  19. data/app/assets/images/pageflow/themes/default/logo_print.png +0 -0
  20. data/app/assets/images/pageflow/{menu_mobile_imprint.png → themes/default/mobile_navigation/imprint_sprite.png} +0 -0
  21. data/app/assets/images/pageflow/{menu_mobile_sprite3.png → themes/default/mobile_navigation/index_sprite.png} +0 -0
  22. data/app/assets/images/pageflow/{mobile_sharing.png → themes/default/mobile_navigation/sharing_icons_sprite.png} +0 -0
  23. data/app/assets/images/pageflow/{menu_mobile_sharing.png → themes/default/mobile_navigation/sharing_sprite.png} +0 -0
  24. data/app/assets/images/pageflow/{chapter_bottom.png → themes/default/overview_chapter_borders/bottom.png} +0 -0
  25. data/app/assets/images/pageflow/{chapter_end.png → themes/default/overview_chapter_borders/end.png} +0 -0
  26. data/app/assets/images/pageflow/{chapter_start.png → themes/default/overview_chapter_borders/start.png} +0 -0
  27. data/app/assets/images/pageflow/{chapter_bg.png → themes/default/overview_chapter_borders/tile.png} +0 -0
  28. data/app/assets/images/pageflow/{chapter_top.png → themes/default/overview_chapter_borders/top.png} +0 -0
  29. data/app/assets/images/pageflow/themes/default/{audio_sprite.png → page_type_pictograms/audio/sprite.png} +0 -0
  30. data/app/assets/images/pageflow/themes/default/page_type_pictograms/audio/wide.png +0 -0
  31. data/app/assets/images/pageflow/themes/default/{image_sprite.png → page_type_pictograms/audio_loop/sprite.png} +0 -0
  32. data/app/assets/images/pageflow/themes/default/page_type_pictograms/audio_loop/wide.png +0 -0
  33. data/app/assets/images/pageflow/themes/default/page_type_pictograms/background_image/sprite.png +0 -0
  34. data/app/assets/images/pageflow/themes/default/page_type_pictograms/background_image/wide.png +0 -0
  35. data/app/assets/images/pageflow/themes/default/page_type_pictograms/background_video/sprite.png +0 -0
  36. data/app/assets/images/pageflow/themes/default/page_type_pictograms/background_video/wide.png +0 -0
  37. data/app/assets/images/pageflow/themes/default/{video_sprite.png → page_type_pictograms/video/sprite.png} +0 -0
  38. data/app/assets/images/pageflow/themes/default/page_type_pictograms/video/wide.png +0 -0
  39. data/app/assets/images/pageflow/themes/default/player_controls/slim/scroller_mask.png +0 -0
  40. data/app/assets/images/pageflow/themes/default/{loading_small.png → player_controls_loading_spinner.png} +0 -0
  41. data/app/assets/images/pageflow/themes/default/{video_controls.png → player_controls_sprite.png} +0 -0
  42. data/app/assets/images/pageflow/{menu-arrow-short.png → themes/legacy/menu-arrow-short.png} +0 -0
  43. data/app/assets/images/pageflow/themes/legacy/menu_mobile_imprint.png +0 -0
  44. data/app/assets/images/pageflow/themes/legacy/menu_mobile_sharing.png +0 -0
  45. data/app/assets/images/pageflow/themes/legacy/menu_mobile_sprite3.png +0 -0
  46. data/app/assets/images/pageflow/themes/legacy/mobile_sharing.png +0 -0
  47. data/app/assets/images/pageflow/{page_thumbnail_mask.png → themes/legacy/page_thumbnail_mask.png} +0 -0
  48. data/app/assets/images/pageflow/themes/legacy/scroll_down_indicator.png +0 -0
  49. data/app/assets/images/pageflow/themes/legacy/scroll_down_indicator_invert.png +0 -0
  50. data/app/assets/images/pageflow/{scroll_indicator_sprite.png → themes/legacy/scroll_indicator_sprite.png} +0 -0
  51. data/app/assets/images/pageflow/themes/legacy/touch_indicator.png +0 -0
  52. data/app/assets/images/pageflow/themes/legacy/touch_indicator_invert.png +0 -0
  53. data/app/assets/images/pageflow/{volume_control_sprite.png → themes/legacy/volume_control_sprite.png} +0 -0
  54. data/app/assets/javascripts/pageflow/admin.js +2 -0
  55. data/app/assets/javascripts/pageflow/admin/entries.js +1 -1
  56. data/app/assets/javascripts/pageflow/base.js +2 -0
  57. data/app/assets/javascripts/pageflow/browser/agent.js +36 -0
  58. data/app/assets/javascripts/pageflow/browser/facebook.js +10 -0
  59. data/app/assets/javascripts/pageflow/browser/ios_platform.js +1 -4
  60. data/app/assets/javascripts/pageflow/editor/models/theming.js +4 -0
  61. data/app/assets/javascripts/pageflow/editor/views/edit_meta_data_view.js +17 -3
  62. data/app/assets/javascripts/pageflow/editor/views/editor_view.js +21 -0
  63. data/app/assets/javascripts/pageflow/editor/views/entry_preview_view.js +1 -0
  64. data/app/assets/javascripts/pageflow/focus_outline.js +44 -0
  65. data/app/assets/javascripts/pageflow/highlighted_page.js +10 -4
  66. data/app/assets/javascripts/pageflow/links.js +0 -7
  67. data/app/assets/javascripts/pageflow/page_types/audio.js +13 -0
  68. data/app/assets/javascripts/pageflow/page_types/mixins/info_box.js +5 -2
  69. data/app/assets/javascripts/pageflow/page_types/video.js +65 -59
  70. data/app/assets/javascripts/pageflow/ready.js +4 -2
  71. data/app/assets/javascripts/pageflow/slideshow.js +1 -0
  72. data/app/assets/javascripts/pageflow/slideshow/atmo.js +1 -1
  73. data/app/assets/javascripts/pageflow/slideshow/hide_text.js +5 -1
  74. data/app/assets/javascripts/pageflow/slideshow/page_widget.js +17 -0
  75. data/app/assets/javascripts/pageflow/slideshow/scroll_indicator.js +27 -0
  76. data/app/assets/javascripts/pageflow/slideshow/scroll_indicator_widget.js +53 -10
  77. data/app/assets/javascripts/pageflow/slideshow/scroller_widget.js +8 -1
  78. data/app/assets/javascripts/pageflow/ui/views/inputs/slider_input_view.js +15 -4
  79. data/app/assets/javascripts/pageflow/widgets.js +9 -0
  80. data/app/assets/javascripts/pageflow/widgets/auto_hide_player_controls.js +59 -0
  81. data/app/assets/javascripts/pageflow/widgets/header.js +11 -7
  82. data/app/assets/javascripts/pageflow/widgets/hide_content_during_playback.js +68 -0
  83. data/app/assets/javascripts/pageflow/widgets/loading_spinner.js +2 -0
  84. data/app/assets/javascripts/pageflow/widgets/mark_with_played_states.js +23 -0
  85. data/app/assets/javascripts/pageflow/widgets/multimedia_alert.js +2 -0
  86. data/app/assets/javascripts/pageflow/widgets/navigation.js +3 -5
  87. data/app/assets/javascripts/pageflow/widgets/navigation_mobile.js +2 -0
  88. data/app/assets/javascripts/pageflow/widgets/overview.js +2 -1
  89. data/app/assets/javascripts/pageflow/widgets/page_navigation_list.js +7 -3
  90. data/app/assets/javascripts/pageflow/widgets/player_controls.js +24 -19
  91. data/app/assets/javascripts/pageflow/widgets/share_menu.js +5 -4
  92. data/app/assets/stylesheets/pageflow/{admin.css.scss → admin.scss} +7 -5
  93. data/app/assets/stylesheets/pageflow/admin/{columns.css.scss → columns.scss} +0 -0
  94. data/app/assets/stylesheets/pageflow/admin/embedded_index_table.scss +14 -0
  95. data/app/assets/stylesheets/pageflow/admin/{entries.css.scss → entries.scss} +7 -11
  96. data/app/assets/stylesheets/pageflow/admin/entries/{folders.css.scss → folders.scss} +0 -0
  97. data/app/assets/stylesheets/pageflow/admin/entries/index_table.scss +15 -0
  98. data/app/assets/stylesheets/pageflow/admin/entries/{user_badge_list.css.scss → user_badge_list.scss} +0 -0
  99. data/app/assets/stylesheets/pageflow/admin/filters.scss +3 -0
  100. data/app/assets/stylesheets/pageflow/admin/icon_button.scss +25 -0
  101. data/app/assets/stylesheets/pageflow/admin/icon_link.scss +31 -0
  102. data/app/assets/stylesheets/pageflow/admin/publication_state_indicator.scss +18 -0
  103. data/app/assets/stylesheets/pageflow/admin/{quotas.css.scss → quotas.scss} +0 -0
  104. data/app/assets/stylesheets/pageflow/admin/{tabs_view.css.scss → tabs_view.scss} +3 -2
  105. data/app/assets/stylesheets/pageflow/admin/tooltip_bubble.scss +30 -0
  106. data/app/assets/stylesheets/pageflow/{animations.css.scss → animations.scss} +0 -0
  107. data/app/assets/stylesheets/pageflow/animations/{blink.css.scss → blink.scss} +0 -0
  108. data/app/assets/stylesheets/pageflow/animations/{bounce.css.scss → bounce.scss} +0 -0
  109. data/app/assets/stylesheets/pageflow/animations/{fade.css.scss → fade.scss} +0 -0
  110. data/app/assets/stylesheets/pageflow/animations/{loading.css.scss → loading.scss} +0 -0
  111. data/app/assets/stylesheets/pageflow/animations/{scroll.css.scss → scroll.scss} +0 -0
  112. data/app/assets/stylesheets/pageflow/{application_with_simulated_media_queries.css.scss → application_with_simulated_media_queries.scss} +0 -0
  113. data/app/assets/stylesheets/pageflow/{base.css.scss → base.scss} +15 -5
  114. data/app/assets/stylesheets/pageflow/{delayed_text_fade_in.css.scss → delayed_text_fade_in.scss} +0 -0
  115. data/app/assets/stylesheets/pageflow/editor/{back_button_decorator.css.scss → back_button_decorator.scss} +0 -0
  116. data/app/assets/stylesheets/pageflow/editor/{background_positioning.css.scss → background_positioning.scss} +0 -0
  117. data/app/assets/stylesheets/pageflow/editor/{base.css.scss → base.scss} +3 -1
  118. data/app/assets/stylesheets/pageflow/editor/{blank_entry.css.scss → blank_entry.scss} +6 -4
  119. data/app/assets/stylesheets/pageflow/editor/{colors.css.scss → colors.scss} +0 -0
  120. data/app/assets/stylesheets/pageflow/editor/{confirm_encoding.css.scss → confirm_encoding.scss} +0 -0
  121. data/app/assets/stylesheets/pageflow/editor/{dialogs.css.scss → dialogs.scss} +0 -0
  122. data/app/assets/stylesheets/pageflow/editor/{disabled_atmo_indicator.css.scss → disabled_atmo_indicator.scss} +0 -0
  123. data/app/assets/stylesheets/pageflow/editor/{drop_down_button.css.scss → drop_down_button.scss} +0 -0
  124. data/app/assets/stylesheets/pageflow/editor/{failures.css.scss → failures.scss} +0 -0
  125. data/app/assets/stylesheets/pageflow/editor/{file_meta_data.css.scss → file_meta_data.scss} +0 -0
  126. data/app/assets/stylesheets/pageflow/editor/{file_stages.css.scss → file_stages.scss} +0 -0
  127. data/app/assets/stylesheets/pageflow/editor/{file_thumbnails.css.scss → file_thumbnails.scss} +0 -0
  128. data/app/assets/stylesheets/pageflow/editor/{files.css.scss → files.scss} +0 -0
  129. data/app/assets/stylesheets/pageflow/editor/{files_explorer.css.scss → files_explorer.scss} +0 -0
  130. data/app/assets/stylesheets/pageflow/editor/{files_gallery.css.scss → files_gallery.scss} +0 -0
  131. data/app/assets/stylesheets/pageflow/editor/{help.css.scss → help.scss} +0 -0
  132. data/app/assets/stylesheets/pageflow/editor/{indicators.css.scss → indicators.scss} +0 -0
  133. data/app/assets/stylesheets/pageflow/editor/{inputs.css.scss → inputs.scss} +0 -0
  134. data/app/assets/stylesheets/pageflow/editor/inputs/{reference.css.scss → reference.scss} +0 -0
  135. data/app/assets/stylesheets/pageflow/editor/{list.css.scss → list.scss} +0 -0
  136. data/app/assets/stylesheets/pageflow/editor/{loading.css.scss → loading.scss} +0 -0
  137. data/app/assets/stylesheets/pageflow/editor/{locked.css.scss → locked.scss} +0 -0
  138. data/app/assets/stylesheets/pageflow/editor/{manage_files.css.scss → manage_files.scss} +0 -0
  139. data/app/assets/stylesheets/pageflow/editor/{menu.css.scss → menu.scss} +0 -0
  140. data/app/assets/stylesheets/pageflow/editor/{notifications.css.scss → notifications.scss} +0 -0
  141. data/app/assets/stylesheets/pageflow/editor/{other_entry_item.css.scss → other_entry_item.scss} +0 -0
  142. data/app/assets/stylesheets/pageflow/editor/{outline.css.scss → outline.scss} +0 -0
  143. data/app/assets/stylesheets/pageflow/editor/{page_links.css.scss → page_links.scss} +0 -0
  144. data/app/assets/stylesheets/pageflow/editor/{page_selection.css.scss → page_selection.scss} +0 -0
  145. data/app/assets/stylesheets/pageflow/editor/{publish_entry.css.scss → publish_entry.scss} +0 -0
  146. data/app/assets/stylesheets/pageflow/editor/{quotas.css.scss → quotas.scss} +0 -0
  147. data/app/assets/stylesheets/pageflow/editor/{select_button.css.scss → select_button.scss} +0 -0
  148. data/app/assets/stylesheets/pageflow/editor/{storyline_picker.css.scss → storyline_picker.scss} +0 -0
  149. data/app/assets/stylesheets/pageflow/editor/unsupported_browser_hint.scss +15 -0
  150. data/app/assets/stylesheets/pageflow/editor/{widgets.css.scss → widgets.scss} +0 -0
  151. data/app/assets/stylesheets/pageflow/editor/{wysihtml5.css.scss → wysihtml5.scss} +0 -0
  152. data/app/assets/stylesheets/pageflow/{entries.css.scss → entries.scss} +16 -58
  153. data/app/assets/stylesheets/pageflow/focus_outline.scss +23 -0
  154. data/app/assets/stylesheets/pageflow/{fonts.css.scss → fonts.scss} +0 -0
  155. data/app/assets/stylesheets/pageflow/{header.css.scss → header.scss} +0 -0
  156. data/app/assets/stylesheets/pageflow/{hide_text.css.scss → hide_text.scss} +4 -6
  157. data/app/assets/stylesheets/pageflow/{ie9.css.scss → ie9.scss} +2 -1
  158. data/app/assets/stylesheets/pageflow/jquery_ui.scss +26 -0
  159. data/app/assets/stylesheets/pageflow/{loading_spinner.css.scss → loading_spinner.scss} +0 -0
  160. data/app/assets/stylesheets/pageflow/{lt_ie9.css.scss → lt_ie9.scss} +0 -4
  161. data/app/assets/stylesheets/pageflow/{mixins.css.scss → mixins.scss} +2 -0
  162. data/app/assets/stylesheets/pageflow/mixins/{background_icons.css.scss → background_icons.scss} +13 -1
  163. data/app/assets/stylesheets/pageflow/mixins/{breakpoints.css.scss → breakpoints.scss} +0 -0
  164. data/app/assets/stylesheets/pageflow/mixins/{buttons.css.scss → buttons.scss} +0 -0
  165. data/app/assets/stylesheets/pageflow/mixins/{hidden_text.css.scss → hidden_text.scss} +0 -0
  166. data/app/assets/stylesheets/pageflow/mixins/{hover.css.scss → hover.scss} +0 -0
  167. data/app/assets/stylesheets/pageflow/mixins/{icons.css.scss → icons.scss} +4 -4
  168. data/app/assets/stylesheets/pageflow/mixins/icons/{entypo.css.scss → entypo.scss} +0 -0
  169. data/app/assets/stylesheets/pageflow/mixins/icons/{fontawesome.css.scss → fontawesome.scss} +1 -1
  170. data/app/assets/stylesheets/pageflow/mixins/ie_fixes.scss +4 -0
  171. data/app/assets/stylesheets/pageflow/mixins/{label.css.scss → label.scss} +0 -0
  172. data/app/assets/stylesheets/pageflow/mixins/map_to_css.scss +5 -0
  173. data/app/assets/stylesheets/pageflow/mixins/{pageflow.css.scss → pageflow.scss} +9 -1
  174. data/app/assets/stylesheets/pageflow/mixins/{pressed.css.scss → pressed.scss} +0 -0
  175. data/app/assets/stylesheets/pageflow/mixins/{shadow.css.scss → shadow.scss} +6 -1
  176. data/app/assets/stylesheets/pageflow/mixins/{text_size_adjust.css.scss → text_size_adjust.scss} +0 -0
  177. data/app/assets/stylesheets/pageflow/mixins/{unselectable.css.scss → unselectable.scss} +0 -0
  178. data/app/assets/stylesheets/pageflow/{multimedia_alert.css.scss → multimedia_alert.scss} +1 -0
  179. data/app/assets/stylesheets/pageflow/{navigation_bar.css.scss → navigation_bar.scss} +7 -199
  180. data/app/assets/stylesheets/pageflow/{navigation_mobile.css.scss → navigation_mobile.scss} +1 -20
  181. data/app/assets/stylesheets/pageflow/{overview.css.scss → overview.scss} +6 -32
  182. data/app/assets/stylesheets/pageflow/{page.css.scss → page.scss} +1 -47
  183. data/app/assets/stylesheets/pageflow/{page_transitions.css.scss → page_transitions.scss} +0 -0
  184. data/app/assets/stylesheets/pageflow/page_transitions/{crossfade.css.scss → crossfade.scss} +0 -0
  185. data/app/assets/stylesheets/pageflow/page_transitions/{cut.css.scss → cut.scss} +0 -0
  186. data/app/assets/stylesheets/pageflow/page_transitions/{fade.css.scss → fade.scss} +0 -0
  187. data/app/assets/stylesheets/pageflow/page_transitions/{fade_to_black.css.scss → fade_to_black.scss} +0 -0
  188. data/app/assets/stylesheets/pageflow/page_transitions/{scroll.css.scss → scroll.scss} +0 -0
  189. data/app/assets/stylesheets/pageflow/page_transitions/{scroll_in.css.scss → scroll_in.scss} +0 -0
  190. data/app/assets/stylesheets/pageflow/page_transitions/{scroll_in_right.css.scss → scroll_in_right.scss} +0 -0
  191. data/app/assets/stylesheets/pageflow/page_transitions/{scroll_left.css.scss → scroll_left.scss} +0 -0
  192. data/app/assets/stylesheets/pageflow/page_transitions/{scroll_right.css.scss → scroll_right.scss} +0 -0
  193. data/app/assets/stylesheets/pageflow/{page_types.css.scss → page_types.scss} +0 -0
  194. data/app/assets/stylesheets/pageflow/page_types/{audio.css.scss → audio.scss} +0 -15
  195. data/app/assets/stylesheets/pageflow/page_types/{audio_loop.css.scss → audio_loop.scss} +0 -0
  196. data/app/assets/stylesheets/pageflow/page_types/{background-image.css.scss → background-image.scss} +0 -0
  197. data/app/assets/stylesheets/pageflow/page_types/{background-video.css.scss → background-video.scss} +0 -0
  198. data/app/assets/stylesheets/pageflow/page_types/video.scss +116 -0
  199. data/app/assets/stylesheets/pageflow/page_types/video/content_hiding.scss +32 -0
  200. data/app/assets/stylesheets/pageflow/{print_view.css.scss → print_view.scss} +0 -0
  201. data/app/assets/stylesheets/pageflow/{skip_links.css.scss → skip_links.scss} +0 -9
  202. data/app/assets/stylesheets/pageflow/{slideshow.css.scss → slideshow.scss} +7 -7
  203. data/app/assets/stylesheets/pageflow/{subshare.css.scss → subshare.scss} +0 -0
  204. data/app/assets/stylesheets/pageflow/{text_variants.css.scss → text_variants.scss} +0 -0
  205. data/app/assets/stylesheets/pageflow/themes/default.scss +1 -0
  206. data/app/assets/stylesheets/pageflow/themes/default/README.md +26 -0
  207. data/app/assets/stylesheets/pageflow/themes/default/anchors.scss +24 -0
  208. data/app/assets/stylesheets/pageflow/themes/default/animations.scss +2 -0
  209. data/app/assets/stylesheets/pageflow/themes/default/animations/rotate.scss +9 -0
  210. data/app/assets/stylesheets/pageflow/themes/default/animations/rotate_and_blink.scss +16 -0
  211. data/app/assets/stylesheets/pageflow/themes/default/{base.css.scss → base.scss} +10 -2
  212. data/app/assets/stylesheets/pageflow/themes/default/built_in_page_types.scss +5 -0
  213. data/app/assets/stylesheets/pageflow/themes/default/definitions.scss +9 -0
  214. data/app/assets/stylesheets/pageflow/themes/default/functions/icon_font_options.scss +8 -0
  215. data/app/assets/stylesheets/pageflow/themes/default/indicators.scss +28 -0
  216. data/app/assets/stylesheets/pageflow/themes/default/indicators/colors.scss +47 -0
  217. data/app/assets/stylesheets/pageflow/themes/default/indicators/icons/default.scss +45 -0
  218. data/app/assets/stylesheets/pageflow/themes/default/indicators/icons/icon_font.scss +26 -0
  219. data/app/assets/stylesheets/pageflow/themes/default/indicators/icons/sprite.scss +38 -0
  220. data/app/assets/stylesheets/pageflow/themes/default/indicators/typography.scss +3 -0
  221. data/app/assets/stylesheets/pageflow/themes/default/indicators/widget_margins.scss +3 -0
  222. data/app/assets/stylesheets/pageflow/themes/default/loading_spinner.scss +90 -0
  223. data/app/assets/stylesheets/pageflow/themes/default/logo.scss +54 -0
  224. data/app/assets/stylesheets/pageflow/themes/default/logo/variant/background_image.scss +37 -0
  225. data/app/assets/stylesheets/pageflow/themes/default/logo/variant/watermark.scss +90 -0
  226. data/app/assets/stylesheets/pageflow/themes/default/mixins/indicator_typography.scss +30 -0
  227. data/app/assets/stylesheets/pageflow/themes/default/mixins/sprite_icons.scss +87 -0
  228. data/app/assets/stylesheets/pageflow/themes/default/mixins/typography.scss +7 -0
  229. data/app/assets/stylesheets/pageflow/themes/default/mobile_navigation.scss +104 -0
  230. data/app/assets/stylesheets/pageflow/themes/default/navigation.scss +102 -0
  231. data/app/assets/stylesheets/pageflow/themes/default/navigation/credits.scss +7 -0
  232. data/app/assets/stylesheets/pageflow/themes/default/navigation/dimensions.scss +87 -0
  233. data/app/assets/stylesheets/pageflow/themes/default/navigation/icons/icon_font.scss +232 -0
  234. data/app/assets/stylesheets/pageflow/themes/default/navigation/icons/sprite.scss +124 -0
  235. data/app/assets/stylesheets/pageflow/themes/default/navigation/menu_boxes.scss +99 -0
  236. data/app/assets/stylesheets/pageflow/themes/default/navigation/separator_lines.scss +21 -0
  237. data/app/assets/stylesheets/pageflow/themes/default/navigation/share_box.scss +28 -0
  238. data/app/assets/stylesheets/pageflow/themes/default/navigation/typography.scss +40 -0
  239. data/app/assets/stylesheets/pageflow/themes/default/navigation/volume_control.scss +17 -0
  240. data/app/assets/stylesheets/pageflow/themes/default/navigation/widget_margin.scss +19 -0
  241. data/app/assets/stylesheets/pageflow/themes/default/overview.scss +43 -0
  242. data/app/assets/stylesheets/pageflow/themes/default/overview/chapter_border_images.scss +70 -0
  243. data/app/assets/stylesheets/pageflow/themes/default/overview/chapter_numbers.scss +14 -0
  244. data/app/assets/stylesheets/pageflow/themes/default/overview/colors.scss +100 -0
  245. data/app/assets/stylesheets/pageflow/themes/default/overview/icons/icon_font.scss +50 -0
  246. data/app/assets/stylesheets/pageflow/themes/default/overview/icons/sprite.scss +25 -0
  247. data/app/assets/stylesheets/pageflow/themes/default/overview/typography.scss +61 -0
  248. data/app/assets/stylesheets/pageflow/themes/default/page.scss +237 -0
  249. data/app/assets/stylesheets/pageflow/themes/default/page/anchors.scss +19 -0
  250. data/app/assets/stylesheets/pageflow/themes/default/player_controls.scss +30 -0
  251. data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic.scss +36 -0
  252. data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/close_button.scss +52 -0
  253. data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/container.scss +48 -0
  254. data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/control_bar.scss +222 -0
  255. data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/control_bar/timestamp_position/right.scss +22 -0
  256. data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/control_bar/timestamp_position/split.scss +22 -0
  257. data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/icon_font.scss +87 -0
  258. data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/sprite.scss +59 -0
  259. data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/info_box.scss +137 -0
  260. data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim.scss +21 -0
  261. data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/close_button.scss +38 -0
  262. data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/container.scss +50 -0
  263. data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/control_bar.scss +249 -0
  264. data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/info_box.scss +112 -0
  265. data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/scroller.scss +21 -0
  266. data/app/assets/stylesheets/pageflow/themes/default/player_controls/vjs_mapping.scss +86 -0
  267. data/app/assets/stylesheets/pageflow/themes/default/player_controls/widget_margins.scss +10 -0
  268. data/app/assets/stylesheets/pageflow/themes/default/slideshow.scss +3 -0
  269. data/app/assets/stylesheets/pageflow/themes/default/variables.scss +4 -0
  270. data/app/assets/stylesheets/pageflow/themes/default/variables/standard.scss +33 -0
  271. data/app/assets/stylesheets/pageflow/themes/default/variables/widgets.scss +28 -0
  272. data/app/assets/stylesheets/pageflow/themes/default/video_player.scss +1 -0
  273. data/app/assets/stylesheets/pageflow/themes/default/video_player/vjs_base.scss +121 -0
  274. data/app/assets/stylesheets/pageflow/themes/default/video_wrapper.scss +14 -0
  275. data/app/assets/stylesheets/pageflow/themes/legacy.scss +8 -0
  276. data/app/assets/stylesheets/pageflow/themes/legacy/indicators.scss +64 -0
  277. data/app/assets/stylesheets/pageflow/themes/legacy/navigation.scss +262 -0
  278. data/app/assets/stylesheets/pageflow/themes/legacy/navigation_mobile.scss +52 -0
  279. data/app/assets/stylesheets/pageflow/themes/legacy/overview.scss +50 -0
  280. data/app/assets/stylesheets/pageflow/themes/legacy/page.scss +48 -0
  281. data/app/assets/stylesheets/pageflow/themes/legacy/page_types.scss +2 -0
  282. data/app/assets/stylesheets/pageflow/themes/legacy/page_types/audio.scss +5 -0
  283. data/app/assets/stylesheets/pageflow/{page_types/video.css.scss → themes/legacy/page_types/video.scss} +4 -109
  284. data/app/assets/stylesheets/pageflow/{player_controls.css.scss → themes/legacy/player_controls.scss} +13 -12
  285. data/app/assets/stylesheets/pageflow/{video_player.css.scss → themes/legacy/video_player.scss} +0 -0
  286. data/app/assets/stylesheets/pageflow/{ui.css.scss → ui.scss} +0 -0
  287. data/app/assets/stylesheets/pageflow/ui/{forms.css.scss → forms.scss} +0 -0
  288. data/app/assets/stylesheets/pageflow/ui/input/{extended_select_input.css.scss → extended_select_input.scss} +0 -0
  289. data/app/assets/stylesheets/pageflow/ui/{tabs_view.css.scss → tabs_view.scss} +0 -0
  290. data/app/controllers/pageflow/application_controller.rb +8 -2
  291. data/app/controllers/pageflow/entries_controller.rb +6 -6
  292. data/app/helpers/pageflow/admin/entries_helper.rb +15 -0
  293. data/app/helpers/pageflow/admin/form_helper.rb +14 -0
  294. data/app/helpers/pageflow/admin/users_helper.rb +9 -0
  295. data/app/helpers/pageflow/entries_helper.rb +3 -2
  296. data/app/helpers/pageflow/info_box_helper.rb +17 -5
  297. data/app/helpers/pageflow/navigation_bar_helper.rb +11 -0
  298. data/app/helpers/pageflow/social_share_helper.rb +16 -3
  299. data/app/helpers/pageflow/social_share_links_helper.rb +32 -0
  300. data/app/helpers/pageflow/widgets_helper.rb +1 -1
  301. data/app/mailers/pageflow/user_mailer.rb +3 -1
  302. data/app/models/concerns/pageflow/entry_publication_states.rb +63 -0
  303. data/app/models/pageflow/account.rb +2 -2
  304. data/app/models/pageflow/draft_entry.rb +5 -1
  305. data/app/models/pageflow/entry.rb +7 -11
  306. data/app/models/pageflow/invited_user.rb +16 -6
  307. data/app/models/pageflow/overview_button.rb +19 -0
  308. data/app/models/pageflow/published_entry.rb +7 -2
  309. data/app/models/pageflow/revision.rb +4 -1
  310. data/app/models/pageflow/theming.rb +13 -0
  311. data/app/views/admin/accounts/_form.html.erb +13 -1
  312. data/app/views/admin/accounts/_theming_details.html.arb +3 -0
  313. data/app/views/admin/entries/_attributes_table.html.arb +1 -1
  314. data/app/views/admin/entries/_links.html.arb +11 -3
  315. data/app/views/admin/features/_form.html.erb +1 -1
  316. data/app/views/admin/memberships/_form.html.erb +1 -1
  317. data/app/views/admin/revisions/_form.html.erb +1 -1
  318. data/app/views/admin/users/_form.html.erb +1 -1
  319. data/app/views/admin/users/delete_me.html.erb +1 -1
  320. data/app/views/admin/users/me.html.erb +5 -6
  321. data/app/views/components/pageflow/admin/embedded_index_table.rb +67 -10
  322. data/app/views/components/pageflow/admin/entries_tab.rb +6 -9
  323. data/app/views/components/pageflow/admin/entry_publication_state_indicator.rb +26 -0
  324. data/app/views/components/pageflow/admin/icon_link_to.rb +21 -0
  325. data/app/views/components/pageflow/admin/members_tab.rb +19 -12
  326. data/app/views/components/pageflow/admin/revisions_tab.rb +1 -1
  327. data/app/views/components/pageflow/admin/users_tab.rb +6 -10
  328. data/app/views/pageflow/admin/users/_cannot_delete.html.erb +3 -0
  329. data/app/views/pageflow/admin/users/_may_delete.html.erb +6 -0
  330. data/app/views/pageflow/admin/widgets/_fields.html.erb +1 -1
  331. data/app/views/pageflow/config/_editor_seeds.json.jbuilder +3 -0
  332. data/app/views/pageflow/editor/entries/_entry.json.jbuilder +5 -1
  333. data/app/views/pageflow/editor/entries/_unsupported_browser_hint.html.erb +5 -0
  334. data/app/views/pageflow/editor/themings/_theming.json.jbuilder +1 -0
  335. data/app/views/pageflow/entries/_loading_spinner.html.erb +3 -1
  336. data/app/views/pageflow/entries/_navigation.html.erb +1 -1
  337. data/app/views/pageflow/entries/edit.html.erb +1 -0
  338. data/app/views/pageflow/entries/navigation/_bar_top.html.erb +1 -6
  339. data/app/views/pageflow/entries/navigation/_overview_button.html.erb +8 -0
  340. data/app/views/pageflow/entries/navigation/_page.html.erb +1 -2
  341. data/app/views/pageflow/entries/share_menu/_facebook_link.html.erb +4 -11
  342. data/app/views/pageflow/entries/share_menu/_google_link.html.erb +4 -11
  343. data/app/views/pageflow/entries/share_menu/_twitter_link.html.erb +4 -11
  344. data/app/views/pageflow/pages/templates/_audio.html.erb +6 -3
  345. data/app/views/pageflow/pages/templates/_video.html.erb +5 -2
  346. data/app/views/pageflow/social_share/_entry_meta_tags.html.erb +8 -8
  347. data/app/views/pageflow/social_share/_image_tags.html.erb +3 -3
  348. data/app/views/pageflow/social_share/_page_meta_tags.html.erb +9 -9
  349. data/app/views/pageflow/user_mailer/invitation.html.erb +2 -2
  350. data/app/views/pageflow/user_mailer/invitation.text.erb +1 -1
  351. data/app/views/pageflow/widgets/_placeholder.html.erb +1 -0
  352. data/config/initializers/active_admin_patches.rb +10 -0
  353. data/config/initializers/widget_types.rb +3 -0
  354. data/config/locales/de.yml +38 -2
  355. data/config/locales/en.yml +39 -3
  356. data/db/migrate/20160131222203_add_cache_counters.rb +23 -0
  357. data/db/migrate/20160225075853_add_overview_button_enabled_to_revisions.rb +5 -0
  358. data/db/migrate/20160310080213_add_edited_at_to_entries.rb +9 -0
  359. data/db/migrate/20160425192648_add_index_for_revision_publication_timestamps.rb +5 -0
  360. data/db/migrate/20160617123557_add_meta_fields_to_theming.rb +7 -0
  361. data/db/migrate/20160715105408_add_share_url_to_revisions.rb +5 -0
  362. data/lib/generators/pageflow/active_admin_initializer/active_admin_initializer_generator.rb +24 -0
  363. data/lib/generators/pageflow/assets/assets_generator.rb +5 -3
  364. data/lib/generators/pageflow/assets/templates/{application.css.scss → application.scss} +0 -0
  365. data/lib/generators/pageflow/assets/templates/{editor.css.scss → editor.scss} +0 -0
  366. data/lib/generators/pageflow/cancan/cancan_generator.rb +4 -8
  367. data/lib/generators/pageflow/error_pages/error_pages_generator.rb +27 -0
  368. data/lib/generators/pageflow/error_pages/templates/404.html +15 -0
  369. data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-bold-webfont.eot +0 -0
  370. data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-bold-webfont.svg +245 -0
  371. data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-bold-webfont.ttf +0 -0
  372. data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-bold-webfont.woff +0 -0
  373. data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-regular-webfont.eot +0 -0
  374. data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-regular-webfont.svg +245 -0
  375. data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-regular-webfont.ttf +0 -0
  376. data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-regular-webfont.woff +0 -0
  377. data/lib/generators/pageflow/error_pages/templates/images/bg.jpg +0 -0
  378. data/lib/generators/pageflow/error_pages/templates/stylesheets/main.css +40 -0
  379. data/lib/generators/pageflow/initializer/initializer_generator.rb +2 -0
  380. data/lib/generators/pageflow/initializer/templates/pageflow.rb +0 -3
  381. data/lib/generators/pageflow/install/install_generator.rb +2 -0
  382. data/lib/generators/pageflow/procfile/procfile_generator.rb +15 -0
  383. data/lib/generators/pageflow/procfile/templates/Procfile +3 -0
  384. data/lib/generators/pageflow/resque/resque_generator.rb +2 -0
  385. data/lib/generators/pageflow/routes/routes_generator.rb +2 -0
  386. data/lib/generators/pageflow/seeds/seeds_generator.rb +2 -0
  387. data/lib/generators/pageflow/theme/templates/themes/%name%.scss.tt +4 -0
  388. data/lib/generators/pageflow/theme/templates/themes/%name%/variables.scss.tt +10 -0
  389. data/lib/generators/pageflow/theme/theme_generator.rb +10 -18
  390. data/lib/generators/pageflow/user/user_generator.rb +2 -0
  391. data/lib/pageflow.rb +4 -0
  392. data/lib/pageflow/ability_mixin.rb +4 -0
  393. data/lib/pageflow/active_admin_patches/views/attributes_table.rb +31 -0
  394. data/lib/pageflow/active_admin_patches/views/pages/base.rb +14 -0
  395. data/lib/pageflow/active_admin_patches/views/table_for.rb +42 -0
  396. data/lib/pageflow/built_in_widget_type.rb +9 -1
  397. data/lib/pageflow/configuration.rb +17 -0
  398. data/lib/pageflow/engine.rb +6 -4
  399. data/lib/pageflow/theme.rb +4 -0
  400. data/lib/pageflow/user_mixin.rb +10 -10
  401. data/lib/pageflow/version.rb +1 -1
  402. data/spec/factories/revisions.rb +18 -0
  403. metadata +386 -203
  404. data/app/assets/images/pageflow/anchor_black.png +0 -0
  405. data/app/assets/images/pageflow/anchor_green.png +0 -0
  406. data/app/assets/images/pageflow/anchor_white.png +0 -0
  407. data/app/assets/images/pageflow/menu_mobile_sprite.png +0 -0
  408. data/app/assets/images/pageflow/menu_mobile_sprite2.png +0 -0
  409. data/app/assets/images/pageflow/themes/default/arrow_left_sprite.png +0 -0
  410. data/app/assets/images/pageflow/themes/default/arrow_right_sprite.png +0 -0
  411. data/app/assets/images/pageflow/themes/default/close_sprite.png +0 -0
  412. data/app/assets/images/pageflow/themes/default/loading_spinner.png +0 -0
  413. data/app/assets/images/pageflow/themes/default/loading_spinner_bg.png +0 -0
  414. data/app/assets/images/pageflow/themes/default/scroll_indicator_sprite.png +0 -0
  415. data/app/assets/stylesheets/pageflow/jquery_ui.css.scss +0 -16
  416. data/app/assets/stylesheets/pageflow/themes/default.css.scss +0 -1
  417. data/app/assets/stylesheets/pageflow/themes/default/anchors.css.scss +0 -56
  418. data/app/assets/stylesheets/pageflow/themes/default/loading_spinner.css.scss +0 -146
  419. data/app/assets/stylesheets/pageflow/themes/default/navigation.css.scss +0 -277
  420. data/app/assets/stylesheets/pageflow/themes/default/overview.css.scss +0 -134
  421. data/app/assets/stylesheets/pageflow/themes/default/page.css.scss +0 -276
  422. data/app/assets/stylesheets/pageflow/themes/default/player_controls.css.scss +0 -31
  423. data/app/assets/stylesheets/pageflow/themes/default/variables.css.scss +0 -20
  424. data/lib/active_admin/patches/views/attributes_table.rb +0 -20
  425. data/lib/active_admin/patches/views/pages/base.rb +0 -8
  426. data/lib/active_admin/patches/views/table_for.rb +0 -32
@@ -9,29 +9,15 @@
9
9
 
10
10
  .indicator {
11
11
  position: absolute;
12
- bottom: 2%;
12
+ bottom: 0;
13
13
  width: 400px;
14
14
  max-width: 80%;
15
15
  height: 40px;
16
16
  z-index: 5;
17
- color: #e6e6e6;
18
17
  pointer-events: none;
19
18
 
20
- @include phone {
21
- bottom: -11px;
22
- }
23
-
24
19
  background-color: transparent;
25
20
  opacity: 0;
26
-
27
- text-transform: uppercase;
28
- text-shadow: 1px 1px 4px rgba(43, 43, 43, 1);
29
- font-size: 0.92em;
30
- letter-spacing: 0.2em;
31
-
32
- padding-left: 40px;
33
- font-family: sourcesanspro;
34
- padding-top: 6px;
35
21
  @include transition(opacity 1s ease);
36
22
 
37
23
  &.visible {
@@ -50,50 +36,21 @@
50
36
  top: auto; /* collision with .hidden class from application.css.scss */
51
37
  }
52
38
 
53
- &.faded {
54
- opacity: 0;
55
- @include transition(opacity 2s ease);
56
- }
57
-
58
39
  &.animate {
59
40
  @include animation(bounce 0.5s ease);
60
41
  }
61
-
62
- &:before {
63
- background-size: auto auto;
64
- background-position: top left;
65
- background-repeat: no-repeat;
66
- content: "";
67
- width: 100%;
68
- height: 100%;
69
- left: 0;
70
- top: 1px;
71
- position: absolute;
72
- }
73
-
74
- @include phone {
75
- text-shadow: 1px 1px 1px rgba(43, 43, 43, 1);
76
- font-size: 0.8em;
77
- letter-spacing: 0.1em;
78
- }
79
-
80
42
  }
81
43
 
82
44
  .scroll_indicator {
83
- left: 8%;
84
45
  cursor: pointer;
85
46
  visibility: hidden;
86
47
 
87
- &:before {
88
- background-image: image-url('pageflow/scroll_down_indicator.png');
48
+ @include desktop {
49
+ left: 8%;
89
50
  }
90
51
 
91
- &.invert {
92
- text-shadow: 1px 1px 4px #FDFDFD;
93
- color: #0A0A0A;
94
- &:before {
95
- background-image: image-url('pageflow/scroll_down_indicator_invert.png');
96
- }
52
+ @include phone {
53
+ right: 15px;
97
54
  }
98
55
 
99
56
  &.visible {
@@ -101,6 +58,17 @@
101
58
  visibility: visible;
102
59
  }
103
60
 
61
+ &.faded {
62
+ opacity: 0;
63
+ visibility: hidden;
64
+ @include transition(opacity 2s ease, visibility 2s);
65
+ }
66
+
67
+ &.hidden_for_page {
68
+ opacity: 0;
69
+ visibility: hidden;
70
+ }
71
+
104
72
  .bigScreen & {
105
73
  opacity: 0;
106
74
  visibility: 0;
@@ -112,16 +80,6 @@
112
80
  .hidden_text_indicator {
113
81
  display: none;
114
82
  left: 8%;
115
-
116
- &:before {
117
- background-image: image-url("pageflow/touch_indicator.png");
118
- }
119
-
120
- &.invert {
121
- &:before {
122
- background-image: image-url("pageflow/touch_indicator_invert.png");
123
- }
124
- }
125
83
  }
126
84
  }
127
85
 
@@ -0,0 +1,23 @@
1
+ $focus-outline-color: #c1c1c1;
2
+ $input-focus-outline-color: #065195;
3
+
4
+ a:focus,
5
+ [tabindex]:focus {
6
+ outline: 3px solid $focus-outline-color;
7
+ }
8
+
9
+ a:focus {
10
+ text-decoration: none;
11
+ }
12
+
13
+ input:focus {
14
+ outline: 3px solid $input-focus-outline-color;
15
+ }
16
+
17
+ .has_mobile_platform,
18
+ .disable_focus_outline {
19
+ [tabindex]:focus,
20
+ a:focus {
21
+ outline: none;
22
+ }
23
+ }
@@ -1,4 +1,4 @@
1
- .slideshow .content .contentWrapper, .shadow {
1
+ .slideshow .content .contentWrapper {
2
2
  -webkit-transition: 0.8s ease !important;
3
3
  -moz-transition: 0.8s ease !important;
4
4
  -ms-transition: 0.8s ease !important;
@@ -12,10 +12,6 @@
12
12
  .hideText {
13
13
  .shadow {
14
14
  opacity: 0 !important;
15
- -webkit-transition: 0.8s ease !important;
16
- -moz-transition: 0.8s ease !important;
17
- -ms-transition: 0.8s ease !important;
18
- transition: 0.8s ease !important;
19
15
  visibility: hidden;
20
16
  }
21
17
 
@@ -24,7 +20,9 @@
24
20
  }
25
21
 
26
22
  .entry .scroll_indicator {
27
- left: -100%;
23
+ opacity: 0;
24
+ visibility: hidden;
25
+ @include transition-delay(0s);
28
26
  }
29
27
 
30
28
  .hide_content_with_text .content {
@@ -7,13 +7,14 @@
7
7
 
8
8
  /* IE 9 does not trigger mouse events on div without a background - duh */
9
9
 
10
+ .widget_slim_player_controls_present .vjs-control-bar,
10
11
  .page .scroller {
11
12
  background-image: url('.');
12
13
  }
13
14
 
14
15
  /* Make sure controls are centered, since translateX(-50%) does not work. */
15
16
 
16
- .vjs-control-bar {
17
+ .widget_classic_player_controls_present .vjs-control-bar {
17
18
  -ms-transform: translate(-50%, 0);
18
19
  }
19
20
 
@@ -0,0 +1,26 @@
1
+ @import "jquery-layout-default";
2
+
3
+ // sass-rails ignores sprockets requires in imported files. We have to
4
+ // mimic the require calls inside jquery-ui-rails with imports.
5
+ //
6
+ // See also:
7
+ // https://github.com/rails/sass-rails/issues/297
8
+ // https://github.com/rails/sass-rails/issues/306
9
+ @import "jquery-ui/theme";
10
+ @import "jquery-ui/core";
11
+ @import "jquery-ui/slider";
12
+ @import "jquery-ui/datepicker";
13
+ @import "jquery-ui/menu";
14
+ @import "jquery-ui/selectmenu";
15
+
16
+ div.ui-datepicker{
17
+ font-size: 12px;
18
+ }
19
+
20
+ .ui-draggable-dragging {
21
+ z-index: 100;
22
+ }
23
+
24
+ .ui-state-disabled {
25
+ opacity: 1;
26
+ }
@@ -147,7 +147,3 @@
147
147
  .hideText .slideshow .content .contentWrapper, .hidden_text_indicator {
148
148
  display: none;
149
149
  }
150
-
151
- .js .page .close_button {
152
- background-image: image-url('pageflow/close_sprite_shadow_ie8.png') !important;
153
- }
@@ -10,3 +10,5 @@
10
10
  @import "mixins/unselectable";
11
11
  @import "mixins/shadow";
12
12
  @import "mixins/label";
13
+ @import "mixins/map_to_css";
14
+ @import "mixins/ie_fixes";
@@ -44,7 +44,19 @@
44
44
 
45
45
  @mixin background-icon-color($color) {
46
46
  &:before {
47
- color: $color
47
+ color: $color;
48
+ }
49
+ }
50
+
51
+ @mixin background-icon-position($left: false, $top: false) {
52
+ &:before {
53
+ @if $left != false {
54
+ left: $left;
55
+ }
56
+
57
+ @if $top != false {
58
+ top: $top;
59
+ }
48
60
  }
49
61
  }
50
62
 
@@ -1,15 +1,15 @@
1
1
  @charset 'UTF-8';
2
2
 
3
3
  @mixin icon($char) {
4
- &:before {
4
+ &::before {
5
5
  font-family: 'entypo';
6
6
  content: $char;
7
7
  }
8
8
  }
9
9
 
10
- @mixin fontawesome-icon($char) {
11
- &:before {
12
- font-family: 'FontAwesome';
10
+ @mixin fontawesome-icon($char, $position: "before") {
11
+ &::#{$position} {
12
+ font-family: "FontAwesome";
13
13
  content: $char;
14
14
  }
15
15
  }
@@ -274,7 +274,7 @@
274
274
  @mixin fa-angle-left-icon { @include fontawesome-icon("\f104"); }
275
275
  @mixin fa-angle-right-icon { @include fontawesome-icon("\f105"); }
276
276
  @mixin fa-angle-up-icon { @include fontawesome-icon("\f106"); }
277
- @mixin fa-angle-down-icon { @include fontawesome-icon("\f107"); }
277
+ @mixin fa-angle-down-icon($args...) { @include fontawesome-icon("\f107", $args...); }
278
278
  @mixin fa-desktop-icon { @include fontawesome-icon("\f108"); }
279
279
  @mixin fa-laptop-icon { @include fontawesome-icon("\f109"); }
280
280
  @mixin fa-tablet-icon { @include fontawesome-icon("\f10a"); }
@@ -0,0 +1,4 @@
1
+ // IE 9 and 10 do not handle z-index of transparent objects correctly.
2
+ @mixin fix-ie-ensure-z-index-applies {
3
+ background: transparent 0 0 repeat scroll url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
4
+ }
@@ -0,0 +1,5 @@
1
+ @mixin map-to-css($properties) {
2
+ @each $property, $value in $properties {
3
+ #{$property}: #{$value};
4
+ }
5
+ }
@@ -36,4 +36,12 @@
36
36
  @content;
37
37
  }
38
38
  }
39
- }
39
+ }
40
+
41
+ @mixin pageflow-widget-margin($widget-name, $position) {
42
+ .widget_#{$widget-name}_present {
43
+ %pageflow_widget_margin_#{$position} {
44
+ @content;
45
+ }
46
+ }
47
+ }
@@ -53,4 +53,9 @@
53
53
  background: linear-gradient(to right, rgba($color,0.8) 0%,rgba($color,0.4) 66%,rgba($color,0) 100%); /* W3C */
54
54
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#{ie_hex_str(rgba($color, 1))}', endColorstr='#{ie_hex_str(rgba($color, 0))}',GradientType=1 ); /* IE6-8 */
55
55
  }
56
- }
56
+ }
57
+
58
+ @mixin shadow-bottom {
59
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjElIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjciLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
60
+ @include linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent, $fallback: transparent);
61
+ }
@@ -12,6 +12,7 @@
12
12
  color: white;
13
13
  text-align: center;
14
14
  font-family: "SourceSansPro";
15
+ overflow: hidden;
15
16
 
16
17
  .multimedia_alert_box {
17
18
  top: 50%;
@@ -1,25 +1,8 @@
1
- $bg-color: #353535;
2
- $nav-color: #9c9c9c;
3
-
4
1
  @mixin box($margin-top) {
5
2
  visibility: hidden;
6
3
  margin-top: $margin-top;
7
- background-color: $bg-color;
8
- border: 2px solid $nav-color;
9
4
  position: absolute;
10
- right: 90px;
11
5
  padding: 15px;
12
-
13
- &:before {
14
- content: " ";
15
- background-image: image-url("pageflow/menu-arrow-short.png");
16
- display: block;
17
- position: absolute;
18
- width: 10px;
19
- height: 38px;
20
- left: 100%;
21
- top: 4px;
22
- }
23
6
  }
24
7
 
25
8
  .hint {
@@ -35,7 +18,6 @@ $nav-color: #9c9c9c;
35
18
 
36
19
  .navigation {
37
20
  @include unselectable;
38
- color: $nav-color;
39
21
  width: 85px;
40
22
  position: absolute;
41
23
  right: 0;
@@ -133,11 +115,6 @@ $nav-color: #9c9c9c;
133
115
  }
134
116
  }
135
117
 
136
- @include hover {
137
- -webkit-mask-image: image-url("pageflow/page_thumbnail_mask.png");
138
- -webkit-mask-position-y: 2px;
139
- }
140
-
141
118
  &:active {
142
119
  outline: none;
143
120
  }
@@ -159,7 +136,7 @@ $nav-color: #9c9c9c;
159
136
  position: relative;
160
137
  outline: none;
161
138
 
162
- &:focus:after {
139
+ &:focus:before {
163
140
  content: " ";
164
141
  position: absolute;
165
142
  top: 0;
@@ -167,6 +144,10 @@ $nav-color: #9c9c9c;
167
144
  bottom: 0;
168
145
  left: 0;
169
146
  border: solid 3px #eee;
147
+
148
+ .disable_focus_rect & {
149
+ display: none;
150
+ }
170
151
  }
171
152
  }
172
153
 
@@ -175,12 +156,6 @@ $nav-color: #9c9c9c;
175
156
  }
176
157
 
177
158
  .navigation_site_detail {
178
-
179
- color: white;
180
- font-size: 1em;
181
- line-height: 1.1em;
182
- font-family: sourcesanspro;
183
-
184
159
  @include box(-40px);
185
160
 
186
161
  img {
@@ -189,85 +164,26 @@ $nav-color: #9c9c9c;
189
164
  }
190
165
 
191
166
  .navigation_bg, .navigation_bullet .button {
192
- background-repeat: no-repeat;
193
- border-bottom: 2px solid $nav-color;
194
167
  margin: auto;
195
168
  }
196
169
 
197
- .navigation_bar_top, .navigation_bar_bottom {
198
- opacity: 0.9;
199
-
200
- li:last-child a .button {
201
- border-bottom: none;
202
- }
203
- }
204
-
205
- .navigation_bullet {
206
- background-color: $bg-color;
207
-
208
- @include hover {
209
- -webkit-mask-image: none;
210
- }
211
- }
212
-
213
- .navigation_menu {
214
- a {
215
- -webkit-mask-position-y: -4px !important;
216
- }
217
- }
218
-
219
170
  .navigation_menu_box {
220
171
  @include box(0);
221
172
 
222
- a {
223
- @include hover {
224
- -webkit-mask-image: none;
225
- }
226
- }
227
-
228
173
  p {
229
174
  margin: 0 0 0.5em;
230
175
  }
231
176
  }
232
177
 
233
178
  .navigation_share_box {
234
- $size: 28px;
235
- width: 210px;
236
-
237
- a {
238
- float: left;
239
- text-decoration: none;
240
- padding: 0 15px 0 15px;
241
- width: 39px;
242
-
243
- p {
244
- font-size: 9px;
245
- color: $nav-color;
246
- margin-bottom: 0;
247
- text-align: center;
248
- }
249
-
250
- .button {
251
- width: $size;
252
- height: $size;
253
- margin: auto;
254
- }
255
- }
256
-
257
179
  .sub_share {
258
180
  display: none;
259
181
  }
260
182
  }
261
183
 
262
184
  .navigation_credits_box {
263
- font-size: 1em;
264
185
  min-width: 230px;
265
186
  min-height: 4px;
266
- font-family: "sourcesanspro";
267
-
268
- a {
269
- color: #b4c552;
270
- }
271
187
 
272
188
  a.legal, a.copy {
273
189
  float: left;
@@ -303,16 +219,6 @@ $nav-color: #9c9c9c;
303
219
  }
304
220
 
305
221
  a.scroll_indicator {
306
- height: 30px;
307
- width: 35px;
308
- right: 25px;
309
- background-repeat: no-repeat;
310
- background-image: image-url('pageflow/scroll_indicator_sprite.png');
311
- background-color: transparent;
312
- -webkit-mask-image: none;
313
- $normal-offset: -14px;
314
- $hover-offset: -115px;
315
- $pressed-offset: -64px;
316
222
  opacity: 0;
317
223
  visibility: hidden;
318
224
  @include transition(opacity 0.2s linear, visibility 0.2s);
@@ -322,50 +228,15 @@ $nav-color: #9c9c9c;
322
228
  visibility: visible;
323
229
  }
324
230
 
325
- &.top {
326
- top: 145px;
327
- $top-offset: -13px;
328
- background-position: $top-offset $normal-offset;
329
-
330
- @include hover {
331
- background-position: $top-offset $hover-offset;
332
- }
333
-
334
- @include pressed {
335
- background-position: $top-offset $pressed-offset;
336
- }
337
- }
338
-
339
231
  &.bottom {
340
232
  z-index: 1;
341
- bottom: 234px;
342
- $bottom-offset: -161px;
343
- background-position: $bottom-offset $normal-offset;
344
-
345
- @include hover {
346
- background-position: $bottom-offset $hover-offset;
347
- }
348
- @include pressed {
349
- background-position: $bottom-offset $pressed-offset;
350
- }
351
233
  }
352
234
  }
353
235
 
354
236
  .navigation_bar_top {
355
- top: 0;
356
- height: 180px;
357
-
358
237
  a.navigation_main, a.navigation_top, a.navigation_index {
359
238
  display: block;
360
239
  }
361
-
362
- &:after {
363
- content: " ";
364
- display: block;
365
- background-color: $bg-color;
366
- height: 50px;
367
- width: 100%;
368
- }
369
240
  }
370
241
 
371
242
  &.is_animating .scroller:after {
@@ -375,16 +246,12 @@ $nav-color: #9c9c9c;
375
246
 
376
247
  .scroller {
377
248
  overflow: hidden;
378
- top: 180px;
379
- bottom: 268px;
380
249
 
381
250
  &:after {
382
251
  height: 100%;
383
252
  width: 100%;
384
253
  z-index: 1;
385
- background-color: $bg-color;
386
254
  background-image: none;
387
- opacity: 0.9;
388
255
  }
389
256
 
390
257
  ul {
@@ -393,16 +260,10 @@ $nav-color: #9c9c9c;
393
260
 
394
261
  a {
395
262
  position: relative;
396
- background-color: $bg-color;
397
- background-color: rgba(53, 53, 53, 0.9);
398
263
  padding-bottom: 4px;
399
264
 
400
265
  &.active {
401
266
  cursor: default;
402
-
403
- img {
404
- border-left: 5px solid #A6D513;
405
- }
406
267
  }
407
268
  }
408
269
 
@@ -412,44 +273,15 @@ $nav-color: #9c9c9c;
412
273
  }
413
274
  }
414
275
 
415
- &.with_home_button {
416
- .navigation_bar_top {
417
- height: 224px;
418
- }
419
-
420
- .scroller {
421
- top: 224px;
422
- }
423
-
424
- .scroll_indicator.top {
425
- top: 189px;
426
- }
427
- }
428
-
429
276
  .navigation_bar_bottom {
430
277
  display: block;
431
- height: 268px;
432
- bottom: 0;
433
-
434
- & > li > a {
435
- background-color: $bg-color;
436
- }
437
278
 
438
279
  .indicator {
439
280
  height: 50px;
440
- background-color: $bg-color;
441
281
  }
442
282
 
443
283
  .fullscreen {
444
284
  height: 44px;
445
- background-color: $bg-color;
446
- }
447
- }
448
-
449
- .navigation_menu_box {
450
- &:before {
451
- top: auto;
452
- bottom: -2px;
453
285
  }
454
286
  }
455
287
 
@@ -469,40 +301,16 @@ $nav-color: #9c9c9c;
469
301
  visibility: hidden;
470
302
  }
471
303
 
472
- .navigation_menu_box.navigation_volume_box .volume-control {
473
- &:before, &:after {
474
- background-image: image-url('pageflow/volume_control_sprite.png');
475
- position: absolute;
476
- width: 19px;
477
- height: 19px;
478
- content: " ";
479
- background-repeat: no-repeat;
480
- top: 8px;
481
- }
482
-
483
- &:before {
484
- background-position: left top;
485
- left: 0;
486
- left: 12px;
487
- }
488
- &:after {
489
- right: 8px;
490
- background-position: -21px top;
491
- top: 8px;
492
- }
493
- }
494
-
495
304
  .volume-control {
496
- margin: 0px 20px;
305
+ margin: 0 20px;
497
306
 
498
307
  .volume-slider {
499
308
  width: 100px;
500
309
  height: 4px;
501
- background-color: gray;
502
310
  }
311
+
503
312
  .volume-level {
504
313
  height: 100%;
505
- background-color: #b4c552;
506
314
  }
507
315
  }
508
316
  }