Plugin Directory

Changeset 2751776


Ignore:
Timestamp:
07/04/2022 05:10:05 PM (4 years ago)
Author:
wpfound
Message:

added % to the end of number

Location:
skill-bar-wp/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • skill-bar-wp/trunk/inc/class-template.php

    r2648902 r2751776  
    7979            wp_enqueue_style('skillbarwp-style-css', plugin_dir_url(__FILE__).  'css/wpskill.css');
    8080
     81            wp_enqueue_script( 'jquery' );
     82           
    8183            wp_enqueue_script('skillbarwp-jquery-inview-js', plugin_dir_url(__FILE__).  'js/jquery.inview.js');
    8284
  • skill-bar-wp/trunk/inc/css/wpskill.css

    r2648902 r2751776  
    3939.skill-percentage span {
    4040    background: #7109A9;
    41     width: 30px;
    42     height: 30px;
    43     display: block;
    4441    position: absolute;
    45     right: -12px;
     42    right: -20px;
    4643    font-size: 12px;
    47     top: -26px;
    48     border-radius: 100%;
    49     padding: 4px 8px;
     44    top: -36px;
     45    border-radius: 0;
     46    padding: 0px 9px;
    5047    font-family: 'Open Sans', sans-serif;
     48    display: flex;
     49    align-items: center;
     50    justify-content: center;
    5151}
    5252
    53  
     53.skill-percentage span:before {
     54    content: "";
     55    position: absolute;
     56    width: 8px;
     57    height: 8px;
     58    background: #7333aa;
     59    bottom: -4px;
     60    transform: rotate(45deg);
     61}
     62
     63.skill-percentage span label {
     64    margin-left: 2px;
     65    font-size: 13px;
     66}
    5467
    5568  .skill-percentage{
  • skill-bar-wp/trunk/inc/shortcode.php

    r2648902 r2751776  
    4747                            <h4><?php echo esc_html( $value['skill_title'] ); ?></h4>
    4848                            <div class="skill-item">
    49                                 <div class="skill-percentage" aria-valuenow="<?php echo esc_attr( $value['skill_value'] ); ?>"><span><?php echo esc_html( $value['skill_value'] ); ?></span></div>
     49                                <div class="skill-percentage" aria-valuenow="<?php echo esc_attr( $value['skill_value'] ); ?>"><span><?php echo esc_html( $value['skill_value'] ); ?><label><?php esc_html_e( '%', 'skillbarwp' ); ?></label></span></div>
    5050                            </div>
    5151                        </div>
  • skill-bar-wp/trunk/inc/style.php

    r2648902 r2751776  
    3939    }
    4040
     41    .skill-percentage span:before{
     42        background:<?php echo esc_attr( $valueBgColor ); ?>;
     43    }
     44
    4145</style>
  • skill-bar-wp/trunk/readme.txt

    r2662003 r2751776  
    66Tested up to: 5.8
    77Requires PHP: 5.6
    8 Stable tag: 1.0.1
     8Stable tag: 1.0.2
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.