WordPress.org

Making WordPress.org

Changeset 3424


Ignore:
Timestamp:
06/18/2016 04:55:04 AM (5 years ago)
Author:
obenland
Message:

Plugin Directory: Add a See all link for plugin reviews.

See #1719.

Location:
sites/trunk/wordpress.org/public_html/wp-content
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-ratings.php

    r3207 r3424  
    4040
    4141        <?php if ( $rating ) : ?>
     42            <a class="reviews-link" href="<?php echo esc_url( 'https://wordpress.org/support/view/plugin-reviews/' . $post->post_name ); ?>"><?php _ex( 'See all', 'reviews', 'wporg-plugins' ); ?></a>
    4243
    4344            <div class="rating">
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style-rtl.css

    r3423 r3424  
    14961496  font-size: 12.8px;
    14971497  font-size: 0.8rem;
     1498  position: relative;
     1499}
     1500
     1501.plugin-ratings .reviews-link {
     1502  position: absolute;
     1503  left: 0;
     1504  top: 0.3rem;
     1505}
     1506
     1507.plugin-ratings .reviews-link:after {
     1508  content: "\f341";
     1509  font-family: dashicons;
     1510  padding-right: 5px;
     1511  vertical-align: top;
    14981512}
    14991513
     
    15551569
    15561570.plugin-support .counter-container {
    1557   position: relative;
    15581571  margin-bottom: 16px;
    15591572  margin-bottom: 1rem;
     1573  position: relative;
    15601574}
    15611575
     
    15801594  font-size: 10.24px;
    15811595  font-size: 0.64rem;
     1596  right: 8px;
    15821597  position: absolute;
    1583   right: 8px;
    15841598  top: 8px;
    15851599  width: 100%;
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style.css

    r3423 r3424  
    14961496  font-size: 12.8px;
    14971497  font-size: 0.8rem;
     1498  position: relative;
     1499}
     1500
     1501.plugin-ratings .reviews-link {
     1502  position: absolute;
     1503  right: 0;
     1504  top: 0.3rem;
     1505}
     1506
     1507.plugin-ratings .reviews-link:after {
     1508  content: "\f345";
     1509  font-family: dashicons;
     1510  padding-left: 5px;
     1511  vertical-align: top;
    14981512}
    14991513
     
    15551569
    15561570.plugin-support .counter-container {
    1557   position: relative;
    15581571  margin-bottom: 16px;
    15591572  margin-bottom: 1rem;
     1573  position: relative;
    15601574}
    15611575
     
    15801594  font-size: 10.24px;
    15811595  font-size: 0.64rem;
     1596  left: 8px;
    15821597  position: absolute;
    1583   left: 8px;
    15841598  top: 8px;
    15851599  width: 100%;
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/secondary/_widgets.scss

    r3423 r3424  
    3939.plugin-ratings {
    4040    @include font-size( ms-unitless( ms(-2) ) );
     41    position: relative;
     42
     43    .reviews-link {
     44        position: absolute;
     45        right: 0;
     46        top: 0.3rem;
     47
     48        &:after {
     49            content: "\f345";
     50            font-family: dashicons;
     51            padding-left: 5px;
     52            vertical-align: top;
     53        }
     54    }
    4155
    4256    [class*='dashicons-star-'] {
     
    93107
    94108    .counter-container {
    95         position: relative;
    96109        margin-bottom: 16px;
    97110        margin-bottom: 1rem;
     111        position: relative;
    98112    }
    99113
     
    117131    .counter-count {
    118132        @include font-size( ms-unitless( ms(-4) ) );
     133        left: 8px;
    119134        position: absolute;
    120         left: 8px;
    121135        top: 8px;
    122136        width: 100%;
Note: See TracChangeset for help on using the changeset viewer.