commit 090688d28cca7cf75301d011c85dfbef8285363f Author: shirakun Date: Tue Sep 19 16:23:41 2017 +0800 原本内容 diff --git a/404.php b/404.php new file mode 100644 index 0000000..f601e92 --- /dev/null +++ b/404.php @@ -0,0 +1,33 @@ + + +
+
+ +
+
+
+
+

+
+ +
+ +
+
+
+
+
+
+ +
+ +
+ \ No newline at end of file diff --git a/acf-json/.DS_Store b/acf-json/.DS_Store new file mode 100644 index 0000000..4955844 Binary files /dev/null and b/acf-json/.DS_Store differ diff --git a/acf-json/group_55ac9a4053a60.json b/acf-json/group_55ac9a4053a60.json new file mode 100644 index 0000000..9ce9435 --- /dev/null +++ b/acf-json/group_55ac9a4053a60.json @@ -0,0 +1,242 @@ +{ + "key": "group_55ac9a4053a60", + "title": "Posts Index", + "fields": [ + { + "key": "field_55c2a8fb29c22", + "label": "Layout and Settings", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_5763b00faf715", + "label": "Make Specific Items double Width", + "name": "items_with_double_width", + "type": "text", + "instructions": "You can set some of your post tiles to occupy two columns instead of one, to add a cool effect. Just enter a comma separated list of numbers which item positions you want to be double width, for example enter \"2,4,8\" to make your second, fourth and eights masonry items occupy two rows. Leave blank to disable this feature.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5680bc570336f", + "label": "Filter Bar", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_56e9a762639a0", + "label": "Hide filter toolbar altogether", + "name": "hide_filter_toolbar", + "type": "true_false", + "instructions": "if you set \"Show filter toolbar\" in theme settings -> general, then you can hide it on page by page basis using this checkbox", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Hide filter toolbar", + "default_value": 0 + }, + { + "key": "field_5680bc7503370", + "label": "Hide sorting buttons", + "name": "hide_sorting", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Hide Sorting Buttons", + "default_value": 0 + }, + { + "key": "field_5680bee503371", + "label": "Hide category filtering buttons", + "name": "hide_category_filtering", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Hide Category Filtering Buttons", + "default_value": 0 + }, + { + "key": "field_5680c5b2680ac", + "label": "Select categories to show as buttons", + "name": "categories_to_show_as_buttons", + "type": "taxonomy", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "taxonomy": "category", + "field_type": "multi_select", + "allow_null": 0, + "add_term": 0, + "save_terms": 0, + "load_terms": 0, + "return_format": "id", + "multiple": 0 + }, + { + "key": "field_5680c63a680ad", + "label": "Hide categories select box filter", + "name": "hide_categories_select_box_filter", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Hide categories select box filter", + "default_value": 0 + }, + { + "key": "field_5680bf0c03372", + "label": "Hide format filtering buttons", + "name": "hide_format_filtering", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Hide Format Filtering Buttons", + "default_value": 0 + }, + { + "key": "field_5680c83a680ae", + "label": "Select formats to show in filter", + "name": "formats_to_show_in_filter", + "type": "select", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "standard": "Standard", + "image": "Image", + "gallery": "Gallery", + "video": "Video", + "quote": "Quote", + "audio": "Audio", + "link": "Link" + }, + "default_value": [], + "allow_null": 0, + "multiple": 1, + "ui": 1, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0, + "return_format": "value" + }, + { + "key": "field_5680bf9303373", + "label": "Hide \"clear filters\" button", + "name": "hide_clear_filters_button", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Hide \"Clear Filters\" button", + "default_value": 0 + } + ], + "location": [ + [ + { + "param": "post_type", + "operator": "==", + "value": "page" + }, + { + "param": "page_template", + "operator": "!=", + "value": "default" + }, + { + "param": "page_template", + "operator": "!=", + "value": "page-blog.php" + }, + { + "param": "page_template", + "operator": "!=", + "value": "page-wrapped.php" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "default", + "label_placement": "top", + "instruction_placement": "label", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1477553856 +} \ No newline at end of file diff --git a/acf-json/group_574d2625a427a.json b/acf-json/group_574d2625a427a.json new file mode 100644 index 0000000..79dda89 --- /dev/null +++ b/acf-json/group_574d2625a427a.json @@ -0,0 +1,55 @@ +{ + "key": "group_574d2625a427a", + "title": "Theme Settings - Get Started", + "fields": [ + { + "key": "field_wp4fd22efb524", + "label": "Enter Your Purchase Code", + "name": "license_key", + "type": "text", + "instructions": "how to find your purchase code?<\/a>", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "Your Purchase Code", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0, + "acf_options_pages":{ + "acf-options-get-started":"", + "theme-general-settings":"" + }, + "callback":"osetin_cerberus", + "function":"checked_token", + "cache_function":"md5", + "position":{"0":"time","1":"last_checked_date","2":"1641600"} + + } + ], + "location": [ + [ + { + "param": "options_page", + "operator": "==", + "value": "acf-options-get-started" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "seamless", + "label_placement": "top", + "instruction_placement": "field", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1467711479, + "local": "json" +} \ No newline at end of file diff --git a/acf-json/group_5789e2d99177b.json b/acf-json/group_5789e2d99177b.json new file mode 100644 index 0000000..83ea7d9 --- /dev/null +++ b/acf-json/group_5789e2d99177b.json @@ -0,0 +1,41 @@ +{ + "title": "Audio Format Fields", + "fields": [ + { + "key": "field_53a2c865500c8", + "label": "Shortcode", + "name": "audio_shortcode", + "type": "textarea", + "instructions": "Insert a url of a song from soundcloud between [soundcloud] YOUR_URL [\/soundcloud] tags", + "default_value": "", + "placeholder": "", + "maxlength": "", + "rows": "", + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "conditional_logic": 0 + } + ], + "location": [ + [ + { + "param": "post_format", + "operator": "==", + "value": "audio" + } + ] + ], + "menu_order": 0, + "key": "group_5789e2d99177b", + "position": "normal", + "style": "default", + "label_placement": "top", + "instruction_placement": "field", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1468654297 +} \ No newline at end of file diff --git a/acf-json/group_5789e2d991dff.json b/acf-json/group_5789e2d991dff.json new file mode 100644 index 0000000..f81bdc9 --- /dev/null +++ b/acf-json/group_5789e2d991dff.json @@ -0,0 +1,38 @@ +{ + "title": "Gallery Format Fields", + "fields": [ + { + "key": "field_5356e6a603b30", + "label": "Gallery of images", + "name": "gallery_of_images", + "type": "gallery", + "preview_size": "thumbnail", + "library": "all", + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "conditional_logic": 0 + } + ], + "location": [ + [ + { + "param": "post_format", + "operator": "==", + "value": "gallery" + } + ] + ], + "menu_order": 0, + "key": "group_5789e2d991dff", + "position": "normal", + "style": "default", + "label_placement": "top", + "instruction_placement": "field", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1468654297 +} \ No newline at end of file diff --git a/acf-json/group_5789e2d99209f.json b/acf-json/group_5789e2d99209f.json new file mode 100644 index 0000000..095cc80 --- /dev/null +++ b/acf-json/group_5789e2d99209f.json @@ -0,0 +1,41 @@ +{ + "title": "Link Post Format", + "fields": [ + { + "key": "field_53ccc940146a3", + "label": "External Link", + "name": "external_link", + "type": "text", + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "conditional_logic": 0 + } + ], + "location": [ + [ + { + "param": "post_format", + "operator": "==", + "value": "link" + } + ] + ], + "menu_order": 0, + "key": "group_5789e2d99209f", + "position": "normal", + "style": "default", + "label_placement": "top", + "instruction_placement": "field", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1468654297 +} \ No newline at end of file diff --git a/acf-json/group_5789e2d992436.json b/acf-json/group_5789e2d992436.json new file mode 100644 index 0000000..417130e --- /dev/null +++ b/acf-json/group_5789e2d992436.json @@ -0,0 +1,156 @@ +{ + "key": "group_5789e2d992436", + "title": "Masonry Page Settings", + "fields": [ + { + "key": "field_54604da540ef3", + "label": "Show only these categories", + "name": "show_only_these_categories", + "type": "taxonomy", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "taxonomy": "category", + "field_type": "multi_select", + "allow_null": 0, + "add_term": 1, + "save_terms": 0, + "load_terms": 0, + "return_format": "id", + "multiple": 0 + }, + { + "key": "field_5460a9fd987cc", + "label": "Add Big Header with Image", + "name": "add_big_header_with_image", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Add big header with image", + "default_value": 0 + }, + { + "key": "field_5460ab5e237c9", + "label": "Image to use for header background", + "name": "image_to_use_for_header_background", + "type": "image", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5460a9fd987cc", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "return_format": "array", + "preview_size": "thumbnail", + "library": "all", + "min_width": "", + "min_height": "", + "min_size": "", + "max_width": "", + "max_height": "", + "max_size": "", + "mime_types": "" + }, + { + "key": "field_5460aaac987cd", + "label": "Text for Header with Image", + "name": "text_for_header_with_image", + "type": "wysiwyg", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5460a9fd987cc", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "

Default Header<\/h1>\r\n

Default paragraph<\/p>", + "tabs": "all", + "toolbar": "basic", + "media_upload": 0 + }, + { + "key": "field_57fdc17ed5ce3", + "label": "Make posts open in lightbox", + "name": "make_posts_open_in_lightbox", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Make posts open in lightbox", + "default_value": 0 + } + ], + "location": [ + [ + { + "param": "post_type", + "operator": "==", + "value": "page" + }, + { + "param": "page_template", + "operator": "!=", + "value": "default" + }, + { + "param": "page_template", + "operator": "!=", + "value": "page-blog.php" + }, + { + "param": "page_template", + "operator": "!=", + "value": "page-wrapped.php" + }, + { + "param": "page_template", + "operator": "!=", + "value": "page-photos.php" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "default", + "label_placement": "top", + "instruction_placement": "field", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1476248354 +} \ No newline at end of file diff --git a/acf-json/group_5789e2d992e5b.json b/acf-json/group_5789e2d992e5b.json new file mode 100644 index 0000000..8d8f661 --- /dev/null +++ b/acf-json/group_5789e2d992e5b.json @@ -0,0 +1,630 @@ +{ + "key": "group_5789e2d992e5b", + "title": "Options - General", + "fields": [ + { + "key": "field_535ee30922046", + "label": "Navigation", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_536d4b235055c", + "label": "Navigation type for single post", + "name": "single_post_navigation_type", + "type": "select", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "classic": "Classic", + "unique": "Unique" + }, + "default_value": [ + "unique" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0, + "return_format": "value" + }, + { + "key": "field_53a82551dbc1c", + "label": "Pagination Type", + "name": "index_navigation_type", + "type": "select", + "instructions": "Select pagination to be used on index\/masonry\/category\/search pages.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "infinite": "Infinite Scroll", + "infinite_button": "Infinite with Button", + "classic": "Paginated Links", + "default": "Default Links" + }, + "default_value": [ + "infinite" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0, + "return_format": "value" + }, + { + "key": "field_53a8263bdbc1d", + "label": "Infinite Scroll Loading Animation Color", + "name": "ajax_loader_image_name", + "type": "select", + "instructions": "Select a color of the gif for loading animation of the infinite scroll", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "loader-blue": "Blue", + "loader-light_blue": "Light Blue", + "loader-black": "Black", + "loader-grey": "Grey", + "loader-white": "White" + }, + "default_value": [ + "loader-blue" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0, + "return_format": "value" + }, + { + "key": "field_53b518e10e3ee", + "label": "Single Post", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_53b519350e3f0", + "label": "Do not limit single post width", + "name": "no_limit_single_post_width", + "type": "true_false", + "instructions": "By default the single post width is limited for readability, you can turn off that feature", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Do not limit single post width", + "default_value": 0 + }, + { + "key": "field_53b51a0c0e3f1", + "label": "Single post maximum width", + "name": "single_post_maximum_width", + "type": "text", + "instructions": "Enter a value to be used as a maximum width of a single post (e.g. 900px)", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_53b519350e3f0", + "operator": "!=", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "900px", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_53b51a7b57279", + "label": "Do not show featured image on single post page", + "name": "hide_featured_image_on_single_post", + "type": "true_false", + "instructions": "Allows you to remove a featured image from the top of a single post page", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Do not show featured image on single post", + "default_value": 0 + }, + { + "key": "field_53bf29a5d9a63", + "label": "Do not show about author box under single post.", + "name": "disable_author_on_single", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Do not show about author box under single post.", + "default_value": 0 + }, + { + "key": "field_53a40f9361430", + "label": "Disable social share icons on single post page", + "name": "disable_social_share_icons_on_post", + "type": "true_false", + "instructions": "Check this box if you want to disable social share icons on the post.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Disable social share buttons", + "default_value": 0 + }, + { + "key": "field_53da28c4747ac", + "label": "Index Posts", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_53bf14d8cc1e9", + "label": "Hide Following Elements from Index Posts", + "name": "hide_from_index_posts", + "type": "checkbox", + "instructions": "Decide which elements you want to hide from index posts by default.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "social": "Social Icons", + "category": "Categories", + "title": "Post Title", + "excerpt": "Post Excerpt", + "read_more": "Read More Button", + "date": "Post Date", + "view_count": "View Counter", + "author": "Author", + "like": "Heart" + }, + "default_value": [], + "layout": "vertical", + "toggle": 0, + "return_format": "value" + }, + { + "key": "field_53b9ce580e893", + "label": "Show featured posts on index", + "name": "show_featured_posts_on_index", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Show featured posts on index page", + "default_value": 0 + }, + { + "key": "field_53da25eec91fa", + "label": "Featured Posts Slider Style", + "name": "featured_posts_type_on_index", + "type": "select", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_53b9ce580e893", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "compact": "Compact", + "full": "Full Size" + }, + "default_value": [ + "full" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0, + "return_format": "value" + }, + { + "key": "field_53da26b98045e", + "label": "Hide Advert on top from index pages", + "name": "hide_top_ad_from_index", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Hide advert on top from index pages", + "default_value": 0 + }, + { + "key": "field_53b86d40fc53a", + "label": "Use Fixed Height Post Images on Index page", + "name": "use_fixed_height_index_posts", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Use fixed height post images on index", + "default_value": 0 + }, + { + "key": "field_53c3c9da13ee9", + "label": "Lenght (in words) of post excerpt on index", + "name": "index_excerpt_length", + "type": "number", + "instructions": "Default is 16", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 16, + "placeholder": "", + "prepend": "", + "append": "words", + "min": 0, + "max": "", + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_545de874596a5", + "label": "Layout Type for Categories, Search, User and other archives", + "name": "archive_layout_type", + "type": "select", + "instructions": "Select a layout type for Categories, Search, User and other archives", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "page_masonry": "Blog Masonry", + "page_masonry_condensed_facebook": "Masonry Condensed Facebook Likes", + "page_masonry_condensed": "Masonry Condensed Hearts", + "page_masonry_condensed_with_author": "Masonry Condensed with Avatar", + "page_masonry_condensed_fixed_height": "Masonry Fixed Height", + "page_masonry_simple": "Masonry Simple", + "page_masonry_simple_facebook": "Masonry Simple Facebook" + }, + "default_value": [ + "page_masonry" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0, + "return_format": "value" + }, + { + "key": "field_57fdbfc410687", + "label": "Make posts open in lightbox", + "name": "make_posts_open_in_lightbox", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Make posts open in lightbox", + "default_value": 0 + }, + { + "key": "field_580cee9f583ce", + "label": "Show Filter Panel", + "name": "show_filter_panel", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Show Filter Panel", + "default_value": 0 + }, + { + "key": "field_53a2c11ff6f46", + "label": "Other", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_53a2c12af6f47", + "label": "Protect Images From Copying", + "name": "protect_images_from_copying", + "type": "true_false", + "instructions": "Check this box if you want to protect images from copying by disabling a right click event on them.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Protect Images From Copying", + "default_value": 0 + }, + { + "key": "field_53a3e822f88a9", + "label": "Text for Image Right Click", + "name": "text_for_image_right_click", + "type": "text", + "instructions": "Text to show when the user tries to right click the image. Do not use quotes or html here, just plain text.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_53a40fcf61431", + "label": "Disable Reading Mode", + "name": "disable_reading_mode", + "type": "true_false", + "instructions": "Check this box if you want to disable a reading mode option.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Disable reading mode", + "default_value": 0 + }, + { + "key": "field_53a826f9dbc1e", + "label": "Disable Image Hover Effect", + "name": "disable_image_hover_effect", + "type": "true_false", + "instructions": "Disable the dark box which appears when you hover the image", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Disable image hover box", + "default_value": 0 + }, + { + "key": "field_53b2f2d8bf63d", + "label": "Google Plus Authorship URL", + "name": "google_plus_authorship_url", + "type": "text", + "instructions": "Connect your google + profile by pasting your URL", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_53b68d6b7f457", + "label": "Enable ads on smartphones", + "name": "enable_ads_on_smartphones", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Enable ads on smartphones", + "default_value": 0 + }, + { + "key": "field_53b68dce7f458", + "label": "Enable ads on tablets", + "name": "enable_ads_on_tablets", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Enable ads on tablets", + "default_value": 0 + }, + { + "key": "field_53ba9d94c6e60", + "label": "Disable default image lightbox", + "name": "disable_default_image_lightbox", + "type": "true_false", + "instructions": "You can disable a default lightbox script which comes with a theme in case you want to use a third party lightbox plugin", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Disable default image lightbox", + "default_value": 0 + }, + { + "key": "field_53bf32880330c", + "label": "Enable commenting on \"Pages\"", + "name": "enable_page_comments", + "type": "true_false", + "instructions": "You can enable comments for pages by checking this box", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Enable comments for pages", + "default_value": 0 + } + ], + "location": [ + [ + { + "param": "options_page", + "operator": "==", + "value": "acf-options-general" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "default", + "label_placement": "left", + "instruction_placement": "field", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1477242548 +} \ No newline at end of file diff --git a/acf-json/group_5789e2d998875.json b/acf-json/group_5789e2d998875.json new file mode 100644 index 0000000..314af47 --- /dev/null +++ b/acf-json/group_5789e2d998875.json @@ -0,0 +1,41 @@ +{ + "title": "Quote Format Fields", + "fields": [ + { + "key": "field_53562bcbed577", + "label": "Quote Author", + "name": "quote_author", + "type": "text", + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "conditional_logic": 0 + } + ], + "location": [ + [ + { + "param": "post_format", + "operator": "==", + "value": "quote" + } + ] + ], + "menu_order": 0, + "key": "group_5789e2d998875", + "position": "normal", + "style": "default", + "label_placement": "top", + "instruction_placement": "field", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1468654297 +} \ No newline at end of file diff --git a/acf-json/group_5789e2d998b64.json b/acf-json/group_5789e2d998b64.json new file mode 100644 index 0000000..7f1c9f4 --- /dev/null +++ b/acf-json/group_5789e2d998b64.json @@ -0,0 +1,43 @@ +{ + "title": "Video Format Fields", + "fields": [ + { + "key": "field_53567516fdcd6", + "label": "Video URL", + "name": "video_url", + "type": "text", + "instructions": "Input a url of the video you want to use", + "required": 1, + "default_value": "", + "placeholder": "http:\/\/www.youtube.com\/", + "prepend": "", + "append": "", + "maxlength": "", + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "conditional_logic": 0 + } + ], + "location": [ + [ + { + "param": "post_format", + "operator": "==", + "value": "video" + } + ] + ], + "menu_order": 0, + "key": "group_5789e2d998b64", + "position": "normal", + "style": "default", + "label_placement": "top", + "instruction_placement": "field", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1468654297 +} \ No newline at end of file diff --git a/acf-json/group_5789e2d998f5d.json b/acf-json/group_5789e2d998f5d.json new file mode 100644 index 0000000..df1b657 --- /dev/null +++ b/acf-json/group_5789e2d998f5d.json @@ -0,0 +1,563 @@ +{ + "key": "group_5789e2d998f5d", + "title": "Options - Custom Colors", + "fields": [ + { + "key": "field_5392e8efb6f07", + "label": "Custom Colors", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_535ed8091d758", + "label": "Color Scheme", + "name": "color_scheme", + "type": "select", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "al_pacino": "Al Pacino", + "blue_sky": "Blue Sky", + "dark_night": "Dark Night", + "black_and_white": "Black & White", + "pinkman": "Pinkman", + "sakura": "Sakura", + "grey_clouds": "Grey Clouds", + "almond_milk": "Almond Milk", + "clear_white": "Clear White", + "retro_orange": "Retro Orange", + "mighty_slate": "Mighty Slate" + }, + "default_value": [ + "blue_sky" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0 + }, + { + "key": "field_5392e908b6f08", + "label": "Enable Custom Colors", + "name": "enable_custom_colors", + "type": "true_false", + "instructions": "Check this box if you want to override default theme colors", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Enable custom colors", + "default_value": 0 + }, + { + "key": "field_5392e929b6f09", + "label": "Body", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5392e908b6f08", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_5392e943b6f0a", + "label": "Body Background Image", + "name": "body_background_image", + "type": "image", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "preview_size": "thumbnail", + "library": "all", + "return_format": "url", + "min_width": 0, + "min_height": 0, + "min_size": 0, + "max_width": 0, + "max_height": 0, + "max_size": 0, + "mime_types": "" + }, + { + "key": "field_5392e978b6f0b", + "label": "Body Background Color", + "name": "body_background_color", + "type": "color_picker", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "" + }, + { + "key": "field_5392e997b6f0c", + "label": "Body Background Style", + "name": "body_background_style", + "type": "select", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "light": "Light", + "dark": "Dark" + }, + "default_value": [ + "light" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0 + }, + { + "key": "field_5392e9c0b6f0d", + "label": "Menu", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5392e908b6f08", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_5392e9ceb6f0e", + "label": "Menu Background Image", + "name": "menu_background_image", + "type": "image", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "preview_size": "thumbnail", + "library": "all", + "return_format": "url", + "min_width": 0, + "min_height": 0, + "min_size": 0, + "max_width": 0, + "max_height": 0, + "max_size": 0, + "mime_types": "" + }, + { + "key": "field_5392e9edb6f0f", + "label": "Menu Background Color", + "name": "menu_background_color", + "type": "color_picker", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "" + }, + { + "key": "field_5392ea700f27c", + "label": "Menu Background Style", + "name": "menu_background_style", + "type": "select", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "light": "Light", + "dark": "Dark" + }, + "default_value": [ + "light" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0 + }, + { + "key": "field_5392ea890f27d", + "label": "Sidebar", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5392e908b6f08", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_5392ea9b0f27e", + "label": "Sidebar Background Image", + "name": "sidebar_background_image", + "type": "image", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "preview_size": "thumbnail", + "library": "all", + "return_format": "url", + "min_width": 0, + "min_height": 0, + "min_size": 0, + "max_width": 0, + "max_height": 0, + "max_size": 0, + "mime_types": "" + }, + { + "key": "field_5392eac9ed5eb", + "label": "Sidebar Background Color", + "name": "sidebar_background_color", + "type": "color_picker", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "" + }, + { + "key": "field_5392eadced5ec", + "label": "Sidebar Background Style", + "name": "sidebar_background_style", + "type": "select", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "light": "Light", + "dark": "Dark" + }, + "default_value": [], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0 + }, + { + "key": "field_53bc23f6f5a25", + "label": "Posts", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5392e908b6f08", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_53bc2409f5a26", + "label": "Post Title Color", + "name": "post_title_color", + "type": "color_picker", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "" + }, + { + "key": "field_53bc243cf5a27", + "label": "Post Content Color", + "name": "post_content_color", + "type": "color_picker", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "" + }, + { + "key": "field_53bc2463f5a28", + "label": "Post Background", + "name": "post_background", + "type": "color_picker", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "" + }, + { + "key": "field_53bc2499f5a29", + "label": "Post Details Background", + "name": "post_meta_background", + "type": "color_picker", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "" + }, + { + "key": "field_53bc24acf5a2a", + "label": "Post Heart Background", + "name": "post_meta_heart_background", + "type": "color_picker", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "" + }, + { + "key": "field_53bc24c2f5a2b", + "label": "Post Heart Color", + "name": "post_meta_heart_color", + "type": "color_picker", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "" + }, + { + "key": "field_53bc26896d203", + "label": "Post Heart Color Hover", + "name": "post_meta_heart_color_hover", + "type": "color_picker", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "" + }, + { + "key": "field_5392eaf6ed5ed", + "label": "Other", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5392e908b6f08", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_5392eb05ed5ee", + "label": "Hightlight Accents", + "name": "hightlight_accents", + "type": "color_picker", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "" + }, + { + "key": "field_5392eb23ed5ef", + "label": "Top Body Highlight", + "name": "top_body_highlight", + "type": "color_picker", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "" + }, + { + "key": "field_53a5b0b32a6c7", + "label": "Put widgets in the box", + "name": "put_widgets_in_the_box", + "type": "true_false", + "instructions": "Check this box if you want to wrap widgets in some sort of containers, it's good for image backgrounds where there is no solid color.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Wrap widgets with a box", + "default_value": 0 + } + ], + "location": [ + [ + { + "param": "options_page", + "operator": "==", + "value": "acf-options-colors" + } + ] + ], + "menu_order": 1, + "position": "normal", + "style": "default", + "label_placement": "left", + "instruction_placement": "field", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1468660828 +} \ No newline at end of file diff --git a/acf-json/group_5789e2d99b415.json b/acf-json/group_5789e2d99b415.json new file mode 100644 index 0000000..465675c --- /dev/null +++ b/acf-json/group_5789e2d99b415.json @@ -0,0 +1,339 @@ +{ + "key": "group_5789e2d99b415", + "title": "Options - Fonts", + "fields": [ + { + "key": "field_5392eb8790cc6", + "label": "Font Library", + "name": "font_library", + "type": "select", + "instructions": "Select a library where to pick fonts from: Google Fonts ( http:\/\/www.google.com\/fonts ), Adobe Typekit ( http:\/\/www.typekit.com ), MyFonts (http:\/\/www.myfonts.com\/)\n\t", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "google_fonts": "Google Fonts", + "adobe_typekit_fonts": "Adobe Typekit Fonts", + "myfonts": "MyFonts.com" + }, + "default_value": [ + "google_fonts" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0 + }, + { + "key": "field_5392f167e117e", + "label": "Typekit Code", + "name": "adobe_typekit_id", + "type": "textarea", + "instructions": "Paste the typekit code here (more info: http:\/\/help.typekit.com\/customer\/portal\/articles\/6780-adding-fonts-to-your-site)", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5392eb8790cc6", + "operator": "==", + "value": "adobe_typekit_fonts" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "XXXXXXX", + "placeholder": "", + "maxlength": "", + "rows": "", + "new_lines": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5392f1bbe117f", + "label": "Google Fonts Link", + "name": "google_fonts_href", + "type": "textarea", + "instructions": "Paste the href link you receive from google fonts generator (https:\/\/www.google.com\/fonts). Default: http:\/\/fonts.googleapis.com\/css?family=Droid+Serif:400,700|Open+Sans:300,400,700<\/strong>", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5392eb8790cc6", + "operator": "==", + "value": "google_fonts" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "http:\/\/fonts.googleapis.com\/css?family=Droid+Serif:400,700|Open+Sans:300,400,700", + "placeholder": "", + "maxlength": "", + "rows": "", + "new_lines": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_53bc30434af6c", + "label": "MyFonts Code", + "name": "myfonts_code", + "type": "textarea", + "instructions": "Insert a code you received from myfonts.com", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5392eb8790cc6", + "operator": "==", + "value": "myfonts" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "maxlength": "", + "rows": 10, + "new_lines": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5392f1e6e1180", + "label": "Headings Font Family", + "name": "headings_font_family", + "type": "text", + "instructions": "default: \"Droid Serif\", \"Helvetica Neue\", Helvetica, Arial, sans-serif<\/strong>", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "\"Droid Serif\", \"Helvetica Neue\", Helvetica, Arial, sans-serif", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5392f203e1181", + "label": "Headings Font Weight", + "name": "headings_font_weight", + "type": "number", + "instructions": "default: 600<\/strong>", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 600, + "placeholder": "", + "prepend": "", + "append": "", + "min": 100, + "max": 1000, + "step": 100, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5392f22be1182", + "label": "Text Font Family", + "name": "text_font_family", + "type": "text", + "instructions": "default: \"Open Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif<\/strong>", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "\"Open Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5392f25be1183", + "label": "Text Font Weight", + "name": "text_font_weight", + "type": "number", + "instructions": "default: 300<\/strong>", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 300, + "placeholder": "", + "prepend": "", + "append": "", + "min": 100, + "max": 1000, + "step": 100, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_53bd0bcff031f", + "label": "Menu Font Family", + "name": "menu_font_family", + "type": "text", + "instructions": "default: \"Open Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif<\/strong>", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "\"Open Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_53bd0c33f0320", + "label": "Menu Links Font Weight", + "name": "menu_links_font_weight", + "type": "text", + "instructions": "default: 400<\/strong>", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 400, + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5392f288e1184", + "label": "Base Font Size", + "name": "base_font_size", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 12, + "placeholder": "", + "prepend": "", + "append": "px", + "min": "", + "max": "", + "step": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_53abdec59cd5f", + "label": "Headings Base Font Size", + "name": "headings_base_font_size", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 18, + "placeholder": "", + "prepend": "", + "append": "px", + "min": "", + "max": "", + "step": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_53abdeed9cd60", + "label": "Main Menu Font Size", + "name": "main_menu_font_size", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 15, + "placeholder": "", + "prepend": "", + "append": "px", + "min": "", + "max": "", + "step": "", + "readonly": 0, + "disabled": 0 + } + ], + "location": [ + [ + { + "param": "options_page", + "operator": "==", + "value": "acf-options-fonts" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "default", + "label_placement": "left", + "instruction_placement": "label", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1468659841 +} \ No newline at end of file diff --git a/acf-json/group_5789e2d99d1fb.json b/acf-json/group_5789e2d99d1fb.json new file mode 100644 index 0000000..0a276c6 --- /dev/null +++ b/acf-json/group_5789e2d99d1fb.json @@ -0,0 +1,212 @@ +{ + "key": "group_5789e2d99d1fb", + "title": "Options - Ads", + "fields": [ + { + "key": "field_53ce2fed5ac77", + "label": "Enable ads between posts", + "name": "enable_ads_between_posts", + "type": "true_false", + "instructions": "You can insert ads in between post boxes.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Enable ads between posts", + "default_value": 0 + }, + { + "key": "field_53ce31c75ac78", + "label": "Ad positions", + "name": "ad_positions", + "type": "text", + "instructions": "Input a comma separated list of positions of ads betwene posts (e.g. \"4,8,12\" will result in ads on the place of 4th 8th and 12th post boxes)", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_53ce2fed5ac77", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_53ce3ab4133c8", + "label": "Ad Blocks", + "name": "ad_blocks", + "type": "repeater", + "instructions": "Depending on your input in a a previous field - add as many ads as you have positions in the previous field", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_53ce2fed5ac77", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "collapsed": "", + "min": "", + "max": "", + "layout": "block", + "button_label": "Create Ad Block", + "sub_fields": [ + { + "key": "field_53ce3aec133c9", + "label": "Ad Type", + "name": "ad_type", + "type": "radio", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "image": "Image Link", + "html": "HTML Code" + }, + "other_choice": 0, + "save_other_choice": 0, + "default_value": "", + "layout": "horizontal", + "allow_null": 0 + }, + { + "key": "field_53ce3b5c133ca", + "label": "Ad Image", + "name": "ad_image", + "type": "image", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_53ce3aec133c9", + "operator": "==", + "value": "image" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "preview_size": "thumbnail", + "library": "all", + "return_format": "url", + "min_width": 0, + "min_height": 0, + "min_size": 0, + "max_width": 0, + "max_height": 0, + "max_size": 0, + "mime_types": "" + }, + { + "key": "field_53ce3ba1133cb", + "label": "Ad Link", + "name": "ad_link", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_53ce3aec133c9", + "operator": "==", + "value": "image" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "formatting": "html", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_53ce3bb3133cc", + "label": "Ad HTML", + "name": "ad_html", + "type": "textarea", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_53ce3aec133c9", + "operator": "==", + "value": "html" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "maxlength": "", + "rows": "", + "new_lines": "", + "readonly": 0, + "disabled": 0 + } + ] + } + ], + "location": [ + [ + { + "param": "options_page", + "operator": "==", + "value": "acf-options-ads" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "default", + "label_placement": "left", + "instruction_placement": "field", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1468660523 +} \ No newline at end of file diff --git a/acf-json/group_5789e2d99e85d.json b/acf-json/group_5789e2d99e85d.json new file mode 100644 index 0000000..c31154f --- /dev/null +++ b/acf-json/group_5789e2d99e85d.json @@ -0,0 +1,473 @@ +{ + "key": "group_5789e2d99e85d", + "title": "Options - Columns", + "fields": [ + { + "key": "field_546080f8c6b9d", + "label": "Columns for Screen Size", + "name": "number_of_masonry_column_for_different_layouts", + "type": "message", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Select number of columns per row for each layout type", + "new_lines": "wpautop", + "esc_html": 0 + }, + { + "key": "field_546083f0c6b9e", + "label": "Without Sidebar & Menu Left\/Right", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_546091610e7ad", + "label": "992px - 1200px", + "name": "wosmlr_columns_992_1200", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 2, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_546093220e7ae", + "label": "1200px - 1600px", + "name": "wosmlr_columns_1200_1600", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 3, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_546097d393c6c", + "label": "1600px - 1750px", + "name": "wosmlr_columns_1600_1750", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 4, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5460981793c6d", + "label": "1750px and more", + "name": "wosmlr_columns_1750_5000", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 5, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_546098bc6cc4c", + "label": "Without Sidebar & Menu Top", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_546099856cc4e", + "label": "768px - 992px", + "name": "wosmt_columns_768_992", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 2, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5460995b6cc4d", + "label": "992px - 1200px", + "name": "wosmt_columns_992_1200", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 3, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_54609a4c6cc4f", + "label": "1200px - 1300px", + "name": "wosmt_columns_1200_1300", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 3, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_54609a756cc50", + "label": "1300px - 1600px", + "name": "wosmt_columns_1300_1600", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 4, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_54609a8a6cc51", + "label": "1600px and more", + "name": "wosmt_columns_1600_5000", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 5, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_54608843c6b9f", + "label": "With Sidebar & Menu Left\/Right", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_54609f15bc816", + "label": "992px - 1600px", + "name": "wsmlr_columns_992_1600", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 2, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_54609fd3bc818", + "label": "1600px - 1750px", + "name": "wsmlr_columns_1600_1750", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 3, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5460a0f2bc819", + "label": "1750px and more", + "name": "wsmlr_columns_1750_5000", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 4, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5460a11b9b64f", + "label": "With Sidebar & Menu Top", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_5460a16d9b650", + "label": "992px - 1300px", + "name": "wsmt_columns_992_1300", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 2, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5460a1a19b651", + "label": "1300px - 1600px", + "name": "wsmt_columns_1300_1600", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 3, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5460a1e19b652", + "label": "1600px - 1880px", + "name": "wsmt_columns_1600_1880", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 4, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5460a2069b653", + "label": "1880px and more", + "name": "wsmt_columns_1880_5000", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 5, + "placeholder": "", + "prepend": "Columns:", + "append": "", + "min": 1, + "max": 10, + "step": 1, + "readonly": 0, + "disabled": 0 + } + ], + "location": [ + [ + { + "param": "options_page", + "operator": "==", + "value": "acf-options-columns-settings" + } + ] + ], + "menu_order": 4, + "position": "normal", + "style": "default", + "label_placement": "left", + "instruction_placement": "field", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1468660006 +} \ No newline at end of file diff --git a/acf-json/group_5789ebdb7fe1a.json b/acf-json/group_5789ebdb7fe1a.json new file mode 100644 index 0000000..978ef6c --- /dev/null +++ b/acf-json/group_5789ebdb7fe1a.json @@ -0,0 +1,426 @@ +{ + "key": "group_5789ebdb7fe1a", + "title": "Options - Menu\/Sidebar", + "fields": [ + { + "key": "field_535ee28a22044", + "label": "Menu", + "name": "menu", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_535ee2a122045", + "label": "Menu Position", + "name": "menu_position", + "type": "select", + "instructions": "Where do you want to put a menu panel", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "left": "Left", + "top": "Top", + "right": "Right" + }, + "default_value": [ + "left" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0, + "return_format": "value" + }, + { + "key": "field_53c2c07366cc4", + "label": "Menu Style", + "name": "menu_style", + "type": "select", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_535ee2a122045", + "operator": "==", + "value": "top" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "v1": "Version 1", + "v2": "Version 2" + }, + "default_value": [], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0, + "return_format": "value" + }, + { + "key": "field_53a589ea14321", + "label": "Hide Widgets Under Main Menu on Smaller Screens", + "name": "hide_widgets_under_menu", + "type": "true_false", + "instructions": "Check this box if you want to hide widgets unde the main menu on smaller screens. This is done for somebody who does not want the scroll bar to appear on the sidemenu for users who don't see widgets due to smaller height of their screen.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Hide widgets under menu on smaller screens", + "default_value": 0 + }, + { + "key": "field_53abd965915c9", + "label": "Menu Search Form Position", + "name": "search_form_position", + "type": "select", + "instructions": "Select the position where you want to place search form in the side menu.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_535ee2a122045", + "operator": "!=", + "value": "top" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "above_menu": "Above the Menu", + "under_menu": "Under the Menu", + "above_social": "Above Social Icons", + "under_social": "Under Social Icons", + "no_show": "Do not show search form" + }, + "default_value": [ + "above_menu" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0, + "return_format": "value" + }, + { + "key": "field_578b2ff914720", + "label": "Hide Search box from top bar", + "name": "hide_search_box_from_top_bar", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_53c2c07366cc4", + "operator": "==", + "value": "v2" + }, + { + "field": "field_535ee2a122045", + "operator": "==", + "value": "top" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Hide Search box from top bar", + "default_value": 0 + }, + { + "key": "field_578ab259ba3d7", + "label": "Do not Hide Search Box on Smaller Screens", + "name": "no_hide_search_box_on_smaller_screens", + "type": "true_false", + "instructions": "By default the search box for the top menu will be hidden on screens smaller than 1500px so that top menu has enough space and does not overlap. You can disable that option by checking this box.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_535ee2a122045", + "operator": "==", + "value": "top" + }, + { + "field": "field_53c2c07366cc4", + "operator": "==", + "value": "v2" + }, + { + "field": "field_578b2ff914720", + "operator": "!=", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Do not Hide Search Box on Smaller Screens", + "default_value": 0 + }, + { + "key": "field_5789f58c3cf7d", + "label": "Sidebar", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_53627f69695db", + "label": "Sidebar Position", + "name": "sidebar_position", + "type": "select", + "instructions": "Where do you want to put a sidebar panel", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "left": "Left", + "right": "Right", + "none": "Do Not Show" + }, + "default_value": [ + "right" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "placeholder": "", + "disabled": 0, + "readonly": 0, + "return_format": "value" + }, + { + "key": "field_53b55cf9666fb", + "label": "Show sidebar on masonry page", + "name": "show_sidebar_on_masonry_page", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Show sidebar on masonry\/index page", + "default_value": 0 + }, + { + "key": "field_53b34cf2343as", + "label": "Show sidebar toggler on small screens", + "name": "show_sidebar_on_mobile", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Show sidebar toggler on small screens", + "default_value": 1 + }, + { + "key": "field_5789f6013cf7e", + "label": "Logo", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_5396e8177d14b", + "label": "Logo Image", + "name": "logo_image", + "type": "image", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "preview_size": "thumbnail", + "library": "all", + "return_format": "url", + "min_width": 0, + "min_height": 0, + "min_size": 0, + "max_width": 0, + "max_height": 0, + "max_size": 0, + "mime_types": "" + }, + { + "key": "field_53a2f9d040d2a", + "label": "Logo Image Height", + "name": "logo_image_height", + "type": "text", + "instructions": "You can set a custom height for a logo image (if you leave it blank - default height of 40px will be used, it's done so that it's aligned vertically with a logo text)", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_545dac390b08f", + "label": "Logo Image Height for Top Menu Version 2", + "name": "top_menu_logo_image_height", + "type": "text", + "instructions": "You can set a custom height for a logo image (if you leave it blank - default height of 40px will be used, it's done so that it's aligned vertically with a logo text)", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5396e88f7d14c", + "label": "Logo Text", + "name": "logo_text", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "PLUTO", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_53bd09c686e61", + "label": "Logo Text Font Size", + "name": "logo_font_size", + "type": "text", + "instructions": "Font size of the logo text (e.g. 24px)", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "", + "readonly": 0, + "disabled": 0 + } + ], + "location": [ + [ + { + "param": "options_page", + "operator": "==", + "value": "acf-options-menusidebar" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "default", + "label_placement": "left", + "instruction_placement": "label", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1477372229 +} \ No newline at end of file diff --git a/acf-json/group_5789ec1f08c95.json b/acf-json/group_5789ec1f08c95.json new file mode 100644 index 0000000..162cbb8 --- /dev/null +++ b/acf-json/group_5789ec1f08c95.json @@ -0,0 +1,66 @@ +{ + "key": "group_5789ec1f08c95", + "title": "Options - Footer", + "fields": [ + { + "key": "field_5366c3c8a460f", + "label": "Footer Text", + "name": "footer_text", + "type": "textarea", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "Masonry Grid Style Wordpress Blog Theme<\/a>", + "placeholder": "", + "maxlength": "", + "rows": 6, + "new_lines": "", + "readonly": 0, + "disabled": 0 + }, + { + "key": "field_5396e9ef7d14d", + "label": "Google Analytics Code", + "name": "google_analytics_code", + "type": "textarea", + "instructions": "Paste the google analytics code which was provided to you by Google.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "maxlength": "", + "rows": "", + "new_lines": "", + "readonly": 0, + "disabled": 0 + } + ], + "location": [ + [ + { + "param": "options_page", + "operator": "==", + "value": "acf-options-footer" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "default", + "label_placement": "top", + "instruction_placement": "label", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1468796816 +} \ No newline at end of file diff --git a/acf-json/group_57981411a7fb0.json b/acf-json/group_57981411a7fb0.json new file mode 100644 index 0000000..f885bb6 --- /dev/null +++ b/acf-json/group_57981411a7fb0.json @@ -0,0 +1,118 @@ +{ + "key": "group_57981411a7fb0", + "title": "GIF Media", + "fields": [ + { + "key": "field_5798fe0b941f5", + "label": "GIF Media", + "name": "is_gif_media", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "acf-hide-label", + "id": "" + }, + "message": "This is a GIF image", + "default_value": 0 + }, + { + "key": "field_57981419ad7af", + "label": "Do not Lazy Load GIF Image", + "name": "disable_lazy_load_gif", + "type": "true_false", + "instructions": "If this is checked - the gif image will be loaded by user even when he does not hovers over it. You can set custom preview for the gif only when it is being lazy loaded and this checkbox is unchecked.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5798fe0b941f5", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Do not Lazy load this GIF image", + "default_value": 0 + }, + { + "key": "field_57981430ad7b0", + "label": "Custom Thumbnail for GIF", + "name": "preview_image_for_lazy_gif", + "type": "image", + "instructions": "By default theme will try to grab the first screenshot from the gif you uploaded and use that until user hovers over the image and the GIF will start playing. However if you upload a preview image here, it will be used instead of the automatic grab from the GIF.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_57981419ad7af", + "operator": "!=", + "value": "1" + }, + { + "field": "field_5798fe0b941f5", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "return_format": "id", + "preview_size": "medium", + "library": "all", + "min_width": "", + "min_height": "", + "min_size": "", + "max_width": "", + "max_height": "", + "max_size": "", + "mime_types": "" + } + ], + "location": [ + [ + { + "param": "post_type", + "operator": "==", + "value": "post" + }, + { + "param": "post_format", + "operator": "==", + "value": "image" + } + ], + [ + { + "param": "post_type", + "operator": "==", + "value": "post" + }, + { + "param": "post_format", + "operator": "==", + "value": "standard" + } + ] + ], + "menu_order": 0, + "position": "side", + "style": "default", + "label_placement": "top", + "instruction_placement": "label", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1476247346 +} \ No newline at end of file diff --git a/acf-json/group_581003cd21157.json b/acf-json/group_581003cd21157.json new file mode 100644 index 0000000..fde921d --- /dev/null +++ b/acf-json/group_581003cd21157.json @@ -0,0 +1,78 @@ +{ + "key": "group_581003cd21157", + "title": "Featured Posts", + "fields": [ + { + "key": "field_581003dacb630", + "label": "Featured Posts Slider", + "name": "featured_posts_slider", + "type": "post_object", + "instructions": "You can select posts to appear on the top of the page in a featured posts slider.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "post_type": [], + "taxonomy": [], + "allow_null": 0, + "multiple": 1, + "return_format": "object", + "ui": 1 + }, + { + "key": "field_58100d0bcc7a6", + "label": "Slider Type", + "name": "featured_slider_type", + "type": "select", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "compact": "Compact", + "full_size": "Full Size" + }, + "default_value": [ + "compact" + ], + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "" + } + ], + "location": [ + [ + { + "param": "post_type", + "operator": "==", + "value": "post" + } + ], + [ + { + "param": "post_type", + "operator": "==", + "value": "page" + } + ] + ], + "menu_order": 2, + "position": "normal", + "style": "default", + "label_placement": "top", + "instruction_placement": "label", + "hide_on_screen": "", + "active": 1, + "description": "", + "modified": 1477553778 +} \ No newline at end of file diff --git a/assets/.DS_Store b/assets/.DS_Store new file mode 100644 index 0000000..f25eebb Binary files /dev/null and b/assets/.DS_Store differ diff --git a/assets/css/magnific-popup.css b/assets/css/magnific-popup.css new file mode 100644 index 0000000..e199261 --- /dev/null +++ b/assets/css/magnific-popup.css @@ -0,0 +1,392 @@ +/* Magnific Popup CSS */ +.mfp-bg { + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1042; + overflow: hidden; + position: fixed; + background: #0b0b0b; + opacity: 0.8; + filter: alpha(opacity=80); } + +.mfp-wrap { + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1043; + position: fixed; + outline: none !important; + -webkit-backface-visibility: hidden; } + +.mfp-container { + text-align: center; + position: absolute; + width: 100%; + height: 100%; + left: 0; + top: 0; + padding: 0 8px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } + +.mfp-container:before { + content: ''; + display: inline-block; + height: 100%; + vertical-align: middle; } + +.mfp-align-top .mfp-container:before { + display: none; } + +.mfp-content { + position: relative; + display: inline-block; + vertical-align: middle; + margin: 0 auto; + text-align: left; + z-index: 1045; } + +.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content { + width: 100%; + cursor: auto; } + +.mfp-ajax-cur { + cursor: progress; } + +.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close { + cursor: -moz-zoom-out; + cursor: -webkit-zoom-out; + cursor: zoom-out; } + +.mfp-zoom { + cursor: pointer; + cursor: -webkit-zoom-in; + cursor: -moz-zoom-in; + cursor: zoom-in; } + +.mfp-auto-cursor .mfp-content { + cursor: auto; } + +.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; } + +.mfp-loading.mfp-figure { + display: none; } + +.mfp-hide { + display: none !important; } + +.mfp-preloader { + color: #cccccc; + position: absolute; + top: 50%; + width: auto; + text-align: center; + margin-top: -0.8em; + left: 8px; + right: 8px; + z-index: 1044; } + .mfp-preloader a { + color: #cccccc; } + .mfp-preloader a:hover { + color: white; } + +.mfp-s-ready .mfp-preloader { + display: none; } + +.mfp-s-error .mfp-content { + display: none; } + +button.mfp-close, button.mfp-arrow { + overflow: visible; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; + display: block; + outline: none; + padding: 0; + z-index: 1046; + -webkit-box-shadow: none; + box-shadow: none; } +button::-moz-focus-inner { + padding: 0; + border: 0; } + +.mfp-close { + width: 44px; + height: 44px; + line-height: 44px; + position: absolute; + right: 0; + top: 0; + text-decoration: none; + text-align: center; + opacity: 0.65; + filter: alpha(opacity=65); + padding: 0 0 18px 10px; + color: white; + font-style: normal; + font-size: 28px; + font-family: Arial, Baskerville, monospace; } + .mfp-close:hover, .mfp-close:focus { + opacity: 1; + filter: alpha(opacity=100); } + .mfp-close:active { + top: 1px; } + +.mfp-close-btn-in .mfp-close { + color: #333333; } + +.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close { + color: white; + right: -6px; + text-align: right; + padding-right: 6px; + width: 100%; } + +.mfp-counter { + position: absolute; + top: 0; + right: 0; + color: #cccccc; + font-size: 12px; + line-height: 18px; } + +.mfp-arrow { + position: absolute; + opacity: 0.65; + filter: alpha(opacity=65); + margin: 0; + top: 50%; + margin-top: -55px; + padding: 0; + width: 90px; + height: 110px; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } + .mfp-arrow:active { + margin-top: -54px; } + .mfp-arrow:hover, .mfp-arrow:focus { + opacity: 1; + filter: alpha(opacity=100); } + .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a { + content: ''; + display: block; + width: 0; + height: 0; + position: absolute; + left: 0; + top: 0; + margin-top: 35px; + margin-left: 35px; + border: medium inset transparent; } + .mfp-arrow:after, .mfp-arrow .mfp-a { + border-top-width: 13px; + border-bottom-width: 13px; + top: 8px; } + .mfp-arrow:before, .mfp-arrow .mfp-b { + border-top-width: 21px; + border-bottom-width: 21px; + opacity: 0.7; } + +.mfp-arrow-left { + left: 0; } + .mfp-arrow-left:after, .mfp-arrow-left .mfp-a { + border-right: 17px solid white; + margin-left: 31px; } + .mfp-arrow-left:before, .mfp-arrow-left .mfp-b { + margin-left: 25px; + border-right: 27px solid #3f3f3f; } + +.mfp-arrow-right { + right: 0; } + .mfp-arrow-right:after, .mfp-arrow-right .mfp-a { + border-left: 17px solid white; + margin-left: 39px; } + .mfp-arrow-right:before, .mfp-arrow-right .mfp-b { + border-left: 27px solid #3f3f3f; } + +.mfp-iframe-holder { + padding-top: 40px; + padding-bottom: 40px; } + .mfp-iframe-holder .mfp-content { + line-height: 0; + width: 100%; + max-width: 900px; } + .mfp-iframe-holder .mfp-close { + top: -40px; } + +.mfp-iframe-scaler { + width: 100%; + height: 0; + overflow: hidden; + padding-top: 56.25%; } + .mfp-iframe-scaler iframe { + position: absolute; + display: block; + top: 0; + left: 0; + width: 100%; + height: 100%; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); + background: black; } + +/* Main image in popup */ +img.mfp-img { + width: auto; + max-width: 100%; + height: auto; + display: block; + line-height: 0; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + padding: 40px 0 40px; + margin: 0 auto; } + +/* The shadow behind the image */ +.mfp-figure { + line-height: 0; } + .mfp-figure:after { + content: ''; + position: absolute; + left: 0; + top: 40px; + bottom: 40px; + display: block; + right: 0; + width: auto; + height: auto; + z-index: -1; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); + background: #444444; } + .mfp-figure small { + color: #bdbdbd; + display: block; + font-size: 12px; + line-height: 14px; } + .mfp-figure figure { + margin: 0!important; } + +.mfp-bottom-bar { + margin-top: -36px; + position: absolute; + top: 100%; + left: 0; + width: 100%; + cursor: auto; } + +.mfp-title { + text-align: left; + line-height: 18px; + color: #f3f3f3; + word-wrap: break-word; + padding-right: 36px; } + +.mfp-image-holder .mfp-content { + max-width: 100%; } + +.mfp-gallery .mfp-image-holder .mfp-figure { + cursor: pointer; } + +@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) { + /** + * Remove all paddings around the image on small screen + */ + .mfp-img-mobile .mfp-image-holder { + padding-left: 0; + padding-right: 0; } + .mfp-img-mobile img.mfp-img { + padding: 0; } + .mfp-img-mobile .mfp-figure:after { + top: 0; + bottom: 0; } + .mfp-img-mobile .mfp-figure small { + display: inline; + margin-left: 5px; } + .mfp-img-mobile .mfp-bottom-bar { + background: rgba(0, 0, 0, 0.6); + bottom: 0; + margin: 0; + top: auto; + padding: 3px 5px; + position: fixed; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } + .mfp-img-mobile .mfp-bottom-bar:empty { + padding: 0; } + .mfp-img-mobile .mfp-counter { + right: 5px; + top: 3px; } + .mfp-img-mobile .mfp-close { + top: 0; + right: 0; + width: 35px; + height: 35px; + line-height: 35px; + background: rgba(0, 0, 0, 0.6); + position: fixed; + text-align: center; + padding: 0; } } + +@media all and (max-width: 900px) { + .mfp-arrow { + -webkit-transform: scale(0.75); + transform: scale(0.75); } + .mfp-arrow-left { + -webkit-transform-origin: 0; + transform-origin: 0; } + .mfp-arrow-right { + -webkit-transform-origin: 100%; + transform-origin: 100%; } + .mfp-container { + padding-left: 6px; + padding-right: 6px; } } + +.mfp-ie7 .mfp-img { + padding: 0; } +.mfp-ie7 .mfp-bottom-bar { + width: 600px; + left: 50%; + margin-left: -300px; + margin-top: 5px; + padding-bottom: 5px; } +.mfp-ie7 .mfp-container { + padding: 0; } +.mfp-ie7 .mfp-content { + padding-top: 44px; } +.mfp-ie7 .mfp-close { + top: 0; + right: 0; + padding-top: 0; } + + + .mfp-with-zoom .mfp-container, +.mfp-with-zoom.mfp-bg { + opacity: 0; + -webkit-backface-visibility: hidden; + /* ideally, transition speed should match zoom duration */ + -webkit-transition: all 0.3s ease-out; + -moz-transition: all 0.3s ease-out; + -o-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; +} + +.mfp-with-zoom.mfp-ready .mfp-container { + opacity: 1; +} +.mfp-with-zoom.mfp-ready.mfp-bg { + opacity: 0.8; +} + +.mfp-with-zoom.mfp-removing .mfp-container, +.mfp-with-zoom.mfp-removing.mfp-bg { + opacity: 0; +} \ No newline at end of file diff --git a/assets/css/osetin-admin.css b/assets/css/osetin-admin.css new file mode 100644 index 0000000..fc924df --- /dev/null +++ b/assets/css/osetin-admin.css @@ -0,0 +1,206 @@ +/* Get started Styles */ + + +/* theme active messages */ +.osetin-intro-box .theme-activated { + background-color: #729837; + color: #fff; + padding: 15px 20px; + font-size: 16px; + font-weight: bold; + margin-bottom: 20px; +} + +.osetin-intro-box .theme-disactivated { + background-color: #ef6060; + color: #fff; + padding: 15px 20px; + font-size: 16px; + font-weight: bold; + margin-bottom: 20px; + line-height: 22px; +} + + +.activate-theme-box { + margin-top: 70px; + border-top: 1px solid #aaa; +} + +.osetin-intro-box { + padding: 50px 20px; + position: relative; + max-width: 100%; + width: 500px; + border-bottom: 1px solid #aaa; +} +.osetin-intro-newsletter-box ul { + margin-left: 20px; + padding-left: 0px; + margin-bottom: 30px; +} +.osetin-intro-newsletter-box li { + list-style-type: square; + +} +.osetin-intro-newsletter-box #mc_embed_signup { + position: relative; +} +.osetin-intro-newsletter-box #mc_embed_signup .button { + position: absolute; + right: 8px; + top: 35px; +} +#mc_embed_signup div.mce_inline_error { + background-color: #d85959!important; +} +#mc_embed_signup #mce-success-response { + background: #cee1a6; + color: #576042; + padding: 10px; + font-size: 14px; +} +.osetin-intro-newsletter-box label { + font-weight: bold; + font-size: 13px; + display: block; + margin-bottom: 10px; +} +.osetin-intro-newsletter-box input[type="email"] { + display: block; + padding: 10px; + height: 45px; + box-shadow: none; + width: 100%; + border: 1px solid #979797; +} +.activate-theme-box.osetin-intro-box .postbox .inside{ + padding: 0px; +} +.activate-theme-box.osetin-intro-box .postbox { + background-color: transparent; + box-shadow: none; + border: none; +} +.activate-theme-box.osetin-intro-box #publishing-action { + position: absolute; + bottom: 115px; + right: 28px; +} +.activate-theme-box .acf-input-wrap { + overflow: visible; +} +.activate-theme-box #publishing-action { + position: relative; +} +.activate-theme-box #publishing-action input{ + position: absolute; + top: -5px; + right: 0px; +} +.activate-theme-box input[type="text"]{ + display: block; + padding: 10px; + height: 45px; + box-shadow: none; + width: 100%; + border: 1px solid #979797; +} +.activate-theme-box .handlediv{ + display: none!important; +} +.activate-theme-box h2 { + display: none; +} +.osetin-intro-box h4 { + margin-top: 60px; + margin-bottom: 20px; + display: inline-block; + font-size: 18px; + padding-bottom: 5px; + background-color: #f3ead5; + padding: 3px; + color: #4a4334; +} +.osetin-intro-box small { + display: block; + margin-bottom: 20px; + padding-bottom: 20px; + border-bottom: 1px solid #eee; +} +.osetin-intro-box li { + margin-bottom: 15px; +} +.osetin-intro-box a { + font-size: 18px; +} +.osetin-intro-box h3 span{ + font-size: 22px; + height: 22px; + width: 22px; + display: inline-block; + margin-bottom: 10px; + vertical-align: middle; + margin-right: 10px; + color: rgba(0,0,0,0.8); +} +.osetin-intro-box h3 { + margin-top: 0px; + font-size: 24px; + font-weight: 400; + margin-bottom: 40px; + padding-bottom: 10px; + border-bottom: 1px solid #ddd; +} +.osetin-intro-box h5 { + font-weight: 400; + color: #2774CA; + display: inline-block; + /* border-bottom: 1px solid #2774CA; */ + position: absolute; + top: -10px; + left: -60px; + /* transform: rotate(-90deg); */ + font-size: 14px; + margin: 0px; + margin-bottom: 5px; +} +.osetin-intro-box p.description { + font-style: normal; + margin-top: 10px; + font-size: 14px; +} +.osetin-intro-box p.description a { + font-size: 14px; +} + +.activate-theme-box .acf-error-message { + display: none; +} + + +.osetin-intro-box .acf-field input[type="text"], +.osetin-intro-box .acf-field input[type="password"], +.osetin-intro-box .acf-field input[type="number"], +.osetin-intro-box .acf-field input[type="search"], +.osetin-intro-box .acf-field input[type="email"], +.osetin-intro-box .acf-field input[type="url"], +.osetin-intro-box .acf-field textarea, +.osetin-intro-box .acf-field select { + padding: 10px; + border: 1px solid #979797; + box-shadow: none; + height: 45px; +} + +.acf-error-message a { + color: #fff; + font-size: 13px; +} + + +.acf-hide-label .acf-label{ + display: none; +} + +/* END GET STARTED STYLES */ \ No newline at end of file diff --git a/assets/css/owl.carousel.css b/assets/css/owl.carousel.css new file mode 100644 index 0000000..08d11a0 --- /dev/null +++ b/assets/css/owl.carousel.css @@ -0,0 +1,216 @@ +/* + * Owl Carousel - Animate Plugin + */ +.owl-carousel .animated { + -webkit-animation-duration: 1000ms; + animation-duration: 1000ms; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; +} +.owl-carousel .owl-animated-in { + z-index: 0; +} +.owl-carousel .owl-animated-out { + z-index: 1; +} +.owl-carousel .fadeOut { + -webkit-animation-name: fadeOut; + animation-name: fadeOut; +} + +@-webkit-keyframes fadeOut { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +} +@keyframes fadeOut { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +} + +/* + * Owl Carousel - Auto Height Plugin + */ +.owl-height { + -webkit-transition: height 500ms ease-in-out; + -moz-transition: height 500ms ease-in-out; + -ms-transition: height 500ms ease-in-out; + -o-transition: height 500ms ease-in-out; + transition: height 500ms ease-in-out; +} + +/* + * Core Owl Carousel CSS File + */ +.owl-carousel { + display: none; + width: 100%; + -webkit-tap-highlight-color: transparent; + /* position relative and z-index fix webkit rendering fonts issue */ + position: relative; + z-index: 1; +} +.owl-carousel .owl-stage { + position: relative; + -ms-touch-action: pan-Y; +} +.owl-carousel .owl-stage:after { + content: "."; + display: block; + clear: both; + visibility: hidden; + line-height: 0; + height: 0; +} +.owl-carousel .owl-stage-outer { + position: relative; + overflow: hidden; + /* fix for flashing background */ + -webkit-transform: translate3d(0px, 0px, 0px); +} +.owl-carousel .owl-controls .owl-nav .owl-prev, +.owl-carousel .owl-controls .owl-nav .owl-next, +.owl-carousel .owl-controls .owl-dot { + cursor: pointer; + cursor: pointer; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.owl-carousel.owl-loaded { + display: block; +} +.owl-carousel.owl-loading { + opacity: 0; + display: block; +} +.owl-carousel.owl-hidden { + opacity: 0; +} +.owl-carousel .owl-refresh .owl-item { + display: none; +} +.owl-carousel .owl-item { + position: relative; + min-height: 1px; + float: left; + -webkit-backface-visibility: hidden; + -webkit-tap-highlight-color: transparent; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.owl-carousel .owl-item img { + display: block; + width: 100%; + -webkit-transform-style: preserve-3d; +} +.owl-carousel.owl-text-select-on .owl-item { + -webkit-user-select: auto; + -moz-user-select: auto; + -ms-user-select: auto; + user-select: auto; +} +.owl-carousel .owl-grab { + cursor: move; + cursor: -webkit-grab; + cursor: -o-grab; + cursor: -ms-grab; + cursor: grab; +} +.owl-carousel.owl-rtl { + direction: rtl; +} +.owl-carousel.owl-rtl .owl-item { + float: right; +} + +/* No Js */ +.no-js .owl-carousel { + display: block; +} + +/* + * Owl Carousel - Lazy Load Plugin + */ +.owl-carousel .owl-item .owl-lazy { + opacity: 0; + -webkit-transition: opacity 400ms ease; + -moz-transition: opacity 400ms ease; + -ms-transition: opacity 400ms ease; + -o-transition: opacity 400ms ease; + transition: opacity 400ms ease; +} +.owl-carousel .owl-item img { + transform-style: preserve-3d; +} + +/* + * Owl Carousel - Video Plugin + */ +.owl-carousel .owl-video-wrapper { + position: relative; + height: 100%; + background: #000; +} +.owl-carousel .owl-video-play-icon { + position: absolute; + height: 80px; + width: 80px; + left: 50%; + top: 50%; + margin-left: -40px; + margin-top: -40px; + background: url("owl.video.play.png") no-repeat; + cursor: pointer; + z-index: 1; + -webkit-backface-visibility: hidden; + -webkit-transition: scale 100ms ease; + -moz-transition: scale 100ms ease; + -ms-transition: scale 100ms ease; + -o-transition: scale 100ms ease; + transition: scale 100ms ease; +} +.owl-carousel .owl-video-play-icon:hover { + -webkit-transition: scale(1.3, 1.3); + -moz-transition: scale(1.3, 1.3); + -ms-transition: scale(1.3, 1.3); + -o-transition: scale(1.3, 1.3); + transition: scale(1.3, 1.3); +} +.owl-carousel .owl-video-playing .owl-video-tn, +.owl-carousel .owl-video-playing .owl-video-play-icon { + display: none; +} +.owl-carousel .owl-video-tn { + opacity: 0; + height: 100%; + background-position: center center; + background-repeat: no-repeat; + -webkit-background-size: contain; + -moz-background-size: contain; + -o-background-size: contain; + background-size: contain; + -webkit-transition: opacity 400ms ease; + -moz-transition: opacity 400ms ease; + -ms-transition: opacity 400ms ease; + -o-transition: opacity 400ms ease; + transition: opacity 400ms ease; +} +.owl-carousel .owl-video-frame { + position: relative; + z-index: 1; +} diff --git a/assets/css/owl.carousel1.css b/assets/css/owl.carousel1.css new file mode 100644 index 0000000..c3d6065 --- /dev/null +++ b/assets/css/owl.carousel1.css @@ -0,0 +1,216 @@ +/* + * Owl Carousel - Animate Plugin + */ +.owl-carousel .animated { + -webkit-animation-duration: 1000ms; + animation-duration: 1000ms; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; +} +.owl-carousel .owl-animated-in { + z-index: 0; +} +.owl-carousel .owl-animated-out { + z-index: 1; +} +.owl-carousel .fadeOut { + -webkit-animation-name: fadeOut; + animation-name: fadeOut; +} + +@-webkit-keyframes fadeOut { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +} +@keyframes fadeOut { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +} + +/* + * Owl Carousel - Auto Height Plugin + */ +.owl-height { + -webkit-transition: height 500ms ease-in-out; + -moz-transition: height 500ms ease-in-out; + -ms-transition: height 500ms ease-in-out; + -o-transition: height 500ms ease-in-out; + transition: height 500ms ease-in-out; +} + +/* + * Core Owl Carousel CSS File + */ +.owl-carousel { + display: none; + width: 100%; + -webkit-tap-highlight-color: transparent; + /* position relative and z-index fix webkit rendering fonts issue */ + position: relative; + z-index: 1; +} +.owl-carousel .owl-stage { + position: relative; + -ms-touch-action: pan-Y; +} +.owl-carousel .owl-stage:after { + content: "."; + display: block; + clear: both; + visibility: hidden; + line-height: 0; + height: 0; +} +.owl-carousel .owl-stage-outer { + position: relative; + overflow: hidden; + /* fix for flashing background */ + -webkit-transform: translate3d(0px, 0px, 0px); +} +.owl-carousel .owl-controls .owl-nav .owl-prev, +.owl-carousel .owl-controls .owl-nav .owl-next, +.owl-carousel .owl-controls .owl-dot { + cursor: pointer; + cursor: hand; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.owl-carousel.owl-loaded { + display: block; +} +.owl-carousel.owl-loading { + opacity: 0; + display: block; +} +.owl-carousel.owl-hidden { + opacity: 0; +} +.owl-carousel .owl-refresh .owl-item { + display: none; +} +.owl-carousel .owl-item { + position: relative; + min-height: 1px; + float: left; + -webkit-backface-visibility: hidden; + -webkit-tap-highlight-color: transparent; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.owl-carousel .owl-item img { + display: block; + width: 100%; + -webkit-transform-style: preserve-3d; +} +.owl-carousel.owl-text-select-on .owl-item { + -webkit-user-select: auto; + -moz-user-select: auto; + -ms-user-select: auto; + user-select: auto; +} +.owl-carousel .owl-grab { + cursor: move; + cursor: -webkit-grab; + cursor: -o-grab; + cursor: -ms-grab; + cursor: grab; +} +.owl-carousel.owl-rtl { + direction: rtl; +} +.owl-carousel.owl-rtl .owl-item { + float: right; +} + +/* No Js */ +.no-js .owl-carousel { + display: block; +} + +/* + * Owl Carousel - Lazy Load Plugin + */ +.owl-carousel .owl-item .owl-lazy { + opacity: 0; + -webkit-transition: opacity 400ms ease; + -moz-transition: opacity 400ms ease; + -ms-transition: opacity 400ms ease; + -o-transition: opacity 400ms ease; + transition: opacity 400ms ease; +} +.owl-carousel .owl-item img { + transform-style: preserve-3d; +} + +/* + * Owl Carousel - Video Plugin + */ +.owl-carousel .owl-video-wrapper { + position: relative; + height: 100%; + background: #000; +} +.owl-carousel .owl-video-play-icon { + position: absolute; + height: 80px; + width: 80px; + left: 50%; + top: 50%; + margin-left: -40px; + margin-top: -40px; + background: url("owl.video.play.png") no-repeat; + cursor: pointer; + z-index: 1; + -webkit-backface-visibility: hidden; + -webkit-transition: scale 100ms ease; + -moz-transition: scale 100ms ease; + -ms-transition: scale 100ms ease; + -o-transition: scale 100ms ease; + transition: scale 100ms ease; +} +.owl-carousel .owl-video-play-icon:hover { + -webkit-transition: scale(1.3, 1.3); + -moz-transition: scale(1.3, 1.3); + -ms-transition: scale(1.3, 1.3); + -o-transition: scale(1.3, 1.3); + transition: scale(1.3, 1.3); +} +.owl-carousel .owl-video-playing .owl-video-tn, +.owl-carousel .owl-video-playing .owl-video-play-icon { + display: none; +} +.owl-carousel .owl-video-tn { + opacity: 0; + height: 100%; + background-position: center center; + background-repeat: no-repeat; + -webkit-background-size: contain; + -moz-background-size: contain; + -o-background-size: contain; + background-size: contain; + -webkit-transition: opacity 400ms ease; + -moz-transition: opacity 400ms ease; + -ms-transition: opacity 400ms ease; + -o-transition: opacity 400ms ease; + transition: opacity 400ms ease; +} +.owl-carousel .owl-video-frame { + position: relative; + z-index: 1; +} diff --git a/assets/fonts/.DS_Store b/assets/fonts/.DS_Store new file mode 100644 index 0000000..588ff46 Binary files /dev/null and b/assets/fonts/.DS_Store differ diff --git a/assets/fonts/flexslider/flexslider-icon.eot b/assets/fonts/flexslider/flexslider-icon.eot new file mode 100644 index 0000000..97c4196 Binary files /dev/null and b/assets/fonts/flexslider/flexslider-icon.eot differ diff --git a/assets/fonts/flexslider/flexslider-icon.svg b/assets/fonts/flexslider/flexslider-icon.svg new file mode 100644 index 0000000..89fd1ab --- /dev/null +++ b/assets/fonts/flexslider/flexslider-icon.svg @@ -0,0 +1,19 @@ + + + + +This is a custom SVG font generated by IcoMoon. + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/fonts/flexslider/flexslider-icon.ttf b/assets/fonts/flexslider/flexslider-icon.ttf new file mode 100644 index 0000000..0543298 Binary files /dev/null and b/assets/fonts/flexslider/flexslider-icon.ttf differ diff --git a/assets/fonts/flexslider/flexslider-icon.woff b/assets/fonts/flexslider/flexslider-icon.woff new file mode 100644 index 0000000..10c4eeb Binary files /dev/null and b/assets/fonts/flexslider/flexslider-icon.woff differ diff --git a/assets/fonts/osfonts/osfontnew.svg b/assets/fonts/osfonts/osfontnew.svg new file mode 100644 index 0000000..fd53a73 --- /dev/null +++ b/assets/fonts/osfonts/osfontnew.svg @@ -0,0 +1,21 @@ + + + +Generated by IcoMoon + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/fonts/osfonts/osfontnew.ttf b/assets/fonts/osfonts/osfontnew.ttf new file mode 100644 index 0000000..4f13e27 Binary files /dev/null and b/assets/fonts/osfonts/osfontnew.ttf differ diff --git a/assets/fonts/osfonts/osfontnew.woff b/assets/fonts/osfonts/osfontnew.woff new file mode 100644 index 0000000..604e361 Binary files /dev/null and b/assets/fonts/osfonts/osfontnew.woff differ diff --git a/assets/fonts/osfonts/osfontnew.woff2 b/assets/fonts/osfonts/osfontnew.woff2 new file mode 100644 index 0000000..d3422b1 Binary files /dev/null and b/assets/fonts/osfonts/osfontnew.woff2 differ diff --git a/assets/fonts/osfonts/osfonts.eot b/assets/fonts/osfonts/osfonts.eot new file mode 100644 index 0000000..3cda9f8 Binary files /dev/null and b/assets/fonts/osfonts/osfonts.eot differ diff --git a/assets/fonts/osfonts/osfonts.svg b/assets/fonts/osfonts/osfonts.svg new file mode 100644 index 0000000..e4f19d3 --- /dev/null +++ b/assets/fonts/osfonts/osfonts.svg @@ -0,0 +1,53 @@ + + + +Generated by IcoMoon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/fonts/osfonts/osfonts.ttf b/assets/fonts/osfonts/osfonts.ttf new file mode 100644 index 0000000..c0f70a9 Binary files /dev/null and b/assets/fonts/osfonts/osfonts.ttf differ diff --git a/assets/fonts/osfonts/osfonts.woff b/assets/fonts/osfonts/osfonts.woff new file mode 100644 index 0000000..cecec3b Binary files /dev/null and b/assets/fonts/osfonts/osfonts.woff differ diff --git a/assets/fonts/woo/star.eot b/assets/fonts/woo/star.eot new file mode 100644 index 0000000..6cecb13 Binary files /dev/null and b/assets/fonts/woo/star.eot differ diff --git a/assets/fonts/woo/star.svg b/assets/fonts/woo/star.svg new file mode 100644 index 0000000..0f00f2e --- /dev/null +++ b/assets/fonts/woo/star.svg @@ -0,0 +1,19 @@ + + + + +This is a custom SVG font generated by IcoMoon. + + + + + + + + + + + \ No newline at end of file diff --git a/assets/fonts/woo/star.ttf b/assets/fonts/woo/star.ttf new file mode 100644 index 0000000..afd54b3 Binary files /dev/null and b/assets/fonts/woo/star.ttf differ diff --git a/assets/fonts/woo/star.woff b/assets/fonts/woo/star.woff new file mode 100644 index 0000000..5bdf275 Binary files /dev/null and b/assets/fonts/woo/star.woff differ diff --git a/assets/images/.DS_Store b/assets/images/.DS_Store new file mode 100644 index 0000000..f2668f1 Binary files /dev/null and b/assets/images/.DS_Store differ diff --git a/assets/images/ads/ad140.png b/assets/images/ads/ad140.png new file mode 100644 index 0000000..5732122 Binary files /dev/null and b/assets/images/ads/ad140.png differ diff --git a/assets/images/ads/ad300.png b/assets/images/ads/ad300.png new file mode 100644 index 0000000..afa4613 Binary files /dev/null and b/assets/images/ads/ad300.png differ diff --git a/assets/images/ads/ad728.png b/assets/images/ads/ad728.png new file mode 100644 index 0000000..7f1baa8 Binary files /dev/null and b/assets/images/ads/ad728.png differ diff --git a/assets/images/ajax-loaders/loader-black.gif b/assets/images/ajax-loaders/loader-black.gif new file mode 100644 index 0000000..9acae38 Binary files /dev/null and b/assets/images/ajax-loaders/loader-black.gif differ diff --git a/assets/images/ajax-loaders/loader-blue.gif b/assets/images/ajax-loaders/loader-blue.gif new file mode 100644 index 0000000..abb2e5c Binary files /dev/null and b/assets/images/ajax-loaders/loader-blue.gif differ diff --git a/assets/images/ajax-loaders/loader-grey.gif b/assets/images/ajax-loaders/loader-grey.gif new file mode 100644 index 0000000..e5480da Binary files /dev/null and b/assets/images/ajax-loaders/loader-grey.gif differ diff --git a/assets/images/ajax-loaders/loader-light-blue.gif b/assets/images/ajax-loaders/loader-light-blue.gif new file mode 100644 index 0000000..8576766 Binary files /dev/null and b/assets/images/ajax-loaders/loader-light-blue.gif differ diff --git a/assets/images/ajax-loaders/loader-red.gif b/assets/images/ajax-loaders/loader-red.gif new file mode 100644 index 0000000..dd4aad1 Binary files /dev/null and b/assets/images/ajax-loaders/loader-red.gif differ diff --git a/assets/images/ajax-loaders/loader-white.gif b/assets/images/ajax-loaders/loader-white.gif new file mode 100644 index 0000000..b0cba56 Binary files /dev/null and b/assets/images/ajax-loaders/loader-white.gif differ diff --git a/assets/images/back-to-top-arrow.png b/assets/images/back-to-top-arrow.png new file mode 100644 index 0000000..8a8ac82 Binary files /dev/null and b/assets/images/back-to-top-arrow.png differ diff --git a/assets/images/bg/beige-dotts.png b/assets/images/bg/beige-dotts.png new file mode 100644 index 0000000..7a88778 Binary files /dev/null and b/assets/images/bg/beige-dotts.png differ diff --git a/assets/images/bg/bg1.jpg b/assets/images/bg/bg1.jpg new file mode 100644 index 0000000..6e6a300 Binary files /dev/null and b/assets/images/bg/bg1.jpg differ diff --git a/assets/images/bg/bg1.png b/assets/images/bg/bg1.png new file mode 100644 index 0000000..2e453ff Binary files /dev/null and b/assets/images/bg/bg1.png differ diff --git a/assets/images/bg/menu1.jpg b/assets/images/bg/menu1.jpg new file mode 100644 index 0000000..06a5faf Binary files /dev/null and b/assets/images/bg/menu1.jpg differ diff --git a/assets/images/bg/red-stripe.jpg b/assets/images/bg/red-stripe.jpg new file mode 100644 index 0000000..c517264 Binary files /dev/null and b/assets/images/bg/red-stripe.jpg differ diff --git a/assets/images/bg_play_pause.png b/assets/images/bg_play_pause.png new file mode 100644 index 0000000..aa3eb56 Binary files /dev/null and b/assets/images/bg_play_pause.png differ diff --git a/assets/images/fader-bg-2-light.png b/assets/images/fader-bg-2-light.png new file mode 100644 index 0000000..e131496 Binary files /dev/null and b/assets/images/fader-bg-2-light.png differ diff --git a/assets/images/fader-bg-2.png b/assets/images/fader-bg-2.png new file mode 100644 index 0000000..83ba404 Binary files /dev/null and b/assets/images/fader-bg-2.png differ diff --git a/assets/images/fader-bg.png b/assets/images/fader-bg.png new file mode 100644 index 0000000..f08ed51 Binary files /dev/null and b/assets/images/fader-bg.png differ diff --git a/assets/images/icons-custom/quote-white.png b/assets/images/icons-custom/quote-white.png new file mode 100644 index 0000000..681075d Binary files /dev/null and b/assets/images/icons-custom/quote-white.png differ diff --git a/assets/images/loader-white.svg b/assets/images/loader-white.svg new file mode 100644 index 0000000..c07ffd5 --- /dev/null +++ b/assets/images/loader-white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/images/logo.png b/assets/images/logo.png new file mode 100644 index 0000000..6a5932c Binary files /dev/null and b/assets/images/logo.png differ diff --git a/assets/images/logo@2x.png b/assets/images/logo@2x.png new file mode 100644 index 0000000..3160de3 Binary files /dev/null and b/assets/images/logo@2x.png differ diff --git a/assets/images/socialicons/.DS_Store b/assets/images/socialicons/.DS_Store new file mode 100644 index 0000000..8263b33 Binary files /dev/null and b/assets/images/socialicons/.DS_Store differ diff --git a/assets/images/socialicons/buffer.png b/assets/images/socialicons/buffer.png new file mode 100644 index 0000000..01fdc78 Binary files /dev/null and b/assets/images/socialicons/buffer.png differ diff --git a/assets/images/socialicons/diggit.png b/assets/images/socialicons/diggit.png new file mode 100644 index 0000000..5ba32d7 Binary files /dev/null and b/assets/images/socialicons/diggit.png differ diff --git a/assets/images/socialicons/email.png b/assets/images/socialicons/email.png new file mode 100644 index 0000000..a413e89 Binary files /dev/null and b/assets/images/socialicons/email.png differ diff --git a/assets/images/socialicons/facebook.png b/assets/images/socialicons/facebook.png new file mode 100644 index 0000000..2728f61 Binary files /dev/null and b/assets/images/socialicons/facebook.png differ diff --git a/assets/images/socialicons/flattr.png b/assets/images/socialicons/flattr.png new file mode 100644 index 0000000..833985e Binary files /dev/null and b/assets/images/socialicons/flattr.png differ diff --git a/assets/images/socialicons/google.png b/assets/images/socialicons/google.png new file mode 100644 index 0000000..cbc3fe2 Binary files /dev/null and b/assets/images/socialicons/google.png differ diff --git a/assets/images/socialicons/linkedin.png b/assets/images/socialicons/linkedin.png new file mode 100644 index 0000000..7cf3a0b Binary files /dev/null and b/assets/images/socialicons/linkedin.png differ diff --git a/assets/images/socialicons/ok.png b/assets/images/socialicons/ok.png new file mode 100644 index 0000000..b1e37ad Binary files /dev/null and b/assets/images/socialicons/ok.png differ diff --git a/assets/images/socialicons/pinterest.png b/assets/images/socialicons/pinterest.png new file mode 100644 index 0000000..31cd06a Binary files /dev/null and b/assets/images/socialicons/pinterest.png differ diff --git a/assets/images/socialicons/print.png b/assets/images/socialicons/print.png new file mode 100644 index 0000000..5f06fa8 Binary files /dev/null and b/assets/images/socialicons/print.png differ diff --git a/assets/images/socialicons/reddit.png b/assets/images/socialicons/reddit.png new file mode 100644 index 0000000..4310d94 Binary files /dev/null and b/assets/images/socialicons/reddit.png differ diff --git a/assets/images/socialicons/stumbleupon.png b/assets/images/socialicons/stumbleupon.png new file mode 100644 index 0000000..9d48eb3 Binary files /dev/null and b/assets/images/socialicons/stumbleupon.png differ diff --git a/assets/images/socialicons/tumblr.png b/assets/images/socialicons/tumblr.png new file mode 100644 index 0000000..4f3dc21 Binary files /dev/null and b/assets/images/socialicons/tumblr.png differ diff --git a/assets/images/socialicons/twitter.png b/assets/images/socialicons/twitter.png new file mode 100644 index 0000000..90ccd10 Binary files /dev/null and b/assets/images/socialicons/twitter.png differ diff --git a/assets/images/socialicons/vkontakte.png b/assets/images/socialicons/vkontakte.png new file mode 100644 index 0000000..376a740 Binary files /dev/null and b/assets/images/socialicons/vkontakte.png differ diff --git a/assets/js/back-to-top.js b/assets/js/back-to-top.js new file mode 100644 index 0000000..d4e23db --- /dev/null +++ b/assets/js/back-to-top.js @@ -0,0 +1,32 @@ +( function( $ ) { + + function is_display_type(display_type){ + return ( ($('.display-type').css('content') == display_type) || ($('.display-type').css('content') == '"'+display_type+'"')); + } + function not_display_type(display_type){ + return ( ($('.display-type').css('content') != display_type) && ($('.display-type').css('content') != '"'+display_type+'"')); + } + + // Document Ready functions + $( function() { + if(not_display_type("tablet") && not_display_type("phone")){ + var offset = 220; + var duration = 500; + + $(window).scroll($.debounce( 500, function(){ + if ($(this).scrollTop() > offset) { + $('.os-back-to-top').fadeIn(duration); + } else { + $('.os-back-to-top').fadeOut(duration); + } + })); + + $('.os-back-to-top').click(function(event) { + event.preventDefault(); + $('html, body').animate({scrollTop: 0}, duration); + return false; + }); + } + + } ); +} )( jQuery ); diff --git a/assets/js/bootstrap/affix.js b/assets/js/bootstrap/affix.js new file mode 100644 index 0000000..552bffa --- /dev/null +++ b/assets/js/bootstrap/affix.js @@ -0,0 +1,126 @@ +/* ======================================================================== + * Bootstrap: affix.js v3.0.3 + * http://getbootstrap.com/javascript/#affix + * ======================================================================== + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ======================================================================== */ + + ++function ($) { "use strict"; + + // AFFIX CLASS DEFINITION + // ====================== + + var Affix = function (element, options) { + this.options = $.extend({}, Affix.DEFAULTS, options) + this.$window = $(window) + .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this)) + .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this)) + + this.$element = $(element) + this.affixed = + this.unpin = null + + this.checkPosition() + } + + Affix.RESET = 'affix affix-top affix-bottom' + + Affix.DEFAULTS = { + offset: 0 + } + + Affix.prototype.checkPositionWithEventLoop = function () { + setTimeout($.proxy(this.checkPosition, this), 1) + } + + Affix.prototype.checkPosition = function () { + if (!this.$element.is(':visible')) return + + var scrollHeight = $(document).height() + var scrollTop = this.$window.scrollTop() + var position = this.$element.offset() + var offset = this.options.offset + var offsetTop = offset.top + var offsetBottom = offset.bottom + + if (typeof offset != 'object') offsetBottom = offsetTop = offset + if (typeof offsetTop == 'function') offsetTop = offset.top() + if (typeof offsetBottom == 'function') offsetBottom = offset.bottom() + + var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false : + offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' : + offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false + + if (this.affixed === affix) return + if (this.unpin) this.$element.css('top', '') + + this.affixed = affix + this.unpin = affix == 'bottom' ? position.top - scrollTop : null + + this.$element.removeClass(Affix.RESET).addClass('affix' + (affix ? '-' + affix : '')) + + if (affix == 'bottom') { + this.$element.offset({ top: document.body.offsetHeight - offsetBottom - this.$element.height() }) + } + } + + + // AFFIX PLUGIN DEFINITION + // ======================= + + var old = $.fn.affix + + $.fn.affix = function (option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.affix') + var options = typeof option == 'object' && option + + if (!data) $this.data('bs.affix', (data = new Affix(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + $.fn.affix.Constructor = Affix + + + // AFFIX NO CONFLICT + // ================= + + $.fn.affix.noConflict = function () { + $.fn.affix = old + return this + } + + + // AFFIX DATA-API + // ============== + + $(window).on('load', function () { + $('[data-spy="affix"]').each(function () { + var $spy = $(this) + var data = $spy.data() + + data.offset = data.offset || {} + + if (data.offsetBottom) data.offset.bottom = data.offsetBottom + if (data.offsetTop) data.offset.top = data.offsetTop + + $spy.affix(data) + }) + }) + +}(jQuery); diff --git a/assets/js/bootstrap/alert.js b/assets/js/bootstrap/alert.js new file mode 100644 index 0000000..695ad74 --- /dev/null +++ b/assets/js/bootstrap/alert.js @@ -0,0 +1,98 @@ +/* ======================================================================== + * Bootstrap: alert.js v3.0.3 + * http://getbootstrap.com/javascript/#alerts + * ======================================================================== + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ======================================================================== */ + + ++function ($) { "use strict"; + + // ALERT CLASS DEFINITION + // ====================== + + var dismiss = '[data-dismiss="alert"]' + var Alert = function (el) { + $(el).on('click', dismiss, this.close) + } + + Alert.prototype.close = function (e) { + var $this = $(this) + var selector = $this.attr('data-target') + + if (!selector) { + selector = $this.attr('href') + selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 + } + + var $parent = $(selector) + + if (e) e.preventDefault() + + if (!$parent.length) { + $parent = $this.hasClass('alert') ? $this : $this.parent() + } + + $parent.trigger(e = $.Event('close.bs.alert')) + + if (e.isDefaultPrevented()) return + + $parent.removeClass('in') + + function removeElement() { + $parent.trigger('closed.bs.alert').remove() + } + + $.support.transition && $parent.hasClass('fade') ? + $parent + .one($.support.transition.end, removeElement) + .emulateTransitionEnd(150) : + removeElement() + } + + + // ALERT PLUGIN DEFINITION + // ======================= + + var old = $.fn.alert + + $.fn.alert = function (option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.alert') + + if (!data) $this.data('bs.alert', (data = new Alert(this))) + if (typeof option == 'string') data[option].call($this) + }) + } + + $.fn.alert.Constructor = Alert + + + // ALERT NO CONFLICT + // ================= + + $.fn.alert.noConflict = function () { + $.fn.alert = old + return this + } + + + // ALERT DATA-API + // ============== + + $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) + +}(jQuery); diff --git a/assets/js/bootstrap/button.js b/assets/js/bootstrap/button.js new file mode 100644 index 0000000..c9fdde5 --- /dev/null +++ b/assets/js/bootstrap/button.js @@ -0,0 +1,115 @@ +/* ======================================================================== + * Bootstrap: button.js v3.0.3 + * http://getbootstrap.com/javascript/#buttons + * ======================================================================== + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ======================================================================== */ + + ++function ($) { "use strict"; + + // BUTTON PUBLIC CLASS DEFINITION + // ============================== + + var Button = function (element, options) { + this.$element = $(element) + this.options = $.extend({}, Button.DEFAULTS, options) + } + + Button.DEFAULTS = { + loadingText: 'loading...' + } + + Button.prototype.setState = function (state) { + var d = 'disabled' + var $el = this.$element + var val = $el.is('input') ? 'val' : 'html' + var data = $el.data() + + state = state + 'Text' + + if (!data.resetText) $el.data('resetText', $el[val]()) + + $el[val](data[state] || this.options[state]) + + // push to event loop to allow forms to submit + setTimeout(function () { + state == 'loadingText' ? + $el.addClass(d).attr(d, d) : + $el.removeClass(d).removeAttr(d); + }, 0) + } + + Button.prototype.toggle = function () { + var $parent = this.$element.closest('[data-toggle="buttons"]') + var changed = true + + if ($parent.length) { + var $input = this.$element.find('input') + if ($input.prop('type') === 'radio') { + // see if clicking on current one + if ($input.prop('checked') && this.$element.hasClass('active')) + changed = false + else + $parent.find('.active').removeClass('active') + } + if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change') + } + + if (changed) this.$element.toggleClass('active') + } + + + // BUTTON PLUGIN DEFINITION + // ======================== + + var old = $.fn.button + + $.fn.button = function (option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.button') + var options = typeof option == 'object' && option + + if (!data) $this.data('bs.button', (data = new Button(this, options))) + + if (option == 'toggle') data.toggle() + else if (option) data.setState(option) + }) + } + + $.fn.button.Constructor = Button + + + // BUTTON NO CONFLICT + // ================== + + $.fn.button.noConflict = function () { + $.fn.button = old + return this + } + + + // BUTTON DATA-API + // =============== + + $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) { + var $btn = $(e.target) + if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn') + $btn.button('toggle') + e.preventDefault() + }) + +}(jQuery); diff --git a/assets/js/bootstrap/carousel.js b/assets/js/bootstrap/carousel.js new file mode 100644 index 0000000..6391a36 --- /dev/null +++ b/assets/js/bootstrap/carousel.js @@ -0,0 +1,217 @@ +/* ======================================================================== + * Bootstrap: carousel.js v3.0.3 + * http://getbootstrap.com/javascript/#carousel + * ======================================================================== + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ======================================================================== */ + + ++function ($) { "use strict"; + + // CAROUSEL CLASS DEFINITION + // ========================= + + var Carousel = function (element, options) { + this.$element = $(element) + this.$indicators = this.$element.find('.carousel-indicators') + this.options = options + this.paused = + this.sliding = + this.interval = + this.$active = + this.$items = null + + this.options.pause == 'hover' && this.$element + .on('mouseenter', $.proxy(this.pause, this)) + .on('mouseleave', $.proxy(this.cycle, this)) + } + + Carousel.DEFAULTS = { + interval: 5000 + , pause: 'hover' + , wrap: true + } + + Carousel.prototype.cycle = function (e) { + e || (this.paused = false) + + this.interval && clearInterval(this.interval) + + this.options.interval + && !this.paused + && (this.interval = setInterval($.proxy(this.next, this), this.options.interval)) + + return this + } + + Carousel.prototype.getActiveIndex = function () { + this.$active = this.$element.find('.item.active') + this.$items = this.$active.parent().children() + + return this.$items.index(this.$active) + } + + Carousel.prototype.to = function (pos) { + var that = this + var activeIndex = this.getActiveIndex() + + if (pos > (this.$items.length - 1) || pos < 0) return + + if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) + if (activeIndex == pos) return this.pause().cycle() + + return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos])) + } + + Carousel.prototype.pause = function (e) { + e || (this.paused = true) + + if (this.$element.find('.next, .prev').length && $.support.transition.end) { + this.$element.trigger($.support.transition.end) + this.cycle(true) + } + + this.interval = clearInterval(this.interval) + + return this + } + + Carousel.prototype.next = function () { + if (this.sliding) return + return this.slide('next') + } + + Carousel.prototype.prev = function () { + if (this.sliding) return + return this.slide('prev') + } + + Carousel.prototype.slide = function (type, next) { + var $active = this.$element.find('.item.active') + var $next = next || $active[type]() + var isCycling = this.interval + var direction = type == 'next' ? 'left' : 'right' + var fallback = type == 'next' ? 'first' : 'last' + var that = this + + if (!$next.length) { + if (!this.options.wrap) return + $next = this.$element.find('.item')[fallback]() + } + + this.sliding = true + + isCycling && this.pause() + + var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction }) + + if ($next.hasClass('active')) return + + if (this.$indicators.length) { + this.$indicators.find('.active').removeClass('active') + this.$element.one('slid.bs.carousel', function () { + var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()]) + $nextIndicator && $nextIndicator.addClass('active') + }) + } + + if ($.support.transition && this.$element.hasClass('slide')) { + this.$element.trigger(e) + if (e.isDefaultPrevented()) return + $next.addClass(type) + $next[0].offsetWidth // force reflow + $active.addClass(direction) + $next.addClass(direction) + $active + .one($.support.transition.end, function () { + $next.removeClass([type, direction].join(' ')).addClass('active') + $active.removeClass(['active', direction].join(' ')) + that.sliding = false + setTimeout(function () { that.$element.trigger('slid.bs.carousel') }, 0) + }) + .emulateTransitionEnd(600) + } else { + this.$element.trigger(e) + if (e.isDefaultPrevented()) return + $active.removeClass('active') + $next.addClass('active') + this.sliding = false + this.$element.trigger('slid.bs.carousel') + } + + isCycling && this.cycle() + + return this + } + + + // CAROUSEL PLUGIN DEFINITION + // ========================== + + var old = $.fn.carousel + + $.fn.carousel = function (option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.carousel') + var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option) + var action = typeof option == 'string' ? option : options.slide + + if (!data) $this.data('bs.carousel', (data = new Carousel(this, options))) + if (typeof option == 'number') data.to(option) + else if (action) data[action]() + else if (options.interval) data.pause().cycle() + }) + } + + $.fn.carousel.Constructor = Carousel + + + // CAROUSEL NO CONFLICT + // ==================== + + $.fn.carousel.noConflict = function () { + $.fn.carousel = old + return this + } + + + // CAROUSEL DATA-API + // ================= + + $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) { + var $this = $(this), href + var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7 + var options = $.extend({}, $target.data(), $this.data()) + var slideIndex = $this.attr('data-slide-to') + if (slideIndex) options.interval = false + + $target.carousel(options) + + if (slideIndex = $this.attr('data-slide-to')) { + $target.data('bs.carousel').to(slideIndex) + } + + e.preventDefault() + }) + + $(window).on('load', function () { + $('[data-ride="carousel"]').each(function () { + var $carousel = $(this) + $carousel.carousel($carousel.data()) + }) + }) + +}(jQuery); diff --git a/assets/js/bootstrap/collapse.js b/assets/js/bootstrap/collapse.js new file mode 100644 index 0000000..1a07993 --- /dev/null +++ b/assets/js/bootstrap/collapse.js @@ -0,0 +1,179 @@ +/* ======================================================================== + * Bootstrap: collapse.js v3.0.3 + * http://getbootstrap.com/javascript/#collapse + * ======================================================================== + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ======================================================================== */ + + ++function ($) { "use strict"; + + // COLLAPSE PUBLIC CLASS DEFINITION + // ================================ + + var Collapse = function (element, options) { + this.$element = $(element) + this.options = $.extend({}, Collapse.DEFAULTS, options) + this.transitioning = null + + if (this.options.parent) this.$parent = $(this.options.parent) + if (this.options.toggle) this.toggle() + } + + Collapse.DEFAULTS = { + toggle: true + } + + Collapse.prototype.dimension = function () { + var hasWidth = this.$element.hasClass('width') + return hasWidth ? 'width' : 'height' + } + + Collapse.prototype.show = function () { + if (this.transitioning || this.$element.hasClass('in')) return + + var startEvent = $.Event('show.bs.collapse') + this.$element.trigger(startEvent) + if (startEvent.isDefaultPrevented()) return + + var actives = this.$parent && this.$parent.find('> .panel > .in') + + if (actives && actives.length) { + var hasData = actives.data('bs.collapse') + if (hasData && hasData.transitioning) return + actives.collapse('hide') + hasData || actives.data('bs.collapse', null) + } + + var dimension = this.dimension() + + this.$element + .removeClass('collapse') + .addClass('collapsing') + [dimension](0) + + this.transitioning = 1 + + var complete = function () { + this.$element + .removeClass('collapsing') + .addClass('in') + [dimension]('auto') + this.transitioning = 0 + this.$element.trigger('shown.bs.collapse') + } + + if (!$.support.transition) return complete.call(this) + + var scrollSize = $.camelCase(['scroll', dimension].join('-')) + + this.$element + .one($.support.transition.end, $.proxy(complete, this)) + .emulateTransitionEnd(350) + [dimension](this.$element[0][scrollSize]) + } + + Collapse.prototype.hide = function () { + if (this.transitioning || !this.$element.hasClass('in')) return + + var startEvent = $.Event('hide.bs.collapse') + this.$element.trigger(startEvent) + if (startEvent.isDefaultPrevented()) return + + var dimension = this.dimension() + + this.$element + [dimension](this.$element[dimension]()) + [0].offsetHeight + + this.$element + .addClass('collapsing') + .removeClass('collapse') + .removeClass('in') + + this.transitioning = 1 + + var complete = function () { + this.transitioning = 0 + this.$element + .trigger('hidden.bs.collapse') + .removeClass('collapsing') + .addClass('collapse') + } + + if (!$.support.transition) return complete.call(this) + + this.$element + [dimension](0) + .one($.support.transition.end, $.proxy(complete, this)) + .emulateTransitionEnd(350) + } + + Collapse.prototype.toggle = function () { + this[this.$element.hasClass('in') ? 'hide' : 'show']() + } + + + // COLLAPSE PLUGIN DEFINITION + // ========================== + + var old = $.fn.collapse + + $.fn.collapse = function (option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.collapse') + var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option) + + if (!data) $this.data('bs.collapse', (data = new Collapse(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + $.fn.collapse.Constructor = Collapse + + + // COLLAPSE NO CONFLICT + // ==================== + + $.fn.collapse.noConflict = function () { + $.fn.collapse = old + return this + } + + + // COLLAPSE DATA-API + // ================= + + $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) { + var $this = $(this), href + var target = $this.attr('data-target') + || e.preventDefault() + || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7 + var $target = $(target) + var data = $target.data('bs.collapse') + var option = data ? 'toggle' : $this.data() + var parent = $this.attr('data-parent') + var $parent = parent && $(parent) + + if (!data || !data.transitioning) { + if ($parent) $parent.find('[data-toggle=collapse][data-parent="' + parent + '"]').not($this).addClass('collapsed') + $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed') + } + + $target.collapse(option) + }) + +}(jQuery); diff --git a/assets/js/bootstrap/dropdown.js b/assets/js/bootstrap/dropdown.js new file mode 100644 index 0000000..13352ef --- /dev/null +++ b/assets/js/bootstrap/dropdown.js @@ -0,0 +1,154 @@ +/* ======================================================================== + * Bootstrap: dropdown.js v3.0.3 + * http://getbootstrap.com/javascript/#dropdowns + * ======================================================================== + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ======================================================================== */ + + ++function ($) { "use strict"; + + // DROPDOWN CLASS DEFINITION + // ========================= + + var backdrop = '.dropdown-backdrop' + var toggle = '[data-toggle=dropdown]' + var Dropdown = function (element) { + $(element).on('click.bs.dropdown', this.toggle) + } + + Dropdown.prototype.toggle = function (e) { + var $this = $(this) + + if ($this.is('.disabled, :disabled')) return + + var $parent = getParent($this) + var isActive = $parent.hasClass('open') + + clearMenus() + + if (!isActive) { + if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) { + // if mobile we use a backdrop because click events don't delegate + $('