diff --git a/imports/cptui-import-post_types.json b/imports/cptui-import-post_types.json new file mode 100644 index 0000000..b80f05a --- /dev/null +++ b/imports/cptui-import-post_types.json @@ -0,0 +1,348 @@ +{ + "team":{ + "name":"team", + "label":"Team", + "singular_label":"Team", + "description":"", + "public":"true", + "publicly_queryable":"false", + "show_ui":"true", + "show_in_nav_menus":"true", + "delete_with_user":"false", + "show_in_rest":"true", + "rest_base":"", + "rest_controller_class":"", + "has_archive":"false", + "has_archive_string":"", + "exclude_from_search":"true", + "capability_type":"post", + "hierarchical":"false", + "rewrite":"true", + "rewrite_slug":"", + "rewrite_withfront":"true", + "query_var":"true", + "query_var_slug":"", + "menu_position":"6", + "show_in_menu":"true", + "show_in_menu_string":"", + "menu_icon":"dashicons-groups", + "supports":[ + "title", + "thumbnail", + "excerpt", + "revisions", + "page-attributes" + ], + "taxonomies":[ + + ], + "labels":{ + "menu_name":"", + "all_items":"", + "add_new":"", + "add_new_item":"", + "edit_item":"", + "new_item":"", + "view_item":"", + "view_items":"", + "search_items":"", + "not_found":"", + "not_found_in_trash":"", + "parent_item_colon":"", + "featured_image":"", + "set_featured_image":"", + "remove_featured_image":"", + "use_featured_image":"", + "archives":"", + "insert_into_item":"", + "uploaded_to_this_item":"", + "filter_items_list":"", + "items_list_navigation":"", + "items_list":"", + "attributes":"", + "name_admin_bar":"", + "item_published":"", + "item_published_privately":"", + "item_reverted_to_draft":"", + "item_scheduled":"", + "item_updated":"" + }, + "custom_supports":"" + }, + "faq":{ + "name":"faq", + "label":"FAQ", + "singular_label":"FAQs", + "description":"", + "public":"true", + "publicly_queryable":"false", + "show_ui":"true", + "show_in_nav_menus":"true", + "delete_with_user":"false", + "show_in_rest":"false", + "rest_base":"", + "rest_controller_class":"", + "has_archive":"false", + "has_archive_string":"", + "exclude_from_search":"false", + "capability_type":"post", + "hierarchical":"false", + "rewrite":"true", + "rewrite_slug":"", + "rewrite_withfront":"true", + "query_var":"true", + "query_var_slug":"", + "menu_position":"7", + "show_in_menu":"true", + "show_in_menu_string":"", + "menu_icon":"dashicons-welcome-learn-more", + "supports":[ + "title", + "editor", + "revisions", + "page-attributes" + ], + "taxonomies":[ + "topic" + ], + "labels":{ + "menu_name":"", + "all_items":"", + "add_new":"", + "add_new_item":"", + "edit_item":"", + "new_item":"", + "view_item":"", + "view_items":"", + "search_items":"", + "not_found":"", + "not_found_in_trash":"", + "parent_item_colon":"", + "featured_image":"", + "set_featured_image":"", + "remove_featured_image":"", + "use_featured_image":"", + "archives":"", + "insert_into_item":"", + "uploaded_to_this_item":"", + "filter_items_list":"", + "items_list_navigation":"", + "items_list":"", + "attributes":"", + "name_admin_bar":"", + "item_published":"", + "item_published_privately":"", + "item_reverted_to_draft":"", + "item_scheduled":"", + "item_updated":"" + }, + "custom_supports":"" + }, + "section":{ + "name":"section", + "label":"Sections", + "singular_label":"Section", + "description":"", + "public":"true", + "publicly_queryable":"true", + "show_ui":"true", + "show_in_nav_menus":"true", + "delete_with_user":"false", + "show_in_rest":"true", + "rest_base":"", + "rest_controller_class":"", + "has_archive":"false", + "has_archive_string":"", + "exclude_from_search":"false", + "capability_type":"post", + "hierarchical":"false", + "rewrite":"true", + "rewrite_slug":"", + "rewrite_withfront":"true", + "query_var":"true", + "query_var_slug":"", + "menu_position":"21", + "show_in_menu":"true", + "show_in_menu_string":"", + "menu_icon":"dashicons-excerpt-view", + "supports":[ + "title", + "editor", + "thumbnail", + "page-attributes" + ], + "taxonomies":[ + "sectiongroup", + "benefit" + ], + "labels":{ + "menu_name":"", + "all_items":"", + "add_new":"", + "add_new_item":"", + "edit_item":"", + "new_item":"", + "view_item":"", + "view_items":"", + "search_items":"", + "not_found":"", + "not_found_in_trash":"", + "parent_item_colon":"", + "featured_image":"", + "set_featured_image":"", + "remove_featured_image":"", + "use_featured_image":"", + "archives":"", + "insert_into_item":"", + "uploaded_to_this_item":"", + "filter_items_list":"", + "items_list_navigation":"", + "items_list":"", + "attributes":"", + "name_admin_bar":"", + "item_published":"", + "item_published_privately":"", + "item_reverted_to_draft":"", + "item_scheduled":"", + "item_updated":"" + }, + "custom_supports":"" + }, + "news":{ + "name":"news", + "label":"News", + "singular_label":"News", + "description":"", + "public":"true", + "publicly_queryable":"false", + "show_ui":"true", + "show_in_nav_menus":"true", + "delete_with_user":"false", + "show_in_rest":"true", + "rest_base":"", + "rest_controller_class":"", + "has_archive":"false", + "has_archive_string":"", + "exclude_from_search":"false", + "capability_type":"post", + "hierarchical":"false", + "rewrite":"true", + "rewrite_slug":"", + "rewrite_withfront":"true", + "query_var":"true", + "query_var_slug":"", + "menu_position":"7", + "show_in_menu":"true", + "show_in_menu_string":"", + "menu_icon":"dashicons-megaphone", + "supports":[ + "title", + "thumbnail", + "excerpt" + ], + "taxonomies":[ + + ], + "labels":{ + "menu_name":"", + "all_items":"", + "add_new":"", + "add_new_item":"", + "edit_item":"", + "new_item":"", + "view_item":"", + "view_items":"", + "search_items":"", + "not_found":"", + "not_found_in_trash":"", + "parent_item_colon":"", + "featured_image":"", + "set_featured_image":"", + "remove_featured_image":"", + "use_featured_image":"", + "archives":"", + "insert_into_item":"", + "uploaded_to_this_item":"", + "filter_items_list":"", + "items_list_navigation":"", + "items_list":"", + "attributes":"", + "name_admin_bar":"", + "item_published":"", + "item_published_privately":"", + "item_reverted_to_draft":"", + "item_scheduled":"", + "item_updated":"" + }, + "custom_supports":"" + }, + "device":{ + "name":"device", + "label":"Devices", + "singular_label":"Device", + "description":"", + "public":"true", + "publicly_queryable":"false", + "show_ui":"true", + "show_in_nav_menus":"true", + "delete_with_user":"false", + "show_in_rest":"false", + "rest_base":"", + "rest_controller_class":"", + "has_archive":"false", + "has_archive_string":"", + "exclude_from_search":"false", + "capability_type":"post", + "hierarchical":"false", + "rewrite":"true", + "rewrite_slug":"", + "rewrite_withfront":"true", + "query_var":"true", + "query_var_slug":"", + "menu_position":"7", + "show_in_menu":"true", + "show_in_menu_string":"", + "menu_icon":"dashicons-admin-plugins", + "supports":[ + "title", + "thumbnail", + "excerpt" + ], + "taxonomies":[ + "basis", + "plattform" + ], + "labels":{ + "menu_name":"", + "all_items":"", + "add_new":"", + "add_new_item":"", + "edit_item":"", + "new_item":"", + "view_item":"", + "view_items":"", + "search_items":"", + "not_found":"", + "not_found_in_trash":"", + "parent_item_colon":"", + "featured_image":"", + "set_featured_image":"", + "remove_featured_image":"", + "use_featured_image":"", + "archives":"", + "insert_into_item":"", + "uploaded_to_this_item":"", + "filter_items_list":"", + "items_list_navigation":"", + "items_list":"", + "attributes":"", + "name_admin_bar":"", + "item_published":"", + "item_published_privately":"", + "item_reverted_to_draft":"", + "item_scheduled":"", + "item_updated":"" + }, + "custom_supports":"" + } +} diff --git a/imports/cptui-import-taxonomies.json b/imports/cptui-import-taxonomies.json new file mode 100644 index 0000000..926ce27 --- /dev/null +++ b/imports/cptui-import-taxonomies.json @@ -0,0 +1,196 @@ +{ + "topic":{ + "name":"topic", + "label":"Topics", + "singular_label":"Topic", + "description":"", + "public":"true", + "publicly_queryable":"false", + "hierarchical":"false", + "show_ui":"true", + "show_in_menu":"true", + "show_in_nav_menus":"true", + "query_var":"true", + "query_var_slug":"", + "rewrite":"true", + "rewrite_slug":"", + "rewrite_withfront":"1", + "rewrite_hierarchical":"0", + "show_admin_column":"true", + "show_in_rest":"false", + "show_in_quick_edit":"true", + "rest_base":"", + "rest_controller_class":"", + "labels":{ + "menu_name":"", + "all_items":"", + "edit_item":"", + "view_item":"", + "update_item":"", + "add_new_item":"", + "new_item_name":"", + "parent_item":"", + "parent_item_colon":"", + "search_items":"", + "popular_items":"", + "separate_items_with_commas":"", + "add_or_remove_items":"", + "choose_from_most_used":"", + "not_found":"", + "no_terms":"", + "items_list_navigation":"", + "items_list":"" + }, + "meta_box_cb":"", + "default_term":"", + "object_types":[ + "faq" + ] + }, + "sectiongroup":{ + "name":"sectiongroup", + "label":"Sectiongroups", + "singular_label":"sectiongroup", + "description":"", + "public":"true", + "publicly_queryable":"false", + "hierarchical":"false", + "show_ui":"true", + "show_in_menu":"true", + "show_in_nav_menus":"true", + "query_var":"true", + "query_var_slug":"", + "rewrite":"true", + "rewrite_slug":"", + "rewrite_withfront":"1", + "rewrite_hierarchical":"0", + "show_admin_column":"true", + "show_in_rest":"true", + "show_in_quick_edit":"true", + "rest_base":"", + "rest_controller_class":"", + "labels":{ + "menu_name":"", + "all_items":"", + "edit_item":"", + "view_item":"", + "update_item":"", + "add_new_item":"", + "new_item_name":"", + "parent_item":"", + "parent_item_colon":"", + "search_items":"", + "popular_items":"", + "separate_items_with_commas":"", + "add_or_remove_items":"", + "choose_from_most_used":"", + "not_found":"", + "no_terms":"", + "items_list_navigation":"", + "items_list":"" + }, + "meta_box_cb":"", + "default_term":"", + "object_types":[ + "page", + "section" + ] + }, + "benefit":{ + "name":"benefit", + "label":"Benefits", + "singular_label":"Benefit", + "description":"", + "public":"true", + "publicly_queryable":"false", + "hierarchical":"false", + "show_ui":"true", + "show_in_menu":"true", + "show_in_nav_menus":"true", + "query_var":"true", + "query_var_slug":"", + "rewrite":"true", + "rewrite_slug":"", + "rewrite_withfront":"1", + "rewrite_hierarchical":"0", + "show_admin_column":"false", + "show_in_rest":"true", + "show_in_quick_edit":"true", + "rest_base":"", + "rest_controller_class":"", + "labels":{ + "menu_name":"", + "all_items":"", + "edit_item":"", + "view_item":"", + "update_item":"", + "add_new_item":"", + "new_item_name":"", + "parent_item":"", + "parent_item_colon":"", + "search_items":"", + "popular_items":"", + "separate_items_with_commas":"", + "add_or_remove_items":"", + "choose_from_most_used":"", + "not_found":"", + "no_terms":"", + "items_list_navigation":"", + "items_list":"" + }, + "meta_box_cb":"", + "default_term":"", + "object_types":[ + "page", + "section" + ] + }, + "platform":{ + "name":"platform", + "label":"Platforms", + "singular_label":"Platform", + "description":"", + "public":"true", + "publicly_queryable":"true", + "hierarchical":"false", + "show_ui":"true", + "show_in_menu":"true", + "show_in_nav_menus":"true", + "query_var":"true", + "query_var_slug":"", + "rewrite":"true", + "rewrite_slug":"", + "rewrite_withfront":"1", + "rewrite_hierarchical":"0", + "show_admin_column":"true", + "show_in_rest":"false", + "show_in_quick_edit":"true", + "rest_base":"", + "rest_controller_class":"", + "labels":{ + "menu_name":"", + "all_items":"", + "edit_item":"", + "view_item":"", + "update_item":"", + "add_new_item":"", + "new_item_name":"", + "parent_item":"", + "parent_item_colon":"", + "search_items":"", + "popular_items":"", + "separate_items_with_commas":"", + "add_or_remove_items":"", + "choose_from_most_used":"", + "not_found":"", + "no_terms":"", + "items_list_navigation":"", + "items_list":"" + }, + "meta_box_cb":"", + "default_term":"", + "object_types":[ + "device" + ] + } +} diff --git a/imports/jcf_export20201105-084943.json b/imports/jcf_export20201105-084943.json new file mode 100644 index 0000000..22205b3 --- /dev/null +++ b/imports/jcf_export20201105-084943.json @@ -0,0 +1 @@ +{"fieldsets":{"post":{"postdata":{"id":"postdata","title":"Postdata","position":null,"priority":null,"fields":{"textarea-1602235265":1}}},"page":{"pagedata":{"id":"pagedata","title":"Pagedata","position":null,"priority":null,"fields":{"inputtext-1600078811":1,"inputtext-1600078863":1,"select-1600078934":1,"select-1600078908":1,"select-1600266414":1,"select-1600389233":1,"textarea-1602235233":1}}},"wpcf7_contact_form":{"formdata":{"id":"formdata","title":"Formdata","position":null,"priority":null,"fields":{"simplemedia-1602039392":1}}},"team":{"data":{"id":"data","title":"Data","position":null,"priority":null,"fields":{"inputtext-1597212462":1,"inputtext-1597212526":1,"inputtext-1597213409":1,"inputtext-1597212550":1,"inputtext-1597212560":1,"checkbox-1597214407":1,"checkbox-1597214437":1}}},"faq":{"data":{"id":"data","title":"Data","position":null,"priority":null,"fields":{"checkbox-1597815349":1}}},"section":{"sectiondata":{"id":"sectiondata","title":"Sectiondata","position":null,"priority":null,"fields":{"inputtext-1599857579":1,"inputtext-1599857771":1,"select-1599858367":1,"select-1599857914":1,"select-1600266358":1}}},"news":{"newsdata":{"id":"newsdata","title":"Newsdata","position":null,"priority":null,"fields":{"inputtext-1601275193":1,"inputtext-1601275214":1}}}},"fields":{"post":{"textarea-1602235265":{"title":"SEO Page Description","editor":0,"description":"When filled, it will be displayed instead of the excerpt, when filled or a truncate of the content of the page. ","slug":"_seo-description","enabled":1,"_version":"3.301","_type":"textarea"}},"page":{"inputtext-1600078811":{"title":"Subheadline","description":"","slug":"_subheadline","enabled":1,"group_title":0,"_version":"3.301","_type":"inputtext"},"inputtext-1600078863":{"title":"Background Color","description":"Add an additional background-color if you use a transparent post thumbnail.\r\n\r\nFormat: HEX, eg Black = #000000\r\nGet color HEX codes: http:\/\/www.color-hex.com\/","slug":"_background-color","enabled":1,"group_title":0,"_version":"3.301","_type":"inputtext"},"select-1600078934":{"title":"Image position","options":"After|after\r\nBefore|before","description":"","empty_option":"","slug":"_image-position","enabled":1,"_version":"3.301","_type":"select"},"select-1600078908":{"title":"Color Scheme","options":"Light|light\r\nDark|dark","description":"Select wether the section color scheme is light or dark","empty_option":"","slug":"_color-scheme","enabled":1,"_version":"3.301","_type":"select"},"select-1600266414":{"title":"Image Shadow","options":"No Shadow|no-shadow\r\nShadow|has-shadow","description":"Choose whether the Image should be surrounded by a shadow or not","empty_option":"","slug":"_image-shadow","enabled":1,"_version":"3.301","_type":"select"},"select-1600389233":{"title":"Sectiongroup title display","options":"Hide sectiongroup title|hide\r\nShow sectiongroup title|show","description":"","empty_option":"","slug":"_sectiongroup-title-display","enabled":1,"_version":"3.301","_type":"select"},"textarea-1602235233":{"title":"SEO Page Description","editor":0,"description":"When filled, it will be displayed instead of the excerpt, when filled or a truncate of the content of the page. ","slug":"_seo-description","enabled":1,"_version":"3.301","_type":"textarea"}},"wpcf7_contact_form":{"simplemedia-1602039392":{"title":"File Download","type":"file","description":"Add a file that starts downloading when the form is submitted","slug":"_form-file-download","enabled":1,"_version":"3.301","_type":"simplemedia"}},"team":{"inputtext-1597212462":{"title":"Shortname","description":"Use to identify or order team members","slug":"_team-shortname","enabled":1,"group_title":0,"_version":"3.301","_type":"inputtext"},"inputtext-1597212526":{"title":"Position","description":"","slug":"_team-position","enabled":1,"group_title":0,"_version":"3.301","_type":"inputtext"},"inputtext-1597213409":{"title":"Linkedin","description":"","slug":"_team-linkedin","enabled":1,"group_title":0,"_version":"3.301","_type":"inputtext"},"inputtext-1597212550":{"title":"Phone","description":"","slug":"_team-phone","enabled":1,"group_title":0,"_version":"3.301","_type":"inputtext"},"inputtext-1597212560":{"title":"Email","description":"","slug":"_team-email","enabled":1,"group_title":0,"_version":"3.301","_type":"inputtext"},"checkbox-1597214407":{"title":"Show on top","settings":"Show on top|1","description":"","slug":"_on_top","enabled":1,"_version":"3.301","_type":"checkbox"},"checkbox-1597214437":{"title":"Hide this team member","settings":"Hide|1","description":"","slug":"_hide","enabled":1,"_version":"3.301","_type":"checkbox"}},"faq":{"checkbox-1597815349":{"title":"Hide this FAQ","settings":"Hide|1","description":"","slug":"_hide","enabled":1,"_version":"3.301","_type":"checkbox"}},"section":{"inputtext-1599857579":{"title":"Subheadline","description":"","slug":"_subheadline","enabled":1,"group_title":0,"_version":"3.301","_type":"inputtext"},"inputtext-1599857771":{"title":"Background Color","description":"Add an additional background-color if you use a transparent post thumbnail.\r\n\r\nFormat: HEX, eg Black = #000000\r\nGet color HEX codes: http:\/\/www.color-hex.com\/","slug":"_background-color","enabled":1,"group_title":0,"_version":"3.301","_type":"inputtext"},"select-1599858367":{"title":"Image position","options":"After|after\r\nBefore|before","description":"","empty_option":"","slug":"_image-position","enabled":1,"_version":"3.301","_type":"select"},"select-1599857914":{"title":"Color Scheme","options":"Light|light\r\nDark|dark","description":"Select wether the section color scheme is light or dark","empty_option":"","slug":"_color-scheme","enabled":1,"_version":"3.301","_type":"select"},"select-1600266358":{"title":"Image Shadow","options":"No Shadow|no-shadow\r\nShadow|has-shadow","description":"Choose whether the Image should be surrounded by a shadow or not","empty_option":"","slug":"_image-shadow","enabled":1,"_version":"3.301","_type":"select"}},"news":{"inputtext-1601275193":{"title":"Source Link Text","description":"","slug":"_custom_more_text","enabled":1,"group_title":0,"_version":"3.301","_type":"inputtext"},"inputtext-1601275214":{"title":"Source Link URL","description":"Full qualified URL including \"https:\/\/\"","slug":"_more-link-url","enabled":1,"group_title":0,"_version":"3.301","_type":"inputtext"}}},"post_types":{"post":{"name":"post","label":"Posts","labels":{"name":"Posts","singular_name":"Post","add_new":"Add New","add_new_item":"Add New Post","edit_item":"Edit Post","new_item":"New Post","view_item":"View Post","view_items":"View Posts","search_items":"Search Posts","not_found":"No posts found.","not_found_in_trash":"No posts found in Trash.","parent_item_colon":null,"all_items":"All Posts","archives":"Post Archives","attributes":"Post Attributes","insert_into_item":"Insert into post","uploaded_to_this_item":"Uploaded to this post","featured_image":"Featured image","set_featured_image":"Set featured image","remove_featured_image":"Remove featured image","use_featured_image":"Use as featured image","filter_items_list":"Filter posts list","items_list_navigation":"Posts list navigation","items_list":"Posts list","item_published":"Post published.","item_published_privately":"Post published privately.","item_reverted_to_draft":"Post reverted to draft.","item_scheduled":"Post scheduled.","item_updated":"Post updated.","menu_name":"Posts","name_admin_bar":"Post"},"description":"","public":true,"hierarchical":false,"exclude_from_search":false,"publicly_queryable":true,"show_ui":true,"show_in_menu":true,"show_in_nav_menus":true,"show_in_admin_bar":true,"menu_position":5,"menu_icon":"dashicons-admin-post","capability_type":"post","map_meta_cap":true,"register_meta_box_cb":null,"taxonomies":[],"has_archive":false,"query_var":false,"can_export":true,"delete_with_user":true,"_builtin":true,"_edit_link":"post.php?post=%d","cap":{"edit_post":"edit_post","read_post":"read_post","delete_post":"delete_post","edit_posts":"edit_posts","edit_others_posts":"edit_others_posts","delete_posts":"delete_posts","publish_posts":"publish_posts","read_private_posts":"read_private_posts","read":"read","delete_private_posts":"delete_private_posts","delete_published_posts":"delete_published_posts","delete_others_posts":"delete_others_posts","edit_private_posts":"edit_private_posts","edit_published_posts":"edit_published_posts","create_posts":"edit_posts"},"rewrite":false,"show_in_rest":true,"rest_base":"posts","rest_controller_class":"WP_REST_Posts_Controller","rest_controller":null},"page":{"name":"page","label":"Pages","labels":{"name":"Pages","singular_name":"Page","add_new":"Add New","add_new_item":"Add New Page","edit_item":"Edit Page","new_item":"New Page","view_item":"View Page","view_items":"View Pages","search_items":"Search Pages","not_found":"No pages found.","not_found_in_trash":"No pages found in Trash.","parent_item_colon":"Parent Page:","all_items":"All Pages","archives":"Page Archives","attributes":"Page Attributes","insert_into_item":"Insert into page","uploaded_to_this_item":"Uploaded to this page","featured_image":"Featured image","set_featured_image":"Set featured image","remove_featured_image":"Remove featured image","use_featured_image":"Use as featured image","filter_items_list":"Filter pages list","items_list_navigation":"Pages list navigation","items_list":"Pages list","item_published":"Page published.","item_published_privately":"Page published privately.","item_reverted_to_draft":"Page reverted to draft.","item_scheduled":"Page scheduled.","item_updated":"Page updated.","menu_name":"Pages","name_admin_bar":"Page"},"description":"","public":true,"hierarchical":true,"exclude_from_search":false,"publicly_queryable":false,"show_ui":true,"show_in_menu":true,"show_in_nav_menus":true,"show_in_admin_bar":true,"menu_position":20,"menu_icon":"dashicons-admin-page","capability_type":"page","map_meta_cap":true,"register_meta_box_cb":null,"taxonomies":[],"has_archive":false,"query_var":false,"can_export":true,"delete_with_user":true,"_builtin":true,"_edit_link":"post.php?post=%d","cap":{"edit_post":"edit_page","read_post":"read_page","delete_post":"delete_page","edit_posts":"edit_pages","edit_others_posts":"edit_others_pages","delete_posts":"delete_pages","publish_posts":"publish_pages","read_private_posts":"read_private_pages","read":"read","delete_private_posts":"delete_private_pages","delete_published_posts":"delete_published_pages","delete_others_posts":"delete_others_pages","edit_private_posts":"edit_private_pages","edit_published_posts":"edit_published_pages","create_posts":"edit_pages"},"rewrite":false,"show_in_rest":true,"rest_base":"pages","rest_controller_class":"WP_REST_Posts_Controller","rest_controller":null},"wpcf7_contact_form":{"name":"wpcf7_contact_form","label":"Contact Forms","labels":{"name":"Contact Forms","singular_name":"Contact Form","add_new":"Add New","add_new_item":"Add New Form","edit_item":"Edit Form","new_item":"New Form","view_item":"View Form","view_items":"View Forms","search_items":"Search Forms","not_found":"No forms found.","not_found_in_trash":"No forms found in Trash.","parent_item_colon":"","all_items":"Contact Forms","archives":"Contact Forms","attributes":"Form Attributes","insert_into_item":"Insert into form","uploaded_to_this_item":"Uploaded to this form","featured_image":"Featured image","set_featured_image":"Set featured image","remove_featured_image":"Remove featured image","use_featured_image":"Use as featured image","filter_items_list":"Filter forms list","items_list_navigation":"Forms list navigation","items_list":"Forms list","item_published":"Post published.","item_published_privately":"Post published privately.","item_reverted_to_draft":"Post reverted to draft.","item_scheduled":"Post scheduled.","item_updated":"Post updated.","menu_name":"Contact Forms","name_admin_bar":"Contact Form"},"description":"","public":false,"hierarchical":false,"exclude_from_search":true,"publicly_queryable":false,"show_ui":true,"show_in_menu":"wpcf7","show_in_nav_menus":false,"show_in_admin_bar":true,"menu_position":null,"menu_icon":null,"capability_type":"page","map_meta_cap":true,"register_meta_box_cb":null,"taxonomies":["wpcf7_type"],"has_archive":false,"query_var":false,"can_export":true,"delete_with_user":null,"_builtin":false,"_edit_link":"post.php?post=%d","cap":{"edit_post":"wpcf7_edit_contact_form","read_post":"wpcf7_read_contact_form","delete_post":"wpcf7_delete_contact_form","edit_posts":"wpcf7_edit_contact_forms","edit_others_posts":"wpcf7_edit_others_contact_forms","delete_posts":"wpcf7_delete_contact_forms","publish_posts":"wpcf7_publish_contact_forms","read_private_posts":"wpcf7_publish_contact_forms","read":"read","delete_private_posts":"delete_private_pages","delete_published_posts":"wpcf7_delete_published_contact_forms","delete_others_posts":"wpcf7_delete_others_contact_forms","edit_private_posts":"edit_private_pages","edit_published_posts":"wpcf7_edit_published_contact_forms","create_posts":"wpcf7_edit_contact_forms"},"rewrite":false,"show_in_rest":false,"rest_base":false,"rest_controller_class":false,"rest_controller":null},"team":{"name":"team","label":"Team","labels":{"name":"Team","singular_name":"Team","add_new":"Add New","add_new_item":"Add new Team","edit_item":"Edit Team","new_item":"New Team","view_item":"View Team","view_items":"View Team","search_items":"Search Team","not_found":"No Team found.","not_found_in_trash":"No Team found in trash.","parent_item_colon":null,"all_items":"All Team","archives":"All Team","attributes":"Post Attributes","insert_into_item":"Insert into post","uploaded_to_this_item":"Uploaded to this post","featured_image":"Featured image","set_featured_image":"Set featured image","remove_featured_image":"Remove featured image","use_featured_image":"Use as featured image","filter_items_list":"Filter posts list","items_list_navigation":"Posts list navigation","items_list":"Posts list","item_published":"Post published.","item_published_privately":"Post published privately.","item_reverted_to_draft":"Post reverted to draft.","item_scheduled":"Post scheduled.","item_updated":"Post updated.","menu_name":"Team","name_admin_bar":"Team"},"description":"","public":true,"hierarchical":false,"exclude_from_search":true,"publicly_queryable":false,"show_ui":true,"show_in_menu":true,"show_in_nav_menus":true,"show_in_admin_bar":true,"menu_position":6,"menu_icon":"dashicons-groups","capability_type":"post","map_meta_cap":true,"register_meta_box_cb":null,"taxonomies":[],"has_archive":false,"query_var":"team","can_export":true,"delete_with_user":false,"_builtin":false,"_edit_link":"post.php?post=%d","cap":{"edit_post":"edit_post","read_post":"read_post","delete_post":"delete_post","edit_posts":"edit_posts","edit_others_posts":"edit_others_posts","delete_posts":"delete_posts","publish_posts":"publish_posts","read_private_posts":"read_private_posts","read":"read","delete_private_posts":"delete_private_posts","delete_published_posts":"delete_published_posts","delete_others_posts":"delete_others_posts","edit_private_posts":"edit_private_posts","edit_published_posts":"edit_published_posts","create_posts":"edit_posts"},"rewrite":{"slug":"team","with_front":true,"pages":true,"feeds":false,"ep_mask":1},"show_in_rest":true,"rest_base":null,"rest_controller_class":null,"rest_controller":null},"faq":{"name":"faq","label":"FAQ","labels":{"name":"FAQ","singular_name":"FAQs","add_new":"Add New","add_new_item":"Add new FAQs","edit_item":"Edit FAQs","new_item":"New FAQs","view_item":"View FAQs","view_items":"View FAQ","search_items":"Search FAQ","not_found":"No FAQ found.","not_found_in_trash":"No FAQ found in trash.","parent_item_colon":null,"all_items":"All FAQ","archives":"All FAQ","attributes":"Post Attributes","insert_into_item":"Insert into post","uploaded_to_this_item":"Uploaded to this post","featured_image":"Featured image","set_featured_image":"Set featured image","remove_featured_image":"Remove featured image","use_featured_image":"Use as featured image","filter_items_list":"Filter posts list","items_list_navigation":"Posts list navigation","items_list":"Posts list","item_published":"Post published.","item_published_privately":"Post published privately.","item_reverted_to_draft":"Post reverted to draft.","item_scheduled":"Post scheduled.","item_updated":"Post updated.","menu_name":"FAQ","name_admin_bar":"FAQs"},"description":"","public":true,"hierarchical":false,"exclude_from_search":false,"publicly_queryable":false,"show_ui":true,"show_in_menu":true,"show_in_nav_menus":true,"show_in_admin_bar":true,"menu_position":7,"menu_icon":"dashicons-welcome-learn-more","capability_type":"post","map_meta_cap":true,"register_meta_box_cb":null,"taxonomies":["topic"],"has_archive":false,"query_var":"faq","can_export":true,"delete_with_user":false,"_builtin":false,"_edit_link":"post.php?post=%d","cap":{"edit_post":"edit_post","read_post":"read_post","delete_post":"delete_post","edit_posts":"edit_posts","edit_others_posts":"edit_others_posts","delete_posts":"delete_posts","publish_posts":"publish_posts","read_private_posts":"read_private_posts","read":"read","delete_private_posts":"delete_private_posts","delete_published_posts":"delete_published_posts","delete_others_posts":"delete_others_posts","edit_private_posts":"edit_private_posts","edit_published_posts":"edit_published_posts","create_posts":"edit_posts"},"rewrite":{"slug":"faq","with_front":true,"pages":true,"feeds":false,"ep_mask":1},"show_in_rest":false,"rest_base":null,"rest_controller_class":null,"rest_controller":null},"section":{"name":"section","label":"Sections","labels":{"name":"Sections","singular_name":"Section","add_new":"Add New","add_new_item":"Add new Section","edit_item":"Edit Section","new_item":"New Section","view_item":"View Section","view_items":"View Sections","search_items":"Search Sections","not_found":"No Sections found.","not_found_in_trash":"No Sections found in trash.","parent_item_colon":null,"all_items":"All Sections","archives":"All Sections","attributes":"Post Attributes","insert_into_item":"Insert into post","uploaded_to_this_item":"Uploaded to this post","featured_image":"Featured image","set_featured_image":"Set featured image","remove_featured_image":"Remove featured image","use_featured_image":"Use as featured image","filter_items_list":"Filter posts list","items_list_navigation":"Posts list navigation","items_list":"Posts list","item_published":"Post published.","item_published_privately":"Post published privately.","item_reverted_to_draft":"Post reverted to draft.","item_scheduled":"Post scheduled.","item_updated":"Post updated.","menu_name":"Sections","name_admin_bar":"Section"},"description":"","public":true,"hierarchical":false,"exclude_from_search":false,"publicly_queryable":true,"show_ui":true,"show_in_menu":true,"show_in_nav_menus":true,"show_in_admin_bar":true,"menu_position":21,"menu_icon":"dashicons-excerpt-view","capability_type":"post","map_meta_cap":true,"register_meta_box_cb":null,"taxonomies":["sectiongroup","benefit"],"has_archive":false,"query_var":"section","can_export":true,"delete_with_user":false,"_builtin":false,"_edit_link":"post.php?post=%d","cap":{"edit_post":"edit_post","read_post":"read_post","delete_post":"delete_post","edit_posts":"edit_posts","edit_others_posts":"edit_others_posts","delete_posts":"delete_posts","publish_posts":"publish_posts","read_private_posts":"read_private_posts","read":"read","delete_private_posts":"delete_private_posts","delete_published_posts":"delete_published_posts","delete_others_posts":"delete_others_posts","edit_private_posts":"edit_private_posts","edit_published_posts":"edit_published_posts","create_posts":"edit_posts"},"rewrite":{"slug":"section","with_front":true,"pages":true,"feeds":false,"ep_mask":1},"show_in_rest":true,"rest_base":null,"rest_controller_class":null,"rest_controller":null},"news":{"name":"news","label":"News","labels":{"name":"News","singular_name":"News","add_new":"Add New","add_new_item":"Add new News","edit_item":"Edit News","new_item":"New News","view_item":"View News","view_items":"View News","search_items":"Search News","not_found":"No News found.","not_found_in_trash":"No News found in trash.","parent_item_colon":null,"all_items":"All News","archives":"All News","attributes":"Post Attributes","insert_into_item":"Insert into post","uploaded_to_this_item":"Uploaded to this post","featured_image":"Featured image","set_featured_image":"Set featured image","remove_featured_image":"Remove featured image","use_featured_image":"Use as featured image","filter_items_list":"Filter posts list","items_list_navigation":"Posts list navigation","items_list":"Posts list","item_published":"Post published.","item_published_privately":"Post published privately.","item_reverted_to_draft":"Post reverted to draft.","item_scheduled":"Post scheduled.","item_updated":"Post updated.","menu_name":"News","name_admin_bar":"News"},"description":"","public":true,"hierarchical":false,"exclude_from_search":false,"publicly_queryable":false,"show_ui":true,"show_in_menu":true,"show_in_nav_menus":true,"show_in_admin_bar":true,"menu_position":7,"menu_icon":"dashicons-megaphone","capability_type":"post","map_meta_cap":true,"register_meta_box_cb":null,"taxonomies":[],"has_archive":false,"query_var":"news","can_export":true,"delete_with_user":false,"_builtin":false,"_edit_link":"post.php?post=%d","cap":{"edit_post":"edit_post","read_post":"read_post","delete_post":"delete_post","edit_posts":"edit_posts","edit_others_posts":"edit_others_posts","delete_posts":"delete_posts","publish_posts":"publish_posts","read_private_posts":"read_private_posts","read":"read","delete_private_posts":"delete_private_posts","delete_published_posts":"delete_published_posts","delete_others_posts":"delete_others_posts","edit_private_posts":"edit_private_posts","edit_published_posts":"edit_published_posts","create_posts":"edit_posts"},"rewrite":{"slug":"news","with_front":true,"pages":true,"feeds":false,"ep_mask":1},"show_in_rest":true,"rest_base":null,"rest_controller_class":null,"rest_controller":null}}} \ No newline at end of file diff --git a/sandbox/archive.php b/sandbox/archive.php index 03fcf92..a2ed3a1 100644 --- a/sandbox/archive.php +++ b/sandbox/archive.php @@ -1,6 +1,7 @@ + + + ' . $more_text . ''; // more class attribute if ( $more_class !== '' ) { $more_class = ' class="' . $more_class . '"'; @@ -170,10 +189,12 @@

>

- - + + - +
@@ -186,29 +207,12 @@
- - - - - - - - -
@@ -244,5 +248,17 @@ * @Sidebar Content after */ get_sidebar('content-after'); ?> + + + + + + diff --git a/sandbox/css/login.css b/sandbox/css/login.css index e9ccfe0..9e3881b 100644 --- a/sandbox/css/login.css +++ b/sandbox/css/login.css @@ -1,6 +1,6 @@ #login h1 a, .login h1 a { - background: url(../img/socos-logo-color.svg) 50% 50% no-repeat; + background: url(../img/logo-text-kinderlandwien.svg) 50% 50% no-repeat; background-size:contain; padding:0; margin:0; diff --git a/sandbox/css/style.css b/sandbox/css/style.css index 501a218..a0c8684 100644 --- a/sandbox/css/style.css +++ b/sandbox/css/style.css @@ -20,17 +20,6 @@ * for dokumentation */ -/* Apax medium */ -@font-face { - font-family: 'Apax'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: local('Apax'), local('Apax Medium'), local('Apax-Medium'), - url('../fonts/apax/apax_medium.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ - url('../fonts/apax/apax_medium.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ -} - /* ubuntu-300 - latin */ @font-face { font-family: 'Ubuntu'; @@ -99,7 +88,9 @@ /*! Generated by Font Squirrel (https://www.fontsquirrel.com) on September 17, 2020 */ @font-face { font-family: 'Material Icons'; - src: url('../fonts/material/materialicons-regular-webfont.woff2') format('woff2'); + src: local('Material Icons'), + url('../fonts/material/materialicons-regular-webfont.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../fonts/material/materialicons-regular-webfont.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ font-weight: normal; font-style: normal; font-display: swap; @@ -116,8 +107,14 @@ white-space:nowrap; word-wrap:normal; direction:ltr; - -moz-font-feature-settings: 'liga'; + /* Support for all WebKit browsers. */ + -webkit-font-smoothing: antialiased; + /* Support for Safari and Chrome. */ + text-rendering: optimizeLegibility; + /* Support for Firefox. */ -moz-osx-font-smoothing: grayscale; + /* Support for IE. */ + font-feature-settings: 'liga'; speak:never; } @@ -152,10 +149,20 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI } .color-scheme-dark{ - background:#05050F; + background:#6A6A6A; color:#FFFFFF; } +/* Text meant only for screen readers */ +.says, +.screen-reader-text{ + clip:rect(1px, 1px, 1px, 1px); + height:1px; + overflow:hidden; + position:absolute !important; + width:1px; +} + /* anchors basis */ a:link, a:visited{ @@ -167,9 +174,12 @@ button, input, select, textarea{ + max-width:100%; + margin-bottom:1.3em; + color:inherit; background-color:#FFFFFF; + outline:0; border:1px solid #F3F3F3; - color:inherit; } select{ background-image:url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDE0IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTIuMzU1IDBMNyA0LjU4TDEuNjQ1IDBMMCAxLjQxTDcgNy40MUwxNCAxLjQxTDEyLjM1NSAwWiIgZmlsbD0iIzA1MDUwRiIvPgo8L3N2Zz4K'); @@ -180,12 +190,10 @@ select, textarea{ } button:not([type="reset"]), -input[type="submit"], input[type="submit"]{ padding:1.5em 2em 1.433333333em 2em; font-size:0.857142857em; line-height:1; - font-family:'Apax'; font-weight:500; letter-spacing:0.1em; text-decoration:none; @@ -193,6 +201,39 @@ input[type="submit"]{ border-color:#1C1936; border-width:2px; } +input[type="text"], +input[type="number"], +input[type="password"], +input[type="email"], +input[type="tel"], +input[type="month"], +input[type="week"], +input[type="date"], +input[type="time"], +input[type="url"], +input[type="date"]{ + -webkit-border-radius:0 7px 7px 0; + border-radius:0 7px 7px 0; +} +input[type="text"][required], +input[type="number"][required], +input[type="password"][required], +input[type="email"][required], +input[type="tel"][required], +input[type="month"][required], +input[type="week"][required], +input[type="date"][required], +input[type="time"][required], +input[type="url"][required], +input[type="date"][required]{ + -webkit-box-shadow:0 0 1px 0 #F3F3F3; + box-shadow:0 0 1px 0 #F3F3F3; + border:3px solid #FFFFFF; + border-width:0 0 0 3px; +} +input[size]{ + width:100%; +} button:not([type="reset"]):hover, button:not([type="reset"]):focus, input[type="submit"]:hover, @@ -203,15 +244,31 @@ input[type="submit"]:focus{ background-color:#1C1936; color:#FFFFFF; } -.inputs p{ +.content .wpcf7{ + font-size:0.857142857em; +} +.wpcf7 .inputs{ + padding:1em 0; +} +.wpcf7 .inputs.has-ranges{ + padding-bottom:0; +} +.content .wpcf7 .inputs h3, +.content .wpcf7 .inputs h4{ + margin-top:1em; +} +.inputs p:not(.privacy){ position:relative; margin-bottom:0; } +.inputs > ul, .inputs p.intro{ margin-bottom:1.5em; + font-size:1.166666667em; } .inputs span{ display:block; + max-width:100%; } .inputs label, .inputs input{ @@ -221,19 +278,25 @@ input[type="submit"]:focus{ -o-transition:all 200ms ease; transition:all ease 200ms; } -.inputs input[type="checkbox"]{ +.inputs input[type="checkbox"], +.inputs input[type="radio"]{ + margin-top:0.833333333em; margin-right:1.5em; } .inputs label{ position:absolute; - left:1.25em; - top:0.5em; + left:1.5em; + top:0.3em; opacity:0; pointer-events:none; - font-size:0.857142857em; + font-size:0.833333333em; z-index:10; } +.inputs label em{ + color:#60009F; +} .inputs .checkbox label, +.inputs .radio label, .inputs .human-check label{ position:relative; top:auto; @@ -243,7 +306,8 @@ input[type="submit"]:focus{ font-size:inherit; cursor:pointer; } -.inputs .checkbox label{ +.inputs .checkbox label, +.inputs .radio label{ display:-webkit-box; display:-moz-box; display:-ms-flexbox; @@ -251,6 +315,17 @@ input[type="submit"]:focus{ display:-webkit-box; display:-ms-flexbox; display:flex; + -webkit-box-align:start; + -ms-flex-align:start; + align-items:flex-start; +} +.inputs .radio span.wpcf7-list-item, +.inputs .checkbox span.wpcf7-list-item{ + display:block; + background:#FFFFFF; + padding:0.5em 1em; + margin:0.5em; + max-width:20em; } .inputs span.wpcf7-list-item{ margin-left:0; @@ -258,25 +333,32 @@ input[type="submit"]:focus{ .inputs span.wpcf7-list-item-label{ padding-top:0.5em; } +.inputs .radio span.wpcf7-list-item-label{ + padding-top:0.5em; + width:15em; +} .inputs .focus label, .inputs .valued label{ opacity:1; } -.textwidget button, -.textwidget input:not([type="checkbox"]):not([type="radio"]), -.textwidget select, -.textwidget textarea{ +.inputs button, +.inputs input:not([type="checkbox"]):not([type="radio"]), +.inputs select, +.inputs textarea{ margin-right:0; width:100%; } -.textwidget select{ +.content input{ + text-indent:0.3em; +} +.inputs select{ padding-top:0.642857143em; padding-bottom:0.642857143em; margin-bottom:0.714285714em; } -.textwidget .inputs .focus:not(.human-check) input:not([type="checkbox"]), -.textwidget .inputs .valued:not(.human-check) input:not([type="checkbox"]){ - padding-top:1.071428571em; +.inputs .focus:not(.human-check) input:not([type="checkbox"]), +.inputs .valued:not(.human-check) input:not([type="checkbox"]){ + padding-top:1.25em; padding-bottom:0.214285714em; } .inputs .focus input::-webkit-input-placeholder, @@ -288,25 +370,83 @@ input[type="submit"]:focus{ .inputs .focus input:-ms-input-placeholder, .inputs .valued input:-ms-input-placeholder { color:transparent; } -.wpcf7-form .wpcf7-not-valid{ - border-color:#9F001E; +.inputs input[required]:focus:valid, +.wpcf7-form .wpcf7-not-valid:valid{ + border-left:3px solid #66AC00; +} +.inputs input[required]:focus:invalid, +.wpcf7-form input.wpcf7-not-valid{ + border-left:3px solid #FFB900; } .wpcf7-form .wpcf7-not-valid-tip{ margin:-1.166666667em 0 1.166666667em 0; padding:0.25em 1.166666667em 0.333333333em 1.166666667em; font-size:0.857142857em; - background:#9F001E; - border:1px solid #9F001E; - color:#FFFFFF; + color:inherit; } form.sent .inputs, form.sent .textarea, form.sent .submit{ display:none; } -.inputs .privacy{ - margin:2em 0; +.inputs .hint, +.textarea .hint{ + display:inline-block; + padding:0.5em 1em; font-size:0.846153846em; + background:#FFFFFF; + border-left:3px solid #66AC00; + -webkit-border-radius:0 7px 7px 0; + border-radius:0 7px 7px 0; +} +.inputs * + .hint, +.textarea * + .hint{ +} +.textwidget button:not([type="reset"]), +.textwidget input[type="submit"]{ + margin-right:0; + width:100%; +} +.cf7-smart-grid .field{ + margin-bottom:1em; +} +span.wpcf7-list-item:first-child:last-child{ + display:block; +} +.wpcf7-checkbox .wpcf7-list-item{ + padding-top:0.7em; +} +.wpcf7-list-item input[type="checkbox"]{ + float:left; + margin-top:-0.1em; +} +.wpcf7-list-item-label{ + display:block; +} +.cf7-smart-grid.has-grid .info-tip{ + margin-right:0; +} +.wpcf7-form .captcha .row{ + margin-top:3em; + margin-bottom:2em; +} +.wpcf7-form .captcha .field{ + text-align:center; +} +.wpcf7-form .captcha img.wpcf7-captchac{ + display:inline-block; + width:auto; + margin-bottom:0; + vertical-align:middle; +} +.wpcf7-form .captcha .wpcf7-form-control-wrap{ + display:inline-block; +} +.wpcf7-form .captcha .wpcf7-form-control-wrap input{ + margin-bottom:0; +} +.wpcf7-form-control-wrap{ + display:block; } .wpcf7 .wpcf7-form .wpcf7-response-output{ margin:0; @@ -314,6 +454,7 @@ form.sent .submit{ padding-bottom:1em; font-size:1.076923077em; color:#FFFFFF; + font-weight:bold; } .wpcf7 .wpcf7-form.invalid .wpcf7-response-output, .wpcf7 .wpcf7-form.unaccepted .wpcf7-response-output{ @@ -329,8 +470,8 @@ form.sent .submit{ background:#60009F; } .wpcf7 .wpcf7-form.sent .wpcf7-response-output{ - background:#E9533F; - border-color:#E9533F; + background:#66AC00; + border-color:#66AC00; } /** @@ -359,6 +500,7 @@ nav a:link, nav a:visited, .menu a:link, .menu a:visited{ + color:#444444; } nav a:hover, nav a:focus, @@ -370,11 +512,24 @@ nav a:focus, outline:0; } nav a:focus, +.menu a:focus{ + background:rgba(113, 118, 148, 0.10); +} nav a:active, -.menu a:focus, .menu a:active, nav a.active, +nav a.active:focus, nav .active > a{ + background:rgba(113, 118, 148, 0.20); +} +.color-scheme-dark nav a:focus, +.color-scheme-dark nav a:active, +.color-scheme-dark .menu a:focus, +.color-scheme-dark .menu a:active, +.color-scheme-dark nav a.active, +.color-scheme-dark nav .- Schriftart einheitlichactive > a{ + background:none; + color:#A1A2A5; } nav a:hover, nav a:active, @@ -385,8 +540,35 @@ nav a:active, /* Menus */ .menu .current-menu-ancestor > a, .menu .current-menu-item > a, +.menu .current_page_ancestor > a, +.menu .current_page_parent > a, .menu .sub-menu .current-menu-ancestor > a, -.menu .sub-menu .current-menu-item > a{ +.menu .sub-menu .current-menu-item > a, +.menu .sub-menu .current_page_ancestor > a, +.menu .sub-menu .current_page_parent > a{ + background:rgba(113, 118, 148, 0.10); + color:#000000; +} +.sideMenu .menu .current-menu-ancestor > a, +.sideMenu .menu .current-menu-item > a, +.sideMenu .menu .current_page_ancestor > a, +.sideMenu .menu .current_page_parent > a, +.sideMenu .menu .sub-menu .current-menu-ancestor > a, +.sideMenu .menu .sub-menu .current-menu-item > a, +.sideMenu .menu .sub-menu .current_page_ancestor > a, +.sideMenu .menu .sub-menu .current_page_parent > a{ + background:none; +} + +.color-scheme-dark .menu .current-menu-ancestor > a, +.color-scheme-dark .menu .current-menu-item > a, +.color-scheme-dark .menu .current_page_ancestor > a, +.color-scheme-dark .menu .current_page_parent > a, +.color-scheme-dark .menu .sub-menu .current-menu-ancestor > a, +.color-scheme-dark .menu .sub-menu .current-menu-item > a, +.color-scheme-dark .menu .sub-menu .current_page_ancestor > a, +.color-scheme-dark .menu .sub-menu .current_page_parent > a{ + background:none; color:#A1A2A5; } @@ -396,8 +578,12 @@ nav a:active, /* sub menus */ .menu ul{ + border:1px solid #F3F3F3; + background:#FFFFFF; +} +.color-scheme-dark .menu ul{ border:1px solid #262626; - background:#05050F; + background:#6A6A6A; } /* sub sub menus */ @@ -405,6 +591,10 @@ nav a:active, border:none; background:#F5F5F5; } +/* Hide the parent link sub menu item */ +.sub-menu li.sub-menu-parent-link { + display:none; +} .menu ul a{ } .menu ul a:link, @@ -427,10 +617,22 @@ nav a:active, display: block; float:left; margin-right:1em; - font-family: 'ForkAwesome'; - text-rendering: auto; + font-family: 'Material Icons'; + letter-spacing:normal; + text-transform:none; + display:inline-block; + white-space:nowrap; + word-wrap:normal; + direction:ltr; + /* Support for all WebKit browsers. */ -webkit-font-smoothing: antialiased; + /* Support for Safari and Chrome. */ + text-rendering: optimizeLegibility; + /* Support for Firefox. */ -moz-osx-font-smoothing: grayscale; + /* Support for IE. */ + font-feature-settings: 'liga'; + speak:never; } .menu .menu-item-user a::after, .menu .menu-item-register a::after, @@ -447,6 +649,160 @@ nav a:active, .menu .menu-item-login a::before { content:'\f090'; } .menu .menu-item-register a::before { content:'\f234'; } +/* Pagination */ +.back-to-blog{ + margin:2em 0; + font-size:1.2em; +} +.back-to-blog::before{ + display:inline-block; + margin-right:0.285714286em; + font-size:1.5em; + line-height:0.80952381; + font-family:'Material Icons'; + letter-spacing:normal; + text-transform:none; + white-space:nowrap; + word-wrap:normal; + direction:ltr; + /* Support for all WebKit browsers. */ + -webkit-font-smoothing: antialiased; + /* Support for Safari and Chrome. */ + text-rendering: optimizeLegibility; + /* Support for Firefox. */ + -moz-osx-font-smoothing: grayscale; + /* Support for IE. */ + font-feature-settings: 'liga'; + speak:never; + content:'keyboard_backspace'; + position:relative; + top:0.285714286em; +} +.nav-links{ + display:-webkit-box; + display:-ms-flexbox; + display:flex; + -webkit-box-orient:horizontal; + -webkit-box-direction:normal; + -ms-flex-flow:row wrap; + flex-flow:row wrap; + -webkit-box-pack:justify; + -ms-flex-pack:justify; + justify-content:space-between; + margin:2em 0; +} +.nav-links > div{ + margin:1em 0; +} +.nav-links a{ + padding:0; +} +.nav-links a:link, +.nav-links a:visited{ + text-decoration:none; +} +.nav-links a:hover, +.nav-links a:active{ + text-decoration:underline; +} +.nav-links a span{ + display:block; +} +.nav-links a .meta-nav{ + margin-bottom:1em; + text-transform:uppercase; + font-family:'Apax'; + font-weight:normal; +} +.nav-links a .post-title{ + font-size:1.6em; +} +.nav-links .nav-previous a{ +} +.nav-links .nav-next a{ + text-align:right; +} +.wp-pagenavi{ + -ms-flex-preferred-size:100%; + flex-basis:100%; + margin:2em; +} +.wp-pagenavi a, +.wp-pagenavi span{ + position:relative; + display:inline-block; + font-size:1.6em; + padding:0.8em 1.3em; + margin:0.5em; + border:1px solid #A1A2A5; + text-decoration:none; + font-weight:300; + z-index:10; +} +.wp-pagenavi a:hover, +.wp-pagenavi a:active{ + border-color:#05050F; +} +.wp-pagenavi span.current{ + border-color:#707173; +} +.wp-pagenavi span.current{ + font-weight:500; +} + +/* related posts navigation */ +.related-title{ + font-size:2.4em; + margin:2em 0 2em 0; + padding:1em 0 0 0; + border-top:1px solid #CBCBCB; +} +.related-posts > .inner{ + display:-webkit-box; + display:-moz-box; + display:-ms-flexbox; + display:-webkit-flex; + display:-webkit-box; + display:-ms-flexbox; + display:flex; + -webkit-box-orient:horizontal; + -webkit-box-direction:normal; + -ms-flex-flow:row wrap; + flex-flow:row wrap; + margin:0 -1em; +} +.related-posts .related-post{ + margin:1.4em 1.5em 1.5em 1.4em; + background:#FFFFFF; + -webkit-box-shadow:9px 5px 9px 1px rgba(190, 204, 255, 0.25); + -moz-box-shadow:9px 5px 9px 1px rgba(190, 204, 255, 0.25); + box-shadow:9px 5px 9px 1px rgba(190, 204, 255, 0.25); +} +.related-posts .related-post:link, +.related-posts .related-post:visited{ + text-decoration:none; +} +.related-post .content{ + padding:0 1.75em; +} +.related-post .content h3:first-child{ + margin-top:0; + margin-bottom: 1.4em; +} +.related-post .more{ + color:#B60054; +} + +.hide-placeholder-in-mobile{ + display:none; +}- Schriftart einheitlich + +/* privacy texts */ +.privacy{ + margin:2em 0; + font-size:0.846153846em; +} + /** * Content & Widgets * @@ -466,14 +822,32 @@ h2, h2 *, h3, h3 *, h4, h4 *, .title{ - font-family:'Apax'; font-weight:normal; } strong{ font-weight:500; } +.content h3, +.textwidget h3{ + font-size:1.125em; + line-height:1.4; + font-family:'Ubuntu'; + font-weight:400; + text-transform:uppercase; +} +.single .content h2, +.single .content h3, +.single .content h4{ + margin-top:3em; +} +.single .content h2:first-child, +.single .content h3:first-child, +.single .content h4:first-child{ + margin-top:1em; +} /* article meta */ +/* other version .content .meta{ display:-webkit-box; display:-moz-box; @@ -488,7 +862,6 @@ strong{ flex-flow:row wrap; padding:3em 0 0 0; font-size:0.923076923em; - font-family:'Apax'; } .meta > li{ -ms-flex-preferred-size:33%; @@ -538,8 +911,10 @@ strong{ white-space:nowrap; word-wrap:normal; direction:ltr; - -moz-font-feature-settings: 'liga'; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; + font-feature-settings: 'liga'; speak:never; } .meta li.terms > ul::before{ @@ -555,6 +930,32 @@ strong{ .meta .comments::before { content:'forum'; } .meta .category-list::before { content:'archive'; } .meta .post_tag-list::before { content:'folder_open'; } +*/ +.content .meta{ + font-size:1em; +} +.articles .content .meta{ +} +.single .content .meta{ + font-size:1.4em; +} +.content .meta li{ + display:inline-block; + text-transform:uppercase; +} +.content .meta .period{ + text-transform:none; + padding:0 1em; + background:#F0F0F0; +} +.content .meta li::after{ + display:inline-block; + margin:0 0.5em; + content:'·'; +} +.content .meta li:last-child::after{ + display:none; +} /* controls the whole font-size at once */ .content, @@ -562,7 +963,7 @@ strong{ line-height:1.642857143; letter-spacing:0.048403375em; } -.content { font-size:1.3em; } +.content { font-size:1.3em; font-weight: 300; } .textwidget { font-size:1.3em; } .content .content, @@ -573,9 +974,43 @@ strong{ p, table, ul, ol, dl, dt, dd, .columns, img{ margin-bottom:2em; } +.textwidget > *:last-child{ + margin-bottom:0; +} +.content a:not(.button), +.textwidget a:not(.button){ + color:#254AA5; +} +.color-scheme-dark .content a:not(.button), +.color-scheme-dark .textwidget a:not(.button){ + color:inherit; + font-weight:bold; +} +.title a{ + text-decoration:none; +} +.content a:link, +.content a:visited, +.textwidget a:link, +.textwidget a:visited{ + text-decoration-color:#A1A2A5; +} +.content a:hover, +.content a:active, +.textwidget a:hover, +.textwidget a:active{ + text-decoration-color:inherit; +} +.title a:hover, +.title a:active{ + text-decoration:underline; +} .content ul{ list-style:none; } +.content ul:not(:first-child){ + margin-top:0.6em; +} .content ul li{ position:relative; margin-bottom:1em; @@ -583,15 +1018,35 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ .content ul li:last-child{ margin-bottom:0; } +.content ul li:first-child:last-child{ + margin-bottom:1em; +} .content ul:not([class]) li::before{ display:block; position:absolute; - left:-1.5em; - top:0.5625em; - height:0.6875em; - width:0.6875em; - background:#05050F; + left:-1.285714286em; + top:0.642857143em; + height:0.5em; + width:0.5em; + background:#6A6A6A; content:' '; + -webkit-border-radius:500px; + -moz-border-radius:500px; + border-radius:500px; +} + +/* Figures/Images */ +.content figure{ + margin:3em 0 6em 0; +} +.content figure img{ + border:1px solid #F3F3F3; + -webkit-border-radius:7px; + border-radius:7px; +} +.wp-block-media-text__media img, +.wp-block-media-text__media video{ + width:calc(100% - 2px); } /* Floats */ @@ -612,6 +1067,14 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ .content blockquote{ margin-top:5em; margin-bottom:5em; + padding-left:2.5em; + font-style:italic; + border-left:5px solid #B60054; +} +.content .quote{ + font-style:normal; + border:none; + padding-left:0; } .content blockquote:first-child, .content header + blockquote{ @@ -620,12 +1083,16 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ .content blockquote:last-child{ margin-bottom:1em; } +.content blockquote p{ + font-size:1.285714286em; +} +.content .quote p{ + font-size:1em; +} .content blockquote cite{ display:block; - margin-top:3em; - font-family:'Apax'; + margin-top:1em; font-style:normal; - font-weight:500; } .content .quote cite{ display:-webkit-box; @@ -641,8 +1108,14 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ -ms-flex-align:center; align-items:center; position:relative; + margin-top:3em; + font-style:normal; + font-weight:500; } -.content blockquote cite::before{ +.content .quote cite::before{ + position:absolute; + top:0; + left:0; display:block; height:1px; width:33%; @@ -650,11 +1123,6 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ background:#262626; content:' '; } -.content .quote cite::before{ - position:absolute; - top:0; - left:0; -} .content .quote cite > *{ display:block; } @@ -675,6 +1143,47 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ margin:2em 0 0 0; } +/* Centered boxes */ +.content .boxes{ + display:-webkit-box; + display:-moz-box; + display:-ms-flexbox; + display:-webkit-flex; + display:-webkit-box; + display:-ms-flexbox; + display:flex; + -webkit-box-orient:horizontal; + -webkit-box-direction:normal; + -ms-flex-flow:row wrap; + flex-flow:row wrap; + -webkit-box-pack:center; + -ms-flex-pack:center; + justify-content:center; + margin:5em -1em; + text-align:left; +} +.content .boxes .box{ + -ms-flex-preferred-size:calc(100% - 2em); + flex-basis:calc(100% - 2em); + margin:1em; + border:1px solid #565A7F; + -webkit-box-sizing:border-box; + box-sizing:border-box; +} +.content .boxes .box > .inner{ + padding:0 1em; +} +.content .boxes .box h3{ +} +.content .boxes .box h3::after{ + display:block; + height:1px; + width:33%; + margin:1em 0; + background:#565A7F; + content:' '; +} + /* testimonials */ .content .testimonial{ display:-webkit-box; @@ -741,13 +1250,27 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ .accordeon-heading a::after{ display:block; position:absolute; - right:1em; - top:1em; - font-size:0.75em; - line-height:1; - font-family:'ForkAwesome'; + right:0.291666667em; + top:0.291666667em; + font-size:1.5em; + font-family:'Material Icons'; font-weight:normal; - content:'\f077'; + letter-spacing:normal; + text-transform:none; + display:inline-block; + white-space:nowrap; + word-wrap:normal; + direction:ltr; + /* Support for all WebKit browsers. */ + -webkit-font-smoothing: antialiased; + /* Support for Safari and Chrome. */ + text-rendering: optimizeLegibility; + /* Support for Firefox. */ + -moz-osx-font-smoothing: grayscale; + /* Support for IE. */ + font-feature-settings: 'liga'; + speak:never; + content:'expand_more'; -webkit-transition:transform 300ms ease; -moz-transition:transform 300ms ease; -ms-transition:transform 300ms ease; @@ -762,14 +1285,24 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ transform:rotate(180deg); } -/* button / tagcloud */ +/* button / tagcloud / more link */ +.widget_tag_cloud .title{ + display:none; +} +.tagcloud{ + margin:-1em -1em 0 -1em; + text-align:center; +} +.region-highlighted .tagcloud{ + margin-bottom:3em; +} .button, .tagcloud a{ display:block; text-align:center; padding:1.5em 2em 1.433333333em 2em; line-height:1; - border:2px solid #05050F; + border:2px solid #254AA5; font-family:'Apax'; letter-spacing:0.1em; text-decoration:none; @@ -780,6 +1313,15 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ -o-transition:all 200ms ease; transition:all ease 200ms; } +.tagcloud a{ + font-size:1em !important; + border-width:1px; +} +.button-full{ + border-color:#1C1936; + background-color:#1C1936; + color:#FFFFFF; +} .button + .button, .tagcloud a + a{ margin-top:2em; @@ -791,11 +1333,16 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ .button:link, .button:visited{} +.button-full:link, +.button-full:visited{ + color:#FFFFFF; +} .button:hover, .button:active, .tagcloud a:hover, .tagcloud a:active{ - background:#05050F; + background:#ED1C24; + border-color:#ED1C24; color:#FFFFFF; } .color-scheme-dark .button:hover, @@ -803,19 +1350,91 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ background:#FFFFFF; color:#05050F; } +.button-full:hover, +.button-full:active{ + background:#FFFFFF; + color:#1C1936; +} .content .button, +.textwidget .button, .content .tagcloud a{ font-size:0.857142857em; + text-decoration:none; +} +.content .scroll-button{ + text-decoration:none; + font-size:3em; + margin:1em 0 1em -0.25em; +} +.content .quote + .scroll-button{ + margin-top:-1em; +} +.color-scheme-dark .content .scroll-button{ + color:#B60054; +} +.button .material-icon{ + position:relative; + top:0.166666667em; + margin-right:0.166666667em; +} +.more{ + display:block; +} +.more:link, +.more:visited{ + text-decoration:none; + color:#ED1C24; +} +.content .more:not(.button):link, +.content .more:not(.button):visited{ + color:#ED1C24; +} +.more:hover, +.more:active{ + text-decoration:underline; +} +.more::after{ + display:inline-block; + margin-left:0.285714286em; + font-size:1.5em; + line-height:0.80952381; + font-family:'Material Icons'; + letter-spacing:normal; + text-transform:none; + white-space:nowrap; + word-wrap:normal; + direction:ltr; + /* Support for all WebKit browsers. */ + -webkit-font-smoothing: antialiased; + /* Support for Safari and Chrome. */ + text-rendering: optimizeLegibility; + /* Support for Firefox. */ + -moz-osx-font-smoothing: grayscale; + /* Support for IE. */ + font-feature-settings: 'liga'; + speak:never; + content:'arrow_right_alt'; + position:relative; + top:0.285714286em; } /* Post thumbnail */ .post-thumbnail{ display:block; } +.single .post-thumbnail{ + margin-bottom:3em; +} +.post-thumbnail{ + -webkit-border-radius:7px; + border-radius:7px; +} .post-thumbnail img{ height:auto; width:100%; margin:0; + -webkit-border-radius:7px; + border-radius:7px; } /* Tabs menu */ @@ -851,11 +1470,24 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ .taxonomy-terms .title::before{ display: inline; margin-right:0.5em; - font-family: 'ForkAwesome'; + font-family: 'Material Icons'; text-rendering: auto; + letter-spacing:normal; + text-transform:none; + display:inline-block; + white-space:nowrap; + word-wrap:normal; + direction:ltr; + /* Support for all WebKit browsers. */ -webkit-font-smoothing: antialiased; + /* Support for Safari and Chrome. */ + text-rendering: optimizeLegibility; + /* Support for Firefox. */ -moz-osx-font-smoothing: grayscale; - content:'\f187'; + /* Support for IE. */ + font-feature-settings: 'liga'; + speak:never; + content:'label'; filter:brightness(200%); } .taxonomy-terms .taxonomy-term, @@ -875,6 +1507,52 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ .tags .tag a{ } +/* Author box */ +.author-title{ + font-size:2.4em; + margin:3em 0 2em 0; +} +.author-information{ + display:-webkit-box; + display:-moz-box; + display:-ms-flexbox; + display:-webkit-flex; + display:-webkit-box; + display:-ms-flexbox; + display:flex; + -webkit-box-orient:horizontal; + -webkit-box-direction:normal; + -ms-flex-flow:row wrap; + flex-flow:row wrap; + max-width:64em; + margin:0 0 3em 0; + -webkit-box-shadow:9px 5px 9px 1px rgba(190, 204, 255, 0.25); + -moz-box-shadow:9px 5px 9px 1px rgba(190, 204, 255, 0.25); + box-shadow:9px 5px 9px 1px rgba(190, 204, 255, 0.25); +} +/* overwrites */ +main > .inner > .author-information{ + max-width:64em; +} +.author-information .author-image{ + display:block; +} +.author-information .author-image img{ + margin:0; +} +.author-information .content{ + padding:0 1.538461538em; + font-size:1.3em; +} +.author-information .content h3:first-child{ + margin-top:1.367521368em; + font-family:'Apax'; + font-weight:normal; +} +.author-information .contacts{ + margin-top:-0.5em; +} + /* search form */ .searchform-enabled .search-form{ position:relative; @@ -921,19 +1599,27 @@ p, table, ul, ol, dl, dt, dd, .columns, img{ width: 1.285714286em; text-align: center; text-indent: 0; - font-family: 'ForkAwesome'; - content:'\f002'; - font-size: 1.4em; + font-family:'Material Icons'; text-rendering: auto; + letter-spacing:normal; + text-transform:none; + display:inline-block; + white-space:nowrap; + word-wrap:normal; + direction:ltr; + /* Support for all WebKit browsers. */ -webkit-font-smoothing: antialiased; + /* Support for Safari and Chrome. */ + text-rendering: optimizeLegibility; + /* Support for Firefox. */ -moz-osx-font-smoothing: grayscale; + /* Support for IE. */ + font-feature-settings: 'liga'; + speak:never; + content:'search'; } .searchform-active .search-form label::before{ - content:'\f00d'; - font-family: 'ForkAwesome'; - text-rendering:auto; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; + content:'close'; } .searchform-enabled .search-form label{ display:block; @@ -1116,16 +1802,21 @@ body{ margin:0 auto; padding:2.1em; } +.single .site-container > .inner{ + padding-left:0; + padding-right:0; +} /* site header */ /* Has 2 Regions inside .inner */ .site-header{ - background:#05050F; - color:#FFFFFF; position:fixed; top:0; left:0; right:0; + background:#FFFFFF url(../img/header-bg-narrow.jpg) 50% 0 no-repeat; + background-size:auto 100%; + border-bottom:1px solid #F3F3F3; z-index:20; } .site-header > .inner{ @@ -1140,7 +1831,7 @@ body{ -ms-flex-pack:center; justify-content:center; max-width:141.5em; - padding:0.3em 2.1em 0.3em 1em; + padding:0 2.1em 0 1em; } .site-header a{ color:#FFFFFF; @@ -1155,12 +1846,12 @@ body{ } .site-logo{ display:block; - padding:1.7em 2.7em 1.6em 2.7em; + background:#FFFFFF; position:relative; z-index:150; } .site-logo img{ - height:1.4em; + height:5em; width:auto; margin:0; } @@ -1238,9 +1929,11 @@ body{ .site-menu{ pointer-events:none; } +/* .site-menu .menu-item-home{ display:none; } +*/ /** * On moblile, header an site-menu have no height. * the next following element gets padding top @@ -1310,7 +2003,7 @@ body{ position: absolute; height: 2px; width: 100%; - background:#FFFFFF; + background:#B3B3B3; opacity: 1; left: 0; -webkit-transform: rotate(0deg); @@ -1322,6 +2015,9 @@ body{ -o-transition: .25s ease-in-out; transition: .25s ease-in-out; } +.site-menu .sideMenu.color-scheme-dark span{ + background:#FFFFFF; +} .site-menu .sideMenu span:nth-child(1) { top: 0px; } @@ -1393,13 +2089,30 @@ body{ overflow:hidden; overflow-y:auto; transition:left ease-in 250ms; - background:#11111B; - color:#FFFFFF; + background:#F9F9F9; -webkit-box-shadow:0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.2); box-shadow:0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.2); pointer-events:all; z-index:50; } +#site-actions .sideMenu::before{ + display:block; + height:5.2em; + width:100%; + position:absolute; + top:0; + left:0; + background:#FFFFFF; + border-bottom:1px solid #F3F3F3; + content:' '; +} +#site-actions .sideMenu.color-scheme-dark{ + background:#11111B; + color:#FFFFFF; +} +#site-actions .sideMenu.color-scheme-dark::before{ + background:#11111B; +} .admin-bar #site-actions .sideMenu{ top:4.6em; } @@ -1412,6 +2125,10 @@ body{ top:0.2em; left:calc(50% - 5.9em); font-size:1em; + padding:0.5em; +} +.sideMenu > .site-logo img{ + height:4em; } .sideMenu > .menu, .sideMenu > .additional{ @@ -1421,13 +2138,15 @@ body{ -webkit-box-sizing:border-box; box-sizing:border-box; } -#site-actions .sideMenu > * + *{ +#site-actions .sideMenu > * + *:not(.site-logo){ padding-top:1.6em; } .sideMenu > .additional > div{ padding:0.8em 1.6em 0.7em 1.6em; } .sideMenu a{ +} +.sideMenu.color-scheme-dark a{ color:#FFFFFF; } .sideMenu .menu-item-user a, @@ -1451,18 +2170,26 @@ body{ padding:0.666666667em 1.333333333em 0.583333333em 1.333333333em; } /* firs level menu items */ +.sideMenu .menu > li{ + padding:0 2em; +} .sideMenu .menu > li + li::before{ display:block; height:1px; - background:#565A7F; + background:#E6E6E6; content:' '; - margin:0 2.1em; +} +.sideMenu.color-scheme-dark .menu > li + li::before{ + background:#565A7F; +} +.sideMenu .menu a{ + padding-left:1em; + padding-right:1em; } .sideMenu .menu > li > a{ - padding-top:1.5em; - padding-bottom:1.428571429em; + padding-top:1em; + padding-bottom:0.928571429em; line-height:1.714285714; - font-family:'Apax'; text-transform:uppercase; font-weight:500; letter-spacing:0.071428571em; @@ -1474,20 +2201,24 @@ body{ .sideMenu .menu > .menu-item-has-children > a::after{ display:block; position:absolute; - background:#FFFFFF; + background:#B3B3B3; content:' '; transition:all ease 250ms; } +.sideMenu.color-scheme-dark .menu > .menu-item-has-children > a::before, +.sideMenu.color-scheme-dark .menu > .menu-item-has-children > a::after{ + background:#FFFFFF; +} .sideMenu .menu > .menu-item-has-children > a::before{ - right:1.5em; - top:2.214285714em; + right:0.2em; + top:1.714285714em; height:2px; width:14px; opacity:1; } .sideMenu .menu > .menu-item-has-children > a::after{ - right:1.928571429em; - top:1.785714286em; + right:0.628571429em; + top:1.285714286em; height:14px; width:2px; } @@ -1509,6 +2240,16 @@ body{ .sideMenu .menu a:hover, .sideMenu .menu a:active, .sideMenu .menu > li.menu-item-has-children:hover > a{ + background:rgba(113, 118, 148, 0.10); + color:#000000; +} + +.color-scheme-dark .site-menu .menu a:hover, +.color-scheme-dark .site-menu .menu a:active, +.color-scheme-dark .site-menu .menu > li.menu-item-has-children:hover > a, +.color-scheme-dark .sideMenu .menu a:hover, +.color-scheme-dark .sideMenu .menu a:active, +.color-scheme-dark .sideMenu .menu > li.menu-item-has-children:hover > a{ background:rgba(113, 118, 148, 0.04); color:#A1A2A5; } @@ -1563,11 +2304,24 @@ body{ position:relative; top:-1px; font-size:0.65em; - content:'\f054'; - font-family:'ForkAwesome'; - text-rendering:auto; + content:'chevron_right'; + font-family:'Material Icons'; + text-rendering: auto; + letter-spacing:normal; + text-transform:none; + display:inline-block; + white-space:nowrap; + word-wrap:normal; + direction:ltr; + /* Support for all WebKit browsers. */ -webkit-font-smoothing: antialiased; + /* Support for Safari and Chrome. */ + text-rendering: optimizeLegibility; + /* Support for Firefox. */ -moz-osx-font-smoothing: grayscale; + /* Support for IE. */ + font-feature-settings: 'liga'; + speak:never; } .site-breadcrumbs li.last::after{ display:none; @@ -1603,7 +2357,9 @@ body{ * * currently only for one sidebar */ - +main{ + background:#F9F9F9; +} /* mains .inner is a flex-container */ main > .inner{ display:-webkit-box; @@ -1617,6 +2373,12 @@ main > .inner{ -ms-flex-pack:justify; justify-content:space-between; } +article#content{ + background:#F9F9F9; +} +.single main > .inner{ + padding-bottom:10em; +} .site-main > .inner{ max-width:138em; } @@ -1637,6 +2399,45 @@ main .content-header{ padding:3em 0; } +.single main article.post, +.single main article.aktivitaet{ + -webkit-border-radius:7px; + border-radius:7px; +} +.single main article.post#content, +.single main article.aktivitaet#content{ + background:#FFFFFF; +} +.aktivitaet-tabs{ + display:none; + position:sticky; + top:0; + margin-bottom:1em; + background:#FFFFFF; + z-index:10; +} +.content-header + .aktivitaet-tabs{ + margin-top:-2em; +} +.aktivitaet-tabs .menu li{ + margin:0; +} +.aktivitaet-tabs .menu a{ + font-size:1em; + text-transform:uppercase; +} +.single-aktivitaet article section:nth-child(2n+1){ + padding:1em; + background:#F9F9F9; + -webkit-border-radius:7px; + border-radius:7px; +} +.single-aktivitaet article section + section{ + margin-top:3em; +} +.single-aktivitaet article section > *:last-child{ + margin-bottom:0; +} .page-template-page-sections article{ display:-webkit-box; display:-ms-flexbox; @@ -1655,9 +2456,7 @@ main .content-header{ background:#05050F; } .page-template-page-sections article.color-scheme-light{ - -webkit-box-shadow:9px 5px 9px 1px rgba(190, 204, 255, 0.25); - -moz-box-shadow:9px 5px 9px 1px rgba(190, 204, 255, 0.25); - box-shadow:9px 5px 9px 1px rgba(190, 204, 255, 0.25); + /* border-bottom:1px solid #F3F3F3; */ } .page-template-page-sections article.color-scheme-light + article.color-scheme-light{ margin-top:2.4em; @@ -1670,7 +2469,8 @@ main .sections-header > .inner{ } main .section-header .title, main .content-header .title, -main .sections-header .title{ +main .sections-header .title, +.content-footer .widget > .inner > .title{ font-size:2.8em; line-height:1.15; text-transform:uppercase; @@ -1678,7 +2478,7 @@ main .sections-header .title{ main .sections-header .title{ display:inline-block; position:relative; - border:1px solid #05050F; + border:1px solid #6A6A6A; margin:0; padding:0.5em 1em 0.857142857em 1em; } @@ -1696,7 +2496,6 @@ main .sections-header .title::after{ content:' '; pointer-events:none; z-index:5; - } main .sections-header .title::before{ top:-1px; @@ -1744,7 +2543,7 @@ main .sections-header .title > span::after{ .single main .content-header .title, .page-template-page-sections main .content-header .title, .page-template-page-alternate main .content-header .title{ - font-size:2.153846154em; + font-size:2em; } .single main .content-header .title, .page-template-page-alternate main .content-header .title{ @@ -1752,7 +2551,8 @@ main .sections-header .title > span::after{ } main .section-header .intro, main .content-header .intro{ - font-size:2em; + margin-top:2em; + font-size:1.6em; font-weight:300; } main .section-header .intro p:last-child, @@ -1766,19 +2566,42 @@ main .content-header .intro p:last-child{ font-size:1.125em; text-transform:none; } +.single main .content-header .meta + .intro{ + margin-top:0; + margin-bottom:2em; +} +main .content-header .subheadline{ + margin-top:2em; +} .page-template-page-sections article .subheadline p{ margin:0; font-size:1.125em; } +main .section-header .intro + .content, +main .content-header .intro + .content{ + margin-top:1em; +} +main .content-header .intro + .meta, +main .content-header .meta + .content{ + margin-top:1em; +} .page-template-page-sections article > .post-thumbnail{ order:3; } .page-template-page-sections article.color-scheme-dark.thumbnail-has-shadow .post-thumbnail{ + -webkit-box-shadow: -12px -12px 23px rgba(86, 90, 127, 0.358747), 14px 14px 25px rgba(255, 255, 255, 0.16); box-shadow: -12px -12px 23px rgba(86, 90, 127, 0.358747), 14px 14px 25px rgba(255, 255, 255, 0.16); } .page-template-page-sections article.color-scheme-light.thumbnail-has-shadow .post-thumbnail{ + -webkit-box-shadow: -12px -12px 23px rgba(255, 255, 255, 0.358747), 14px 14px 25px rgba(13, 39, 80, 0.16); box-shadow: -12px -12px 23px rgba(255, 255, 255, 0.358747), 14px 14px 25px rgba(13, 39, 80, 0.16); } +.page-template-page-sections article.color-scheme-dark.thumbnail-has-border .post-thumbnail{ + border:1px solid #FFFFFF; +} +.page-template-page-sections article.color-scheme-light.thumbnail-has-border .post-thumbnail{ + border:1px solid #F3F3F3; +} .page-template-page-sections article > .benefits{ order:4; @@ -1802,6 +2625,10 @@ main .content-header .intro p:last-child{ align-items:center; padding:8em 0; } +.home.page-template-page-sections #content > .benefits{ + padding-top:0; + margin-top:-2em; +} .benefits .term-benefit{ -ms-flex-preferred-size:100%; flex-basis:100%; @@ -1815,6 +2642,26 @@ main .content-header .intro p:last-child{ .color-scheme-dark .benefits .term-benefit{ border-color:#FFFFFF; } +.home #content .benefits{ + -webkit-box-orient:horizontal; + -webkit-box-direction:normal; + -webkit-flex-flow:row wrap; + -moz-box-orient:horizontal; + -moz-box-direction:normal; + -ms-flex-flow:row wrap; + flex-flow:row wrap; + -webkit-box-pack:center; + -ms-flex-pack:center; + justify-content:center; +} +.home #content .benefits .term-benefit{ + -ms-flex-preferred-size:calc(50% - 2em); + flex-basis:calc(50% - 2em); + width:calc(50% - 2em); + border:none; + padding:1em; + max-width:15em; +} .benefits .term-benefit + .term-benefit{ border-width:1px 0; } @@ -1854,6 +2701,9 @@ main aside .widget:first-child:not(.search-form){ main aside .widget + .widget{ margin-top:3em; } +main aside.region-highlighted .widget:first-child{ + padding-top:0; +} main aside .widget > .inner{ margin:1.5em 0 0 0; padding:0 0 0.5em 0; @@ -1889,7 +2739,7 @@ main aside .widget_categories ul ul{ } main aside .menu > li, main aside .widget_categories ul > li{ - border:1px solid #CDCFDA; + border:1px solid #F3F3F3; margin-bottom:0.7em; } main aside .menu ul li:last-child, @@ -1904,7 +2754,7 @@ main aside .widget_categories a{ font-size:1.3em; line-height:1.166666667; font-weight:normal; - border:1px solid #CDCFDA; + border:1px solid #F3F3F3; } /* only first level */ main aside .menu > li > a::after{ @@ -1914,16 +2764,32 @@ main aside .menu > li > a::after{ top:2.5em; font-size:0.666666667em; line-height:1; - font-weight:normal; - font-family:'ForkAwesome'; - content:'\F077'; - -webkit-transition:transform 300ms ease; - -moz-transition:transform 300ms ease; - -ms-transition:transform 300ms ease; - -o-transition:transform 300ms ease; - transition:transform 300ms ease; -} -main aside .menu > li.opened > a::after{ + font-family:'Material Icons'; + text-rendering: auto; + letter-spacing:normal; + text-transform:none; + display:inline-block; + white-space:nowrap; + word-wrap:normal; + direction:ltr; + /* Support for all WebKit browsers. */ + -webkit-font-smoothing: antialiased; + /* Support for Safari and Chrome. */ + text-rendering: optimizeLegibility; + /* Support for Firefox. */ + -moz-osx-font-smoothing: grayscale; + /* Support for IE. */ + font-feature-settings: 'liga'; + speak:never; + font-weight:normal; + content:'expand_more'; + -webkit-transition:transform 300ms ease; + -moz-transition:transform 300ms ease; + -ms-transition:transform 300ms ease; + -o-transition:transform 300ms ease; + transition:transform 300ms ease; +} +main aside .menu > li.opened > a::after{ -moz-transform:rotate(180deg); -webkit-transform:rotate(180deg); -o-transform:rotate(180deg); @@ -1942,11 +2808,15 @@ main aside .menu a:active{ } main aside .menu .current-menu-item > a, main aside .menu .current-menu-ancestor > a, +main aside .menu .current_page_ancestor > a, +main aside .menu .current_page_parent > a, main aside .menu a.is-active-trail, main aside .menu a.is-active{ } main aside .menu .current-menu-ancestor > a:not(:hover):not(:active), main aside .menu .current-menu-item > a:not(:hover):not(:active), +main aside .menu .current_page_ancestor > a:not(:hover):not(:active), +main aside .menu .current_page_parent > a:not(:hover):not(:active), main aside .menu a.is-active-trail:not(:hover):not(:active), main aside .menu a.is-active:not(:hover):not(:active){ background:none; @@ -1955,10 +2825,13 @@ main aside .menu .current-menu-item > a, main aside .menu a.is-active{ } main aside .menu .current-menu-item > a, +main aside .menu .current_page_parent > a, main aside .menu a.is-active{ filter:none; } main aside .menu .current-menu-ancestor > a, +main aside .menu .current_page_ancestor > a, +main aside .menu .current_page_parent > a, main aside .menu a.is-active-trail{ font-weight:600; } @@ -1968,6 +2841,8 @@ main aside .menu .menu-item-has-children:hover > a::before{ transform:rotate(90deg); } main aside .menu .current-menu-ancestor > a, +main aside .menu .current_page_ancestor > a, +main aside .menu .current_page_parent > a, main aside .menu a.is-active-trail{ } @@ -1975,7 +2850,7 @@ main aside .menu a.is-active-trail{ main aside .menu ul{ padding:0; margin:0; - border-top:1px solid #CDCFDA; + border-top:1px solid #F3F3F3; /* display:none; */ } main aside .current-menu-ancestor > ul, @@ -2011,7 +2886,7 @@ main aside .menu ul a.is-active{ -ms-flex-flow:row wrap; flex-flow:row wrap; -webkit-box-pack:center; - -ms-flex-pack:center; + -ms-flex-pack:center;input.data:required justify-content:center; } .has-content-sidebar .articles > .inner, @@ -2023,43 +2898,65 @@ main aside .menu ul a.is-active{ .articles article{ margin:2em 0; padding:3em 2em 2em 2em; - -webkit-box-shadow:20px 12px 19px 3px rgba(190, 204, 255, 0.25); - box-shadow:20px 12px 19px 3px rgba(190, 204, 255, 0.25); + -webkit-border-radius:7px; + border-radius:7px; + background:#FFFFFF; } -.articles article.team{ +.articles article .post-thumbnail{ + -webkit-border-radius:7px 7px 0 0; + border-radius:7px 7px 0 0; +} +.articles article.team, +.articles article.post, +.articles article.aktivitaet, +.articles article.news{ margin-left:2em; margin-right:2em; padding:0; } -.articles article.post{ - padding-bottom:1em; +.articles article.post, +.articles article.aktivitaet, +.articles article.news{ + position:relative; } -.articles article.post .post-thumbnail{ +.articles article.post .post-thumbnail, +.articles article.aktivitaet .post-thumbnail{ margin-bottom:2em; } -.page-team .site-main{ +.page-team .site-main, +.page-news .site-main, +.blog .site-main, +.archive .site-main{ overflow:hidden; } -.page-team .articles > .inner{ +.page-team .articles > .inner, +.page-news .articles > .inner, +.blog .articles > .inner, +.archive .articles > .inner{ margin-left:-2.2em; margin-right:-2.1em; } -article.team .content{ +article.team .content, +article.post .content, +article.aktivitaet .content, +article.news .content{ font-size:1.4em; - padding:1.5em 2.142857143em 1.5em 0.71428571em; + padding:1.5em 0.71428571em; } -article.team .content > *:last-child{ +article.team .content > *:last-child, +article.post .content > *:last-child, +article.aktivitaet .content > *:last-child,, +article.news .content > *:last-child{ margin-bottom:0; } article.team .content h2{ - font-size:1em; + font-size:1.5em; margin-bottom:0; } - article.team .content p{ +article.team .content p{ margin-bottom:0.8em; } -article.team .content .position{ - font-family:'Apax'; +.content .position{ margin-bottom:2em; } .articles article.faq{ @@ -2076,14 +2973,6 @@ article.faq .content{ margin:0; line-height:2.1875; } -article.post a:link, -article.post a:visited{ - text-decoration-color:#A1A2A5; -} -article.post a:hover, -article.post a:active{ - text-decoration-color:inherit; -} /** * Sidebars @@ -2096,9 +2985,23 @@ article > .content-after > .inner{ } article > .content-after{ } -article > .sidebar form{ +main aside .textwidget{ padding:1.714285714em; - border:1px solid #F3F3F3; + -webkit-box-shadow:9px 5px 9px 1px rgba(190, 204, 255, 0.25); + -moz-box-shadow:9px 5px 9px 1px rgba(190, 204, 255, 0.25); + box-shadow:9px 5px 9px 1px rgba(190, 204, 255, 0.25); +} +main aside .widget.no-style .textwidget{ + padding:0; + -webkit-box-shadow:none; + -moz-box-shadow:none; + box-shadow:none; +} +main aside .color-scheme-dark .textwidget{ + padding:1.714285714em; + border:none; +} +article > .sidebar form{ } /** @@ -2117,7 +3020,6 @@ article > .sidebar form{ line-height:2.1875em; } .content-footer .contact-footer{ - font-family:'Apax'; font-size:0.857142857em; letter-spacing:0.1em; } @@ -2133,7 +3035,7 @@ article > .sidebar form{ color:#A1A2A5; } .color-scheme-dark .contact-footer::before{ - background-color:#E9533F; + background-color:#B60054; } .color-scheme-dark .contact-footer a:not(.button):link, .color-scheme-dark .contact-footer a:not(.button):visited{ @@ -2145,11 +3047,15 @@ article > .sidebar form{ * Site Footer */ .site-footer{ + background:#FFFFFF url(../img/footer-bg-narrow.jpg) 50% 100% no-repeat; + background-size:contain; + border-top:1px solid #F3F3F3; } .site-footer > .inner{ max-width:144.5em; /* padding:0.3em 2.1em 0.3em 1em; */ padding:3.5em 0; + background:rgba(255, 255, 255, 0.75); } /* cyber essentials */ @@ -2161,6 +3067,10 @@ article > .sidebar form{ display:inline-block; padding:0; } +/* copyright notice */ +.site-footer .site-logo + p{ + font-size:0.916666667em; +} /* footer-bar */ .site-footer .region{ @@ -2175,12 +3085,29 @@ article > .sidebar form{ } .site-footer .textwidget{ font-size:1.2em; + padding:0.5em; } .site-footer .widget_text{ - color:#A1A2A5; text-align:center; padding:0 1em; } +.site-footer .widget#custom_html-3{ + max-width:30em; +} +.site-footer.color-scheme-dark .widget_text{ + color:#A1A2A5; +} +.site-footer .widget > *{ + background:rgba(255, 255, 255, 0.5); +} +.footer-bar .footer-full-width{ + -ms-flex-preferred-size:100%; + flex-basis:100%; + width:100%; +} +.footer-bar .footer-full-width .widget_text{ + text-align:center; +} .footer-bar .widget + .widget{ margin-top:0; } @@ -2199,18 +3126,6 @@ article > .sidebar form{ -ms-flex-pack:justify; justify-content:space-between; } -.site-footer .menu{ - display:-webkit-box; - display:-ms-flexbox; - display:flex; - -webkit-box-orient:horizontal; - -webkit-box-direction:normal; - -ms-flex-flow:row wrap; - flex-flow:row wrap; - -webkit-box-pack:justify; - -ms-flex-pack:justify; - justify-content:space-between; -} .site-footer .footer-bar .menu{ -webkit-box-pack:center; -ms-flex-pack:center; @@ -2218,6 +3133,7 @@ article > .sidebar form{ } .site-footer .menu ul{ border:none; + background:none; } .site-footer .menu ul ul{ display:none; @@ -2229,6 +3145,7 @@ article > .sidebar form{ .site-footer .menu > li{ display:block; } +.site-footer #menu-footer-de > li, .site-footer #menu-footer-en > li{ margin:2.1em 0; -ms-flex-preferred-size:45%; @@ -2240,29 +3157,39 @@ article > .sidebar form{ position:relative; } .site-footer a{ - color:#FFFFFF; font-size:1.2em; } +.site-footer.color-scheme-dark a{ + color:#FFFFFF; +} .site-footer .menu a:hover, .site-footer .menu a:active{ + background:rgba(255, 255, 255, 0.75); + color:#000000; +} +.site-footer.color-scheme-dark .menu a:hover, +.site-footer.color-scheme-dark .menu a:active{ background:#13131C; color:#FFFFFF; } .site-footer .menu .current-menu-ancestor > a, .site-footer .menu .current-menu-item > a, +.site-footer .menu .current_page_ancestor > a, +.site-footer .menu .current_page_parent > a, .site-footer .menu .sub-menu .current-menu-ancestor > a, -.site-footer .menu .sub-menu .current-menu-item > a{ +.site-footer .menu .sub-menu .current-menu-item > a, +.site-footer .menu .sub-menu .current_page_ancestor > a, +.site-footer .menu .sub-menu .current_page_parent > a{ + background:rgba(113, 118, 148, 0.05); color:inherit; } /* first site-menu level only */ .site-footer .menu > li > a{ text-transform:uppercase; - font-family:'Apax'; font-weight:500; letter-spacing:0.071428571em; } .site-footer .sub-menu a{ - color:#A1A2A5; } /* reset general region rules for user menu */ .site-footer .menu-item-user a, @@ -2291,123 +3218,6 @@ article > .sidebar form{ .site-footer .menu li + li a{ } -/** - * Help Region - */ -.region-help{ - position:fixed; - top:0; - left:0; - height:100%; - width:100%; - z-index:150; - pointer-events:none; -} -.messages-list{ - margin-bottom:2em; -} -.region-help .messages-list{ - pointer-events:all; - position:absolute; - left:0; - top:36vh; - margin:0; -} -.messages-list .messages{ - position:relative; - padding-left:3em; - font-size:1.4em; - border:1px solid #F5F6F7; - -webkit-border-radius:2px; - border-radius:2px; -} -.region-help .messages-list .messages{ - -webkit-border-radius: 0 2px 2px 0; - border-radius: 0 2px 2px 0; - -webkit-box-shadow: 0 2px 4px -1px rgba(0,0,0,0.25); - box-shadow: 0 2px 4px -1px rgba(0,0,0,0.25); -} -.messages-list .messages--status{ - border-color:#77B259; - color:#325E1C; - background:#F3FAEF; -} -.messages-list .messages--warning{ - border-color:#E09600; - color:#734C00; - background:#FDF8ED; -} -.messages-list .messages--error{ - border-color:#E62600; - color:#A51B00; - background:#FCF4F2; -} -.messages-list .messages .title{ - text-indent:-9999em; - position:absolute; - left:0; - top:0; - width:3.2em; - height:100%; - margin:0; - font-size:1em; - overflow:hidden; -} -.region-help .messages-list .messages .title{ - -webkit-border-radius: 0 2px 2px 0; - border-radius: 0 2px 2px 0; -} -.messages-list .messages .title::before{ - display:block; - position:absolute; - left:0; - top:0; - height:100%; - width:100%; - padding:1.083333333em 0; - text-align:center; - text-indent:0; - font-family:'ForkAwesome'; - text-rendering:auto; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - color:#FFFFFF; -} -.messages-list .messages--status .title::before{ - content:'\f00c'; - background:#77B259; -} -.messages-list .messages--warning .title::before{ - content:'\f071'; - background:#E09600; - -} -.messages-list .messages--error .title::before{ - content:'\f057'; - background:#FCF4F2; -} -.messages-list .messages .title + *{ - padding:1.071428571em 1.285714286em; -} -.region-help .messages-list .messages .title + *{ - margin-left:-50vw; - max-width:50vw; - transition:margin ease 350ms; - -webkit-animation:hide-messages 350ms ease-in-out 4000ms forwards; - -moz-animation:hide-messages 350ms ease-in-out 4000ms forwards; - -o-animation:hide-messages 350ms ease-in-out 4000ms forwards; - animation:hide-messages 350ms ease-in-out 4000ms backwards; -} -.messages-list:hover .messages .title + *{ - margin-left:0; -} -.messages-list .messages p, -.messages-list .messages ul, -.messages-list .messages li{ - margin-bottom:0; -} - - /** * Media query:min-width:321px */ @@ -2447,6 +3257,30 @@ article > .sidebar form{ padding-left:3.388888889em; padding-right:3.388888889em; } + .inputs.has-ranges{ + display:-webkit-box; + display:-moz-box; + display:-ms-flexbox; + display:-webkit-flex; + display:-webkit-box; + display:-ms-flexbox; + display:flex; + -webkit-box-orient:horizontal; + -webkit-box-direction:normal; + -ms-flex-flow:row wrap; + flex-flow:row wrap; + -webkit-box-pack:justify; + -ms-flex-pack:justify; + justify-content:space-between; + } + .inputs.has-ranges > h3{ + -ms-flex-preferred-size:100%; + flex-basis:100%; + } + .inputs.has-ranges > p{ + -ms-flex-preferred-size:48%; + flex-basis:48%; + } } /** @@ -2455,15 +3289,100 @@ article > .sidebar form{ * breakpoint where the single column mobile layout splits into more columns */ @media all and ( min-width:600px ) { + .content .boxes .box{ + -ms-flex-preferred-size:calc(50% - 2em); + flex-basis:calc(50% - 2em); + } + .content .boxes .box:nth-child(5n){ + -ms-flex-preferred-size:100%; + flex-basis:100%; + width:100%; + display:-webkit-box; + display:-moz-box; + display:-ms-flexbox; + display:-webkit-flex; + display:-webkit-box; + display:-ms-flexbox; + display:flex; + -webkit-box-orient:horizontal; + -webkit-box-direction:normal; + -ms-flex-flow:row wrap; + flex-flow:row wrap; + -webkit-box-align:center; + -webkit-align-items:center; + -moz-box-align:center; + -ms-flex-align:center; + align-items:center; + } + .content .boxes .box:nth-child(5n) img{ + margin-right:5em; + margin-bottom:0; + -ms-flex-preferred-size:33%; + flex-basis:33%; + max-width:33%; + } + .content .boxes .box:nth-child(5n) > .inner{ + -ms-flex-preferred-size:50%; + flex-basis:50%; + padding:1em 0; + } .articles > .inner > *{ -ms-flex-preferred-size:50%; flex-basis:50%; max-width:calc(50% - 4em); } + .articles > .inner > article.team, + .articles > .inner > article.post, + .articles > .inner > article.aktivitaet, + .articles > .inner > article.news{ + -ms-flex-preferred-size:100%; + flex-basis:100%; + max-width:calc(100% - 4em); + } .has-content-sidebar .articles > .inner > *, .has-content-sidebars .articles > .inner > *{ max-width:100%; } + .home #content .benefits .term-benefit{ + -ms-flex-preferred-size:15em; + flex-basis:15em; + width:15em; + margin:2em; + } + .single-aktivitaet article section:nth-child(2n+1){ + padding:2em; + } +} + +/** + * Media query:min-width:680px + * + * breakpoint where other single column mobile layout splits into more columns + */ +@media all and ( min-width:680px ) { + .related-posts .related-post{ + -ms-flex-preferred-size:32.3em; + flex-basis:32.3em; + max-width:32.3em; + } + .author-information .author-image{ + -ms-flex-preferred-size:50%; + flex-basis:50%; + max-width:31em; + } + .author-information .content{ + -ms-flex-preferred-size:50%; + flex-basis:50%; + max-width:22.307692308em; + } + .inputs.has-ranges > p{ + -ms-flex-preferred-size:60%; + flex-basis:60%; + } + .inputs.has-ranges > p:nth-child(2n+1){ + -ms-flex-preferred-size:36%; + flex-basis:36%; + } } /** @@ -2472,24 +3391,48 @@ article > .sidebar form{ * breakpoint where the single column mobile layout splits into more columns */ @media all and ( min-width:768px ) { + article.section .wp-block-video video{ + max-width:300px; + } .button, .tagcloud a{ display:inline-block; text-align:inherit; } + .sidebar .textwidget .button{ + display:block; + text-align:center; + } .button + .button{ margin-top:0; margin-left:2em; } + .wp-pagenavi{ + text-align:center; + } .tagcloud{ margin:0 -1em; } + .aktivitaet-tabs{ + display:block; + } + .region-highlighted .tagcloud{ + margin-top:-1em; + margin-bottom:6em; + } .tagcloud a, .tagcloud a + a{ margin:1em; } - table .views-field-title{ - min-width:50%; + .single .content h2, + .single .content h3, + .single .content h4{ + margin-top:5em; + } + .single .content h2:first-child, + .single .content h3:first-child, + .single .content h4:first-child{ + margin-top:0; } .admin-bar #site-actions .sideMenu{ top:3.2em; @@ -2497,12 +3440,13 @@ article > .sidebar form{ .articles article{ padding:6em; } + .articles article .post-thumbnail{ + -webkit-border-radius:7px 0 0 7px; + border-radius:7px 0 0 7px; + } .articles article.faq{ padding-bottom:2.9em; } - .articles article.post{ - padding-bottom:5em; - } article#content{ } .has-content-sidebar #content{ @@ -2524,12 +3468,19 @@ article > .sidebar form{ -ms-flex-align:center; align-items:center; } + .page-template-page-sections article.no-post-thumbnail .content-header, .page-template-page-sections article.no-post-thumbnail{ - -webkit-box-pack:start; - -webkit-justify-content:flex-start; - -moz-box-pack:start; - -ms-flex-pack:start; - justify-content:flex-start; + text-align:center; + } + .page-template-page-sections article.no-post-thumbnail > .inner > *{ + margin-right:0; + } + .page-template-page-sections article.no-post-thumbnail > .content > .boxes{ + margin-left:-1em; + margin-right:-1em; + } + .page-template-page-compatible-devices article > .content{ + text-align:center; } main .sections-header > .inner{ padding-top:3em; @@ -2557,12 +3508,15 @@ article > .sidebar form{ .single article > .inner{ max-width:137em; } + .page-template-page-sections article.no-post-thumbnail > .inner{ + max-width:85.625em; + } .has-content-sidebar #content > .sidebar{ } .page-template-page-sections article > .post-thumbnail, .page-template-page-sections article > .inner{ - -ms-flex-preferred-size:50%; - flex-basis:50%; + -ms-flex-preferred-size:49%; + flex-basis:49%; max-width:43.125em; } .page-template-page-sections article > .post-thumbnail{ @@ -2613,7 +3567,9 @@ article > .sidebar form{ padding:0 2em; } .page-template-page-sections article.image-position-before > .content > *{ - padding-left:5em; + padding-right:0; + } + .page-template-page-sections article.image-position-after > .content > *{ padding-right:0; } .page-template-page-sections article.image-position-before > .content > hr{ @@ -2626,11 +3582,39 @@ article > .sidebar form{ flex-basis:55%; max-width:55%; } - article > .inner > *{ - padding-right:5em; + article > .inner > *, + .page-template-page-sections article.no-post-thumbnail > .inner > *{ + } - article > .inner > .post-thumbnail{ - padding-right:0; + .single article > .inner > *, + .page-template-default article > .inner > *, + .page-template-page-compatible-devices article > .inner > *, + .page-template-page-sections article.no-post-thumbnail > .inner > *, + main .section-header{ + margin-left:5em; + } + article > .inner > h2{ + margin-right:3.333333333em; + } + article > .inner > h3{ + margin-right:4.444444444em; + } + .single article > .inner > h2, + .page-template-default article > .inner > h2, + .page-template-page-compatible-devices article > .inner > h2{ + margin-left:3.333333333em; + } + .single article > .inner > h3, + .page-template-default article > .inner > h3, + .page-template-page-compatible-devices article > .inner > h3{ + margin-left:4.444444444em; + } + article > .platform > .title, + .page-template-page-sections article.image-position-before > .content > *{ + margin-right:0; + } + article > .platform > .devices{ + margin-right:-2em; } #content > .sidebar{ -ms-flex-preferred-size:45%; @@ -2658,9 +3642,68 @@ article > .sidebar form{ .blog main aside .widget:first-child > .inner, .archive main aside .widget:first-child > .inner, .single main aside .widget:first-child > .inner, - .page-template-page-alternate main aside .widget:first-child > .inner{ + .page-template-page-alternate main aside .widget:first-child > .inner, + .page-template-page-news main aside .widget:first-child > .inner{ margin-top:1.5em; } + .blog main aside.region-highlighted .widget:first-child > .inner, + .archive main aside.region-highlighted .widget:first-child > .inner{ + margin-top:0; + } + .page-contact main aside .widget:first-child > .inner{ + margin-top:0.1em; + } + .articles article.team > .inner, + .articles article.post > .inner, + .articles article.aktivitaet > .inner, + .articles article.news > .inner{ + display:-webkit-box; + display:-ms-flexbox; + display:flex; + -webkit-box-orient:horizontal; + -webkit-box-direction:normal; + -ms-flex-flow:row wrap; + flex-flow:row wrap; + -webkit-box-pack:center; + -ms-flex-pack:center; + justify-content:center; + height:100%; + } + .articles article.team > .inner > *, + .articles article.post > .inner > *, + .articles article.aktivitaet > .inner > *, + .articles article.news > .inner > *{ + -ms-flex-preferred-size:calc(50% - 1.6em); + flex-basis:calc(50% - 1.6em); + max-width:calc(50% - 1.6em); + -webkit-box-sizing:border-box; + box-sizing:border-box; + margin:0; + } + .articles article .post-thumbnail{ + background-position:50% 40%; + background-size:cover; + background-repeat:none; + } + .articles article.team .post-thumbnail, + .articles article.post .post-thumbnail, + .articles article.aktivitaet .post-thumbnail, + .articles article.news .post-thumbnail{ + margin-right:1.6em; + } + .articles article .post-thumbnail[style] > img{ + opacity:0; + } + .articles article.team .content, + .articles article.post .content, + .articles article.aktivitaet .content, + .articles article.news .content{ + padding-left:0; + margin-left:1.142857143em; + -ms-flex-preferred-size:calc(50% - 1.142857143em); + flex-basis:calc(50% - 1.142857143em); + max-width:calc(50% - 1.142857143em); + } } /** @@ -2675,15 +3718,24 @@ article > .sidebar form{ .content .button, .content .tagcloud a { font-size:0.75em; } - .content .meta { font-size:0.75em; } .content-footer .contact-footer { font-size:0.75em; } - .inputs .privacy { font-size:0.857142857em; } + .inputs .hint { font-size:0.857142857em; } + .privacy { font-size:0.857142857em; } .wpcf7 .wpcf7-form .wpcf7-response-output { font-size:1.142857143em; } - main aside .title { font-size:1.6em; } main aside .menu a { font-size:1.8em; } + .inputs .radio .wpcf7-radio{ + display:-webkit-box; + display:-ms-flexbox; + display:flex; + -webkit-box-align:stretch; + -ms-flex-align:stretch; + align-items:stretch; + margin-left:-0.5em; + margin-right:-0.5em; + } .blackout{ display:none; } @@ -2699,20 +3751,14 @@ article > .sidebar form{ } .page-template-page-sections article, .sections-header > .inner, - .site-main > .inner{ + .site-main > .inner, + .site-container > .inner, + .single .site-container > .inner{ padding-left:3.6em; padding-right:3.6em; } - .page-template-page-sections .site-main > .inner{ + .page-template-page-sections .site-m.site-header > .innerain > .inner{ - } - .page-template-page-sections article.image-position-before > .content > *{ - padding-left:10.625em; - } - .page-template-page-sections article.image-position-before > .content > hr{ - padding-left:0; - margin-left:10.625em; - width:33%; } .site-header{ position:static; @@ -2720,17 +3766,20 @@ article > .sidebar form{ left:auto; right:auto; } + /* site headers .inner is a flex-container */ .site-header > .inner{ -webkit-box-pack:justify; -ms-flex-pack:justify; justify-content:space-between; - padding-top:1em; - padding-bottom:1em; + padding-top:0.9em; + padding-bottom:0; } .site-header .site-logo img{ - height:2.4em; + height:8em; + margin-bottom:2em; } + /* all regions inside .site-header */ .site-header .region{ -webkit-box-flex:1; @@ -2789,7 +3838,7 @@ article > .sidebar form{ justify-content:flex-end; } .header-bar .menu > li, - .site-footer .menu > li{ + .site-footer .menu > li.menu-item-home{ white-space:nowrap; } .site-footer .menu > li{ @@ -2814,15 +3863,25 @@ article > .sidebar form{ .toolbar-fixed .site-menu + *, .site-header + :not(.site-menu), .site-menu + *{ - padding-top:0; + padding-top:1em; + } + /* only for sticky header + .toolbar-fixed .site-header + :not(.site-menu), + .toolbar-fixed .site-menu + *, + .site-header + :not(.site-menu), + .site-menu + *{ + padding-top:7.7em; } + */ .site-menu{ - padding:0; + padding:60px 0 0 0; margin-bottom:0; position:absolute; top:0; width:100%; z-index:20; + border-bottom:1px solid #F3F3F3; + background:rgba(255, 255, 255, 0.75); } .admin-bar .site-menu{ top:3.2em; @@ -2837,13 +3896,14 @@ article > .sidebar form{ } .site-menu a{ pointer-events:all; + } + .color-scheme-dark .site-menu a{ color:#FFFFFF; } /* first site-menu level only */ .site-menu .menu > li > a{ - padding:1.928571429em 1.285714286em 1.857142857em 1.285714286em; + padding:1em 1.285714286em; text-transform:uppercase; - font-family:'Apax'; font-weight:500; } .site-menu .menu ul{ @@ -2851,8 +3911,19 @@ article > .sidebar form{ position:absolute; left:-9999em; padding:1.3em 0; - z-index:60; min-width:200px; + z-index:60; + } + .site-menu .menu ul::before{ + display:block; + position:absolute; + top:-1px; + left:-1px; + height:2px; + width:calc(100% + 2px); + background:#FFFFFF; + pointer-events:none; + content:' '; } /* relative container for absolute positioning of .sub-menu elements */ .site-menu .menu li{ @@ -2876,26 +3947,52 @@ article > .sidebar form{ } main .section-header .title, main .content-header .title, - main .sections-header .title{ - font-size:4.8em; - } - .page-template-page-sections main .content-header .title{ - font-size:3em; + main .sections-header .title, + .content-footer .widget > .inner > .title{ + font-size:4em; } .single main .content-header .title, .page-template-page-alternate main .content-header .title{ - font-size:3.428571429em; + font-size:2.5em; } .has-content-sidebar #content > .inner{ -ms-flex-preferred-size:61%; flex-basis:61%; max-width:61%; } - article > .inner > *{ - padding-right:5em; + article > .inner > *, + .page-template-page-sections article.no-post-thumbnail > .inner > *, + main .section-header{ + margin-right:5em; } - article > .inner > .post-thumbnail{ - padding-right:0; + .page-template-page-sections article.image-position-before > .inner > *{ + margin-left:5em; + } + .single article > .inner > *, + .page-template-default article > .inner > *, + .page-template-page-compatible-devices article > .inner > *, + .page-template-page-sections article.no-post-thumbnail > .inner > *, + main .section-header{ + margin-left:5em; + } + article > .inner > h2{ + margin-right:3.333333333em; + } + article > .inner > h3{ + margin-right:4.444444444em; + } + .single article > .inner > h2, + .page-template-default article > .inner > h2, + .page-template-page-compatible-devices article > .inner > h2{ + margin-left:3.333333333em; + } + .single article > .inner > h3, + .page-template-default article > .inner > h3, + .page-template-page-compatible-devices article > .inner > h3{ + margin-left:4.444444444em; + } + .page-template-page-sections article.image-position-before > .content > *{ + margin-right:0; } #content > .sidebar{ -ms-flex-preferred-size:39%; @@ -2934,51 +4031,19 @@ article > .sidebar form{ flex-basis:100%; max-width:100%; } - .page-team .articles > .inner{ + .page-team .articles > .inner, + .page-news .articles > .inner, + .blog .articles > .inner, + .archive .articles > .inner{ margin-left:-4.2em; margin-right:-4.1em; } - .articles article.team{ + .articles article.team, + .articles article.post, + .articles article.aktivitaet, + .articles article.news,{ max-width:68.3em; } - .articles article.team > .inner{ - display:-webkit-box; - display:-ms-flexbox; - display:flex; - -webkit-box-orient:horizontal; - -webkit-box-direction:normal; - -ms-flex-flow:row wrap; - flex-flow:row wrap; - -webkit-box-pack:center; - -ms-flex-pack:center; - justify-content:center; - height:100%; - } - .articles article.team > .inner > *{ - -ms-flex-preferred-size:calc(50% - 1.6em); - flex-basis:calc(50% - 1.6em); - max-width:calc(50% - 1.6em); - -webkit-box-sizing:border-box; - box-sizing:border-box; - } - .articles article .post-thumbnail{ - background-position:50% 50%; - background-size:cover; - background-repeat:none; - } - .articles article.team .post-thumbnail{ - margin-right:1.6em; - } - .articles article .post-thumbnail[style] > img{ - opacity:0; - } - .articles article.team .content{ - padding-left:0; - margin-left:1.142857143em; - -ms-flex-preferred-size:calc(50% - 1.142857143em); - flex-basis:calc(50% - 1.142857143em); - max-width:calc(50% - 1.142857143em); - } .site-footer > .inner{ display:-webkit-box; display:-moz-box; @@ -2995,11 +4060,17 @@ article > .sidebar form{ -ms-flex-pack:justify; justify-content:space-between; } + .site-footer > .inner > .widget{ + -ms-flex-preferred-size:30%; + flex-basis:30%; + max-width:30%; + } .site-footer > .inner > .widget_nav_menu{ - -ms-flex-preferred-size:85%; - flex-basis:85%; - max-width:85%; + -ms-flex-preferred-size:60%; + flex-basis:60%; + max-width:60%; } + .site-footer #menu-footer-de > li, .site-footer #menu-footer-en > li{ margin-top:0; margin-bottom:0; @@ -3025,10 +4096,19 @@ article > .sidebar form{ -webkit-box-direction:normal; -ms-flex-flow:row wrap; flex-flow:row wrap; + -webkit-box-pack:center; + -ms-flex-pack:center; + justify-content:center; } .footer-bar .widget_text{ text-align:left; } + .footer-bar .footer-full-width .widget_text{ + text-align:center; + } + .hide-placeholder-in-mobile{ + display:block; + } } /** @@ -3037,6 +4117,21 @@ article > .sidebar form{ * Displays medium desktop pages (eg resolution: 1280x1024) */ @media screen and (min-width:1200px){ + .content .boxes .box{ + -ms-flex-preferred-size:calc(25% - 2em); + flex-basis:calc(25% - 2em); + } + .page-template-page-sections main .content-header .title{ + font-size:2.5em; + } + .page-template-page-sections article.image-position-before > .content > *{ + margin-left:10.625em; + } + .page-template-page-sections article.image-position-before > .content > hr{ + margin-left:0; + margin-left:10.625em; + width:33%; + } /* first site-menu level only */ .site-menu .menu > li > a{ padding-left:1.5em; @@ -3067,24 +4162,73 @@ article > .sidebar form{ .has-content-sidebars .articles > .inner > *{ max-width:100%; } + article > .inner > *, + .page-template-page-sections article.no-post-thumbnail > .inner > *, + main .section-header, + .page-template-default main .content-header{ + margin-right:10.625em; + } article > .inner > *{ - padding-right:10.625em; } - article > .inner > .post-thumbnail{ - padding-right:0; + .single article > .inner > *, + .page-template-default article > .inner > *, + .page-template-page-compatible-devices article > .inner > *, + .page-template-page-sections article.no-post-thumbnail > .inner > *, + main .section-header, + .page-template-default main .content-header{ + margin-left:10.625em; + } + body article > .platform > h2.title{ + margin-left:0; } - .articles > .inner > article.team{ + article > .platform > .devices{ + margin-left:-2em; + } + article > .inner > h2{ + margin-right:7.083333333em; + } + article > .inner > h3{ + margin-right:9.444444444em; + } + .single article > .inner > h2, + .page-template-default article > .inner > h2, + .page-template-page-compatible-devices article > .inner > h2{ + margin-left:7.083333333em; + } + .single article > .inner > h3, + .page-template-default article > .inner > h3, + .page-template-page-compatible-devices article > .inner > h3{ + margin-left:9.444444444em; + } + article > .platform > .title{ + margin-right:0; + } + article > .platform > .devices{ + margin-right:-2em; + } + .articles > .inner > article.team, + .articles > .inner > article.post, + .articles > .inner > article.aktivitaet, + .articles > .inner > article.news{ -ms-flex-preferred-size:calc(50% - 8.3em); flex-basis:calc(50% - 8.3em); max-width:calc(50% - 8.3em); } - .articles article.team{ + .articles article.team, + .articles article.post + .articles article.aktivitaet, + .articles article.news{ margin:3.6em 4.1em 3.7em 4.2em; } + .site-footer > .inner > .widget{ + -ms-flex-preferred-size:35%; + flex-basis:35%; + max-width:35%; + } .site-footer > .inner > .widget_nav_menu{ - -ms-flex-preferred-size:75%; - flex-basis:75%; - max-width:75%; + -ms-flex-preferred-size:55%; + flex-basis:55%; + max-width:55%; } .site-footer .widget_text .textwidget{ padding:0 1.5em; diff --git a/sandbox/functions.php b/sandbox/functions.php index 06a7105..38f9335 100644 --- a/sandbox/functions.php +++ b/sandbox/functions.php @@ -58,9 +58,12 @@ function sandbox_setup_theme() { // load scripts add_action('wp_enqueue_scripts', 'sandbox_enqueue_scripts'); + if ( !is_admin() ) { + add_action('script_loader_tag', 'sandbox_script_loader_tag', 10, 2); + } // init sidebars - add_action('init', 'sandbox_sidebars_init'); + add_action('widgets_init', 'sandbox_sidebars_init'); /** * Theme filters @@ -108,11 +111,12 @@ function sandbox_template_redirect(){ function sandbox_enqueue_scripts(){ $profile_post_ID = array(5142, 5480); // on profile page or descendants $post_id = get_the_ID(); + $post = get_post(); $post_type = get_post_type(); $post_type_object = get_post_type_object($post_type); $post_type_rest_base = $post_type; - if ( property_exists($post_type_object, 'rest_base') ) { + if ( !is_null($post_type_object) && property_exists($post_type_object, 'rest_base') && is_string($post_type_object->rest_base) ) { $post_type_rest_base = $post_type_object->rest_base; } @@ -126,6 +130,10 @@ function sandbox_enqueue_scripts(){ wp_enqueue_script('comment-reply'); } + // remove wp-embed.min.js + // https://wordpress.stackexchange.com/a/285907/81728 + wp_deregister_script('wp-embed'); + // Javascript data for window.sandboxTheme_data $data = array( 'id' => $post_id, @@ -146,6 +154,7 @@ function sandbox_enqueue_scripts(){ 'is_archive' => is_archive(), 'is_admin' => is_admin(), 'is_single' => is_single(), + 'has_content_form' => !is_null($post) && has_shortcode($post->post_content, 'cf7form'), 'comments_open' => comments_open(), 'is_page' => is_page(), 'is_tag' => is_tag(), @@ -159,16 +168,38 @@ function sandbox_enqueue_scripts(){ ); // custom script: edit there for your own needs - wp_register_script('actions', get_template_directory_uri() . '/js/actions.js', false, '7', true); + wp_register_script('actions', get_template_directory_uri() . '/js/actions.js', array('jquery-core'), '3', true); // Javascript data for window.sandboxTheme_data wp_localize_script('actions', 'sandboxTheme_data', $data ); wp_enqueue_script('actions'); // custom script: edit there for your own needs } + /* if ( is_user_logged_in() && ( is_page($profile_post_ID[0]) || is_page($profile_post_ID[1]) ) ) { wp_enqueue_script('wp-util'); wp_enqueue_script('password-strength-meter'); } + */ +} + +function sandbox_script_loader_tag($tag, $handle){ + // add script handles to the array below + $scripts_to_defer = array( + 'jquery-core', + 'jquery-migrate', + 'jquery-plugins', + 'actions', + 'query-monitor', + 'easy-swipebox-init', + 'easy-swipebox', + 'contact-form-7', + 'cf7-grid-layout', + ); + + if ( in_array($handle, $scripts_to_defer) && strpos($tag, 'defer') === false ) { + $tag = str_replace(' src', ' defer="defer" src', $tag); + } + return $tag; } @@ -265,9 +296,14 @@ function sandbox_get_page_description($sep, $num_words, $meta = true){ $description = wp_title($sep, false); $sep = ' ' . $sep . ' '; - if ( is_single() || is_page() || ( is_front_page() && !is_home() ) ) { + if ( is_404() ) { + $description = __( 'Apologies, but we were unable to find what you were looking for.', 'socio' ); + } else if ( is_single() || is_page() || ( is_front_page() && !is_home() ) ) { $post = get_post(get_the_ID()); - if ( has_excerpt() ) { + + if ( $post_seo_description = get_post_meta($post->ID, '_seo-description', true) ) { + $description = $post_seo_description; + } else if ( has_excerpt() ) { $description = $post->post_excerpt; } else { $description = $post->post_content; @@ -283,12 +319,12 @@ function sandbox_get_page_description($sep, $num_words, $meta = true){ if ( is_author() ) { $termTitle = get_the_author_meta('display_name'); $termDesc = get_the_author_meta('description'); - $taxonomyTitle = __('Author', 'sandbox'); + $taxonomyTitle = __('Author', 'socio'); } if ( !empty($termDesc) ) { $termDesc = $sep . $termDesc; } - $description = $taxonomyTitle . ' ' . __('archive', 'sandbox') . $sep . $termTitle . $termDesc ; + $description = $taxonomyTitle . ' ' . __('archive', 'socio') . $sep . $termTitle . $termDesc ; } if ( is_home() && ( $posts_page = get_option('page_for_posts') ) ) { $description = get_the_title($posts_page); @@ -296,7 +332,7 @@ function sandbox_get_page_description($sep, $num_words, $meta = true){ $description = get_option('blogname'); } if ( is_search() ) { - $description = __('Search Results For', 'sandbox') . ' ' . get_search_query(); + $description = __('Search Results For', 'socio') . ' ' . get_search_query(); } } $description .= $sep . get_bloginfo('description'); @@ -336,38 +372,39 @@ function sandbox_the_current_URI(){ // Post meta single output for all fields function sandbox_get_post_meta($post_id=0){ $numeric_fields = array('_alpha_file_count', '_favorites', '_wpcr_rating', '_thumbnail_id'); - $serialized_fields = array('_more-link', '_alpha_file_options'); + $serialized_fields = array('_more-link', '_alpha_file_options', '_section-linked', '_conditions-table', '_links-internal', '_links-external'); $post_id = absint($post_id); if ( !$post_id ) { $post_id = get_the_ID(); } $post_custom = get_post_custom($post_id); $post_meta_keys = get_post_custom_keys($post_id); - $post_meta_keys_old = array_keys($post_custom); - // echo var_dump($post_meta_keys_old); + $post_meta = array(); - foreach ( $post_meta_keys as $post_meta_key ) { - if ( !empty($post_custom[$post_meta_key][0]) ) { - $post_meta[$post_meta_key] = $post_custom[$post_meta_key][0]; - // exeptions - // numeric field type - if ( in_array($post_meta_key, $numeric_fields) ) { - $post_meta[$post_meta_key] = intval($post_custom[$post_meta_key][0]); - } - // serialized field type - if ( in_array($post_meta_key, $serialized_fields) ) { - $post_meta[$post_meta_key] = unserialize($post_custom[$post_meta_key][0]); - } - } else { - $post_meta[$post_meta_key] = ''; - // exeptions - // numeric field type - if ( in_array($post_meta_key, $numeric_fields) ) { - $post_meta[$post_meta_key] = 0; - } - // serialized field type - if ( in_array($post_meta_key, $serialized_fields) ) { - $post_meta[$post_meta_key] = array(); + if ( $post_custom !== false ) { + foreach ( $post_meta_keys as $post_meta_key ) { + if ( !empty($post_custom[$post_meta_key][0]) ) { + $post_meta[$post_meta_key] = $post_custom[$post_meta_key][0]; + // exeptions + // numeric field type + if ( in_array($post_meta_key, $numeric_fields) ) { + $post_meta[$post_meta_key] = intval($post_custom[$post_meta_key][0]); + } + // serialized field type + if ( in_array($post_meta_key, $serialized_fields) ) { + $post_meta[$post_meta_key] = unserialize($post_custom[$post_meta_key][0]); + } + } else { + $post_meta[$post_meta_key] = ''; + // exeptions + // numeric field type + if ( in_array($post_meta_key, $numeric_fields) ) { + $post_meta[$post_meta_key] = 0; + } + // serialized field type + if ( in_array($post_meta_key, $serialized_fields) ) { + $post_meta[$post_meta_key] = array(); + } } } } @@ -438,6 +475,21 @@ function sandbox_sanitize_phone($phone) { return $data[0] . ' ' . $data[1] . ' ' . $data[2] . ' ' . $data[3] . ' ' . $data[4] . $data[5]; } +// output from +436641234567 to +43 664 123 45 - 67 +function sandbox_sanitize_mobile_phone($phone) { + $data = array( + substr($phone, 0,3), + substr($phone, 3,3), + substr($phone, 6,3), + substr($phone, 9,2), + substr($phone, 11,2), + ); + if ( !empty($data[4]) ) { + $data[4] = ' - ' . $data[4]; + } + return $data[0] . ' ' . $data[1] . ' ' . $data[2] . ' ' . $data[3] . ' ' . $data[4]; +} + // Comment cancel reply link function sandbox_cancel_comment_reply_link($formatted_link, $link, $text){ return '' . $text . ''; @@ -597,7 +649,7 @@ function sandbox_get_archive_term(){ $term->title = $queried_object->label; $term->thumbnail = esc_url(get_template_directory_uri()) . '/img/' . $queried_object->name . '.jpg'; // $term->thumbnail = ''; - // $term->byline = __('All articles in', 'sandbox') . ' ' . $term->title; + // $term->byline = __('All articles in', 'socio') . ' ' . $term->title; $term->count = wp_count_posts($queried_object->name)->publish; //$queried_object->count; $term->byline = $queried_object->labels->name; $term->post_type['WP_Post_Type'] = $queried_object; @@ -611,7 +663,7 @@ function sandbox_get_archive_term(){ $term->thumbnail = ''; $term->thumbnail_id = isset($term_meta['_term_image']) && !empty($term_meta['_term_image'][0]) ? intval($term_meta['_term_image'][0]) : 0; if ( $term->thumbnail_id !== 0 ) { - $term->thumbnail = wp_get_attachment_image($term->thumbnail_id, 'sandbox-hero'); + $term->thumbnail = wp_get_attachment_image($term->thumbnail_id, 'socio-hero'); } $term->taxonomy['title'] = $queried_taxonomy->labels->singular_name; $term->taxonomy['WP_Taxonomy'] = $queried_taxonomy; @@ -633,13 +685,13 @@ function sandbox_get_archive_term(){ if ( is_author() ) { $term->title = get_the_author_meta('display_name'); $term->thumbnail = get_avatar($queried_object->data->ID, 'smr-thumb'); - $term->taxonomy['title'] = __('Author', 'sandbox'); + $term->taxonomy['title'] = __('Author', 'socio'); $term->byline = $term->title; $term->count = count_user_posts($queried_object->data->ID); } if ( is_date() ) { global $wp_query; - $term->title = __('All articles from', 'sandbox') . ' '; + $term->title = __('All articles from', 'socio') . ' '; $term->count = $wp_query->found_posts; if ( is_day() ) { @@ -667,13 +719,13 @@ function sandbox_get_archive_term(){ // echo 'blah: ' . var_dump($all_pages); if ( $paged > 1 && !is_404() ) { /* translators: %s: Page number. */ - $current_page = sprintf(__('Page %s'), $paged); - $of = ' ' . __('von', 'sandbox') . ' '; + $current_page = sprintf(__('Page %s', 'socio'), $paged); + $of = ' ' . __('von', 'socio') . ' '; $term->byline .= ' ' . $current_page . $of . $all_pages; } else if ( $term->count > $posts_per_page ) { $all_pages = ceil($term->count/$posts_per_page); - $of = ' ' . __('von', 'sandbox') . ' '; - $term->byline .= ' ' . __('Seite 1') . $of . $all_pages; + $of = ' ' . __('von', 'socio') . ' '; + $term->byline .= ' ' . __('Seite 1', 'socio') . $of . $all_pages; } if ( !empty($term->taxonomy['title']) ) { $term->taxonomy['title'] .= ' - '; @@ -728,14 +780,12 @@ function sandbox_archive_is_paged($term = NULL){ } function sandbox_get_more_url($post_type, $post_meta){ $more_url = get_permalink(); + if ( ( isset($post_meta["_more-link-url"]) && !empty($post_meta["_more-link-url"]) ) || ( isset($post_meta['_more-link']) && !empty($post_meta['_more-link']) ) ) { - // "download_aktion_de" uses that field for download button - if ( $post_type !== 'download_aktion_de' ) { - if ( !empty($post_meta["_more-link-url"]) ) { - $more_url = $post_meta["_more-link-url"]; - } elseif ( isset($post_meta['_more-link'][0]) && isset($post_meta['_more-link'][0]['_more-link-url']) && !empty($post_meta['_more-link'][0]['_more-link-url']) ) { - $more_url = $post_meta['_more-link'][0]['_more-link-url']; - } + if ( !empty($post_meta["_more-link-url"]) ) { + $more_url = $post_meta["_more-link-url"]; + } elseif ( isset($post_meta['_more-link'][0]) && isset($post_meta['_more-link'][0]['_more-link-url']) && !empty($post_meta['_more-link'][0]['_more-link-url']) ) { + $more_url = $post_meta['_more-link'][0]['_more-link-url']; } } return $more_url; @@ -743,13 +793,16 @@ function sandbox_get_more_url($post_type, $post_meta){ function sandbox_get_more_text($post_type, $post_meta){ // Text for "Read more" button $more_texts = array( - 'default' => __('Read more', 'sandbox'), + 'default' => __('Mehr davon', 'sandbox'), 'download' => __('Download', 'sandbox'), 'alpha_download' => array( - 'default' => __('More details', 'sandbox'), + 'default' => __('Mehr details', 'sandbox'), ), 'download_aktion_de' => array( - 'default' => __('More details', 'sandbox'), + 'default' => __('Mehr details', 'sandbox'), + ), + 'aktivitaet' => array( + 'default' => __('Mehr Infos', 'sandbox'), ), ); $more_text = $more_texts['default']; @@ -857,6 +910,25 @@ function sandbox_get_meta_data( $force_meta = false ) { $meta = get_the_date(); break; + case 'period': + $date_begin = isset($post_meta['_date-begin']) ? $post_meta['_date-begin'][0] : ''; + $date_end = isset($post_meta['_date-end']) ? $post_meta['_date-end'][0] : ''; + $meta = ''; + echo ''; + + if ( !empty($date_begin) ) { + $date_begin = date('d.m.Y', strtotime($date_begin)); + if ( !empty($date_end) ) { + $date_end = date('d.m.Y', strtotime($date_end)); + $meta = $date_begin . ' - ' . $date_end; + // $meta = __('Von', 'sandbox') . ' ' . $date_begin . ' ' . __('bis', 'sandbox') . ' ' . $date_end; + } else { + // $meta = __('Am', 'sandbox') . ' ' . $date_begin; + $meta = $date_begin; + } + } + break; + case 'terms': $terms_in_taxes = sandbox_get_the_terms(); $meta = ''; diff --git a/sandbox/header.php b/sandbox/header.php index e0fccae..454e750 100644 --- a/sandbox/header.php +++ b/sandbox/header.php @@ -1,3 +1,4 @@ + @@ -14,7 +15,7 @@ - + @@ -36,7 +37,7 @@ -