Make WordPress Core

Changeset 39072


Ignore:
Timestamp:
11/01/2016 05:25:58 PM (8 years ago)
Author:
davidakennedy
Message:

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.

Location:
trunk/src/wp-content/themes/twentyseventeen
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/archive.php

    r38875 r39072  
    4343
    4444            the_posts_pagination( array(
    45                 'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'previous' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
    46                 'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'next' ) ),
     45                'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
     46                'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
    4747                'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>',
    4848            ) );
  • trunk/src/wp-content/themes/twentyseventeen/assets/css/ie8.css

    r38985 r39072  
    5252
    5353.site-content {
    54     padding: 6.5em 0 0;
     54    padding: 6.5em 0 0;
    5555}
    5656
     
    109109}
    110110
    111 .dropdown-toggle .svg-fallback.icon-expand {
     111.dropdown-toggle .svg-fallback.icon-angle-down {
    112112    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=1.2246467991473532e-16, M21=-1.2246467991473532e-16, M22=-1, SizingMethod='auto expand')";
    113113}
    114114
    115 .dropdown-toggle.toggled-on .svg-fallback.icon-expand {
     115.dropdown-toggle.toggled-on .svg-fallback.icon-angle-down {
    116116    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=0, M21=0, M22=1, SizingMethod='auto expand')";
    117117}
     
    154154.archive .site-main > article,
    155155.search .site-main > article {
    156     padding-bottom: 4em;
     156    padding-bottom: 4em;
    157157}
    158158
  • trunk/src/wp-content/themes/twentyseventeen/assets/images/svg-icons.svg

    r38833 r39072  
    2525<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>
    2626</symbol>
    27 <symbol id="icon-path" viewBox="0 0 32 32">
    28 <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>
    29 </symbol>
    30 <symbol id="icon-polldaddy" viewBox="0 0 32 32">
    31 <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>
    32 </symbol>
    3327<symbol id="icon-search" viewBox="0 0 30 32">
    3428<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>
     
    4034<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>
    4135</symbol>
    42 <symbol id="icon-next" viewBox="0 0 32 32">
    43 <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>
    44 </symbol>
    45 <symbol id="icon-previous" viewBox="0 0 32 32">
    46 <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>
    47 </symbol>
    48 <symbol id="icon-arrow-down" viewBox="0 0 30 32">
    49 <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>
    50 </symbol>
    51 <symbol id="icon-expand" viewBox="0 0 32 32">
    52 <path class="path1" d="M22 12l-7 7-7-7-2 2 9 9 9-9z"></path>
     36<symbol id="icon-angle-down" viewBox="0 0 21 32">
     37<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>
    5338</symbol>
    5439<symbol id="icon-folder-open" viewBox="0 0 34 32">
     
    145130<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>
    146131</symbol>
    147 <symbol id="icon-pinned" viewBox="0 0 32 32">
    148 <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>
    149 <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>
     132<symbol id="icon-thumb-tack" viewBox="0 0 21 32">
     133<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>
     134</symbol>
     135<symbol id="icon-arrow-left" viewBox="0 0 43 32">
     136<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>
     137</symbol>
     138<symbol id="icon-arrow-right" viewBox="0 0 43 32">
     139<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>
    150140</symbol>
    151141</defs>
  • trunk/src/wp-content/themes/twentyseventeen/comments.php

    r38833 r39072  
    6464
    6565        <?php the_comments_pagination( array(
    66             'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'previous' ) ) . '<span class="screen-reader-text">' . __( 'Previous', 'twentyseventeen' ) . '</span>',
    67             'next_text' => '<span class="screen-reader-text">' . __( 'Next', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'next' ) ),
     66            'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous', 'twentyseventeen' ) . '</span>',
     67            'next_text' => '<span class="screen-reader-text">' . __( 'Next', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
    6868        ) );
    6969
  • trunk/src/wp-content/themes/twentyseventeen/functions.php

    r39001 r39072  
    377377        $twentyseventeen_l10n['expand']         = __( 'Expand child menu', 'twentyseventeen' );
    378378        $twentyseventeen_l10n['collapse']       = __( 'Collapse child menu', 'twentyseventeen' );
    379         $twentyseventeen_l10n['icon']           = twentyseventeen_get_svg( array( 'icon' => 'expand', 'fallback' => true ) );
     379        $twentyseventeen_l10n['icon']           = twentyseventeen_get_svg( array( 'icon' => 'angle-down', 'fallback' => true ) );
    380380    }
    381381
  • trunk/src/wp-content/themes/twentyseventeen/inc/icon-functions.php

    r38846 r39072  
    140140        foreach ( $item->classes as $value ) {
    141141            if ( 'menu-item-has-children' === $value || 'page_item_has_children' === $value ) {
    142                 $title = $title . twentyseventeen_get_svg( array( 'icon' => 'expand' ) );
     142                $title = $title . twentyseventeen_get_svg( array( 'icon' => 'angle-down' ) );
    143143            }
    144144        }
     
    172172        'mailto:'         => 'envelope-o',
    173173        'medium.com'      => 'medium',
    174         'path.com'        => 'path',
    175174        'pinterest.com'   => 'pinterest-p',
    176175        'getpocket.com'   => 'get-pocket',
    177         'polldaddy.com'   => 'polldaddy',
    178176        'reddit.com'      => 'reddit-alien',
    179177        'skype.com'       => 'skype',
  • trunk/src/wp-content/themes/twentyseventeen/index.php

    r38875 r39072  
    4848
    4949                the_posts_pagination( array(
    50                     'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'previous' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
    51                     'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'next' ) ),
     50                    'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
     51                    'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
    5252                    'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>',
    5353                ) );
  • trunk/src/wp-content/themes/twentyseventeen/rtl.css

    r38963 r39072  
    124124}
    125125
    126 .sticky .icon-pinned {
     126.sticky .icon-thumb-tack {
    127127    left: auto;
    128128    right: -1.5em;
     
    377377    /* Blog, Archive, Search */
    378378
    379     .sticky .icon-pinned {
     379    .sticky .icon-thumb-tack {
    380380        left: auto;
    381381        right: -2.5em;
     
    513513    /* Sticky posts */
    514514
    515     .sticky .icon-pinned {
     515    .sticky .icon-thumb-tack {
    516516        left: auto;
    517517        right: -1.25em;
  • trunk/src/wp-content/themes/twentyseventeen/search.php

    r38875 r39072  
    4141
    4242            the_posts_pagination( array(
    43                 'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'previous' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
    44                 'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'next' ) ),
     43                'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
     44                'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
    4545                'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>',
    4646            ) );
  • trunk/src/wp-content/themes/twentyseventeen/single.php

    r38875 r39072  
    2929
    3030                    the_post_navigation( array(
    31                         '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>',
    32                         '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>',
     31                        '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>',
     32                        '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>',
    3333                    ) );
    3434
  • trunk/src/wp-content/themes/twentyseventeen/style.css

    r39004 r39072  
    18281828}
    18291829
    1830 .icon-pinned {
     1830.icon-thumb-tack {
    18311831    display: none;
    18321832}
    18331833
    1834 .sticky .icon-pinned {
     1834.sticky .icon-thumb-tack {
    18351835    display: block;
    18361836    height: 18px;
     
    18381838    position: absolute;
    18391839    top: 1.65em;
    1840     -ms-transform: rotate(-45deg); /* IE 9 */
    1841     -webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
    1842     transform: rotate(-45deg);
    18431840    width: 20px;
    18441841}
     
    19011898    padding: 2em 0 3em;
    19021899    text-align: center;
     1900}
     1901
     1902.pagination .icon,
     1903.comments-pagination .icon {
     1904    width: 0.666666666em;
     1905    height: 0.666666666em;
    19031906}
    19041907
     
    21822185}
    21832186
    2184 .nav-links .nav-next .nav-title .icon,
    2185 .nav-links .nav-previous .nav-title .icon {
    2186     height: 24px;
    2187     height: 1.5rem;
    2188     width: 24px;
    2189     width: 1.5rem;
    2190     font-weight: 400;
    2191 }
    2192 
    21932187.post-navigation .nav-next {
    21942188    margin-top: 1.5em;
     
    24882482.widget ul li li {
    24892483    border: 0;
     2484    padding-left: 24px;
    24902485    padding-left: 1.5rem;
    24912486}
     
    26272622.search-form .search-submit .icon {
    26282623    height: 24px;
    2629     height: 1.5rem;
    26302624    top: -2px;
    26312625    width: 24px;
    2632     width: 1.5rem;
    26332626}
    26342627
     
    30323025}
    30333026
    3034 .no-svg .dropdown-toggle .svg-fallback.icon-expand {
     3027.no-svg .dropdown-toggle .svg-fallback.icon-angle-down {
    30353028    font-size: 20px;
    30363029    font-size: 1.25rem;
     
    30423035}
    30433036
    3044 .no-svg .dropdown-toggle.toggled-on .svg-fallback.icon-expand {
     3037.no-svg .dropdown-toggle.toggled-on .svg-fallback.icon-angle-down {
    30453038    -webkit-transform: rotate(0); /* Chrome, Safari, Opera */
    30463039    -ms-transform: rotate(0); /* IE 9 */
     
    30483041}
    30493042
    3050 .no-svg .dropdown-toggle .svg-fallback.icon-expand:before {
     3043.no-svg .dropdown-toggle .svg-fallback.icon-angle-down:before {
    30513044    content: "\005E";
    30523045}
     
    34883481        left: 5px;
    34893482        position: relative;
    3490         top: -2px;
     3483        top: -1px;
    34913484    }
    34923485
     
    35283521    .site-header .menu-scroll-down {
    35293522        display: block;
    3530         padding: 0.5em 0.5em 0.4em;
     3523        padding: 1em;
    35313524        position: absolute;
    35323525        right: 0;
     
    35433536    .site-header .navigation-top .menu-scroll-down {
    35443537        color: #767676;
    3545         top: 0.9em;
     3538        top: 0.7em;
    35463539    }
    35473540
     
    35513544
    35523545    .menu-scroll-down .icon {
    3553         height: 32px;
    3554         height: 2rem;
    3555         width: 32px;
    3556         width: 2rem;
     3546        height: 18px;
     3547        width: 18px;
    35573548    }
    35583549
     
    36673658    /* Blog, archive, search */
    36683659
    3669     .sticky .icon-pinned {
     3660    .sticky .icon-thumb-tack {
    36703661        height: 23px;
    36713662        left: -2.5em;
     
    39373928    /* Sticky posts */
    39383929
    3939     .sticky .icon-pinned {
     3930    .sticky .icon-thumb-tack {
    39403931        font-size: 32px;
    39413932        font-size: 2rem;
     
    40134004    .header-image,
    40144005    .panel-image-prop,
    4015     .icon-pinned,
     4006    .icon-thumb-tack,
    40164007    .page-links,
    40174008    .edit-link,
  • trunk/src/wp-content/themes/twentyseventeen/template-parts/header/site-branding.php

    r38909 r39072  
    2929
    3030        <?php if ( ( twentyseventeen_is_frontpage() || ( is_home() && is_front_page() ) ) && ! has_nav_menu( 'top' ) ) : ?>
    31         <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>
     31        <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>
    3232    <?php endif; ?>
    3333
  • trunk/src/wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php

    r38833 r39072  
    1818
    1919    <?php if ( twentyseventeen_is_frontpage() || ( is_home() && is_front_page() ) ) : ?>
    20         <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>
     20        <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>
    2121    <?php endif; ?>
    2222</nav><!-- #site-navigation -->
  • trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php

    r38833 r39072  
    1616    <?php
    1717        if ( is_sticky() && is_home() ) :
    18             echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
     18            echo twentyseventeen_get_svg( array( 'icon' => 'thumb-tack' ) );
    1919        endif;
    2020    ?>
  • trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php

    r38833 r39072  
    1515    <?php
    1616        if ( is_sticky() && is_home() ) :
    17             echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
     17            echo twentyseventeen_get_svg( array( 'icon' => 'thumb-tack' ) );
    1818        endif;
    1919    ?>
  • trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-image.php

    r38833 r39072  
    1515    <?php
    1616        if ( is_sticky() && is_home() ) :
    17             echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
     17            echo twentyseventeen_get_svg( array( 'icon' => 'thumb-tack' ) );
    1818        endif;
    1919    ?>
  • trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-video.php

    r38833 r39072  
    1515    <?php
    1616        if ( is_sticky() && is_home() ) :
    17             echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
     17            echo twentyseventeen_get_svg( array( 'icon' => 'thumb-tack' ) );
    1818        endif;
    1919    ?>
  • trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content.php

    r38833 r39072  
    1616    <?php
    1717        if ( is_sticky() && is_home() ) :
    18             echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
     18            echo twentyseventeen_get_svg( array( 'icon' => 'thumb-tack' ) );
    1919        endif;
    2020    ?>
Note: See TracChangeset for help on using the changeset viewer.