Making WordPress.org

Changeset 8403


Ignore:
Timestamp:
03/07/2019 09:14:15 PM (7 years ago)
Author:
coffee2code
Message:

Jobs: Use dashicon for notice box info icon instead of CSS.

Location:
sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-post-job.php

    r5378 r8403  
    1515
    1616    <div class="notice notice-info">
    17         <span>!</span><span><?php _e( 'Please review the data you submitted for accuracy. Make any necessary corrections, then re-submit this form.', 'jobswp' ); ?></span>
     17        <div>
     18        <?php _e( 'Please review the data you submitted for accuracy. Make any necessary corrections, then re-submit this form.', 'jobswp' ); ?>
    1819        <?php do_action( 'jobswp_notice', 'verify' ); ?>
     20        </div>
    1921    </div>
    2022
  • sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/functions.php

    r8232 r8403  
    110110    wp_enqueue_style( 'dashicons' );
    111111    wp_enqueue_style( 'open-sans' );
    112     wp_enqueue_style( 'jobswp-style', get_stylesheet_uri(), array(), '20170419' );
     112    wp_enqueue_style( 'jobswp-style', get_stylesheet_uri(), array(), '20190307' );
    113113
    114114    wp_enqueue_script( 'jobswp-navigation', get_template_directory_uri() . '/js/navigation.js', array( 'jquery'), '20131107', true );
  • sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/style.css

    r8232 r8403  
    11161116    border-color: #FFF;
    11171117    padding: 1em 1.5em;
     1118    position: relative;
    11181119    margin-right: 1.5em;
    11191120}
     
    11351136    border-color: #9F6000;
    11361137}
     1138.notice-info:not(.accept)::before {
     1139    content: "\f348";
     1140    font-family: "dashicons";
     1141    font-size: 36px;
     1142    position: absolute;
     1143    top: 6px;
     1144}
     1145.notice-info div:first-child {
     1146    display: block;
     1147    margin-left: 48px;
     1148}
    11371149.notice-error {
    11381150    background-color: #FFBABA;
    11391151    color: #D8000C;
    11401152    border-color: #D8000C;
    1141 }
    1142 .notice span:first-child {
    1143     padding: 1px 10px 3px;
    1144     border-radius: 25px;
    1145     color: white;
    1146     font-size: 18px;
    1147     font-weight: bold;
    1148     font-family: Verdana;
    1149     float: left;
    1150     margin: 0 0.8em 0 0;
    1151 }
    1152 .notice-info span:first-child {
    1153     background-color: #9F6000;
    11541153}
    11551154
Note: See TracChangeset for help on using the changeset viewer.