Twenty Seventeen: Replace remaining Genericons with Font Awesome icons

* Replaces: icon-pinned with icon-thumb-tack
* Replaces: icon-next with icon-arrow-right
* Replaces: icon-previous with icon-arrow-left
* Replaces: icon-expand with icon-angle-down
* Removes: Path, Polldaddy

Props sami.keijonen, melchoyce, laurelfulford.

Fixes #38488.

Built from https://develop.svn.wordpress.org/trunk@39072


git-svn-id: http://core.svn.wordpress.org/trunk@39014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
David A. Kennedy 2016-11-01 17:26:32 +00:00
parent 04f376e0aa
commit 3711c0664d
19 changed files with 58 additions and 79 deletions

View File

@ -42,8 +42,8 @@ get_header(); ?>
endwhile;
the_posts_pagination( array(
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'previous' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'next' ) ),
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>',
) );

View File

@ -51,7 +51,7 @@ img {
/* Layout */
.site-content {
padding: 6.5em 0 0;
padding: 6.5em 0 0;
}
/* Site Branding */
@ -108,11 +108,11 @@ img {
padding: 0.75em 0 0;
}
.dropdown-toggle .svg-fallback.icon-expand {
.dropdown-toggle .svg-fallback.icon-angle-down {
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=1.2246467991473532e-16, M21=-1.2246467991473532e-16, M22=-1, SizingMethod='auto expand')";
}
.dropdown-toggle.toggled-on .svg-fallback.icon-expand {
.dropdown-toggle.toggled-on .svg-fallback.icon-angle-down {
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=0, M21=0, M22=1, SizingMethod='auto expand')";
}
@ -153,7 +153,7 @@ img {
.blog .site-main > article,
.archive .site-main > article,
.search .site-main > article {
padding-bottom: 4em;
padding-bottom: 4em;
}
time.updated {
@ -201,4 +201,4 @@ ol.children .children {
.rtl ol.children .children {
padding-left: 0;
padding-right: 2em;
}
}

View File

@ -24,12 +24,6 @@
<symbol id="icon-vk" viewBox="0 0 35 32">
<path class="path1" d="M34.232 9.286q0.411 1.143-2.679 5.25-0.429 0.571-1.161 1.518-1.393 1.786-1.607 2.339-0.304 0.732 0.25 1.446 0.304 0.375 1.446 1.464h0.018l0.071 0.071q2.518 2.339 3.411 3.946 0.054 0.089 0.116 0.223t0.125 0.473-0.009 0.607-0.446 0.491-1.054 0.223l-4.571 0.071q-0.429 0.089-1-0.089t-0.929-0.393l-0.357-0.214q-0.536-0.375-1.25-1.143t-1.223-1.384-1.089-1.036-1.009-0.277q-0.054 0.018-0.143 0.063t-0.304 0.259-0.384 0.527-0.304 0.929-0.116 1.384q0 0.268-0.063 0.491t-0.134 0.33l-0.071 0.089q-0.321 0.339-0.946 0.393h-2.054q-1.268 0.071-2.607-0.295t-2.348-0.946-1.839-1.179-1.259-1.027l-0.446-0.429q-0.179-0.179-0.491-0.536t-1.277-1.625-1.893-2.696-2.188-3.768-2.33-4.857q-0.107-0.286-0.107-0.482t0.054-0.286l0.071-0.107q0.268-0.339 1.018-0.339l4.893-0.036q0.214 0.036 0.411 0.116t0.286 0.152l0.089 0.054q0.286 0.196 0.429 0.571 0.357 0.893 0.821 1.848t0.732 1.455l0.286 0.518q0.518 1.071 1 1.857t0.866 1.223 0.741 0.688 0.607 0.25 0.482-0.089q0.036-0.018 0.089-0.089t0.214-0.393 0.241-0.839 0.17-1.446 0-2.232q-0.036-0.714-0.161-1.304t-0.25-0.821l-0.107-0.214q-0.446-0.607-1.518-0.768-0.232-0.036 0.089-0.429 0.304-0.339 0.679-0.536 0.946-0.464 4.268-0.429 1.464 0.018 2.411 0.232 0.357 0.089 0.598 0.241t0.366 0.429 0.188 0.571 0.063 0.813-0.018 0.982-0.045 1.259-0.027 1.473q0 0.196-0.018 0.75t-0.009 0.857 0.063 0.723 0.205 0.696 0.402 0.438q0.143 0.036 0.304 0.071t0.464-0.196 0.679-0.616 0.929-1.196 1.214-1.92q1.071-1.857 1.911-4.018 0.071-0.179 0.179-0.313t0.196-0.188l0.071-0.054 0.089-0.045t0.232-0.054 0.357-0.009l5.143-0.036q0.696-0.089 1.143 0.045t0.554 0.295z"></path>
</symbol>
<symbol id="icon-path" viewBox="0 0 32 32">
<path class="path1" d="M22.47 3.364c0 0-11.39-4.578-18.122 3.042-5.184 7.080 0.116 13.618 0.116 13.618l3.52-3.132c0 0-2.63-3.134-0.58-6.616 2.708-4.372 8.164-4.024 8.164-4.024s8.7-0.040 8.546 7.388c-0.968 6.692-8.162 4.528-8.162 4.528v-8.398h-4.87v14.78c-0.694 1.942-2.446 1.18-3.752-0.156v4.372c0 0 2.63 1.972 5.494 0.93 2.862-1.046 3.17-3.442 3.17-3.442v-4.336c0 0 8.084 3.21 12.26-5.454 3.020-9.516-5.784-13.1-5.784-13.1z"></path>
</symbol>
<symbol id="icon-polldaddy" viewBox="0 0 32 32">
<path class="path1" d="M16 2c-7.718 0-14 6.282-14 14 0 7.72 6.282 14 14 14 7.72 0 14-6.28 14-14 0-7.718-6.28-14-14-14zM17.388 4.352c3.306 0.118 6.52 1.752 8.676 4.39 0.396 0.468 0.758 0.97 1.084 1.494-1.998-2.508-5.078-4.116-8.532-4.116-3.3 0-6.254 1.466-8.254 3.784-0.008 0.004-0.014 0.014-0.022 0.020-0.072 0.074-0.142 0.148-0.214 0.222-0.014 0.016-0.028 0.030-0.044 0.046-1.416 1.534-2.286 3.582-2.286 5.83 0 4.742 3.858 8.6 8.6 8.6 0.798 0 1.572-0.114 2.308-0.318-2.588 1.174-5.784 1.046-8.296-0.454-2.578-1.524-4.44-4.356-4.806-7.438-0.412-3.086 0.676-6.366 2.964-8.62 2.246-2.292 5.522-3.604 8.822-3.44zM22.11 16.278c-0.068-2.834-2.222-5.444-4.962-5.844-2.698-0.48-5.484 1.2-6.232 3.726-0.38 1.236-0.266 2.586 0.28 3.714 0.546 1.12 1.494 2.032 2.652 2.462 2.33 0.916 5.082-0.378 5.842-2.608 0.83-2.212-0.554-4.792-2.716-5.286-2.128-0.57-4.426 1.060-4.486 3.14-0.072 1.002 0.354 1.99 1.054 2.63 0.702 0.666 1.722 0.934 2.62 0.74 0.904-0.178 1.68-0.78 2.056-1.588 0.378-0.806 0.306-1.758-0.122-2.474-0.416-0.718-1.202-1.208-2-1.234-0.8-0.040-1.568 0.344-2.012 0.95-0.456 0.61-0.532 1.436-0.252 2.084 0.006 0.016 0.014 0.030 0.022 0.042 0.27 0.888 1.084 1.54 2.054 1.564-0.46 0.054-0.944-0.026-1.358-0.256-0.652-0.342-1.132-1.046-1.25-1.806-0.116-0.762 0.126-1.592 0.698-2.154 0.558-0.578 1.384-0.912 2.212-0.848 0.83 0.056 1.622 0.49 2.124 1.202 0.51 0.694 0.714 1.618 0.536 2.482-0.162 0.868-0.74 1.644-1.53 2.12-0.78 0.476-1.77 0.636-2.68 0.4-0.91-0.226-1.716-0.848-2.218-1.688-0.502-0.83-0.684-1.87-0.476-2.84 0.2-0.98 0.802-1.85 1.646-2.454 1.67-1.236 4.278-1.052 5.748 0.576 1.548 1.54 1.858 4.238 0.568 6.12-1.228 1.926-3.836 2.92-6.124 2.232-2.294-0.628-4.078-2.91-4.244-5.394-0.098-1.238 0.182-2.516 0.816-3.608 0.626-1.090 1.62-2.006 2.764-2.608 2.296-1.232 5.342-1.040 7.488 0.594 1.752 1.294 2.916 3.388 3.13 5.612 0 0.016 0.002 0.030 0.002 0.042 0 4.060-3.302 7.364-7.364 7.364-0.962 0-1.882-0.188-2.726-0.526 1.212 0.29 2.488 0.246 3.658-0.11 1.408-0.426 2.652-1.298 3.52-2.452 0.866-1.16 1.33-2.606 1.262-4.018zM16 28.758c-7.034 0-12.756-5.722-12.756-12.758 0-6.704 5.198-12.212 11.776-12.714-0.186 0.022-0.372 0.050-0.556 0.084-3.702 0.634-7.024 2.948-8.848 6.172-1.832 3.222-1.948 7.266-0.42 10.538 1.478 3.276 4.554 5.818 8.086 6.374 3.496 0.616 7.186-0.676 9.502-3.222 2.406-2.516 3.176-6.34 2.080-9.514-0.816-2.534-2.766-4.664-5.18-5.664 4.784 0.832 8.644 4.51 8.644 9.494 0 1.406-0.338 2.828-0.92 4.152-2.096 4.178-6.42 7.058-11.408 7.058z"></path>
</symbol>
<symbol id="icon-search" viewBox="0 0 30 32">
<path class="path1" d="M20.571 14.857q0-3.304-2.348-5.652t-5.652-2.348-5.652 2.348-2.348 5.652 2.348 5.652 5.652 2.348 5.652-2.348 2.348-5.652zM29.714 29.714q0 0.929-0.679 1.607t-1.607 0.679q-0.964 0-1.607-0.679l-6.125-6.107q-3.196 2.214-7.125 2.214-2.554 0-4.884-0.991t-4.018-2.679-2.679-4.018-0.991-4.884 0.991-4.884 2.679-4.018 4.018-2.679 4.884-0.991 4.884 0.991 4.018 2.679 2.679 4.018 0.991 4.884q0 3.929-2.214 7.125l6.125 6.125q0.661 0.661 0.661 1.607z"></path>
</symbol>
@ -39,17 +33,8 @@
<symbol id="icon-close" viewBox="0 0 25 32">
<path class="path1" d="M23.179 23.607q0 0.714-0.5 1.214l-2.429 2.429q-0.5 0.5-1.214 0.5t-1.214-0.5l-5.25-5.25-5.25 5.25q-0.5 0.5-1.214 0.5t-1.214-0.5l-2.429-2.429q-0.5-0.5-0.5-1.214t0.5-1.214l5.25-5.25-5.25-5.25q-0.5-0.5-0.5-1.214t0.5-1.214l2.429-2.429q0.5-0.5 1.214-0.5t1.214 0.5l5.25 5.25 5.25-5.25q0.5-0.5 1.214-0.5t1.214 0.5l2.429 2.429q0.5 0.5 0.5 1.214t-0.5 1.214l-5.25 5.25 5.25 5.25q0.5 0.5 0.5 1.214z"></path>
</symbol>
<symbol id="icon-next" viewBox="0 0 32 32">
<path class="path1" d="M16 9.292l-1.354 1.354 5.354 5.354h-14v2h14l-5.354 5.354 1.354 1.354 7.708-7.708z"></path>
</symbol>
<symbol id="icon-previous" viewBox="0 0 32 32">
<path class="path1" d="M16 9.292l1.354 1.354-5.354 5.354h14v2h-14l5.354 5.354-1.354 1.354-7.708-7.708z"></path>
</symbol>
<symbol id="icon-arrow-down" viewBox="0 0 30 32">
<path class="path1" d="M28.768 14.857q0 0.946-0.661 1.607l-11.625 11.643q-0.696 0.661-1.625 0.661-0.946 0-1.607-0.661l-11.625-11.643q-0.679-0.643-0.679-1.607 0-0.946 0.679-1.625l1.321-1.339q0.696-0.661 1.625-0.661 0.946 0 1.607 0.661l5.25 5.25v-12.571q0-0.929 0.679-1.607t1.607-0.679h2.286q0.929 0 1.607 0.679t0.679 1.607v12.571l5.25-5.25q0.661-0.661 1.607-0.661 0.929 0 1.625 0.661l1.339 1.339q0.661 0.696 0.661 1.625z"></path>
</symbol>
<symbol id="icon-expand" viewBox="0 0 32 32">
<path class="path1" d="M22 12l-7 7-7-7-2 2 9 9 9-9z"></path>
<symbol id="icon-angle-down" viewBox="0 0 21 32">
<path class="path1" d="M19.196 13.143q0 0.232-0.179 0.411l-8.321 8.321q-0.179 0.179-0.411 0.179t-0.411-0.179l-8.321-8.321q-0.179-0.179-0.179-0.411t0.179-0.411l0.893-0.893q0.179-0.179 0.411-0.179t0.411 0.179l7.018 7.018 7.018-7.018q0.179-0.179 0.411-0.179t0.411 0.179l0.893 0.893q0.179 0.179 0.179 0.411z"></path>
</symbol>
<symbol id="icon-folder-open" viewBox="0 0 34 32">
<path class="path1" d="M33.554 17q0 0.554-0.554 1.179l-6 7.071q-0.768 0.911-2.152 1.545t-2.563 0.634h-19.429q-0.607 0-1.080-0.232t-0.473-0.768q0-0.554 0.554-1.179l6-7.071q0.768-0.911 2.152-1.545t2.563-0.634h19.429q0.607 0 1.080 0.232t0.473 0.768zM27.429 10.857v2.857h-14.857q-1.679 0-3.518 0.848t-2.929 2.134l-6.107 7.179q0-0.071-0.009-0.223t-0.009-0.223v-17.143q0-1.643 1.179-2.821t2.821-1.179h5.714q1.643 0 2.821 1.179t1.179 2.821v0.571h9.714q1.643 0 2.821 1.179t1.179 2.821z"></path>
@ -144,9 +129,14 @@
<symbol id="icon-chain" viewBox="0 0 30 32">
<path class="path1" d="M26 21.714q0-0.714-0.5-1.214l-3.714-3.714q-0.5-0.5-1.214-0.5-0.75 0-1.286 0.571 0.054 0.054 0.339 0.33t0.384 0.384 0.268 0.339 0.232 0.455 0.063 0.491q0 0.714-0.5 1.214t-1.214 0.5q-0.268 0-0.491-0.063t-0.455-0.232-0.339-0.268-0.384-0.384-0.33-0.339q-0.589 0.554-0.589 1.304 0 0.714 0.5 1.214l3.679 3.696q0.482 0.482 1.214 0.482 0.714 0 1.214-0.464l2.625-2.607q0.5-0.5 0.5-1.196zM13.446 9.125q0-0.714-0.5-1.214l-3.679-3.696q-0.5-0.5-1.214-0.5-0.696 0-1.214 0.482l-2.625 2.607q-0.5 0.5-0.5 1.196 0 0.714 0.5 1.214l3.714 3.714q0.482 0.482 1.214 0.482 0.75 0 1.286-0.554-0.054-0.054-0.339-0.33t-0.384-0.384-0.268-0.339-0.232-0.455-0.063-0.491q0-0.714 0.5-1.214t1.214-0.5q0.268 0 0.491 0.063t0.455 0.232 0.339 0.268 0.384 0.384 0.33 0.339q0.589-0.554 0.589-1.304zM29.429 21.714q0 2.143-1.518 3.625l-2.625 2.607q-1.482 1.482-3.625 1.482-2.161 0-3.643-1.518l-3.679-3.696q-1.482-1.482-1.482-3.625 0-2.196 1.571-3.732l-1.571-1.571q-1.536 1.571-3.714 1.571-2.143 0-3.643-1.5l-3.714-3.714q-1.5-1.5-1.5-3.643t1.518-3.625l2.625-2.607q1.482-1.482 3.625-1.482 2.161 0 3.643 1.518l3.679 3.696q1.482 1.482 1.482 3.625 0 2.196-1.571 3.732l1.571 1.571q1.536-1.571 3.714-1.571 2.143 0 3.643 1.5l3.714 3.714q1.5 1.5 1.5 3.643z"></path>
</symbol>
<symbol id="icon-pinned" viewBox="0 0 32 32">
<path class="path1" d="M7.464 23.122c-1.566 1.566-1.808 2.378-2.122 3.536 1.156-0.312 1.97-0.554 3.536-2.122l8.484-8.484-1.412-1.416-8.486 8.486z"></path>
<path class="path2" d="M18.586 4.928c0.782 0.782 0.782 2.046 0 2.828l-2.828 2.83c-0.782 0.782-2.048 0.782-2.83 0l-2.828 2.828 8.486 8.484 2.828-2.828c-0.782-0.782-0.782-2.046 0-2.828l2.828-2.828c0.782-0.782 2.046-0.782 2.828 0l2.828-2.828-8.484-8.486-2.828 2.828z"></path>
<symbol id="icon-thumb-tack" viewBox="0 0 21 32">
<path class="path1" d="M8.571 15.429v-8q0-0.25-0.161-0.411t-0.411-0.161-0.411 0.161-0.161 0.411v8q0 0.25 0.161 0.411t0.411 0.161 0.411-0.161 0.161-0.411zM20.571 21.714q0 0.464-0.339 0.804t-0.804 0.339h-7.661l-0.911 8.625q-0.036 0.214-0.188 0.366t-0.366 0.152h-0.018q-0.482 0-0.571-0.482l-1.357-8.661h-7.214q-0.464 0-0.804-0.339t-0.339-0.804q0-2.196 1.402-3.955t3.17-1.759v-9.143q-0.929 0-1.607-0.679t-0.679-1.607 0.679-1.607 1.607-0.679h11.429q0.929 0 1.607 0.679t0.679 1.607-0.679 1.607-1.607 0.679v9.143q1.768 0 3.17 1.759t1.402 3.955z"></path>
</symbol>
<symbol id="icon-arrow-left" viewBox="0 0 43 32">
<path class="path1" d="M42.311 14.044c-0.178-0.178-0.533-0.356-0.711-0.356h-33.778l10.311-10.489c0.178-0.178 0.356-0.533 0.356-0.711 0-0.356-0.178-0.533-0.356-0.711l-1.6-1.422c-0.356-0.178-0.533-0.356-0.889-0.356s-0.533 0.178-0.711 0.356l-14.578 14.933c-0.178 0.178-0.356 0.533-0.356 0.711s0.178 0.533 0.356 0.711l14.756 14.933c0 0.178 0.356 0.356 0.533 0.356s0.533-0.178 0.711-0.356l1.6-1.6c0.178-0.178 0.356-0.533 0.356-0.711s-0.178-0.533-0.356-0.711l-10.311-10.489h33.778c0.178 0 0.533-0.178 0.711-0.356 0.356-0.178 0.533-0.356 0.533-0.711v-2.133c0-0.356-0.178-0.711-0.356-0.889z"></path>
</symbol>
<symbol id="icon-arrow-right" viewBox="0 0 43 32">
<path class="path1" d="M0.356 17.956c0.178 0.178 0.533 0.356 0.711 0.356h33.778l-10.311 10.489c-0.178 0.178-0.356 0.533-0.356 0.711 0 0.356 0.178 0.533 0.356 0.711l1.6 1.6c0.178 0.178 0.533 0.356 0.711 0.356s0.533-0.178 0.711-0.356l14.756-14.933c0.178-0.356 0.356-0.711 0.356-0.889s-0.178-0.533-0.356-0.711l-14.756-14.933c0-0.178-0.356-0.356-0.533-0.356s-0.533 0.178-0.711 0.356l-1.6 1.6c-0.178 0.178-0.356 0.533-0.356 0.711s0.178 0.533 0.356 0.711l10.311 10.489h-33.778c-0.178 0-0.533 0.178-0.711 0.356-0.356 0.178-0.533 0.356-0.533 0.711v2.311c0 0.178 0.178 0.533 0.356 0.711z"></path>
</symbol>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -63,8 +63,8 @@ if ( post_password_required() ) {
</ol>
<?php the_comments_pagination( array(
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'previous' ) ) . '<span class="screen-reader-text">' . __( 'Previous', 'twentyseventeen' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'next' ) ),
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous', 'twentyseventeen' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
) );
endif; // Check for have_comments().

View File

@ -376,7 +376,7 @@ function twentyseventeen_scripts() {
$twentyseventeen_l10n['has_navigation'] = 'true';
$twentyseventeen_l10n['expand'] = __( 'Expand child menu', 'twentyseventeen' );
$twentyseventeen_l10n['collapse'] = __( 'Collapse child menu', 'twentyseventeen' );
$twentyseventeen_l10n['icon'] = twentyseventeen_get_svg( array( 'icon' => 'expand', 'fallback' => true ) );
$twentyseventeen_l10n['icon'] = twentyseventeen_get_svg( array( 'icon' => 'angle-down', 'fallback' => true ) );
}
wp_enqueue_script( 'twentyseventeen-global', get_theme_file_uri( '/assets/js/global.js' ), array( 'jquery' ), '1.0', true );

View File

@ -139,7 +139,7 @@ function twentyseventeen_dropdown_icon_to_menu_link( $title, $item, $args, $dept
if ( 'top' === $args->theme_location ) {
foreach ( $item->classes as $value ) {
if ( 'menu-item-has-children' === $value || 'page_item_has_children' === $value ) {
$title = $title . twentyseventeen_get_svg( array( 'icon' => 'expand' ) );
$title = $title . twentyseventeen_get_svg( array( 'icon' => 'angle-down' ) );
}
}
}
@ -171,10 +171,8 @@ function twentyseventeen_social_links_icons() {
'linkedin.com' => 'linkedin',
'mailto:' => 'envelope-o',
'medium.com' => 'medium',
'path.com' => 'path',
'pinterest.com' => 'pinterest-p',
'getpocket.com' => 'get-pocket',
'polldaddy.com' => 'polldaddy',
'reddit.com' => 'reddit-alien',
'skype.com' => 'skype',
'skype:' => 'skype',

View File

@ -47,8 +47,8 @@ get_header(); ?>
endwhile;
the_posts_pagination( array(
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'previous' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'next' ) ),
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>',
) );

View File

@ -123,7 +123,7 @@ input[type="checkbox"] {
margin-right: 0;
}
.sticky .icon-pinned {
.sticky .icon-thumb-tack {
left: auto;
right: -1.5em;
}
@ -376,7 +376,7 @@ input[type="checkbox"] {
/* Blog, Archive, Search */
.sticky .icon-pinned {
.sticky .icon-thumb-tack {
left: auto;
right: -2.5em;
}
@ -512,7 +512,7 @@ input[type="checkbox"] {
/* Sticky posts */
.sticky .icon-pinned {
.sticky .icon-thumb-tack {
left: auto;
right: -1.25em;
}

View File

@ -40,8 +40,8 @@ get_header(); ?>
endwhile; // End of the loop.
the_posts_pagination( array(
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'previous' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'next' ) ),
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>',
) );

View File

@ -28,8 +28,8 @@ get_header(); ?>
endif;
the_post_navigation( array(
'prev_text' => '<span class="screen-reader-text">' . __( 'Previous Post', 'twentyseventeen' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . __( 'Previous', 'twentyseventeen' ) . '</span> <span class="nav-title"><span class="nav-title-icon-wrapper">' . twentyseventeen_get_svg( array( 'icon' => 'previous' ) ) . '</span>%title</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next Post', 'twentyseventeen' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . __( 'Next', 'twentyseventeen' ) . '</span> <span class="nav-title">%title<span class="nav-title-icon-wrapper">' . twentyseventeen_get_svg( array( 'icon' => 'next' ) ) . '</span></span>',
'prev_text' => '<span class="screen-reader-text">' . __( 'Previous Post', 'twentyseventeen' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . __( 'Previous', 'twentyseventeen' ) . '</span> <span class="nav-title"><span class="nav-title-icon-wrapper">' . twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '</span>%title</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next Post', 'twentyseventeen' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . __( 'Next', 'twentyseventeen' ) . '</span> <span class="nav-title">%title<span class="nav-title-icon-wrapper">' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ) . '</span></span>',
) );
endwhile; // End of the loop.

View File

@ -1827,19 +1827,16 @@ body:not(.has-header-image) .custom-header-image {
position: relative;
}
.icon-pinned {
.icon-thumb-tack {
display: none;
}
.sticky .icon-pinned {
.sticky .icon-thumb-tack {
display: block;
height: 18px;
left: -1.5em;
position: absolute;
top: 1.65em;
-ms-transform: rotate(-45deg); /* IE 9 */
-webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
transform: rotate(-45deg);
width: 20px;
}
@ -1902,6 +1899,12 @@ body.page:not(.twentyseventeen-front-page) .entry-title {
text-align: center;
}
.pagination .icon,
.comments-pagination .icon {
width: 0.666666666em;
height: 0.666666666em;
}
.comments-pagination {
border: 0;
}
@ -2181,15 +2184,6 @@ body:not(.twentyseventeen-front-page) .entry-header {
font-size: 1rem;
}
.nav-links .nav-next .nav-title .icon,
.nav-links .nav-previous .nav-title .icon {
height: 24px;
height: 1.5rem;
width: 24px;
width: 1.5rem;
font-weight: 400;
}
.post-navigation .nav-next {
margin-top: 1.5em;
}
@ -2487,6 +2481,7 @@ h2.widget-title {
.widget ul li li {
border: 0;
padding-left: 24px;
padding-left: 1.5rem;
}
@ -2626,10 +2621,8 @@ h2.widget-title {
.search-form .search-submit .icon {
height: 24px;
height: 1.5rem;
top: -2px;
width: 24px;
width: 1.5rem;
}
/* Tag cloud widget */
@ -3031,7 +3024,7 @@ object {
width: 2em;
}
.no-svg .dropdown-toggle .svg-fallback.icon-expand {
.no-svg .dropdown-toggle .svg-fallback.icon-angle-down {
font-size: 20px;
font-size: 1.25rem;
font-weight: normal;
@ -3041,13 +3034,13 @@ object {
transform: rotate(180deg);
}
.no-svg .dropdown-toggle.toggled-on .svg-fallback.icon-expand {
.no-svg .dropdown-toggle.toggled-on .svg-fallback.icon-angle-down {
-webkit-transform: rotate(0); /* Chrome, Safari, Opera */
-ms-transform: rotate(0); /* IE 9 */
transform: rotate(0);
}
.no-svg .dropdown-toggle .svg-fallback.icon-expand:before {
.no-svg .dropdown-toggle .svg-fallback.icon-angle-down:before {
content: "\005E";
}
@ -3487,7 +3480,7 @@ object {
display: inline;
left: 5px;
position: relative;
top: -2px;
top: -1px;
}
.main-navigation ul ul .menu-item-has-children > a > .icon,
@ -3527,7 +3520,7 @@ object {
.site-header .menu-scroll-down {
display: block;
padding: 0.5em 0.5em 0.4em;
padding: 1em;
position: absolute;
right: 0;
-webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
@ -3542,7 +3535,7 @@ object {
.site-header .navigation-top .menu-scroll-down {
color: #767676;
top: 0.9em;
top: 0.7em;
}
.menu-scroll-down:focus {
@ -3550,10 +3543,8 @@ object {
}
.menu-scroll-down .icon {
height: 32px;
height: 2rem;
width: 32px;
width: 2rem;
height: 18px;
width: 18px;
}
/* Front Page */
@ -3666,7 +3657,7 @@ object {
/* Blog, archive, search */
.sticky .icon-pinned {
.sticky .icon-thumb-tack {
height: 23px;
left: -2.5em;
top: 1.5em;
@ -3936,7 +3927,7 @@ object {
/* Sticky posts */
.sticky .icon-pinned {
.sticky .icon-thumb-tack {
font-size: 32px;
font-size: 2rem;
height: 22px;
@ -4012,7 +4003,7 @@ object {
.content-bottom-widgets,
.header-image,
.panel-image-prop,
.icon-pinned,
.icon-thumb-tack,
.page-links,
.edit-link,
.post-navigation,

View File

@ -28,7 +28,7 @@
</div><!-- .site-branding-text -->
<?php if ( ( twentyseventeen_is_frontpage() || ( is_home() && is_front_page() ) ) && ! has_nav_menu( 'top' ) ) : ?>
<a href="#content" class="menu-scroll-down"><?php echo twentyseventeen_get_svg( array( 'icon' => 'next' ) ); ?><span class="screen-reader-text"><?php _e( 'Scroll Down', 'twentyseventeen' ); ?></span></a>
<a href="#content" class="menu-scroll-down"><?php echo twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ); ?><span class="screen-reader-text"><?php _e( 'Scroll Down', 'twentyseventeen' ); ?></span></a>
<?php endif; ?>
</div><!-- .wrap -->

View File

@ -17,6 +17,6 @@
) ); ?>
<?php if ( twentyseventeen_is_frontpage() || ( is_home() && is_front_page() ) ) : ?>
<a href="#content" class="menu-scroll-down"><?php echo twentyseventeen_get_svg( array( 'icon' => 'next' ) ); ?><span class="screen-reader-text"><?php _e( 'Scroll Down', 'twentyseventeen' ); ?></span></a>
<a href="#content" class="menu-scroll-down"><?php echo twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ); ?><span class="screen-reader-text"><?php _e( 'Scroll Down', 'twentyseventeen' ); ?></span></a>
<?php endif; ?>
</nav><!-- #site-navigation -->

View File

@ -15,7 +15,7 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
if ( is_sticky() && is_home() ) :
echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
echo twentyseventeen_get_svg( array( 'icon' => 'thumb-tack' ) );
endif;
?>
<header class="entry-header">

View File

@ -14,7 +14,7 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
if ( is_sticky() && is_home() ) :
echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
echo twentyseventeen_get_svg( array( 'icon' => 'thumb-tack' ) );
endif;
?>
<header class="entry-header">

View File

@ -14,7 +14,7 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
if ( is_sticky() && is_home() ) :
echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
echo twentyseventeen_get_svg( array( 'icon' => 'thumb-tack' ) );
endif;
?>
<header class="entry-header">

View File

@ -14,7 +14,7 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
if ( is_sticky() && is_home() ) :
echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
echo twentyseventeen_get_svg( array( 'icon' => 'thumb-tack' ) );
endif;
?>
<header class="entry-header">

View File

@ -15,7 +15,7 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
if ( is_sticky() && is_home() ) :
echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
echo twentyseventeen_get_svg( array( 'icon' => 'thumb-tack' ) );
endif;
?>
<header class="entry-header">

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-beta1-39071';
$wp_version = '4.7-beta1-39072';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.