├── .circleci └── config.yml ├── .dev ├── docs │ ├── Makefile │ ├── apigen │ │ ├── apigen.neon │ │ ├── contributor-list.php │ │ ├── godaddy │ │ │ ├── 404.latte │ │ │ ├── @elementlist.latte │ │ │ ├── @layout.latte │ │ │ ├── annotation-group.latte │ │ │ ├── class.latte │ │ │ ├── combined.js.latte │ │ │ ├── config.neon │ │ │ ├── constant.latte │ │ │ ├── elementlist.js.latte │ │ │ ├── footer.latte │ │ │ ├── function.latte │ │ │ ├── header.latte │ │ │ ├── js │ │ │ │ ├── jquery.autocomplete.js │ │ │ │ ├── jquery.cookie.js │ │ │ │ ├── jquery.min.js │ │ │ │ ├── jquery.sortElements.js │ │ │ │ ├── jquery.sprintf.js │ │ │ │ ├── main.js │ │ │ │ ├── prism.js │ │ │ │ └── vendor.js │ │ │ ├── menu │ │ │ │ ├── business-solutions.html │ │ │ │ ├── community.html │ │ │ │ ├── documentation.html │ │ │ │ ├── footer-documentation.html │ │ │ │ └── help.html │ │ │ ├── namespace.latte │ │ │ ├── opensearch.xml.latte │ │ │ ├── overview.latte │ │ │ ├── package.latte │ │ │ ├── resources │ │ │ │ ├── css │ │ │ │ │ ├── bootstrap.min.css │ │ │ │ │ ├── font-awesome.min.css │ │ │ │ │ ├── prism.css │ │ │ │ │ ├── responsive.css │ │ │ │ │ └── styles.css │ │ │ │ ├── favicon.png │ │ │ │ ├── fonts │ │ │ │ │ ├── FontAwesome.otf │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ │ ├── fontawesome-webfont.woff2 │ │ │ │ │ ├── godaddydingbats-webfont.eot │ │ │ │ │ ├── godaddydingbats-webfont.svg │ │ │ │ │ ├── godaddydingbats-webfont.ttf │ │ │ │ │ ├── godaddydingbats-webfont.woff │ │ │ │ │ └── godaddydingbats-webfont.woff2 │ │ │ │ ├── godaddy-logo-white.png │ │ │ │ ├── godaddy-logo.png │ │ │ │ ├── inherit.png │ │ │ │ ├── open-hub.png │ │ │ │ ├── resize.png │ │ │ │ ├── search.png │ │ │ │ ├── sort.png │ │ │ │ ├── tree-cleaner.png │ │ │ │ ├── tree-hasnext.png │ │ │ │ ├── tree-last.png │ │ │ │ └── tree-vertical.png │ │ │ ├── robots.txt.latte │ │ │ ├── sitemap.xml.latte │ │ │ ├── source.latte │ │ │ └── tree.latte │ │ └── hook-docs.php │ ├── requirements.txt │ └── sphinx │ │ ├── godaddy │ │ ├── globaltoc.html │ │ ├── layout.html │ │ ├── localtoc.html │ │ ├── menu │ │ │ ├── business-solutions.html │ │ │ ├── community.html │ │ │ ├── documentation.html │ │ │ ├── footer-documentation.html │ │ │ └── help.html │ │ ├── search.html │ │ ├── static │ │ │ ├── app.js │ │ │ ├── css │ │ │ │ ├── bootstrap.min.css │ │ │ │ ├── default.css │ │ │ │ ├── font-awesome.min.css │ │ │ │ ├── fonts.css │ │ │ │ ├── pygments.css │ │ │ │ ├── responsive.css │ │ │ │ └── style.css │ │ │ ├── favicon.png │ │ │ ├── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ ├── fontawesome-webfont.woff2 │ │ │ │ ├── gddingbats-webfont.eot │ │ │ │ ├── gddingbats-webfont.svg │ │ │ │ ├── gddingbats-webfont.ttf │ │ │ │ ├── gddingbats-webfont.woff │ │ │ │ ├── gddingbats-webfont.woff2 │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ ├── godaddy-head-logo.png │ │ │ ├── godaddy-logo-white.png │ │ │ ├── godaddy-logo.png │ │ │ ├── jquery.js │ │ │ ├── search.js │ │ │ ├── search.png │ │ │ ├── typeahead.js │ │ │ └── vendor.js │ │ └── theme.conf │ │ ├── src │ │ ├── 404.rst │ │ ├── Makefile │ │ ├── changelog.md │ │ ├── child-themes.md │ │ ├── conf.py │ │ ├── contents.rst │ │ ├── contributors.md │ │ ├── how-to.rst │ │ ├── index.md │ │ ├── install.md │ │ ├── intro.md │ │ ├── license.md │ │ ├── recommended-plugins.md │ │ └── tutorials-and-examples │ │ │ └── tutorials │ │ │ ├── acceptance-tests.md │ │ │ ├── conditional-menus.md │ │ │ ├── contributing.md │ │ │ ├── debugging.md │ │ │ ├── infinite-scroll-jetpack.md │ │ │ └── mu-plugin.md │ │ └── tutorial-assets │ │ └── downloads │ │ └── primer-jetpack-infinite-scroll-mu-plugin.zip ├── install-wp-tests.sh └── sass │ ├── admin │ ├── customizer-fonts.scss │ └── layouts.scss │ ├── blocks │ ├── blocks.scss │ ├── button.scss │ ├── coblocks.scss │ ├── columns.scss │ ├── contact-widgets.scss │ ├── cover.scss │ ├── embed.scss │ ├── gallery.scss │ ├── image.scss │ ├── latest-posts.scss │ ├── paragraph.scss │ ├── pullquote.scss │ ├── quote.scss │ └── separator.scss │ ├── common │ ├── _customizer.scss │ ├── _mixins.scss │ ├── _normalize.scss │ └── _variables.scss │ ├── compat │ ├── bb-block-editor.scss │ ├── ninja-forms.scss │ └── woocommerce.scss │ ├── components │ ├── _buttons.scss │ ├── _captions.scss │ ├── _elements.scss │ ├── _forms.scss │ ├── _galleries.scss │ ├── _links.scss │ ├── _lists.scss │ ├── _media.scss │ ├── _menus.scss │ ├── _pointers.scss │ ├── _tables.scss │ └── _typography.scss │ ├── editor-blocks.scss │ ├── editor-frame.scss │ ├── editor-style.scss │ ├── layouts │ ├── _comments.scss │ ├── _footer.scss │ ├── _header.scss │ ├── _hero.scss │ ├── _posts-and-pages.scss │ ├── _site.scss │ ├── _video-header.scss │ └── _widgets.scss │ ├── modules │ ├── _accessibility.scss │ ├── _alignments.scss │ ├── _clearings.scss │ ├── _genericons.scss │ └── _jetpack.scss │ └── style.scss ├── .distignore ├── .gitignore ├── .gitmodules ├── 404.php ├── Gruntfile.js ├── archive.php ├── assets ├── css │ └── admin │ │ ├── customizer-fonts-rtl.css │ │ ├── customizer-fonts-rtl.min.css │ │ ├── customizer-fonts.css │ │ ├── customizer-fonts.min.css │ │ ├── editor-blocks-rtl.css │ │ ├── editor-blocks-rtl.min.css │ │ ├── editor-blocks.css │ │ ├── editor-blocks.min.css │ │ ├── editor-frame-rtl.css │ │ ├── editor-frame-rtl.min.css │ │ ├── editor-frame.css │ │ ├── editor-frame.min.css │ │ ├── layouts-rtl.css │ │ ├── layouts-rtl.min.css │ │ ├── layouts.css │ │ └── layouts.min.css ├── genericons │ ├── Genericons.eot │ ├── Genericons.svg │ ├── Genericons.ttf │ └── Genericons.woff ├── images │ ├── fonts │ │ └── sprite-sheet.png │ ├── hero-thumbnail.jpg │ ├── hero.jpg │ └── layouts │ │ ├── one-column-narrow-rtl.svg │ │ ├── one-column-narrow.svg │ │ ├── one-column-wide-rtl.svg │ │ ├── one-column-wide.svg │ │ ├── three-column-center-rtl.svg │ │ ├── three-column-center.svg │ │ ├── three-column-default-rtl.svg │ │ ├── three-column-default.svg │ │ ├── three-column-reversed-rtl.svg │ │ ├── three-column-reversed.svg │ │ ├── two-column-default-rtl.svg │ │ ├── two-column-default.svg │ │ ├── two-column-reversed-rtl.svg │ │ └── two-column-reversed.svg └── js │ ├── admin │ ├── colors-control.js │ ├── colors-control.min.js │ ├── customizer-fonts.js │ ├── customizer-fonts.min.js │ ├── customizer.js │ ├── customizer.min.js │ ├── editor-frame.js │ ├── editor-frame.min.js │ ├── hero-text-widget.js │ ├── hero-text-widget.min.js │ ├── layouts.js │ └── layouts.min.js │ ├── navigation.js │ └── navigation.min.js ├── comments.php ├── composer.json ├── composer.lock ├── content-none.php ├── content-page.php ├── content-search.php ├── content.php ├── editor-style-rtl.css ├── editor-style.css ├── footer.php ├── functions.php ├── header.php ├── inc ├── compat │ ├── beaver-builder.php │ ├── child-themes.php │ ├── deprecated.php │ ├── gutenberg.php │ ├── jetpack.php │ ├── woocommerce.php │ └── wordpress.php ├── customizer.php ├── customizer │ ├── colors.php │ ├── fonts.php │ ├── layouts.php │ ├── site-identity.php │ └── static-front-page.php ├── deprecation-notice.php ├── helpers.php ├── hero-text-widget.php ├── hooks.php ├── template-tags.php └── walker-nav-menu.php ├── index.php ├── languages ├── da_DK.mo ├── de_DE.mo ├── el.mo ├── es_ES.mo ├── es_MX.mo ├── fi.mo ├── fr_FR.mo ├── hi_IN.mo ├── id_ID.mo ├── it_IT.mo ├── ja.mo ├── ko_KR.mo ├── mr.mo ├── ms_MY.mo ├── nb_NO.mo ├── nl_NL.mo ├── pl_PL.mo ├── primer-da_DK.po ├── primer-de_DE.po ├── primer-el.po ├── primer-es_ES.po ├── primer-es_MX.po ├── primer-fi.po ├── primer-fr_FR.po ├── primer-hi_IN.po ├── primer-id_ID.po ├── primer-it_IT.po ├── primer-ja.po ├── primer-ko_KR.po ├── primer-mr.po ├── primer-ms_MY.po ├── primer-nb_NO.po ├── primer-nl_NL.po ├── primer-pl_PL.po ├── primer-pt_BR.po ├── primer-pt_PT.po ├── primer-ru_RU.po ├── primer-sr_RS.po ├── primer-sv_SE.po ├── primer-th.po ├── primer-tl.po ├── primer-tr_TR.po ├── primer-uk.po ├── primer-vi.po ├── primer-zh_CN.po ├── primer-zh_TW.po ├── primer.pot ├── pt_BR.mo ├── pt_PT.mo ├── ru_RU.mo ├── sr_RS.mo ├── sv_SE.mo ├── th.mo ├── tl.mo ├── tr_TR.mo ├── uk.mo ├── vi.mo ├── zh_CN.mo └── zh_TW.mo ├── license.txt ├── package-lock.json ├── package.json ├── page.php ├── phpcs.xml ├── readme.md ├── readme.txt ├── screenshot.png ├── search.php ├── sidebar-tertiary.php ├── sidebar.php ├── single.php ├── style-rtl.css ├── style.css └── templates ├── parts ├── credit.php ├── footer-navigation.php ├── footer-widgets.php ├── hero.php ├── loop │ ├── page-content.php │ ├── page-footer.php │ ├── post-content.php │ ├── post-excerpt.php │ ├── post-footer.php │ ├── post-meta.php │ ├── post-search-footer.php │ ├── post-thumbnail.php │ └── post-title.php ├── mobile-menu.php ├── page-title.php ├── primary-navigation.php ├── site-info.php ├── site-title.php └── social-navigation.php └── woocommerce ├── 404.php └── loop └── pagination.php /.dev/docs/Makefile: -------------------------------------------------------------------------------- 1 | # MakeFile for building all the docs at once. 2 | # Inspired by the Makefile used by bazaar. 3 | # http://bazaar.launchpad.net/~bzr-pqm/bzr/2.3/ 4 | 5 | PYTHON = python 6 | ES_HOST = 7 | 8 | .PHONY: all clean html website 9 | 10 | # Languages that can be built. 11 | # LANGS = en es fr ja pt zh tr 12 | LANGS = en 13 | 14 | # Dependencies to perform before running other builds. 15 | # Clone the en/Makefile everywhere. 16 | SPHINX_DEPENDENCIES = $(foreach lang, $(LANGS), $(lang)/Makefile) 17 | 18 | # Copy-paste the English Makefile everywhere it's needed (if non existing). 19 | %/Makefile: Makefile 20 | cp -n sphinx/src/makefile sphinx/src/makefile 21 | 22 | # 23 | # The various formats the documentation can be created in. 24 | # 25 | # Loop over the possible languages and call other build targets. 26 | # 27 | html: 28 | cd sphinx/src && make html 29 | make build/html/_static/css/app.css 30 | make build/html/_static/app.js 31 | 32 | clean: 33 | rm -rf build/* 34 | 35 | build/html/_static: 36 | mkdir -p build/html/_static 37 | 38 | CSS_FILES = sphinx/godaddy/static/css/fonts.css \ 39 | sphinx/godaddy/static/css/bootstrap.min.css \ 40 | sphinx/godaddy/static/css/font-awesome.min.css \ 41 | sphinx/godaddy/static/css/style.css \ 42 | sphinx/godaddy/static/css/default.css \ 43 | sphinx/godaddy/static/css/pygments.css \ 44 | sphinx/godaddy/static/css/responsive.css 45 | 46 | build/html/_static/css/app.css: build/html/_static/css $(CSS_FILES) 47 | # echo all dependencies ($$^) into the output ($$@) 48 | cat $(CSS_FILES) > $@ 49 | 50 | JS_FILES = sphinx/godaddy/static/jquery.js \ 51 | sphinx/godaddy/static/vendor.js \ 52 | sphinx/godaddy/static/app.js \ 53 | sphinx/godaddy/static/search.js \ 54 | sphinx/godaddy/static/typeahead.js 55 | 56 | build/html/_static/app.js: build/html/_static $(JS_FILES) 57 | # echo all dependencies ($JS_FILES) into the output ($$@) 58 | cat $(JS_FILES) > $@ 59 | -------------------------------------------------------------------------------- /.dev/docs/apigen/apigen.neon: -------------------------------------------------------------------------------- 1 | # documentation title 2 | title: Primer Theme 3 | 4 | # source files 5 | source: . 6 | 7 | # documentation destination 8 | destination: .dev/docs/sphinx/src/documentation/ 9 | 10 | ## excluded files 11 | exclude: 12 | - .dev/ 13 | - assets/ 14 | - languages/ 15 | - node_modules/ 16 | - vendor/ 17 | 18 | # choose ApiGen template theme 19 | templateTheme: default 20 | 21 | # template config location 22 | # templateConfig: .dev/docs/apigen/theme-godaddy/config.neon 23 | templateConfig: .dev/docs/apigen/godaddy/config.neon 24 | 25 | # list of scanned file extensions (e.g. php5, php...) 26 | extensions: [php] 27 | 28 | # Custom google search engine id (for search box). 29 | #googleCseId: {put it here!} 30 | 31 | # Google Analytics tracking code. 32 | #googleAnalytics: {put it here} 33 | 34 | # generate highlighted source code for elements 35 | sourceCode: true 36 | 37 | # generate tree view of classes, interfaces, traits and exceptions 38 | tree: true 39 | 40 | # generate documentation for deprecated elements 41 | # deprecated: true 42 | 43 | # generate list of tasks with @ todo annotation 44 | # todo: true 45 | 46 | # add link to ZIP archive of documentation 47 | download: false 48 | -------------------------------------------------------------------------------- /.dev/docs/apigen/contributor-list.php: -------------------------------------------------------------------------------- 1 |
' . $contributor['login'] . '
86 | '; 87 | 88 | } 89 | 90 | file_put_contents( '../sphinx/src/contributors.md', ob_get_clean() ); 91 | 92 | } 93 | 94 | /** 95 | * Generate the changelog 96 | * 97 | * @return mixed 98 | */ 99 | public static function generate_changelog() { 100 | 101 | ob_start(); 102 | 103 | echo '## Changelog'; 104 | 105 | $contents = file_get_contents( '../../../readme.md' ); 106 | 107 | $explode = explode( '## Changelog ##', $contents ); 108 | 109 | echo $explode[1]; 110 | 111 | file_put_contents( '../sphinx/src/changelog.md', ob_get_clean() ); 112 | 113 | } 114 | 115 | } 116 | 117 | Primer_Contributor_List::generate_file(); 118 | Primer_Contributor_List::generate_changelog(); 119 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/404.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | {layout '@layout.latte'} 12 | {var $robots = false} 13 | 14 | {block #title}Page not found{/block} 15 | 16 | {block #content} 17 |
18 |

{include #title}

19 |

The requested page could not be found.

20 |

You have probably clicked on a link that is outdated and points to a page that does not exist any more or you have made an typing error in the address.

21 |

To continue please try to find requested page in the menu,{if $config->tree} take a look at the tree view of the whole project{/if} or use search field on the top.

22 |
23 | {/block} 24 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/@elementlist.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | {define #elements} 12 |
  • 13 |
    {if $namespace}{$element->shortName}{else}{$element->name}{/if}
    14 |

    {$element|shortDescription|noescape}

    15 |
  • 16 | {/define} 17 | 18 |
    19 |

    Class summary

    20 | 23 |
    24 | 25 |
    26 |

    Interface summary

    27 | 30 |
    31 | 32 |
    33 |

    Traits summary

    34 | 37 |
    38 | 39 |
    40 |

    Exception summary

    41 | 44 |
    45 | 46 |
    47 |

    Constant summary

    48 | 51 |
    52 | 53 |
    54 |

    Function summary

    55 | 58 |
    59 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/combined.js.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | {contentType javascript} 12 | var ApiGen = ApiGen || {}; 13 | ApiGen.config = {$config->template}; 14 | 15 | {var $scripts = ['jquery.min.js', 'jquery.cookie.js', 'jquery.sprintf.js', 16 | 'jquery.autocomplete.js', 'vendor.js', 'main.js', 'prism.js']} 17 | 18 | {foreach $scripts as $script} 19 | {file_get_contents("$basePath/js/$script")|noescape} 20 | {/foreach} 21 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/config.neon: -------------------------------------------------------------------------------- 1 | name: "GoDaddy" 2 | 3 | options: 4 | activeVersion: '1.8.10' 5 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/constant.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | {layout '@layout.latte'} 12 | {var $active = 'constant'} 13 | 14 | {block #title}{if $constant->deprecated}Deprecated {/if}Constant {$constant->name}{/block} 15 | 16 | {block #content} 17 |
    18 |

    Constant {$constant->shortName}

    19 | 20 | {if $constant->valid} 21 | 22 |
    23 | {$constant|longDescription|noescape} 24 |
    25 | 26 |
    27 | {if $constant->inNamespace()}Namespace: {$constant->namespaceName|namespaceLinks|noescape}
    {/if} 28 | {if $constant->inPackage()}Package: {$constant->packageName|packageLinks|noescape}
    {/if} 29 | {foreach $template->annotationSort($template->annotationFilter($constant->annotations, array('var'))) as $annotation => $values} 30 | {foreach $values as $value} 31 | {$annotation|annotationBeautify}{if $value}:{/if} 32 | {$value|annotation:$annotation:$constant|noescape}
    33 | {/foreach} 34 | {/foreach} 35 | Located at {$constant->fileName|relativePath}
    36 |
    37 | 38 | {var $annotations = $constant->annotations} 39 | 40 | 41 | 42 | 43 | 44 | 48 | 49 |
    Value summary
    {$constant->typeHint|typeLinks:$constant|noescape}{block|strip} 45 | {var $element = $this->resolveElement($constant->valueDefinition, $constant)} 46 | {if $element}{$constant->valueDefinition}{else}{$constant->valueDefinition|highlightValue:$constant|noescape}{/if} 47 | {/block}
    50 | 51 | {else} 52 |
    53 |

    54 | Documentation of this constant could not be generated. 55 |

    56 |

    57 | Constant was originally declared in {$constant->fileName|relativePath} and is invalid because of: 58 |

    59 | 62 |
    63 | {/if} 64 |
    65 | {/block} 66 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/elementlist.js.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | {contentType javascript} 12 | 13 | var ApiGen = ApiGen || {}; 14 | ApiGen.elements = {$elements}; 15 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/js/jquery.sortElements.js: -------------------------------------------------------------------------------- 1 | /** 2 | * jQuery.fn.sortElements 3 | * -------------- 4 | * @author James Padolsey (http://james.padolsey.com) 5 | * @version 0.11 6 | * @updated 18-MAR-2010 7 | * -------------- 8 | * @param Function comparator: 9 | * Exactly the same behaviour as [1,2,3].sort(comparator) 10 | * 11 | * @param Function getSortable 12 | * A function that should return the element that is 13 | * to be sorted. The comparator will run on the 14 | * current collection, but you may want the actual 15 | * resulting sort to occur on a parent or another 16 | * associated element. 17 | * 18 | * E.g. $('td').sortElements(comparator, function(){ 19 | * return this.parentNode; 20 | * }) 21 | * 22 | * The 's parent () will be sorted instead 23 | * of the itself. 24 | */ 25 | jQuery.fn.sortElements = (function(){ 26 | 27 | var sort = [].sort; 28 | 29 | return function(comparator, getSortable) { 30 | 31 | getSortable = getSortable || function(){return this;}; 32 | 33 | var placements = this.map(function(){ 34 | 35 | var sortElement = getSortable.call(this), 36 | parentNode = sortElement.parentNode, 37 | 38 | // Since the element itself will change position, we have 39 | // to have some way of storing it's original position in 40 | // the DOM. The easiest way is to have a 'flag' node: 41 | nextSibling = parentNode.insertBefore( 42 | document.createTextNode(''), 43 | sortElement.nextSibling 44 | ); 45 | 46 | return function() { 47 | 48 | if (parentNode === this) { 49 | throw new Error( 50 | "You can't sort elements if any one is a descendant of another." 51 | ); 52 | } 53 | 54 | // Insert before flag: 55 | parentNode.insertBefore(this, nextSibling); 56 | // Remove flag: 57 | parentNode.removeChild(nextSibling); 58 | 59 | }; 60 | 61 | }); 62 | 63 | return sort.call(this, comparator).each(function(i){ 64 | placements[i].call(getSortable.call(this)); 65 | }); 66 | 67 | }; 68 | 69 | })(); -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/js/jquery.sprintf.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * sprintf and vsprintf for jQuery 3 | * somewhat based on http://jan.moesen.nu/code/javascript/sprintf-and-printf-in-javascript/ 4 | * Copyright (c) 2008 Sabin Iacob (m0n5t3r) 5 | * @license http://www.gnu.org/licenses/gpl.html 6 | * @project jquery.sprintf 7 | */ 8 | (function(d){var a={b:function(e){return parseInt(e,10).toString(2)},c:function(e){return String.fromCharCode(parseInt(e,10))},d:function(e){return parseInt(e,10)},u:function(e){return Math.abs(e)},f:function(f,e){e=parseInt(e,10);f=parseFloat(f);if(isNaN(e&&f)){return NaN}return e&&f.toFixed(e)||f},o:function(e){return parseInt(e,10).toString(8)},s:function(e){return e},x:function(e){return(""+parseInt(e,10).toString(16)).toLowerCase()},X:function(e){return(""+parseInt(e,10).toString(16)).toUpperCase()}};var c=/%(?:(\d+)?(?:\.(\d+))?|\(([^)]+)\))([%bcdufosxX])/g;var b=function(f){if(f.length==1&&typeof f[0]=="object"){f=f[0];return function(i,h,k,j,g,m,l){return a[g](f[j])}}else{var e=0;return function(i,h,k,j,g,m,l){if(g=="%"){return"%"}return a[g](f[e++],k)}}};d.extend({sprintf:function(f){var e=Array.apply(null,arguments).slice(1);return f.replace(c,b(e))},vsprintf:function(f,e){return f.replace(c,b(e))}})})(jQuery); 9 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/menu/business-solutions.html: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/menu/community.html: -------------------------------------------------------------------------------- 1 | {* community menu fragment for header/footer *} 2 | 3 | 4 |
  • About Us
  • 5 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/menu/documentation.html: -------------------------------------------------------------------------------- 1 | {* documentation menu fragment used in the header *} 2 |
  • Wiki
  • 3 |
  • Documentation
  • 4 |
  • Tutorials
  • 5 |
  • License
  • 6 |
  • Changelog
  • 7 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/menu/footer-documentation.html: -------------------------------------------------------------------------------- 1 | {* documentation menu fragment used in the footer *} 2 | 5 | {include './documentation.html'} 6 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/menu/help.html: -------------------------------------------------------------------------------- 1 | {* help menu fragment for header/footer *} 2 | 3 | 4 |
  • GitHub
  • 5 |
  • WordPress
  • 6 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/namespace.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | {layout '@layout.latte'} 12 | {var $active = 'namespace'} 13 | 14 | {block #title}{if $namespace != 'None'}Namespace {$namespace}{else}No namespace{/if}{/block} 15 | 16 | {block #content} 17 |
    18 |

    {if $namespace != 'None'}Namespace {$namespace|namespaceLinks:false|noescape}{else}No namespace{/if}

    19 | 20 |
    21 |

    Namespaces summary

    22 | 23 | 28 |
    29 | 30 | {include '@elementlist.latte'} 31 |
    32 | {/block} 33 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/opensearch.xml.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | 12 | 13 | {$config->title} 14 | {$config->title} Documentation 15 | 16 | {$config->baseUrl}/favicon.ico 17 | open 18 | UTF-8 19 | UTF-8 20 | 21 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/overview.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | {layout '@layout.latte'} 12 | {var $active = 'overview'} 13 | 14 | {block #title}{$config->title ?: 'Overview'}{/block} 15 | 16 | {block #content} 17 |
    18 |

    {include #title}

    19 | 20 | {var $group = false} 21 | 22 | {if $namespaces} 23 | {if} 24 |
    25 |

    Namespaces summary

    26 |
      27 | {foreach $namespaces as $namespace} 28 | {continueIf $config->main && 0 !== strpos($namespace, $config->main)} 29 |
    • 30 | {var $group = true} 31 | {$namespace} 32 |
    • 33 | {/foreach} 34 |
    35 |
    36 | {/if $iterations} 37 | {/if} 38 | 39 | {if $packages} 40 | {if} 41 |
    42 |

    Packages summary

    43 |
      44 | {foreach $packages as $package} 45 | {continueIf $config->main && 0 !== strpos($package, $config->main)} 46 |
    • 47 | {var $group = true} 48 | {$package} 49 |
    • 50 | {/foreach} 51 |
    52 |
    53 | {/if $iterations} 54 | {/if} 55 | 56 | {if !$group} 57 | {include '@elementlist.latte'} 58 | {/if} 59 |
    60 | {/block} 61 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/package.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | {layout '@layout.latte'} 12 | {var $active = 'package'} 13 | 14 | {block #title}{if $package != 'None'}Package {$package}{else}No package{/if}{/block} 15 | 16 | {block #content} 17 |
    18 |

    {if $package != 'None'}Package {$package|packageLinks:false|noescape}{else}No package{/if}

    19 | 20 |
    21 |

    Package summary

    22 | 27 |
    28 | 29 | {include '@elementlist.latte'} 30 |
    31 | {/block} 32 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/favicon.png -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/fonts/godaddydingbats-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/fonts/godaddydingbats-webfont.eot -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/fonts/godaddydingbats-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/fonts/godaddydingbats-webfont.ttf -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/fonts/godaddydingbats-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/fonts/godaddydingbats-webfont.woff -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/fonts/godaddydingbats-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/fonts/godaddydingbats-webfont.woff2 -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/godaddy-logo-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/godaddy-logo-white.png -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/godaddy-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/godaddy-logo.png -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/inherit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/inherit.png -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/open-hub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/open-hub.png -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/resize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/resize.png -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/search.png -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/sort.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/sort.png -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/tree-cleaner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/tree-cleaner.png -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/tree-hasnext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/tree-hasnext.png -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/tree-last.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/tree-last.png -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/resources/tree-vertical.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/apigen/godaddy/resources/tree-vertical.png -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/robots.txt.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | User-agent: * 12 | Disallow: 13 | Sitemap: {$config->baseUrl}/sitemap.xml 14 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/sitemap.xml.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | 12 | 13 | 14 | {$config->baseUrl}/index.html 15 | 16 | 17 | {$config->baseUrl}/{$namespace|namespaceUrl} 18 | 19 | 20 | {$config->baseUrl}/{$package|packageUrl} 21 | 22 | 23 | {define #elements} 24 | 25 | {$config->baseUrl}/{$element|elementUrl} 26 | 27 | {/define} 28 | 29 | {include #elements, elements => $classes} 30 | {include #elements, elements => $interfaces} 31 | {include #elements, elements => $traits} 32 | {include #elements, elements => $exceptions} 33 | {include #elements, elements => $constants} 34 | {include #elements, elements => $functions} 35 | 36 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/source.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | {layout '@layout.latte'} 12 | {var $robots = false} 13 | 14 | {block #title}File {$fileName}{/block} 15 | 16 | {block #content} 17 | {var $lineRegex = '~(\\s*(\\d+):\\s*)([^\\n]*(?:\\n|$))~'} 18 |
    {$source|replaceRE:$lineRegex,'$3'|noescape}
    19 | {/block} 20 | -------------------------------------------------------------------------------- /.dev/docs/apigen/godaddy/tree.latte: -------------------------------------------------------------------------------- 1 | {* 2 | ApiGen 3.0dev - API documentation generator for PHP 5.3+ 3 | 4 | Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) 5 | Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) 6 | Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) 7 | 8 | For the full copyright and license information, please view 9 | the file LICENSE.md that was distributed with this source code. 10 | *} 11 | {layout '@layout.latte'} 12 | {var $active = 'tree'} 13 | 14 | {block #title}Tree{/block} 15 | 16 | {define #tree} 17 |
    18 | '|repeat:$level - $tree->getDepth()|noescape} 25 | {elseif -1 !== $level} 26 | '|repeat:$level|noescape} 40 | 41 |
    42 | {/define} 43 | 44 | {block #content} 45 |
    46 |

    {include #title}

    47 | 48 | {if $classTree->valid()} 49 |

    Classes

    50 | {include #tree, tree => $classTree} 51 | {/if} 52 | 53 | {if $interfaceTree->valid()} 54 |

    Interfaces

    55 | {include #tree, tree => $interfaceTree} 56 | {/if} 57 | 58 | {if $traitTree->valid()} 59 |

    Traits

    60 | {include #tree, tree => $traitTree} 61 | {/if} 62 | 63 | {if $exceptionTree->valid()} 64 |

    Exceptions

    65 | {include #tree, tree => $exceptionTree} 66 | {/if} 67 |
    68 | {/block} 69 | -------------------------------------------------------------------------------- /.dev/docs/requirements.txt: -------------------------------------------------------------------------------- 1 | sphinx==1.4.5 2 | sphinxcontrib-phpdomain==0.2.0 3 | commonmark==0.5.4 4 | recommonmark==0.4.0 5 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/globaltoc.html: -------------------------------------------------------------------------------- 1 | {# 2 | basic/globaltoc.html 3 | ~~~~~~~~~~~~~~~~~~~~ 4 | 5 | Sphinx sidebar template: global table of contents. 6 | 7 | :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. 8 | :license: BSD, see LICENSE for details. 9 | #} 10 | 13 | 14 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/localtoc.html: -------------------------------------------------------------------------------- 1 | {# 2 | basic/localtoc.html 3 | ~~~~~~~~~~~~~~~~~~~~ 4 | 5 | Sphinx sidebar template: local table of contents. 6 | 7 | :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. 8 | :license: BSD, see LICENSE for details. 9 | #} 10 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/menu/business-solutions.html: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/menu/community.html: -------------------------------------------------------------------------------- 1 | {# community menu fragment for header/footer #} 2 | 3 | 4 |
  • About Us
  • 5 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/menu/documentation.html: -------------------------------------------------------------------------------- 1 | {# documentation menu fragment used in the header #} 2 |
  • Wiki
  • 3 |
  • Documentation
  • 4 |
  • Tutorials
  • 5 |
  • License
  • 6 |
  • Changelog
  • 7 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/menu/footer-documentation.html: -------------------------------------------------------------------------------- 1 | {# documentation menu fragment used in the footer #} 2 | 5 | {% include 'menu/documentation.html' %} 6 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/menu/help.html: -------------------------------------------------------------------------------- 1 | {# help menu fragment for header/footer #} 2 | 3 | 4 |
  • GitHub
  • 5 |
  • WordPress
  • 6 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/search.html: -------------------------------------------------------------------------------- 1 | {% extends "layout.html" %} 2 | 3 | {% set title = _('Search') %} 4 | {% set script_files = script_files + ['_static/search.js'] %} 5 | 6 | {% block body %} 7 |

    {{ _('Search') }}

    8 |
    9 | 10 |

    11 | {% trans %}Please activate JavaScript to enable the search 12 | functionality.{% endtrans %} 13 |

    14 |
    15 | 16 |

    17 | {% trans %}From here you can search these documents. Enter your search 18 | words into the box below and click "search". Note that the search 19 | function will automatically search for all of the words. Pages 20 | containing fewer words won't appear in the result list.{% endtrans %} 21 |

    22 | 23 |
    24 | 35 |
    36 |
    37 | 39 |
    40 |
    41 | {% endblock %} 42 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/css/fonts.css: -------------------------------------------------------------------------------- 1 | @import url(https://fonts.googleapis.com/css?family=Raleway:400,100,200,300,500,600,700,800,900); 2 | @import url(https://fonts.googleapis.com/css?family=Raleway:300italic); 3 | @import url(https://fonts.googleapis.com/css?family=Roboto+Mono:400,700italic,500italic,500,400italic,300italic,300,100italic,100,700); 4 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/favicon.png -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/gddingbats-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/gddingbats-webfont.eot -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/gddingbats-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/gddingbats-webfont.ttf -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/gddingbats-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/gddingbats-webfont.woff -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/gddingbats-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/gddingbats-webfont.woff2 -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/godaddy-head-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/godaddy-head-logo.png -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/godaddy-logo-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/godaddy-logo-white.png -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/godaddy-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/godaddy-logo.png -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/static/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/godaddy/static/search.png -------------------------------------------------------------------------------- /.dev/docs/sphinx/godaddy/theme.conf: -------------------------------------------------------------------------------- 1 | [theme] 2 | inherit = default 3 | stylesheet = default.css 4 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/404.rst: -------------------------------------------------------------------------------- 1 | :orphan: True 2 | 3 | Not Found 4 | ######### 5 | 6 | The page you're looking for cannot be found. Try using the search bar to find 7 | what you're looking for. 8 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/Makefile: -------------------------------------------------------------------------------- 1 | # Makefile for Sphinx documentation 2 | # 3 | 4 | # You can set these variables from the command line. 5 | SPHINXOPTS = 6 | SPHINXBUILD = sphinx-build 7 | PAPER = 8 | BUILDDIR = ../src/build/ 9 | PYTHON = python 10 | LANG = en 11 | 12 | # Internal variables. 13 | PAPEROPT_a4 = -D latex_paper_size=a4 14 | PAPEROPT_letter = -D latex_paper_size=letter 15 | ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . 16 | 17 | .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest 18 | 19 | help: 20 | @echo "Please use \`make ' where is one of" 21 | @echo " html to make standalone HTML files" 22 | @echo " dirhtml to make HTML files named index.html in directories" 23 | @echo " singlehtml to make a single large HTML file" 24 | @echo " pickle to make pickle files" 25 | @echo " json to make JSON files" 26 | @echo " htmlhelp to make HTML files and a HTML help project" 27 | @echo " qthelp to make HTML files and a qthelp project" 28 | @echo " devhelp to make HTML files and a Devhelp project" 29 | @echo " epub to make an epub" 30 | @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" 31 | @echo " latexpdf to make LaTeX files and run them through pdflatex" 32 | @echo " text to make text files" 33 | @echo " man to make manual pages" 34 | @echo " changes to make an overview of all changed/added/deprecated items" 35 | @echo " linkcheck to check all external links for integrity" 36 | @echo " doctest to run all doctests embedded in the documentation (if enabled)" 37 | 38 | clean: 39 | rm -rf $(BUILDDIR)* 40 | 41 | html: 42 | $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html 43 | @echo 44 | @echo "Build finished. The HTML pages are in $(BUILDDIR)/html/." 45 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/child-themes.md: -------------------------------------------------------------------------------- 1 | ## Official Child Themes 2 | 3 | ### Activation 4 | 5 | Activation is a Primer child theme with a colorful, fitness-focused design. 6 | 7 | [Link](https://wordpress.org/themes/activation/) | [Demo](https://wpnux.godaddy.com/?theme=activation) 8 | 9 | ![Activation preview](https://raw.githubusercontent.com/godaddy/wp-activation-theme/master/screenshot.png) 10 | 11 | ______ 12 | 13 | ### Ascension 14 | 15 | Ascension is a Primer child theme with a business-oriented design. 16 | 17 | [Link](https://github.com/godaddy/wp-ascension-theme) | [Demo](https://wpnux.godaddy.com/?theme=ascension) 18 | 19 | ![Ascension preview](https://raw.githubusercontent.com/godaddy/wp-ascension-theme/master/screenshot.png) 20 | 21 | ______ 22 | 23 | ### Escapade 24 | 25 | Escapade is a Primer child theme with a unique sidebar navigation. 26 | 27 | [Link](https://github.com/godaddy/wp-escapade-theme) | [Demo](https://wpnux.godaddy.com/?theme=escapade) 28 | 29 | ![Escapade preview](https://raw.githubusercontent.com/godaddy/wp-escapade-theme/master/screenshot.png) 30 | 31 | ______ 32 | 33 | ### Lyrical 34 | 35 | Lyrical is a Primer child theme with a focus on photography and beautiful fonts. 36 | 37 | [Link](https://github.com/godaddy/wp-lyrical-theme) | [Demo](https://wpnux.godaddy.com/?theme=lyrical) 38 | 39 | ![Lyrical preview](https://raw.githubusercontent.com/godaddy/wp-lyrical-theme/master/screenshot.png) 40 | 41 | ______ 42 | 43 | ### Mins 44 | 45 | Mins is a Primer child theme with a minimal design. 46 | 47 | [Link](https://github.com/godaddy/wp-mins-theme) | [Demo](https://wpnux.godaddy.com/?theme=mins) 48 | 49 | ![Mins preview](https://raw.githubusercontent.com/godaddy/wp-mins-theme/master/screenshot.png) 50 | 51 | ______ 52 | 53 | ### Scribbles 54 | 55 | Scribbles is a Primer child theme with a playful and fun mood. 56 | 57 | [Link](https://github.com/godaddy/wp-scribbles-theme) | [Demo](https://wpnux.godaddy.com/?theme=scribbles) 58 | 59 | ![Scribbles preview](https://raw.githubusercontent.com/godaddy/wp-scribbles-theme/master/screenshot.png) 60 | 61 | ______ 62 | 63 | ### Stout 64 | 65 | Stout is a GoDaddy Primer child theme with a bold vibe. 66 | 67 | [Link](https://github.com/godaddy/wp-stout-theme) | [Demo](https://wpnux.godaddy.com/?theme=stout) 68 | 69 | ![Stout preview](https://raw.githubusercontent.com/godaddy/wp-stout-theme/master/screenshot.png) 70 | 71 | ______ 72 | 73 | ### Uptown Style 74 | 75 | Uptown Style is a Primer child theme with elegance and class. 76 | 77 | [Link](https://github.com/godaddy/wp-uptown-style-theme) | [Demo](https://wpnux.godaddy.com/?theme=uptown-style) 78 | 79 | ![Uptown Style preview](https://raw.githubusercontent.com/godaddy/wp-uptown-style-theme/master/screenshot.png) 80 | 81 | ______ 82 | 83 | ### Velux 84 | 85 | Velux is a Primer child theme with a clean, professional, and upscale design. 86 | 87 | [Link](https://github.com/godaddy/wp-velux-theme) | [Demo](https://wpnux.godaddy.com/?theme=velux) 88 | 89 | ![Velux preview](https://raw.githubusercontent.com/godaddy/wp-velux-theme/master/screenshot.png) 90 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/contents.rst: -------------------------------------------------------------------------------- 1 | Contents 2 | ######## 3 | 4 | .. toctree:: 5 | :hidden: 6 | 7 | index 8 | 9 | .. toctree:: 10 | :maxdepth: 3 11 | :caption: Overview 12 | 13 | intro 14 | install 15 | recommended-plugins 16 | how-to 17 | child-themes 18 | license 19 | contributors 20 | changelog 21 | 22 | .. meta:: 23 | :title lang=en: Contents 24 | :keywords lang=en: ref search,deployment,glossary,models 25 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/contributors.md: -------------------------------------------------------------------------------- 1 | ## Contributors 2 | 3 |

    fjarrett
    4 |

    jonathanbardo
    5 |

    chriswallace
    6 |

    EvanHerman
    7 |

    schrapel
    8 |

    lukapaunovic
    9 |

    christianc1
    10 |

    gmays
    11 |

    wpexplorer
    12 |

    garand
    13 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/how-to.rst: -------------------------------------------------------------------------------- 1 | Tutorials & Examples 2 | #################### 3 | 4 | Primer contains many built-in actions and filters that allow you to fine-tune the behavior of the theme. 5 | 6 | You should never edit theme files directly, otherwise your customizations will be lost when the theme receives updates. 7 | 8 | .. toctree:: 9 | :maxdepth: 1 10 | :caption: Tutorials 11 | 12 | tutorials-and-examples/tutorials/mu-plugin 13 | tutorials-and-examples/tutorials/conditional-menus 14 | tutorials-and-examples/tutorials/contributing 15 | tutorials-and-examples/tutorials/acceptance-tests 16 | tutorials-and-examples/tutorials/debugging 17 | tutorials-and-examples/tutorials/infinite-scroll-jetpack 18 | 19 | .. toctree:: 20 | :maxdepth: 1 21 | :caption: Examples 22 | 23 | .. meta:: 24 | :title lang=en: Tutorials & Examples 25 | :keywords lang=en: application tutorials,glob,repository,applications 26 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/index.md: -------------------------------------------------------------------------------- 1 | ### Welcome 2 | 3 | Welcome to the Primer theme documentation! Navigate the theme documentation using the sidebar on the left hand side. 4 | 5 | For a more technical overview of the theme the API documentation can be found [here](https://godaddy.github.io/wp-primer-theme/documentation/index.html). 6 | 7 | #### Tutorials 8 | 9 | We have setup a number of tutorials explaining how to do certain things with the Primer theme. 10 | 11 | Take a look at the [tutorial section](https://godaddy.github.io/wp-primer-theme/how-to.html) of the documentation. 12 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/install.md: -------------------------------------------------------------------------------- 1 | ## Installation 2 | 3 | 1. In your admin panel, navigate to **Appearance > Themes** and click the **Add New** button. 4 | 2. Type **Primer** in the search form and press the **Enter** key on your keyboard. 5 | 3. Click the **Activate** button to begin using Primer on your website. 6 | 4. In your admin panel, navigate to **Appearance > Customize**. 7 | 5. Put the finishing touches on your website by adding a logo, header image, and custom colors. 8 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/recommended-plugins.md: -------------------------------------------------------------------------------- 1 | ## Recommended Plugins 2 | 3 | Primer works well with the following plugins. While they are not required, they are recommended to make your life easier when building your site. 4 | 5 | * [Beaver Builder](https://wordpress.org/plugins/beaver-builder-lite-version/) 6 | * [Contact Widgets](https://wordpress.org/plugins/contact-widgets/) 7 | * [GoDaddy Email Marketing](https://wordpress.org/plugins/godaddy-email-marketing-sign-up-forms/) 8 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/tutorials-and-examples/tutorials/acceptance-tests.md: -------------------------------------------------------------------------------- 1 | ## Acceptance Tests 2 | 3 | ##### Prerequisites 4 | 5 | ###### Setup your local environment 6 | 7 | Have a Mac? We recommend Valet. 8 | 9 | ###### Install the Codeception PHAR globally 10 | 11 | ``` 12 | sudo curl -LsS http://codeception.com/codecept.phar -o /usr/local/bin/codecept 13 | sudo chmod a+x /usr/local/bin/codecept 14 | ``` 15 | 16 | Then, check if it works: 17 | 18 | ``` 19 | $ codecept --version 20 | ``` 21 | 22 | **IMPORTANT:** Codeception requires PHP 5.4 or higher. 23 | 24 | ###### Point Codeception to your local URL 25 | 26 | The `url` option in `tests/codeception/acceptance.suite.yml` will need to point to your the URL of your local development site. The default is `http://wp.dev`. 27 | 28 | ##### Run the tests 29 | 30 | ``` 31 | cd /path/to/wordpress/wp-content/themes/primer 32 | codecept run acceptance 33 | ``` 34 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/tutorials-and-examples/tutorials/contributing.md: -------------------------------------------------------------------------------- 1 | ## Contributing 2 | 3 | ### Theme Contributions 4 | 5 | _Coming soon_ 6 | 7 | ### Documentation 8 | 9 | The documentation for Primer theme is auto-generated using [APIgen](http://www.apigen.org/) and [Sphinx](http://www.sphinx-doc.org/) and get re-built each time a new version of Primer is released. 10 | 11 | Building the documentation is easy using the bundled Grunt tasks. 12 | 13 | From the **theme root** you can use the following command to generate the documentation. 14 | 15 | ```bash 16 | $ grunt update-docs 17 | ``` 18 | 19 | The dependencies will be installed and the documentation will be built and compiled into the `/documentation/build/html/` directory. Feel free to preview the documentation before pushing changes live to the site. 20 | 21 | When you are happy with the changes, the documentation can be deployed using: 22 | 23 | ```bash 24 | $ grunt deploy-docs 25 | ``` 26 | 27 | Once completed your changes should immediately be visible at [https://godaddy.github.io/wp-primer-theme/index.html](https://godaddy.github.io/wp-primer-theme/index.html) 28 | 29 | ### Tutorials 30 | 31 | Writing a tutorial for Primer is easy. Create an `.md` file inside of `.dev/docs/sphinx/src/tutorials-and-examples/tutorials/` and add it to the list in `.dev/docs/sphinx/src/how-to.rst`. 32 | 33 | ### Notable Quirks 34 | 35 | #### Sphinx cache: 36 | 37 | If you previously created a file and re-built the documentation using `$ grunt update-docs` your files may be cached inside of `.dev/docs/sphinx/src/build/doctrees/`. This can cause some issues if you change a file name and re-build the docs a second time 38 | 39 | For example, if you setup `page-a.md` and do `$ grunt update-docs` then realize the name is incorrect, when you change the name to `page-b.md` and re-run `$ grunt update-docs` you will find that you end up with a `page-a.html` and a `page-b.html`. 40 | 41 | To resolve this issue - head into `.dev/docs/sphinx/src/build/doctrees/` and delete `page-a.doctree`, and then re-build the documentation. You may also need to delete the related `page-a.html` file inside of `.dev/docs/build/html/`. 42 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/tutorials-and-examples/tutorials/debugging.md: -------------------------------------------------------------------------------- 1 | ## Debugging Primer 2 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/src/tutorials-and-examples/tutorials/mu-plugin.md: -------------------------------------------------------------------------------- 1 | Primer has contains many built-in actions and filters that allow you to fine-tune the behavior of the theme. 2 | 3 | **You should never edit theme files directly**, otherwise your customizations will be lost when the theme receives updates. 4 | 5 | For that reason, it is important that code-level customizations to Primer (and/or its child themes) be done inside a [must-use plugin](https://codex.wordpress.org/Must_Use_Plugins). 6 | 7 | > Must-use plugins (MU Plugins) are installed in a special directory inside the `wp-content` directory and are automatically activated on your WordPress site. Must-use plugins do not show in the default list of "Active" on the Plugins page of the WordPress Dashboard, and they can only be deactivated by removing the plugin file from the `mu-plugins` directory. 8 | 9 | ## How to create a must-use plugin 10 | 11 | 1. Use SFTP or SSH to access the filesystem of your WordPress install. 12 | 2. Inside the `wp-content` directory of your WordPress install, create a new directory named: `mu-plugins` 13 | 3. [Set the file permissions](https://codex.wordpress.org/Changing_File_Permissions) on `mu-plugins` to `0755`. 14 | 4. Inside the `mu-plugins` directory, create a new file named: `my-customizations.php` 15 | 5. Save a new file on your computer named `my-customizations.php` and open it in favorite code editor. 16 | 6. Place all the necessary PHP code for your hooks into the file and save it. 17 | 7. Upload the `my-customizations.php` to your web server inside the newly-created `wp-content/mu-plugins` directory. 18 | 8. Set the file permissions on `my-customizations.php` to `0644`. 19 | 20 | ### Example 21 | 22 | ```php 23 | Must-Use** and you will see your new plugin listed here. Notice that you cannot Deactivate or Delete a must-use plugin. Your plugin will be automatically loaded with WordPress _before_ themes or plugins are loaded, and will not be affected by other plugin, theme, or core updates. 37 | 38 | ![Must-Use Plugins UI](https://www.evernote.com/l/AAJCCEIURdNMgo-UJXWW2dRHpuM5o-HdyYkB/image.png) 39 | -------------------------------------------------------------------------------- /.dev/docs/sphinx/tutorial-assets/downloads/primer-jetpack-infinite-scroll-mu-plugin.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/.dev/docs/sphinx/tutorial-assets/downloads/primer-jetpack-infinite-scroll-mu-plugin.zip -------------------------------------------------------------------------------- /.dev/sass/admin/customizer-fonts.scss: -------------------------------------------------------------------------------- 1 | .primer-font-options { 2 | display: none; 3 | background: #eee; 4 | height: 280px; 5 | overflow: auto; 6 | } 7 | 8 | .primer-filter-text { 9 | position: relative; 10 | } 11 | 12 | .primer-filter-text:before { 13 | content: ''; 14 | width: 0; 15 | height: 0; 16 | border-color: #ccc transparent; 17 | border-style: solid; 18 | border-width: 6px 6px 0; 19 | position: absolute; 20 | top: 18px; 21 | right: 15px; 22 | z-index: 1; 23 | } 24 | 25 | .primer-font-options, 26 | .primer-filter-text { 27 | background: #fff; 28 | border: 1px solid #dfdfdf; 29 | -moz-border-radius: 3px; 30 | -webkit-border-radius: 3px; 31 | border-radius: 3px; 32 | } 33 | 34 | .primer-filter-text, 35 | .primer-font-options li { 36 | display: block; 37 | padding: 5px 10px; 38 | text-indent: -9999px; 39 | background-repeat: no-repeat; 40 | height: 30px; 41 | zoom: 0.65; 42 | -moz-transform: scale( 0.65 ); 43 | -moz-transform-origin: 0 0; 44 | background-image: url(../../images/fonts/sprite-sheet.png); 45 | margin-bottom: 0; 46 | } 47 | 48 | .primer-font-active, 49 | .primer-font-options li:hover { 50 | background-color: #effbff; 51 | } 52 | 53 | .primer-font-architects-daughter { 54 | background-position: -5px -5px; 55 | } 56 | 57 | .primer-font-asap { 58 | background-position: -5px -55px; 59 | } 60 | 61 | .primer-font-cabin { 62 | background-position: -5px -105px; 63 | } 64 | 65 | .primer-font-droid-sans { 66 | background-position: -5px -155px; 67 | } 68 | 69 | .primer-font-droid-serif { 70 | background-position: -5px -205px; 71 | } 72 | 73 | .primer-font-josefin-sans { 74 | background-position: -5px -255px; 75 | } 76 | 77 | .primer-font-lato { 78 | background-position: -5px -305px; 79 | } 80 | 81 | .primer-font-merriweather { 82 | background-position: -5px -355px; 83 | } 84 | 85 | .primer-font-merriweather-sans { 86 | background-position: -5px -405px; 87 | } 88 | 89 | .primer-font-montserrat { 90 | background-position: -5px -455px; 91 | } 92 | 93 | .primer-font-open-sans, 94 | .primer-font-open-sans-\(default\) { 95 | background-position: -5px -505px; 96 | } 97 | 98 | .primer-font-oswald { 99 | background-position: -5px -555px; 100 | } 101 | 102 | .primer-font-playfair-display { 103 | background-position: -5px -605px; 104 | } 105 | 106 | .primer-font-pt-sans { 107 | background-position: -5px -655px; 108 | } 109 | 110 | .primer-font-pt-serif { 111 | background-position: -5px -705px; 112 | } 113 | 114 | .primer-font-raleway { 115 | background-position: -5px -755px; 116 | } 117 | 118 | .primer-font-roboto { 119 | background-position: -5px -805px; 120 | } 121 | 122 | .primer-font-roboto-slab { 123 | background-position: -5px -855px; 124 | } 125 | 126 | .primer-font-source-sans-pro { 127 | background-position: -5px -905px; 128 | } 129 | 130 | .primer-font-source-serif-pro { 131 | background-position: -5px -955px; 132 | } 133 | 134 | .primer-font-ubuntu { 135 | background-position: -5px -1005px; 136 | } 137 | -------------------------------------------------------------------------------- /.dev/sass/admin/layouts.scss: -------------------------------------------------------------------------------- 1 | .primer-layout { 2 | p { 3 | label { 4 | float: left; 5 | margin-right: 12px; 6 | } 7 | 8 | span.clear { 9 | content: ''; 10 | clear: both; 11 | display: block; 12 | } 13 | } 14 | } 15 | 16 | .primer-layout-wrap { 17 | ul { 18 | display: flex; 19 | margin: 0; 20 | list-style-type: none !important; 21 | 22 | li { 23 | margin: 0.3em 0.3em; 24 | padding: 0; 25 | 26 | &.disabled { 27 | -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=35)"; 28 | filter: alpha(opacity = 35); 29 | opacity: 0.35; 30 | } 31 | 32 | span { 33 | display: none; 34 | } 35 | 36 | img { 37 | width: 100%; 38 | height: auto; 39 | padding: 6px; 40 | } 41 | 42 | label { 43 | display: block; 44 | position: relative; 45 | margin-left: 0; 46 | 47 | > input { 48 | visibility: hidden; 49 | position: absolute; 50 | 51 | + img { 52 | border: 3px solid transparent; 53 | } 54 | } 55 | } 56 | 57 | &.active { 58 | label > input + img { 59 | cursor: pointer; 60 | } 61 | 62 | label > input:checked + img { 63 | border-color: #1e8cbe; 64 | } 65 | } 66 | 67 | &.disabled label > input + img { 68 | cursor: default; 69 | } 70 | } 71 | } 72 | } 73 | 74 | #side-sortables, 75 | #customize-control-layout { 76 | .primer-layout-wrap ul { 77 | flex-wrap: wrap; 78 | 79 | li { 80 | flex-basis: calc(25% - 0.6em); 81 | } 82 | } 83 | } 84 | 85 | @media only screen and (max-width: 850px) { 86 | .primer-layout-wrap ul { 87 | display: inline-block; 88 | 89 | li { 90 | float: none; 91 | width: 100%; 92 | padding: 0.5em 0 !important; 93 | 94 | span { 95 | display: inline-block; 96 | } 97 | 98 | img { 99 | display: none; 100 | } 101 | 102 | label { 103 | margin-left: 24px; 104 | 105 | > input { 106 | visibility: visible; 107 | position: relative; 108 | } 109 | } 110 | } 111 | } 112 | } 113 | -------------------------------------------------------------------------------- /.dev/sass/blocks/blocks.scss: -------------------------------------------------------------------------------- 1 | // Blocks 2 | @import "button"; 3 | @import "coblocks"; 4 | @import "columns"; 5 | @import "contact-widgets"; 6 | @import "cover"; 7 | @import "embed"; 8 | @import "gallery"; 9 | @import "image"; 10 | @import "latest-posts"; 11 | @import "paragraph"; 12 | @import "pullquote"; 13 | @import "quote"; 14 | @import "separator"; 15 | 16 | // Full Alignment 17 | [class^="wp-block-"].alignfull { 18 | margin-left: -3.375em; 19 | margin-right: -3.375em; 20 | 21 | @media #{$medium-only} { 22 | margin-left: -2.375em; 23 | margin-right: -2.375em; 24 | } 25 | 26 | @media #{$small-only} { 27 | margin-left: -1em; 28 | margin-right: -1em; 29 | } 30 | 31 | &, 32 | img { 33 | max-width: calc( 100% + 7.50em ); 34 | 35 | @media #{$medium-only} { 36 | max-width: calc( 100% + 4.75em ); 37 | } 38 | 39 | @media #{$small-only} { 40 | max-width: calc( 100% + 2em ); 41 | } 42 | } 43 | } 44 | 45 | // Wide Alignment 46 | [class^="wp-block-"].alignwide { 47 | margin-left: -1.6875em; 48 | margin-right: -1.6875em; 49 | width: calc( 100% + 3.375em ); 50 | 51 | @media #{$medium-down} { 52 | margin-left: -1.1875em; 53 | margin-right: -1.1875em; 54 | width: calc( 100% + 2.375em ); 55 | } 56 | 57 | @media #{$small-only} { 58 | margin-left: -0.5em; 59 | margin-right: -0.5em; 60 | width: calc( 100% + 1em ); 61 | } 62 | 63 | &, 64 | img { 65 | max-width: calc( 100% + 7.50em ); 66 | 67 | @media #{$medium-only} { 68 | max-width: calc( 100% + 4.75em ); 69 | } 70 | 71 | @media #{$small-only} { 72 | max-width: calc( 100% + 2em ); 73 | } 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /.dev/sass/blocks/button.scss: -------------------------------------------------------------------------------- 1 | .wp-block-button__link { 2 | border-radius: 3px; 3 | 4 | @include font-size(1); 5 | 6 | line-height: 1; 7 | padding: 0.75em 1em; 8 | } -------------------------------------------------------------------------------- /.dev/sass/blocks/coblocks.scss: -------------------------------------------------------------------------------- 1 | .wp-block-coblocks-accordion { 2 | margin-bottom: 1.55em; 3 | margin-top: 1.65em; 4 | } 5 | 6 | .wp-block-coblocks-alert__title { 7 | @include font-size(1.25); 8 | 9 | margin-bottom: 0; 10 | margin-top: 0; 11 | 12 | + p { 13 | margin-top: 0.3em; 14 | } 15 | } 16 | 17 | .wp-block-coblocks-author { 18 | 19 | &__heading { 20 | font-size: 90%; 21 | } 22 | 23 | &__name { 24 | font-size: 1.25em; 25 | font-weight: 600; 26 | margin-bottom: 0.4em; 27 | } 28 | 29 | .wp-block-button { 30 | margin-top: 1.25em; 31 | } 32 | } -------------------------------------------------------------------------------- /.dev/sass/blocks/columns.scss: -------------------------------------------------------------------------------- 1 | @media (min-width:782px) { 2 | .has-3-columns .wp-block-column:nth-child(3n) { 3 | margin-right: 0 !important; 4 | } 5 | } -------------------------------------------------------------------------------- /.dev/sass/blocks/contact-widgets.scss: -------------------------------------------------------------------------------- 1 | .wp-block-contact-widgets-contact-block { 2 | 3 | > ul { 4 | margin: 0; 5 | padding: 0; 6 | list-style: none; 7 | 8 | 9 | li { 10 | margin-bottom: 1rem; 11 | } 12 | } 13 | 14 | .has-map { 15 | margin-top: 1rem; 16 | } 17 | } -------------------------------------------------------------------------------- /.dev/sass/blocks/cover.scss: -------------------------------------------------------------------------------- 1 | .wp-block-cover { 2 | margin-bottom: 2em; 3 | margin-top: 2em; 4 | } 5 | -------------------------------------------------------------------------------- /.dev/sass/blocks/embed.scss: -------------------------------------------------------------------------------- 1 | .wp-block-embed { 2 | margin-bottom: 1.6em; 3 | margin-left: 0; 4 | margin-right: 0; 5 | margin-top: 2.2em; 6 | } 7 | -------------------------------------------------------------------------------- /.dev/sass/blocks/gallery.scss: -------------------------------------------------------------------------------- 1 | .wp-block-gallery { 2 | margin-bottom: 1.4em; 3 | margin-top: 2.2em; 4 | } 5 | -------------------------------------------------------------------------------- /.dev/sass/blocks/image.scss: -------------------------------------------------------------------------------- 1 | .wp-block-image { 2 | margin-bottom: 1.6em; 3 | margin-top: 2.2em; 4 | 5 | .alignleft { 6 | margin-right: 1.5em; 7 | margin-top: 0.6em; 8 | } 9 | 10 | .alignright { 11 | margin-left: 1.5em; 12 | margin-top: 0.6em; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /.dev/sass/blocks/latest-posts.scss: -------------------------------------------------------------------------------- 1 | .wp-block-latest-posts { 2 | 3 | &.is-grid { 4 | 5 | li { 6 | background: #f5f5f5; 7 | border: none; 8 | display: flex; 9 | flex-direction: column; 10 | padding: 1em 1em 1.1em; 11 | 12 | @media (max-width: 599px) { 13 | margin-right: 0; 14 | } 15 | 16 | a { 17 | box-shadow: none; 18 | flex: 1 1 auto; 19 | 20 | &:hover { 21 | opacity: 0.6; 22 | } 23 | 24 | &::after { 25 | content: ''; 26 | } 27 | } 28 | 29 | &:last-child { 30 | 31 | a::after { 32 | content: ''; 33 | } 34 | } 35 | } 36 | 37 | .wp-block-latest-posts__post-date { 38 | flex: 0 0 auto; 39 | margin-top: 10px; 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /.dev/sass/blocks/paragraph.scss: -------------------------------------------------------------------------------- 1 | .has-drop-cap { 2 | &:not(:focus)::first-letter { 3 | font-size: 100px; 4 | line-height: 1; 5 | margin: -0.065em 0.275em 0 0; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.dev/sass/blocks/pullquote.scss: -------------------------------------------------------------------------------- 1 | .wp-block-pullquote { 2 | margin-bottom: 1em; 3 | margin-top: 2em; 4 | padding-top: 2em; 5 | padding-bottom: 2em; 6 | 7 | @media #{$small-only} { 8 | margin-bottom: 2em; 9 | } 10 | 11 | &.alignleft, 12 | &.alignright { 13 | margin-top: 0.75em; 14 | margin-right: 0; 15 | margin-left: 0; 16 | max-width: 100%; 17 | 18 | @media #{$medium-up} { 19 | max-width: 50%; 20 | } 21 | } 22 | 23 | &.alignleft { 24 | @media #{$medium-up} { 25 | margin-right: 2em; 26 | } 27 | } 28 | 29 | &.alignright { 30 | @media #{$medium-up} { 31 | margin-left: 2em; 32 | } 33 | } 34 | 35 | blockquote { 36 | border-width: 0; 37 | font-style: normal; 38 | 39 | p { 40 | margin: 0; 41 | } 42 | } 43 | 44 | cite { 45 | display: inline-block; 46 | color: inherit; 47 | margin-top: 2em; 48 | } 49 | 50 | &.is-style-solid-color blockquote { 51 | padding-left: 0; 52 | 53 | @media #{$small-only} { 54 | max-width: 80%; 55 | } 56 | 57 | p { 58 | @include font-size(1.25); 59 | } 60 | 61 | cite { 62 | margin-top: 1em; 63 | } 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /.dev/sass/blocks/quote.scss: -------------------------------------------------------------------------------- 1 | .wp-block-quote { 2 | border-color: rgba(37, 37, 37, 0.1); 3 | 4 | p { 5 | margin-bottom: 0.55em; 6 | } 7 | 8 | &.is-style-large { 9 | padding: 0 2em; 10 | margin-bottom: 1.75em; 11 | margin-top: 1.5em; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /.dev/sass/blocks/separator.scss: -------------------------------------------------------------------------------- 1 | .wp-block-separator { 2 | background-color: rgba(10,10,10,0.1); 3 | border: 0; 4 | } -------------------------------------------------------------------------------- /.dev/sass/common/_customizer.scss: -------------------------------------------------------------------------------- 1 | // Fonts 2 | $font__heading: "Open Sans", sans-serif; 3 | $font__main: "Open Sans", sans-serif; 4 | $font__secondary: "Open Sans", sans-serif; 5 | 6 | // Text 7 | $color__site-title-text: #ffffff; // header_textcolor 8 | $color__tagline-text: #ffffff; 9 | $color__hero-text: #ffffff; 10 | $color__menu-text: #ffffff; 11 | $color__heading-text: #353535; 12 | $color__primary-text: #252525; 13 | $color__secondary-text: #686868; 14 | $color__footer-widget-heading-text: #353535; 15 | $color__footer-widget-text: #252525; 16 | $color__footer-menu-text: #686868; 17 | $color__footer-text: #686868; 18 | 19 | // Links & Buttons 20 | $color__link: #ff6663; 21 | $color__button_bg: #ff6663; 22 | $color__button-text: #ffffff; 23 | 24 | // Backgrounds 25 | $color__bg: #f5f5f5; 26 | $color__content-bg: #ffffff; 27 | $color__hero-bg: #0b3954; 28 | $color__menu-bg: #0b3954; 29 | $color__footer-widget-bg: #0b3954; 30 | $color__footer-widget-content-bg: #ffffff; 31 | $color__footer-bg: #f5f5f5; 32 | -------------------------------------------------------------------------------- /.dev/sass/common/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Rem output with px fallback 2 | @mixin font-size($sizeValue: 1) { 3 | font-size: $sizeValue * 16 * 1px; 4 | font-size: $sizeValue * 1rem; 5 | } 6 | 7 | // Center block 8 | @mixin center-block { 9 | display: block; 10 | margin-left: auto; 11 | margin-right: auto; 12 | } 13 | 14 | // Clearfix 15 | @mixin clearfix { 16 | content: ""; 17 | display: table; 18 | table-layout: fixed; 19 | } 20 | 21 | // Clear after (not all clearfix need this also) 22 | @mixin clearfix-after { 23 | clear: both; 24 | } 25 | -------------------------------------------------------------------------------- /.dev/sass/common/_variables.scss: -------------------------------------------------------------------------------- 1 | @import "../../../node_modules/susy/sass/susy"; 2 | @import "customizer"; 3 | 4 | $susy: (columns: 12, gutters: 1 / 2, math: fluid, gutter-position: split); 5 | 6 | // Default container width 7 | $container-size: 1100px; 8 | 9 | // Breakpoints 10 | $medium-screen: 40.063em; 11 | $large-screen: 61.063em; 12 | 13 | // Media Queries 14 | $small-only: "only screen and (max-width: #{$medium-screen})"; 15 | $medium-up: "only screen and (min-width: #{$medium-screen})"; 16 | $medium-down: "only screen and (max-width: #{$large-screen})"; 17 | $medium-only: "only screen and (min-width: #{$medium-screen}) and (max-width: #{$large-screen})"; 18 | $large-up: "only screen and (min-width: #{$large-screen})"; 19 | 20 | // Typography 21 | $font__code: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 22 | $font__pre: "Courier 10 Pitch", Courier, monospace; 23 | $font__line-height-body: 1.8; 24 | $font__line-height-pre: 1.6; 25 | $font__line-height-headings: 1.4; 26 | -------------------------------------------------------------------------------- /.dev/sass/compat/bb-block-editor.scss: -------------------------------------------------------------------------------- 1 | // Styles to emulate BB structure in Gutenberg. 2 | .wp-block-columns { 3 | 4 | &.is-services { 5 | 6 | .wp-block-column { 7 | @media (max-width:599px) { 8 | max-width: 360px; 9 | margin-left: auto; 10 | margin-right: auto; 11 | } 12 | } 13 | 14 | } 15 | 16 | &.is-main-message { 17 | margin-top: 6em; 18 | } 19 | 20 | &.is-next-steps { 21 | justify-content: space-between; 22 | align-items: center; 23 | padding: 10px 30px; 24 | 25 | .wp-block-column:last-child { 26 | flex-basis: calc(30% - 20px); 27 | } 28 | 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /.dev/sass/compat/ninja-forms.scss: -------------------------------------------------------------------------------- 1 | .nf-response-msg, 2 | .widget-area .nf-response-msg { 3 | font-weight: bold; 4 | 5 | p:first-child { 6 | font-style: italic; 7 | font-weight: normal; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /.dev/sass/components/_buttons.scss: -------------------------------------------------------------------------------- 1 | button, 2 | a.button, 3 | a.button:visited, 4 | input[type="button"], 5 | input[type="reset"], 6 | input[type="submit"] { 7 | display: inline-block; 8 | border: none; 9 | border-radius: 3px; 10 | background-color: $color__button-bg; 11 | color: $color__button-text; 12 | line-height: 1; 13 | margin-bottom: 0.5em; 14 | padding: 0.75em 1em; 15 | white-space: nowrap; 16 | 17 | &:hover, 18 | &:active, 19 | &:focus { 20 | cursor: pointer; 21 | background-color: rgba($color__button-bg, 0.8); 22 | color: $color__button-text; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /.dev/sass/components/_captions.scss: -------------------------------------------------------------------------------- 1 | .wp-caption { 2 | margin-bottom: 1.5em; 3 | max-width: 100%; 4 | 5 | img[class*="wp-image-"] { 6 | @include center-block; 7 | } 8 | 9 | .wp-caption-text { 10 | margin: 0.8075em 0; 11 | } 12 | } 13 | 14 | .wp-caption-text { 15 | text-align: center; 16 | } 17 | -------------------------------------------------------------------------------- /.dev/sass/components/_elements.scss: -------------------------------------------------------------------------------- 1 | html { 2 | box-sizing: border-box; 3 | } 4 | 5 | *, 6 | *:before, 7 | *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ 8 | box-sizing: inherit; 9 | } 10 | 11 | body { 12 | background: $color__bg; 13 | word-wrap: break-word; 14 | } 15 | 16 | blockquote, q { 17 | quotes: "" ""; 18 | 19 | &:before, 20 | &:after { 21 | content: ""; 22 | } 23 | } 24 | 25 | hr { 26 | background-color: rgba($color__primary-text, 0.1); 27 | border: 0; 28 | height: 1px; 29 | margin-bottom: 1.5em; 30 | } 31 | 32 | img { 33 | height: auto; /* Make sure images are scaled correctly. */ 34 | max-width: 100%; /* Adhere to container width. */ 35 | } 36 | -------------------------------------------------------------------------------- /.dev/sass/components/_forms.scss: -------------------------------------------------------------------------------- 1 | @import "../compat/ninja-forms.scss"; 2 | 3 | input[type="text"], 4 | input[type="email"], 5 | input[type="url"], 6 | input[type="password"], 7 | input[type="search"], 8 | input[type="number"], 9 | input[type="tel"], 10 | input[type="range"], 11 | input[type="date"], 12 | input[type="month"], 13 | input[type="week"], 14 | input[type="time"], 15 | input[type="datetime"], 16 | input[type="datetime-local"], 17 | input[type="color"], 18 | textarea, 19 | .select2-container .select2-choice { 20 | color: rgba($color__primary-text, 0.5); 21 | border: 1px solid rgba($color__primary-text, 0.1); 22 | border-radius: 3px; 23 | padding: 0.75rem; 24 | resize: none; 25 | background-color: rgba(255, 255, 255, 0.5); 26 | 27 | &:focus { 28 | color: $color__primary-text; 29 | background-color: rgba(255, 255, 255, 0.75); 30 | } 31 | } 32 | 33 | .select2-container .select2-choice { 34 | padding: 0.57rem 0.75rem; 35 | } 36 | 37 | .select2-drop-active, 38 | .select2-drop.select2-drop-above.select2-drop-active, 39 | .select2-dropdown-open.select2-drop-above .select2-choice, 40 | .select2-dropdown-open.select2-drop-above .select2-choices { 41 | border-color: rgba($color__primary-text, 0.1); 42 | } 43 | 44 | input[type="checkbox"], 45 | input[type="radio"] { 46 | margin: 0 0.25em; 47 | } 48 | 49 | input[type="file"] { 50 | @include font-size(0.85); 51 | } 52 | 53 | select { 54 | border: 1px solid rgba($color__primary-text, 0.1); 55 | } 56 | 57 | textarea { 58 | width: 100%; 59 | } 60 | 61 | fieldset { 62 | padding: 0.5em 1.5em; 63 | border-color: rgba($color__primary-text, 0.1); 64 | } 65 | 66 | legend { 67 | padding: 0 1em; 68 | text-transform: uppercase; 69 | letter-spacing: 1px; 70 | } 71 | 72 | form label { 73 | font-weight: bold; 74 | } 75 | -------------------------------------------------------------------------------- /.dev/sass/components/_galleries.scss: -------------------------------------------------------------------------------- 1 | .gallery { 2 | margin-bottom: 1.5em; 3 | } 4 | 5 | .gallery-item { 6 | display: inline-block; 7 | text-align: center; 8 | vertical-align: top; 9 | width: 100%; 10 | 11 | .gallery-columns-2 & { 12 | max-width: 50%; 13 | } 14 | 15 | .gallery-columns-3 & { 16 | max-width: 33.33%; 17 | } 18 | 19 | .gallery-columns-4 & { 20 | max-width: 25%; 21 | } 22 | 23 | .gallery-columns-5 & { 24 | max-width: 20%; 25 | } 26 | 27 | .gallery-columns-6 & { 28 | max-width: 16.66%; 29 | } 30 | 31 | .gallery-columns-7 & { 32 | max-width: 14.28%; 33 | } 34 | 35 | .gallery-columns-8 & { 36 | max-width: 12.5%; 37 | } 38 | 39 | .gallery-columns-9 & { 40 | max-width: 11.11%; 41 | } 42 | } 43 | 44 | .gallery-caption { 45 | display: block; 46 | } 47 | -------------------------------------------------------------------------------- /.dev/sass/components/_links.scss: -------------------------------------------------------------------------------- 1 | a { 2 | color: $color__link; 3 | text-decoration: none; 4 | 5 | &:visited { 6 | color: $color__link; 7 | } 8 | 9 | &:hover, 10 | &:focus, 11 | &:active { 12 | color: rgba($color__link, 0.8); 13 | } 14 | 15 | &:hover, 16 | &:active, 17 | &:focus { 18 | outline: 0; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /.dev/sass/components/_lists.scss: -------------------------------------------------------------------------------- 1 | ul, ol { 2 | margin: 0 0 1.5em 0; 3 | } 4 | 5 | ul { 6 | list-style: disc; 7 | 8 | ul { 9 | list-style: circle; 10 | } 11 | } 12 | 13 | ol { 14 | list-style: decimal; 15 | } 16 | 17 | li > ul, 18 | li > ol { 19 | margin-bottom: 0; 20 | } 21 | 22 | dt { 23 | font-weight: bold; 24 | } 25 | 26 | dd { 27 | margin: 0 1.5em 1.5em; 28 | } 29 | -------------------------------------------------------------------------------- /.dev/sass/components/_media.scss: -------------------------------------------------------------------------------- 1 | .page-content .wp-smiley, 2 | .entry-content .wp-smiley, 3 | .comment-content .wp-smiley { 4 | border: none; 5 | margin-bottom: 0; 6 | margin-top: 0; 7 | padding: 0; 8 | } 9 | 10 | /* Make sure embeds and iframes fit their containers. */ 11 | embed, 12 | iframe, 13 | object { 14 | max-width: 100%; 15 | } 16 | -------------------------------------------------------------------------------- /.dev/sass/components/_pointers.scss: -------------------------------------------------------------------------------- 1 | .wp-pointer-content { 2 | 3 | border-top: none; 4 | 5 | h3 { 6 | font-family: sans-serif; 7 | } 8 | 9 | p { 10 | font-family: sans-serif; 11 | font-size: 13px; 12 | line-height: 1.4; 13 | } 14 | 15 | a.close, 16 | a.close:visited { 17 | color: #0073aa; 18 | line-height: 1.5; 19 | font-family: sans-serif; 20 | font-weight: 400; 21 | 22 | &:hover, 23 | &:active, 24 | &:focus { 25 | color: #00a0d2; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /.dev/sass/components/_tables.scss: -------------------------------------------------------------------------------- 1 | table { 2 | border-collapse: collapse; 3 | margin: 0 0 1.5em; 4 | width: 100%; 5 | } 6 | 7 | .hentry table { 8 | th, 9 | td { 10 | padding: 0.5em; 11 | text-align: left; 12 | border: 1px solid rgba($color__primary-text, 0.1); 13 | border-left: none; 14 | border-right: none; 15 | } 16 | 17 | thead th { 18 | border-bottom-width: 2px; 19 | border-top: none; 20 | } 21 | 22 | tfoot th { 23 | border-top-width: 2px; 24 | border-bottom: none; 25 | } 26 | 27 | tr:hover td { 28 | background-color: rgba($color__primary-text, 0.05); 29 | } 30 | } 31 | 32 | .widget table { 33 | caption { 34 | padding: 0 0.5em 0.5em; 35 | font-weight: bold; 36 | } 37 | 38 | th, 39 | td { 40 | text-align: center; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /.dev/sass/components/_typography.scss: -------------------------------------------------------------------------------- 1 | body { 2 | -webkit-font-smoothing: antialiased; 3 | -moz-osx-font-smoothing: grayscale; 4 | } 5 | 6 | body, 7 | button, 8 | input, 9 | select, 10 | textarea, 11 | .select2-container .select2-choice { 12 | color: $color__primary-text; 13 | font-family: $font__main; 14 | font-weight: normal; 15 | 16 | @include font-size(1); 17 | 18 | line-height: $font__line-height-body; 19 | 20 | @media #{$small-only} { 21 | @include font-size(0.9); 22 | } 23 | } 24 | 25 | h1, h2, h3, h4, h5, h6, .site-title, .page-title { 26 | clear: both; 27 | margin-top: 0.2rem; 28 | margin-bottom: 0.8rem; 29 | font-weight: bold; 30 | line-height: $font__line-height-headings; 31 | text-rendering: optimizeLegibility; 32 | color: $color__heading-text; 33 | } 34 | 35 | h1, 36 | .page-title { 37 | font-size: 2.5em; 38 | } 39 | 40 | h2 { 41 | font-size: 2em; 42 | } 43 | 44 | h3 { 45 | font-size: 1.5em; 46 | } 47 | 48 | h4 { 49 | font-size: 1.25em; 50 | } 51 | 52 | h5 { 53 | font-size: 1.125em; 54 | } 55 | 56 | h6 { 57 | font-size: 1em; 58 | } 59 | 60 | p { 61 | margin-bottom: 1.5em; 62 | } 63 | 64 | dfn, cite, em, i { 65 | font-style: italic; 66 | } 67 | 68 | blockquote { 69 | margin: 0 1.5em; 70 | font-size: 125%; 71 | font-style: italic; 72 | line-height: $font__line-height-headings; 73 | margin: 1em 0; 74 | padding-left: 1em; 75 | border-left: 4px solid rgba($color__primary-text, 0.1); 76 | color: $color__secondary-text; 77 | } 78 | 79 | address { 80 | margin: 0 0 1.5em; 81 | } 82 | 83 | pre { 84 | background-color: rgba(225, 225, 225, 0.5); 85 | font-family: $font__pre; 86 | 87 | @include font-size(0.9375); 88 | 89 | line-height: $font__line-height-pre; 90 | margin-bottom: 1.6em; 91 | max-width: 100%; 92 | overflow: auto; 93 | padding: 1em; 94 | border: 1px solid rgba($color__primary-text, 0.1); 95 | border-radius: 2px; 96 | } 97 | 98 | code, kbd, tt, var { 99 | font-family: $font__code; 100 | 101 | @include font-size(0.9375); 102 | } 103 | 104 | code { 105 | padding: 0.125rem 0.25rem; 106 | background-color: rgba(225, 225, 225, 0.5); 107 | border: 1px solid rgba($color__primary-text, 0.1); 108 | border-radius: 2px; 109 | } 110 | 111 | pre code { 112 | padding: 0; 113 | border: none; 114 | background-color: transparent; 115 | } 116 | 117 | abbr, acronym { 118 | border-bottom: 1px dotted rgba($color__primary-text, 0.1); 119 | cursor: help; 120 | } 121 | 122 | mark, ins { 123 | background-color: rgba(#fff9c0, 0.5); 124 | text-decoration: none; 125 | } 126 | 127 | big { 128 | font-size: 125%; 129 | } 130 | -------------------------------------------------------------------------------- /.dev/sass/editor-frame.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | Primer Block Editor Frame Styles 3 | */ 4 | 5 | @import "common/variables"; 6 | @import "common/mixins"; 7 | 8 | body.block-editor-page.post-type-post { 9 | 10 | .editor-post-title__block { 11 | 12 | .editor-post-title__input { 13 | font-weight: 600; 14 | } 15 | } 16 | } 17 | 18 | body.primer-gutenberg-narrow { 19 | .edit-post-visual-editor, 20 | .edit-post-text-editor { 21 | .edit-post-post-text-editor__toolbar, 22 | .editor-writing-flow__click-redirect, 23 | .editor-post-title__block, 24 | .editor-block-list__block, 25 | .editor-default-block-appender { 26 | max-width: 400px; 27 | } 28 | } 29 | } 30 | 31 | body.primer-gutenberg-wide { 32 | .edit-post-visual-editor, 33 | .edit-post-text-editor { 34 | .edit-post-post-text-editor__toolbar, 35 | .editor-writing-flow__click-redirect, 36 | .editor-post-title__block, 37 | .editor-block-list__block, 38 | .editor-default-block-appender { 39 | max-width: none; 40 | } 41 | } 42 | } 43 | 44 | .components-panel { 45 | .primer-layout-wrap ul li img { 46 | max-width: 85%; 47 | } 48 | } 49 | 50 | body { 51 | 52 | &.one-column-wide { 53 | .wp-block { 54 | max-width: 980px; 55 | } 56 | } 57 | 58 | &.one-column-narrow { 59 | .wp-block { 60 | max-width: 700px; 61 | } 62 | } 63 | 64 | &.two-column-default, 65 | &.two-column-reversed { 66 | .wp-block { 67 | max-width: 640px; 68 | } 69 | } 70 | 71 | &.three-column-default, 72 | &.three-column-center, 73 | &.three-column-reversed { 74 | .wp-block { 75 | max-width: 450px; 76 | } 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /.dev/sass/editor-style.scss: -------------------------------------------------------------------------------- 1 | @import "common/variables"; 2 | @import "common/mixins"; 3 | @import "common/normalize"; 4 | @import "components/typography"; 5 | @import "components/elements"; 6 | @import "components/lists"; 7 | @import "components/tables"; 8 | @import "components/forms"; 9 | @import "components/buttons"; 10 | @import "components/links"; 11 | @import "components/media"; 12 | @import "components/captions"; 13 | @import "components/galleries"; 14 | @import "modules/alignments"; 15 | 16 | body { 17 | margin: 20px; 18 | background-color: #fff; 19 | } 20 | -------------------------------------------------------------------------------- /.dev/sass/layouts/_comments.scss: -------------------------------------------------------------------------------- 1 | .comments-area { 2 | margin: 0 0 1.5em; 3 | padding: 2.5em 3em; 4 | background-color: $color__content-bg; 5 | 6 | @media #{$medium-only} { 7 | padding: 1.5em; 8 | } 9 | 10 | @media #{$small-only} { 11 | padding: 1em; 12 | } 13 | 14 | label { 15 | display: block; 16 | } 17 | 18 | input:not(.submit), 19 | textarea { 20 | width: 100%; 21 | } 22 | 23 | .comment-form-cookies-consent { 24 | display: flex; 25 | line-height: 16px; 26 | 27 | #wp-comment-cookies-consent { 28 | display: inline; 29 | width: auto; 30 | margin: 0 10px 0 0; 31 | 32 | @media #{$small-only} { 33 | margin-top: 2px; 34 | } 35 | } 36 | } 37 | } 38 | 39 | .comment-list { 40 | padding: 0; 41 | list-style: none; 42 | 43 | ol { 44 | list-style: none; 45 | 46 | &.children { 47 | margin-top: 2em; 48 | 49 | @media #{$small-only} { 50 | padding-left: 1em; 51 | } 52 | } 53 | } 54 | 55 | li { 56 | margin-bottom: 2em; 57 | padding-left: 32px; 58 | 59 | @media #{$small-only} { 60 | padding-left: 0; 61 | } 62 | 63 | article { 64 | padding-left: 1em; 65 | 66 | @media #{$small-only} { 67 | padding-left: 0; 68 | } 69 | } 70 | 71 | .comment-metadata { 72 | font-size: 85%; 73 | 74 | .edit-link { 75 | float: right; 76 | } 77 | } 78 | 79 | &.bypostauthor { 80 | display: block; 81 | padding: 0.5em 0.5em 0.5em calc(0.5em + 32px); 82 | border-radius: 5px; 83 | border: 3px solid rgba($color__link, 0.2); 84 | } 85 | } 86 | } 87 | 88 | .comment-meta { 89 | .avatar { 90 | float: left; 91 | margin-left: calc(-1em - 32px); 92 | border-radius: 3px; 93 | 94 | @media #{$small-only} { 95 | display: none; 96 | margin: 0; 97 | } 98 | } 99 | 100 | .says { 101 | color: $color__secondary-text; 102 | } 103 | } 104 | 105 | .comment-content a { 106 | word-wrap: break-word; 107 | } 108 | 109 | .logged-in-as { 110 | font-size: 90%; 111 | color: $color__secondary-text; 112 | } 113 | 114 | .comment .comment-respond { 115 | margin: 2em 20px 0 -12px; 116 | } 117 | 118 | .comment-reply-title small { 119 | float: right; 120 | margin-top: 0.6em; 121 | font-size: 60%; 122 | } 123 | -------------------------------------------------------------------------------- /.dev/sass/layouts/_header.scss: -------------------------------------------------------------------------------- 1 | @import "video-header"; 2 | 3 | .site-header { 4 | position: relative; 5 | background-color: $color__hero-bg; 6 | background-size: cover; 7 | background-position: bottom center; 8 | background-repeat: no-repeat; 9 | overflow: hidden; 10 | 11 | #wp-custom-header img { 12 | display: none; 13 | } 14 | } 15 | 16 | .site-header-wrapper { 17 | @include container($container-size); 18 | position: relative; 19 | } 20 | 21 | body.no-max-width .site-header-wrapper { 22 | max-width: none; 23 | } 24 | 25 | .site-title-wrapper { 26 | @include span(12); 27 | 28 | position: relative; 29 | z-index: 10; 30 | padding: 6% 1rem; 31 | 32 | @media #{$small-only} { 33 | max-width: 87.22222%; 34 | padding-left: 0.75rem; 35 | padding-right: 0.75rem; 36 | } 37 | } 38 | 39 | .site-title { 40 | margin-bottom: 0.25rem; 41 | letter-spacing: -0.03em; 42 | font-weight: 700; 43 | font-size: 2em; 44 | 45 | a { 46 | color: $color__site-title-text; 47 | 48 | &:hover, 49 | &:visited:hover { 50 | color: rgba($color__site-title-text, 0.8); 51 | } 52 | } 53 | } 54 | 55 | .site-description { 56 | color: $color__tagline-text; 57 | } 58 | 59 | .header-image img { 60 | display: block; 61 | } 62 | 63 | .page-title-container { 64 | background-color: $color__content-bg; 65 | 66 | .page-header { 67 | @include container($container-size); 68 | 69 | position: relative; 70 | clear: both; 71 | 72 | h1, 73 | .page-title { 74 | @include span(12); 75 | 76 | padding: 3% 1rem; 77 | margin-bottom: 0; 78 | font-weight: 300; 79 | } 80 | } 81 | } 82 | 83 | body.no-max-width .page-title-container .page-header { 84 | max-width: none; 85 | } 86 | -------------------------------------------------------------------------------- /.dev/sass/layouts/_hero.scss: -------------------------------------------------------------------------------- 1 | .hero { 2 | @include span(12); 3 | 4 | clear: both; 5 | padding: 0 1rem; 6 | color: $color__hero-text; 7 | 8 | .hero-inner { 9 | max-width: none; 10 | 11 | @media #{$large-up} { 12 | max-width: 75%; 13 | } 14 | } 15 | 16 | .widget { 17 | padding: 0; 18 | margin-bottom: 1em; 19 | font-size: 1.2em; 20 | font-weight: 300; 21 | background: none; 22 | 23 | &:last-child { 24 | margin-bottom: 0; 25 | padding-bottom: 6%; 26 | } 27 | 28 | h1, h2, h3, h4, h5, h6, p, ul, ol, li, blockquote { 29 | color: $color__hero-text; 30 | } 31 | 32 | ul, ol { 33 | padding-left: 0; 34 | 35 | li { 36 | list-style: none; 37 | } 38 | } 39 | 40 | b, strong { 41 | font-weight: 600; 42 | } 43 | } 44 | 45 | label, input, select, textarea { 46 | display: inline; 47 | width: auto; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /.dev/sass/layouts/_posts-and-pages.scss: -------------------------------------------------------------------------------- 1 | .hentry { 2 | margin: 0 0 1.5em; 3 | padding: 2.5em 3.375em; 4 | background-color: $color__content-bg; 5 | 6 | p:last-child { 7 | margin-bottom: 0; 8 | } 9 | 10 | &:after { 11 | @include clearfix; 12 | @include clearfix-after; 13 | } 14 | 15 | @media #{$medium-only} { 16 | padding: 1.5em 2.375em; 17 | } 18 | 19 | @media #{$small-only} { 20 | padding: 1em; 21 | } 22 | } 23 | 24 | .sticky { 25 | display: block; 26 | 27 | @media #{$medium-up} { 28 | 29 | .entry-title { 30 | position: relative; 31 | 32 | a:before { 33 | font-family: 'Genericons'; 34 | content: '\f308'; 35 | line-height: $font__line-height-headings; 36 | position: absolute; 37 | top: 2px; 38 | left: -40px; 39 | opacity: 0.2; 40 | } 41 | } 42 | } 43 | } 44 | 45 | .entry-title { 46 | a, 47 | a:visited, 48 | a:before { 49 | color: $color__primary-text; 50 | } 51 | 52 | a:hover, 53 | a:visited:hover { 54 | color: $color__link; 55 | } 56 | } 57 | 58 | .entry-meta { 59 | font-size: 90%; 60 | color: $color__secondary-text; 61 | 62 | .posted-date, 63 | .posted-author, 64 | .comments-number { 65 | margin-right: 1rem; 66 | 67 | &:last-child { 68 | margin-right: 0; 69 | } 70 | 71 | @media #{$small-only} { 72 | display: block; 73 | margin-right: 0; 74 | } 75 | 76 | &:before { 77 | position: relative; 78 | top: 3px; 79 | font-family: 'genericons'; 80 | font-size: 18px; 81 | padding-right: 2px; 82 | } 83 | } 84 | 85 | .posted-date:before { 86 | content: '\f303'; 87 | top: 4px; 88 | } 89 | 90 | .posted-author:before { 91 | content: '\f304'; 92 | } 93 | 94 | .comments-number:before { 95 | content: '\f300'; 96 | } 97 | } 98 | 99 | @media #{$small-only} { 100 | 101 | .post-navigation { 102 | font-size: 90%; 103 | } 104 | } 105 | 106 | .byline, 107 | .updated:not(.published) { 108 | display: none; 109 | } 110 | 111 | .single .byline, 112 | .group-blog .byline { 113 | display: inline; 114 | } 115 | 116 | .page-content, 117 | .entry-content, 118 | .entry-summary { 119 | margin: 1em 0 0; 120 | } 121 | 122 | .entry-content { 123 | margin-bottom: 1em; 124 | } 125 | 126 | .entry-footer { 127 | padding-top: 1em; 128 | font-size: 85%; 129 | color: $color__secondary-text; 130 | 131 | .entry-footer-right { 132 | float: right; 133 | } 134 | 135 | .cat-links, 136 | .tag-links { 137 | display: block; 138 | } 139 | } 140 | -------------------------------------------------------------------------------- /.dev/sass/layouts/_site.scss: -------------------------------------------------------------------------------- 1 | .site-content { 2 | @include container($container-size); 3 | 4 | margin-top: 2em; 5 | 6 | @media #{$medium-down} { 7 | margin-top: 7 / 18 + 1%; 8 | } 9 | } 10 | 11 | body.error404 .site-content { 12 | margin-bottom: 2em; 13 | } 14 | 15 | body.no-max-width .site-content { 16 | max-width: none; 17 | } 18 | 19 | @media #{$medium-only} { 20 | 21 | body.layout-one-column-narrow .site-content { 22 | @include container(80%); 23 | } 24 | } 25 | 26 | @media #{$large-up} { 27 | 28 | body.layout-one-column-narrow .site-content { 29 | @include container(66.66667%); 30 | } 31 | } 32 | 33 | .content-area { 34 | @include span(first 8); 35 | 36 | @media #{$medium-down} { 37 | @include span(12); 38 | } 39 | } 40 | 41 | #secondary { 42 | @include span(last 4); 43 | 44 | @media #{$medium-down} { 45 | @include span(12); 46 | } 47 | } 48 | 49 | #tertiary { 50 | display: none; 51 | 52 | @media #{$medium-down} { 53 | @include span(12); 54 | } 55 | } 56 | 57 | @media #{$large-up} { 58 | 59 | .layout-one-column-wide, 60 | .layout-one-column-narrow { 61 | .content-area, 62 | #secondary, 63 | #tertiary { 64 | @include span(12); 65 | } 66 | } 67 | 68 | .layout-two-column-default { 69 | .content-area { 70 | @include span(first 8); 71 | } 72 | 73 | #secondary { 74 | @include span(last 4); 75 | } 76 | } 77 | 78 | .layout-two-column-reversed { 79 | .content-area { 80 | @include span(last 8); 81 | } 82 | 83 | #secondary { 84 | @include span(first 4); 85 | } 86 | } 87 | 88 | .layout-three-column-default { 89 | .content-area { 90 | @include span(first 6); 91 | } 92 | 93 | #secondary { 94 | @include span(3 at 7); 95 | } 96 | 97 | #tertiary { 98 | @include span(last 3); 99 | 100 | display: block; 101 | } 102 | } 103 | 104 | .layout-three-column-reversed { 105 | .content-area { 106 | @include span(last 6); 107 | } 108 | 109 | #secondary { 110 | @include span(first 3); 111 | } 112 | 113 | #tertiary { 114 | @include span(3 at 4); 115 | 116 | display: block; 117 | } 118 | } 119 | 120 | .layout-three-column-center { 121 | .content-area { 122 | @include span(6 at 4); 123 | 124 | @include push(3 of 12); 125 | } 126 | 127 | #secondary { 128 | @include span(first 3); 129 | 130 | @include pull(9 of 12); 131 | } 132 | 133 | #tertiary { 134 | @include span(last 3); 135 | 136 | display: block; 137 | } 138 | } 139 | } 140 | -------------------------------------------------------------------------------- /.dev/sass/layouts/_video-header.scss: -------------------------------------------------------------------------------- 1 | .site-header.video-header { 2 | overflow: hidden; 3 | background-color: #000; 4 | color: #000; 5 | 6 | #wp-custom-header { 7 | position: absolute; 8 | height: 100vh; 9 | top: 0; 10 | left: 0; 11 | right: 0; 12 | bottom: 0; 13 | margin: auto; 14 | } 15 | 16 | #wp-custom-header-video-button { 17 | position: absolute; 18 | top: 20vh; 19 | right: 1em; 20 | opacity: 0.5; 21 | padding: 0.5em .75em; 22 | } 23 | 24 | iframe#wp-custom-header-video, 25 | video#wp-custom-header-video { 26 | height: 100%; 27 | width: 100%; 28 | } 29 | 30 | video#wp-custom-header-video, 31 | amp-video#wp-custom-header-video > video { 32 | object-fit: cover; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /.dev/sass/layouts/_widgets.scss: -------------------------------------------------------------------------------- 1 | .widget { 2 | margin: 0 0 1.5rem; 3 | padding: 2rem; 4 | background-color: $color__content-bg; 5 | 6 | p:last-child { 7 | margin-bottom: 0; 8 | } 9 | 10 | &:after { 11 | @include clearfix; 12 | @include clearfix-after; 13 | } 14 | 15 | @media #{$medium-only} { 16 | padding: 1.5rem; 17 | } 18 | 19 | @media #{$small-only} { 20 | padding: 1rem; 21 | } 22 | 23 | input[type="text"], 24 | input[type="email"], 25 | input[type="url"], 26 | input[type="password"], 27 | input[type="search"], 28 | input[type="number"], 29 | input[type="tel"], 30 | input[type="range"], 31 | input[type="date"], 32 | input[type="month"], 33 | input[type="week"], 34 | input[type="time"], 35 | input[type="datetime"], 36 | input[type="datetime-local"], 37 | input[type="color"], 38 | select, 39 | textarea { 40 | width: 100%; 41 | } 42 | 43 | ul { 44 | list-style: none; 45 | margin: 0; 46 | padding: 0; 47 | } 48 | 49 | li { 50 | padding: 0.25rem 0; 51 | 52 | ul { 53 | padding-left: 1.5rem; 54 | } 55 | } 56 | } 57 | 58 | .widget_calendar #calendar_wrap #wp-calendar { 59 | td#today { 60 | font-weight: bold; 61 | } 62 | 63 | tfoot { 64 | td#prev { 65 | text-align: left; 66 | } 67 | 68 | td#next { 69 | text-align: right; 70 | } 71 | } 72 | } 73 | 74 | .site-footer { 75 | .widget { 76 | color: $color__footer-widget-text; 77 | background-color: $color__footer-widget-content-bg; 78 | 79 | &:last-child { 80 | margin-bottom: 0; 81 | } 82 | } 83 | 84 | .widget-title, h1, h2, h3, h4, h5, h6 { 85 | color: $color__footer-widget-heading-text; 86 | } 87 | } 88 | 89 | .widget_search { 90 | padding: 0; 91 | 92 | .widget-title { 93 | padding: 2rem 2rem 0; 94 | 95 | + .search-form { 96 | padding: 0 2rem 2rem; 97 | } 98 | } 99 | 100 | .search-field { 101 | width: 100%; 102 | border-radius: 0; 103 | box-sizing: border-box; 104 | 105 | &::-webkit-search-cancel-button { 106 | z-index: 1; 107 | } 108 | } 109 | 110 | .search-submit { 111 | display: none; 112 | } 113 | } 114 | 115 | .hero .widget.widget_text p { 116 | font-size: 125%; 117 | line-height: 1.4; 118 | } 119 | -------------------------------------------------------------------------------- /.dev/sass/modules/_accessibility.scss: -------------------------------------------------------------------------------- 1 | /* Text meant only for screen readers. */ 2 | .screen-reader-text { 3 | clip: rect(1px, 1px, 1px, 1px); 4 | position: absolute !important; 5 | height: 1px; 6 | width: 1px; 7 | overflow: hidden; 8 | 9 | &:focus { 10 | background-color: #fff; 11 | border-radius: 3px; 12 | box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); 13 | clip: auto !important; 14 | color: #21759b; 15 | display: block; 16 | @include font-size(0.875); 17 | font-weight: bold; 18 | height: auto; 19 | left: 5px; 20 | line-height: normal; 21 | padding: 15px 23px 14px; 22 | text-decoration: none; 23 | top: 5px; 24 | width: auto; 25 | z-index: 100000; /* Above WP toolbar. */ 26 | } 27 | } 28 | 29 | /* Do not show the outline on the skip link target. */ 30 | #content[tabindex="-1"]:focus { 31 | outline: 0; 32 | } 33 | -------------------------------------------------------------------------------- /.dev/sass/modules/_alignments.scss: -------------------------------------------------------------------------------- 1 | .alignleft { 2 | display: inline; 3 | float: left; 4 | margin-right: 1.5em; 5 | } 6 | 7 | .alignright { 8 | display: inline; 9 | float: right; 10 | margin-left: 1.5em; 11 | } 12 | 13 | .aligncenter { 14 | clear: both; 15 | @include center-block; 16 | } 17 | -------------------------------------------------------------------------------- /.dev/sass/modules/_clearings.scss: -------------------------------------------------------------------------------- 1 | .clear:before, 2 | .clear:after, 3 | .entry-content:before, 4 | .entry-content:after, 5 | .comment-content:before, 6 | .comment-content:after, 7 | .site-header:before, 8 | .site-header:after, 9 | .site-content:before, 10 | .site-content:after, 11 | .site-footer:before, 12 | .site-footer:after { 13 | @include clearfix; 14 | } 15 | 16 | .clear:after, 17 | .entry-content:after, 18 | .comment-content:after, 19 | .site-header:after, 20 | .site-content:after, 21 | .site-footer:after { 22 | @include clearfix-after; 23 | } -------------------------------------------------------------------------------- /.dev/sass/modules/_jetpack.scss: -------------------------------------------------------------------------------- 1 | /* Globally hidden elements when Infinite Scroll is supported and in use. */ 2 | .infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */ 3 | .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */ 4 | display: none; 5 | } 6 | 7 | /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */ 8 | .infinity-end.neverending .site-footer { 9 | display: block; 10 | } 11 | 12 | // Always hide the wpstats smiley 13 | #wpstats{ 14 | display: none; 15 | } 16 | -------------------------------------------------------------------------------- /.distignore: -------------------------------------------------------------------------------- 1 | .* 2 | *.yml 3 | composer.* 4 | Gruntfile.js 5 | package*.json 6 | phpcs.ruleset.xml 7 | phpunit.xml.dist 8 | phpcs.xml 9 | readme.md 10 | svn-username 11 | bin/ 12 | dev-lib/ 13 | languages/*.po 14 | node_modules/ 15 | tests/ 16 | vendor/ 17 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .dev/docs/**/build/ 2 | .dev/docs/sphinx/src/documentation/ 3 | .DS_Store 4 | .sass-cache/ 5 | .sublime-grunt.cache 6 | bower_components/ 7 | node_modules/ 8 | svn-url 9 | svn-username 10 | tests/codeception/_output/ 11 | vendor/ 12 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule ".dev/dev-lib"] 2 | path = .dev/dev-lib 3 | url = https://github.com/xwp/wp-dev-lib.git 4 | branch = master 5 | -------------------------------------------------------------------------------- /404.php: -------------------------------------------------------------------------------- 1 | 13 | 14 |
    15 | 16 |
    17 | 18 |
    19 | 20 | 25 | 26 |
    27 | 28 |

    29 | 30 | 31 | 32 |
    33 | 34 |
    35 | 36 |
    37 | 38 |
    39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /archive.php: -------------------------------------------------------------------------------- 1 | 19 | 20 |
    21 | 22 |
    23 | 24 | 45 | 46 |
    47 | 48 |
    49 | 50 | 59 | -------------------------------------------------------------------------------- /assets/css/admin/customizer-fonts-rtl.css: -------------------------------------------------------------------------------- 1 | .primer-font-options { 2 | display: none; 3 | background: #eee; 4 | height: 280px; 5 | overflow: auto; } 6 | 7 | .primer-filter-text { 8 | position: relative; } 9 | 10 | .primer-filter-text:before { 11 | content: ''; 12 | width: 0; 13 | height: 0; 14 | border-color: #ccc transparent; 15 | border-style: solid; 16 | border-width: 6px 6px 0; 17 | position: absolute; 18 | top: 18px; 19 | left: 15px; 20 | z-index: 1; } 21 | 22 | .primer-font-options, 23 | .primer-filter-text { 24 | background: #fff; 25 | border: 1px solid #dfdfdf; 26 | border-radius: 3px; } 27 | 28 | .primer-filter-text, 29 | .primer-font-options li { 30 | display: block; 31 | padding: 5px 10px; 32 | text-indent: -9999px; 33 | background-repeat: no-repeat; 34 | height: 30px; 35 | zoom: 0.65; 36 | -moz-transform: scale(0.65); 37 | -moz-transform-origin: 0 0; 38 | background-image: url(../../images/fonts/sprite-sheet.png); 39 | margin-bottom: 0; } 40 | 41 | .primer-font-active, 42 | .primer-font-options li:hover { 43 | background-color: #effbff; } 44 | 45 | .primer-font-architects-daughter { 46 | background-position: -5px -5px; } 47 | 48 | .primer-font-asap { 49 | background-position: -5px -55px; } 50 | 51 | .primer-font-cabin { 52 | background-position: -5px -105px; } 53 | 54 | .primer-font-droid-sans { 55 | background-position: -5px -155px; } 56 | 57 | .primer-font-droid-serif { 58 | background-position: -5px -205px; } 59 | 60 | .primer-font-josefin-sans { 61 | background-position: -5px -255px; } 62 | 63 | .primer-font-lato { 64 | background-position: -5px -305px; } 65 | 66 | .primer-font-merriweather { 67 | background-position: -5px -355px; } 68 | 69 | .primer-font-merriweather-sans { 70 | background-position: -5px -405px; } 71 | 72 | .primer-font-montserrat { 73 | background-position: -5px -455px; } 74 | 75 | .primer-font-open-sans, 76 | .primer-font-open-sans-\(default\) { 77 | background-position: -5px -505px; } 78 | 79 | .primer-font-oswald { 80 | background-position: -5px -555px; } 81 | 82 | .primer-font-playfair-display { 83 | background-position: -5px -605px; } 84 | 85 | .primer-font-pt-sans { 86 | background-position: -5px -655px; } 87 | 88 | .primer-font-pt-serif { 89 | background-position: -5px -705px; } 90 | 91 | .primer-font-raleway { 92 | background-position: -5px -755px; } 93 | 94 | .primer-font-roboto { 95 | background-position: -5px -805px; } 96 | 97 | .primer-font-roboto-slab { 98 | background-position: -5px -855px; } 99 | 100 | .primer-font-source-sans-pro { 101 | background-position: -5px -905px; } 102 | 103 | .primer-font-source-serif-pro { 104 | background-position: -5px -955px; } 105 | 106 | .primer-font-ubuntu { 107 | background-position: -5px -1005px; } 108 | -------------------------------------------------------------------------------- /assets/css/admin/customizer-fonts-rtl.min.css: -------------------------------------------------------------------------------- 1 | .primer-font-options{display:none;background:#eee;height:280px;overflow:auto}.primer-filter-text{position:relative}.primer-filter-text:before{content:'';width:0;height:0;border-color:#ccc transparent;border-style:solid;border-width:6px 6px 0;position:absolute;top:18px;left:15px;z-index:1}.primer-filter-text,.primer-font-options{background:#fff;border:1px solid #dfdfdf;border-radius:3px}.primer-filter-text,.primer-font-options li{display:block;padding:5px 10px;text-indent:-9999px;background-repeat:no-repeat;height:30px;zoom:.65;-moz-transform:scale(.65);-moz-transform-origin:0 0;background-image:url(../../images/fonts/sprite-sheet.png);margin-bottom:0}.primer-font-active,.primer-font-options li:hover{background-color:#effbff}.primer-font-architects-daughter{background-position:-5px -5px}.primer-font-asap{background-position:-5px -55px}.primer-font-cabin{background-position:-5px -105px}.primer-font-droid-sans{background-position:-5px -155px}.primer-font-droid-serif{background-position:-5px -205px}.primer-font-josefin-sans{background-position:-5px -255px}.primer-font-lato{background-position:-5px -305px}.primer-font-merriweather{background-position:-5px -355px}.primer-font-merriweather-sans{background-position:-5px -405px}.primer-font-montserrat{background-position:-5px -455px}.primer-font-open-sans,.primer-font-open-sans-\(default\){background-position:-5px -505px}.primer-font-oswald{background-position:-5px -555px}.primer-font-playfair-display{background-position:-5px -605px}.primer-font-pt-sans{background-position:-5px -655px}.primer-font-pt-serif{background-position:-5px -705px}.primer-font-raleway{background-position:-5px -755px}.primer-font-roboto{background-position:-5px -805px}.primer-font-roboto-slab{background-position:-5px -855px}.primer-font-source-sans-pro{background-position:-5px -905px}.primer-font-source-serif-pro{background-position:-5px -955px}.primer-font-ubuntu{background-position:-5px -1005px} -------------------------------------------------------------------------------- /assets/css/admin/customizer-fonts.css: -------------------------------------------------------------------------------- 1 | .primer-font-options { 2 | display: none; 3 | background: #eee; 4 | height: 280px; 5 | overflow: auto; } 6 | 7 | .primer-filter-text { 8 | position: relative; } 9 | 10 | .primer-filter-text:before { 11 | content: ''; 12 | width: 0; 13 | height: 0; 14 | border-color: #ccc transparent; 15 | border-style: solid; 16 | border-width: 6px 6px 0; 17 | position: absolute; 18 | top: 18px; 19 | right: 15px; 20 | z-index: 1; } 21 | 22 | .primer-font-options, 23 | .primer-filter-text { 24 | background: #fff; 25 | border: 1px solid #dfdfdf; 26 | border-radius: 3px; } 27 | 28 | .primer-filter-text, 29 | .primer-font-options li { 30 | display: block; 31 | padding: 5px 10px; 32 | text-indent: -9999px; 33 | background-repeat: no-repeat; 34 | height: 30px; 35 | zoom: 0.65; 36 | -moz-transform: scale(0.65); 37 | -moz-transform-origin: 0 0; 38 | background-image: url(../../images/fonts/sprite-sheet.png); 39 | margin-bottom: 0; } 40 | 41 | .primer-font-active, 42 | .primer-font-options li:hover { 43 | background-color: #effbff; } 44 | 45 | .primer-font-architects-daughter { 46 | background-position: -5px -5px; } 47 | 48 | .primer-font-asap { 49 | background-position: -5px -55px; } 50 | 51 | .primer-font-cabin { 52 | background-position: -5px -105px; } 53 | 54 | .primer-font-droid-sans { 55 | background-position: -5px -155px; } 56 | 57 | .primer-font-droid-serif { 58 | background-position: -5px -205px; } 59 | 60 | .primer-font-josefin-sans { 61 | background-position: -5px -255px; } 62 | 63 | .primer-font-lato { 64 | background-position: -5px -305px; } 65 | 66 | .primer-font-merriweather { 67 | background-position: -5px -355px; } 68 | 69 | .primer-font-merriweather-sans { 70 | background-position: -5px -405px; } 71 | 72 | .primer-font-montserrat { 73 | background-position: -5px -455px; } 74 | 75 | .primer-font-open-sans, 76 | .primer-font-open-sans-\(default\) { 77 | background-position: -5px -505px; } 78 | 79 | .primer-font-oswald { 80 | background-position: -5px -555px; } 81 | 82 | .primer-font-playfair-display { 83 | background-position: -5px -605px; } 84 | 85 | .primer-font-pt-sans { 86 | background-position: -5px -655px; } 87 | 88 | .primer-font-pt-serif { 89 | background-position: -5px -705px; } 90 | 91 | .primer-font-raleway { 92 | background-position: -5px -755px; } 93 | 94 | .primer-font-roboto { 95 | background-position: -5px -805px; } 96 | 97 | .primer-font-roboto-slab { 98 | background-position: -5px -855px; } 99 | 100 | .primer-font-source-sans-pro { 101 | background-position: -5px -905px; } 102 | 103 | .primer-font-source-serif-pro { 104 | background-position: -5px -955px; } 105 | 106 | .primer-font-ubuntu { 107 | background-position: -5px -1005px; } 108 | -------------------------------------------------------------------------------- /assets/css/admin/customizer-fonts.min.css: -------------------------------------------------------------------------------- 1 | .primer-font-options{display:none;background:#eee;height:280px;overflow:auto}.primer-filter-text{position:relative}.primer-filter-text:before{content:'';width:0;height:0;border-color:#ccc transparent;border-style:solid;border-width:6px 6px 0;position:absolute;top:18px;right:15px;z-index:1}.primer-filter-text,.primer-font-options{background:#fff;border:1px solid #dfdfdf;border-radius:3px}.primer-filter-text,.primer-font-options li{display:block;padding:5px 10px;text-indent:-9999px;background-repeat:no-repeat;height:30px;zoom:.65;-moz-transform:scale(.65);-moz-transform-origin:0 0;background-image:url(../../images/fonts/sprite-sheet.png);margin-bottom:0}.primer-font-active,.primer-font-options li:hover{background-color:#effbff}.primer-font-architects-daughter{background-position:-5px -5px}.primer-font-asap{background-position:-5px -55px}.primer-font-cabin{background-position:-5px -105px}.primer-font-droid-sans{background-position:-5px -155px}.primer-font-droid-serif{background-position:-5px -205px}.primer-font-josefin-sans{background-position:-5px -255px}.primer-font-lato{background-position:-5px -305px}.primer-font-merriweather{background-position:-5px -355px}.primer-font-merriweather-sans{background-position:-5px -405px}.primer-font-montserrat{background-position:-5px -455px}.primer-font-open-sans,.primer-font-open-sans-\(default\){background-position:-5px -505px}.primer-font-oswald{background-position:-5px -555px}.primer-font-playfair-display{background-position:-5px -605px}.primer-font-pt-sans{background-position:-5px -655px}.primer-font-pt-serif{background-position:-5px -705px}.primer-font-raleway{background-position:-5px -755px}.primer-font-roboto{background-position:-5px -805px}.primer-font-roboto-slab{background-position:-5px -855px}.primer-font-source-sans-pro{background-position:-5px -905px}.primer-font-source-serif-pro{background-position:-5px -955px}.primer-font-ubuntu{background-position:-5px -1005px} -------------------------------------------------------------------------------- /assets/css/admin/editor-frame-rtl.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | Primer Block Editor Frame Styles 3 | */body.block-editor-page.post-type-post .editor-post-title__block .editor-post-title__input{font-weight:600}body.primer-gutenberg-narrow .edit-post-text-editor .edit-post-post-text-editor__toolbar,body.primer-gutenberg-narrow .edit-post-text-editor .editor-block-list__block,body.primer-gutenberg-narrow .edit-post-text-editor .editor-default-block-appender,body.primer-gutenberg-narrow .edit-post-text-editor .editor-post-title__block,body.primer-gutenberg-narrow .edit-post-text-editor .editor-writing-flow__click-redirect,body.primer-gutenberg-narrow .edit-post-visual-editor .edit-post-post-text-editor__toolbar,body.primer-gutenberg-narrow .edit-post-visual-editor .editor-block-list__block,body.primer-gutenberg-narrow .edit-post-visual-editor .editor-default-block-appender,body.primer-gutenberg-narrow .edit-post-visual-editor .editor-post-title__block,body.primer-gutenberg-narrow .edit-post-visual-editor .editor-writing-flow__click-redirect{max-width:400px}body.primer-gutenberg-wide .edit-post-text-editor .edit-post-post-text-editor__toolbar,body.primer-gutenberg-wide .edit-post-text-editor .editor-block-list__block,body.primer-gutenberg-wide .edit-post-text-editor .editor-default-block-appender,body.primer-gutenberg-wide .edit-post-text-editor .editor-post-title__block,body.primer-gutenberg-wide .edit-post-text-editor .editor-writing-flow__click-redirect,body.primer-gutenberg-wide .edit-post-visual-editor .edit-post-post-text-editor__toolbar,body.primer-gutenberg-wide .edit-post-visual-editor .editor-block-list__block,body.primer-gutenberg-wide .edit-post-visual-editor .editor-default-block-appender,body.primer-gutenberg-wide .edit-post-visual-editor .editor-post-title__block,body.primer-gutenberg-wide .edit-post-visual-editor .editor-writing-flow__click-redirect{max-width:none}.components-panel .primer-layout-wrap ul li img{max-width:85%}body.one-column-narrow .editor-post-title__block,body.one-column-wide .editor-post-title__block,body.three-column-center .editor-post-title__block,body.three-column-default .editor-post-title__block,body.three-column-reversed .editor-post-title__block,body.two-column-default .editor-post-title__block,body.two-column-reversed .editor-post-title__block{margin-right:10%}body.one-column-wide .editor-post-title__block{margin-right:auto}body.one-column-wide .wp-block{max-width:980px}body.one-column-narrow .editor-post-title__block{margin-right:auto}body.one-column-narrow .wp-block{max-width:700px}body.two-column-default .wp-block,body.two-column-reversed .wp-block{max-width:640px}body.three-column-center .wp-block:not(.editor-post-title__block),body.three-column-default .wp-block:not(.editor-post-title__block),body.three-column-reversed .wp-block:not(.editor-post-title__block){max-width:450px}body.three-column-default .block-editor-block-list__block,body.two-column-default .block-editor-block-list__block{margin-right:10%}body.three-column-reversed .block-editor-block-list__block,body.two-column-reversed .block-editor-block-list__block{margin-left:10%} -------------------------------------------------------------------------------- /assets/css/admin/editor-frame.css: -------------------------------------------------------------------------------- 1 | /*! 2 | Primer Block Editor Frame Styles 3 | */ 4 | body.block-editor-page.post-type-post .editor-post-title__block .editor-post-title__input { 5 | font-weight: 600; } 6 | 7 | body.primer-gutenberg-narrow .edit-post-visual-editor .edit-post-post-text-editor__toolbar, 8 | body.primer-gutenberg-narrow .edit-post-visual-editor .editor-writing-flow__click-redirect, 9 | body.primer-gutenberg-narrow .edit-post-visual-editor .editor-post-title__block, 10 | body.primer-gutenberg-narrow .edit-post-visual-editor .editor-block-list__block, 11 | body.primer-gutenberg-narrow .edit-post-visual-editor .editor-default-block-appender, 12 | body.primer-gutenberg-narrow .edit-post-text-editor .edit-post-post-text-editor__toolbar, 13 | body.primer-gutenberg-narrow .edit-post-text-editor .editor-writing-flow__click-redirect, 14 | body.primer-gutenberg-narrow .edit-post-text-editor .editor-post-title__block, 15 | body.primer-gutenberg-narrow .edit-post-text-editor .editor-block-list__block, 16 | body.primer-gutenberg-narrow .edit-post-text-editor .editor-default-block-appender { 17 | max-width: 400px; } 18 | 19 | body.primer-gutenberg-wide .edit-post-visual-editor .edit-post-post-text-editor__toolbar, 20 | body.primer-gutenberg-wide .edit-post-visual-editor .editor-writing-flow__click-redirect, 21 | body.primer-gutenberg-wide .edit-post-visual-editor .editor-post-title__block, 22 | body.primer-gutenberg-wide .edit-post-visual-editor .editor-block-list__block, 23 | body.primer-gutenberg-wide .edit-post-visual-editor .editor-default-block-appender, 24 | body.primer-gutenberg-wide .edit-post-text-editor .edit-post-post-text-editor__toolbar, 25 | body.primer-gutenberg-wide .edit-post-text-editor .editor-writing-flow__click-redirect, 26 | body.primer-gutenberg-wide .edit-post-text-editor .editor-post-title__block, 27 | body.primer-gutenberg-wide .edit-post-text-editor .editor-block-list__block, 28 | body.primer-gutenberg-wide .edit-post-text-editor .editor-default-block-appender { 29 | max-width: none; } 30 | 31 | .components-panel .primer-layout-wrap ul li img { 32 | max-width: 85%; } 33 | 34 | body.one-column-wide .wp-block { 35 | max-width: 980px; } 36 | 37 | body.one-column-narrow .wp-block { 38 | max-width: 700px; } 39 | 40 | body.two-column-default .wp-block, body.two-column-reversed .wp-block { 41 | max-width: 640px; } 42 | 43 | body.three-column-default .wp-block, body.three-column-center .wp-block, body.three-column-reversed .wp-block { 44 | max-width: 450px; } 45 | -------------------------------------------------------------------------------- /assets/css/admin/editor-frame.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | Primer Block Editor Frame Styles 3 | */body.block-editor-page.post-type-post .editor-post-title__block .editor-post-title__input{font-weight:600}body.primer-gutenberg-narrow .edit-post-text-editor .edit-post-post-text-editor__toolbar,body.primer-gutenberg-narrow .edit-post-text-editor .editor-block-list__block,body.primer-gutenberg-narrow .edit-post-text-editor .editor-default-block-appender,body.primer-gutenberg-narrow .edit-post-text-editor .editor-post-title__block,body.primer-gutenberg-narrow .edit-post-text-editor .editor-writing-flow__click-redirect,body.primer-gutenberg-narrow .edit-post-visual-editor .edit-post-post-text-editor__toolbar,body.primer-gutenberg-narrow .edit-post-visual-editor .editor-block-list__block,body.primer-gutenberg-narrow .edit-post-visual-editor .editor-default-block-appender,body.primer-gutenberg-narrow .edit-post-visual-editor .editor-post-title__block,body.primer-gutenberg-narrow .edit-post-visual-editor .editor-writing-flow__click-redirect{max-width:400px}body.primer-gutenberg-wide .edit-post-text-editor .edit-post-post-text-editor__toolbar,body.primer-gutenberg-wide .edit-post-text-editor .editor-block-list__block,body.primer-gutenberg-wide .edit-post-text-editor .editor-default-block-appender,body.primer-gutenberg-wide .edit-post-text-editor .editor-post-title__block,body.primer-gutenberg-wide .edit-post-text-editor .editor-writing-flow__click-redirect,body.primer-gutenberg-wide .edit-post-visual-editor .edit-post-post-text-editor__toolbar,body.primer-gutenberg-wide .edit-post-visual-editor .editor-block-list__block,body.primer-gutenberg-wide .edit-post-visual-editor .editor-default-block-appender,body.primer-gutenberg-wide .edit-post-visual-editor .editor-post-title__block,body.primer-gutenberg-wide .edit-post-visual-editor .editor-writing-flow__click-redirect{max-width:none}.components-panel .primer-layout-wrap ul li img{max-width:85%}body.one-column-wide .wp-block{max-width:980px}body.one-column-narrow .wp-block{max-width:700px}body.two-column-default .wp-block,body.two-column-reversed .wp-block{max-width:640px}body.three-column-center .wp-block,body.three-column-default .wp-block,body.three-column-reversed .wp-block{max-width:450px} -------------------------------------------------------------------------------- /assets/css/admin/layouts-rtl.css: -------------------------------------------------------------------------------- 1 | .primer-layout p label { 2 | float: right; 3 | margin-left: 12px; } 4 | 5 | .primer-layout p span.clear { 6 | content: ''; 7 | clear: both; 8 | display: block; } 9 | 10 | .primer-layout-wrap ul { 11 | display: -webkit-box; 12 | display: -ms-flexbox; 13 | display: flex; 14 | margin: 0; 15 | list-style-type: none !important; } 16 | .primer-layout-wrap ul li { 17 | margin: 0.3em 0.3em; 18 | padding: 0; } 19 | .primer-layout-wrap ul li.disabled { 20 | -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=35)"; 21 | filter: alpha(opacity=35); 22 | opacity: 0.35; } 23 | .primer-layout-wrap ul li span { 24 | display: none; } 25 | .primer-layout-wrap ul li img { 26 | width: 100%; 27 | height: auto; 28 | padding: 6px; } 29 | .primer-layout-wrap ul li label { 30 | display: block; 31 | position: relative; 32 | margin-right: 0; } 33 | .primer-layout-wrap ul li label > input { 34 | visibility: hidden; 35 | position: absolute; } 36 | .primer-layout-wrap ul li label > input + img { 37 | border: 3px solid transparent; } 38 | .primer-layout-wrap ul li.active label > input + img { 39 | cursor: pointer; } 40 | .primer-layout-wrap ul li.active label > input:checked + img { 41 | border-color: #1e8cbe; } 42 | .primer-layout-wrap ul li.disabled label > input + img { 43 | cursor: default; } 44 | 45 | #side-sortables .primer-layout-wrap ul, 46 | #customize-control-layout .primer-layout-wrap ul { 47 | -ms-flex-wrap: wrap; 48 | flex-wrap: wrap; } 49 | #side-sortables .primer-layout-wrap ul li, 50 | #customize-control-layout .primer-layout-wrap ul li { 51 | -ms-flex-preferred-size: calc(25% - 0.6em); 52 | flex-basis: calc(25% - 0.6em); } 53 | 54 | @media only screen and (max-width: 850px) { 55 | .primer-layout-wrap ul { 56 | display: inline-block; } 57 | .primer-layout-wrap ul li { 58 | float: none; 59 | width: 100%; 60 | padding: 0.5em 0 !important; } 61 | .primer-layout-wrap ul li span { 62 | display: inline-block; } 63 | .primer-layout-wrap ul li img { 64 | display: none; } 65 | .primer-layout-wrap ul li label { 66 | margin-right: 24px; } 67 | .primer-layout-wrap ul li label > input { 68 | visibility: visible; 69 | position: relative; } } 70 | -------------------------------------------------------------------------------- /assets/css/admin/layouts-rtl.min.css: -------------------------------------------------------------------------------- 1 | .primer-layout p label{float:right;margin-left:12px}.primer-layout p span.clear{content:'';clear:both;display:block}.primer-layout-wrap ul{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0;list-style-type:none!important}.primer-layout-wrap ul li{margin:.3em .3em;padding:0}.primer-layout-wrap ul li.disabled{opacity:.35}.primer-layout-wrap ul li span{display:none}.primer-layout-wrap ul li img{width:100%;height:auto;padding:6px}.primer-layout-wrap ul li label{display:block;position:relative;margin-right:0}.primer-layout-wrap ul li label>input{visibility:hidden;position:absolute}.primer-layout-wrap ul li label>input+img{border:3px solid transparent}.primer-layout-wrap ul li.active label>input+img{cursor:pointer}.primer-layout-wrap ul li.active label>input:checked+img{border-color:#1e8cbe}.primer-layout-wrap ul li.disabled label>input+img{cursor:default}#customize-control-layout .primer-layout-wrap ul,#side-sortables .primer-layout-wrap ul{-ms-flex-wrap:wrap;flex-wrap:wrap}#customize-control-layout .primer-layout-wrap ul li,#side-sortables .primer-layout-wrap ul li{-ms-flex-preferred-size:calc(25% - .6em);flex-basis:calc(25% - .6em)}@media only screen and (max-width:850px){.primer-layout-wrap ul{display:inline-block}.primer-layout-wrap ul li{float:none;width:100%;padding:.5em 0!important}.primer-layout-wrap ul li span{display:inline-block}.primer-layout-wrap ul li img{display:none}.primer-layout-wrap ul li label{margin-right:24px}.primer-layout-wrap ul li label>input{visibility:visible;position:relative}} -------------------------------------------------------------------------------- /assets/css/admin/layouts.css: -------------------------------------------------------------------------------- 1 | .primer-layout p label { 2 | float: left; 3 | margin-right: 12px; } 4 | 5 | .primer-layout p span.clear { 6 | content: ''; 7 | clear: both; 8 | display: block; } 9 | 10 | .primer-layout-wrap ul { 11 | display: -webkit-box; 12 | display: -ms-flexbox; 13 | display: flex; 14 | margin: 0; 15 | list-style-type: none !important; } 16 | .primer-layout-wrap ul li { 17 | margin: 0.3em 0.3em; 18 | padding: 0; } 19 | .primer-layout-wrap ul li.disabled { 20 | -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=35)"; 21 | filter: alpha(opacity=35); 22 | opacity: 0.35; } 23 | .primer-layout-wrap ul li span { 24 | display: none; } 25 | .primer-layout-wrap ul li img { 26 | width: 100%; 27 | height: auto; 28 | padding: 6px; } 29 | .primer-layout-wrap ul li label { 30 | display: block; 31 | position: relative; 32 | margin-left: 0; } 33 | .primer-layout-wrap ul li label > input { 34 | visibility: hidden; 35 | position: absolute; } 36 | .primer-layout-wrap ul li label > input + img { 37 | border: 3px solid transparent; } 38 | .primer-layout-wrap ul li.active label > input + img { 39 | cursor: pointer; } 40 | .primer-layout-wrap ul li.active label > input:checked + img { 41 | border-color: #1e8cbe; } 42 | .primer-layout-wrap ul li.disabled label > input + img { 43 | cursor: default; } 44 | 45 | #side-sortables .primer-layout-wrap ul, 46 | #customize-control-layout .primer-layout-wrap ul { 47 | -ms-flex-wrap: wrap; 48 | flex-wrap: wrap; } 49 | #side-sortables .primer-layout-wrap ul li, 50 | #customize-control-layout .primer-layout-wrap ul li { 51 | -ms-flex-preferred-size: calc(25% - 0.6em); 52 | flex-basis: calc(25% - 0.6em); } 53 | 54 | @media only screen and (max-width: 850px) { 55 | .primer-layout-wrap ul { 56 | display: inline-block; } 57 | .primer-layout-wrap ul li { 58 | float: none; 59 | width: 100%; 60 | padding: 0.5em 0 !important; } 61 | .primer-layout-wrap ul li span { 62 | display: inline-block; } 63 | .primer-layout-wrap ul li img { 64 | display: none; } 65 | .primer-layout-wrap ul li label { 66 | margin-left: 24px; } 67 | .primer-layout-wrap ul li label > input { 68 | visibility: visible; 69 | position: relative; } } 70 | -------------------------------------------------------------------------------- /assets/css/admin/layouts.min.css: -------------------------------------------------------------------------------- 1 | .primer-layout p label{float:left;margin-right:12px}.primer-layout p span.clear{content:'';clear:both;display:block}.primer-layout-wrap ul{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0;list-style-type:none!important}.primer-layout-wrap ul li{margin:.3em .3em;padding:0}.primer-layout-wrap ul li.disabled{opacity:.35}.primer-layout-wrap ul li span{display:none}.primer-layout-wrap ul li img{width:100%;height:auto;padding:6px}.primer-layout-wrap ul li label{display:block;position:relative;margin-left:0}.primer-layout-wrap ul li label>input{visibility:hidden;position:absolute}.primer-layout-wrap ul li label>input+img{border:3px solid transparent}.primer-layout-wrap ul li.active label>input+img{cursor:pointer}.primer-layout-wrap ul li.active label>input:checked+img{border-color:#1e8cbe}.primer-layout-wrap ul li.disabled label>input+img{cursor:default}#customize-control-layout .primer-layout-wrap ul,#side-sortables .primer-layout-wrap ul{-ms-flex-wrap:wrap;flex-wrap:wrap}#customize-control-layout .primer-layout-wrap ul li,#side-sortables .primer-layout-wrap ul li{-ms-flex-preferred-size:calc(25% - .6em);flex-basis:calc(25% - .6em)}@media only screen and (max-width:850px){.primer-layout-wrap ul{display:inline-block}.primer-layout-wrap ul li{float:none;width:100%;padding:.5em 0!important}.primer-layout-wrap ul li span{display:inline-block}.primer-layout-wrap ul li img{display:none}.primer-layout-wrap ul li label{margin-left:24px}.primer-layout-wrap ul li label>input{visibility:visible;position:relative}} -------------------------------------------------------------------------------- /assets/genericons/Genericons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/assets/genericons/Genericons.eot -------------------------------------------------------------------------------- /assets/genericons/Genericons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/assets/genericons/Genericons.ttf -------------------------------------------------------------------------------- /assets/genericons/Genericons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/assets/genericons/Genericons.woff -------------------------------------------------------------------------------- /assets/images/fonts/sprite-sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/assets/images/fonts/sprite-sheet.png -------------------------------------------------------------------------------- /assets/images/hero-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/assets/images/hero-thumbnail.jpg -------------------------------------------------------------------------------- /assets/images/hero.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godaddy-wordpress/primer/aaade3b457d9c179005016c69b4cee669d2c1057/assets/images/hero.jpg -------------------------------------------------------------------------------- /assets/images/layouts/one-column-narrow-rtl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/one-column-narrow.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/one-column-wide-rtl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/one-column-wide.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/three-column-center-rtl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/three-column-center.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/three-column-default-rtl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/three-column-default.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/three-column-reversed-rtl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/three-column-reversed.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/two-column-default-rtl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/two-column-default.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/two-column-reversed-rtl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/layouts/two-column-reversed.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/admin/colors-control.min.js: -------------------------------------------------------------------------------- 1 | !function(s,e){var c=wp.template("primer-colors-css"),l=wp.template("primer-colors-css-rgba"),t=[],n=null,i=!1;function r(){var o=s("color_scheme")();i||("_custom"!==o&&(n=o,e("#customize-control-color_scheme select").append(e("").val("_custom").html(colorSchemes._custom.label)),s("color_scheme").set("_custom")),o=_.isNull(n)?"default":n);var t=_.clone(colorSchemes[o].colors),r={};_.each(t,function(o,e){var c=s(e);void 0!==c&&(c=c(),t[e]=c,r[e]=function(o){o=o.replace("#","");var e=parseInt(o.substring(0,2),16),c=parseInt(o.substring(2,4),16),t=parseInt(o.substring(4,6),16);return e+", "+c+", "+t}(c))}),_.isEqual(t,colorSchemes[o].colors)&&s("color_scheme").set(o),s.previewer.send("primer-update-colors-css",c(t)),s.previewer.send("primer-update-colors-css-rgba",l(r))}_.each(colorSchemes.default.colors,function(o,e){t.push(e)}),s.controlConstructor.select=s.Control.extend({ready:function(){if("color_scheme"!==this.id)return!1;"_custom"!==s(this.id)()&&e('#customize-control-color_scheme select option[value="_custom"]').remove(),this.setting.bind("change",function(o){"_custom"!==o&&(e('#customize-control-color_scheme select option[value="_custom"]').remove(),e("#customize-control-display_header_text").find("input").is(":checked")||(delete colorSchemes[o].colors.header_textcolor,delete colorSchemes[o].colors.tagline_text_color),i=!0,_.each(colorSchemes[o].colors,function(o,e){var c=s(e);void 0!==c&&(c.set(o),s.control(e).container.find(".color-picker-hex").data("data-default-color",o).wpColorPicker("defaultColor",o))}),i=!1)})}}),_.each(t,function(o){s(o,function(o){o.bind(r)})})}(wp.customize,jQuery); -------------------------------------------------------------------------------- /assets/js/admin/customizer-fonts.min.js: -------------------------------------------------------------------------------- 1 | !function(o){var e=function(t,e){this.element=t,this.customSelectLink=null,this.customDropdown=null,this.options=jQuery.extend({},this.defaults,e),this.createDropdown()};e.prototype={createDropdown:function(){var t,e="",s=this,i=this.element.find(":selected");if(this.element.hide().addClass("primer-font-select"),this.element.find("option").each(function(){var t=o(this).is(":selected")?' class="primer-font-active"':"";e+='
  • "+o(this).text()+"
  • "}),this.element.after('
      '+e+"
    "),this.customSelectLink=this.element.next(".primer-font-select"),this.customDropdown=this.customSelectLink.next(".primer-font-options"),i.length){var n=i.text().replace(/ *\([^)]*\) */g,"");this.customSelectLink.find(".primer-filter-text").text(n),t=this.customDropdown.find('li[data-value="'+n+'"]'),this.customSelectLink.find(".primer-filter-text").addClass(t.attr("class")).data("gf-class",t.attr("class")),t.addClass("primer-font-active")}this.customSelectLink.click(o.proxy(s.openDropdown,s)),this.customDropdown.find("li").click(o.proxy(s.selectFont,s))},openDropdown:function(t){this.customDropdown.hasClass("primer-font-open")||(this.customDropdown.show().addClass("primer-font-open"),o(t.target).hide())},selectFont:function(t){var e=o(t.target).text().replace(/ *\([^)]*\) */g,""),s=this.customSelectLink.find(".primer-filter-text"),i=this.element.find('option[value="'+e+'"]'),n=s.data("gf-class");o(t.target).siblings().removeClass("primer-font-active"),s.removeClass(n).addClass(o(t.target).attr("class")).data("gf-class",o(t.target).attr("class")),o(t.target).addClass("primer-font-active"),this.closeDropdown(),i.length?this.element.val(e).trigger("change"):this.element.val("none").trigger("change")},closeDropdown:function(){this.customSelectLink.find(".primer-filter-text").show(),this.customDropdown.hide().removeClass("primer-font-open")},fontNameToClass:function(t){return"primer-font-"+(t=t.replace(/ *\([^)]*\) */g,"")).replace(/ /g,"-").toLowerCase()}},o.fn.primerFonts=function(t){return new e(this,t),this},o(document).ready(function(){for(var t=["site_title_font","navigation_font","heading_font","primary_font","secondary_font"],e=0,s=t.length;e').find("#primer-colors-css")),t.length||(t=i("head").append('