Making WordPress.org

Changeset 4344


Ignore:
Timestamp:
11/09/2016 11:05:01 PM (10 years ago)
Author:
mapk
Message:

Plugin Directory Theme: Making 'read more' and other links consistent.

Some links showed an underline on hover, others weren't, so I made them all consistent and kept the underline. But I didn't want the underline to extend under the arrow icon next to specific links either, so I worked that better.

Fixes #2221

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/reviews/style.scss

    r4223 r4344  
    6464        font-size: ms( -2 );
    6565        margin-top: 0.5rem;
     66        text-decoration: none;
    6667
    6768        &:after {
    … …  
    6970                font-family: dashicons;
    7071                vertical-align: text-top;
     72                padding-left: 5px;
     73                float: right;
     74                position: relative;
     75                top: 1px;
    7176        }
    7277}
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/style.scss

    r4336 r4344  
    2222                &:nth-child(2) {
    2323                        margin-top: 0;
    24                 }
     24                } 
    2525        }
    2626
    … …  
    7373                padding-left: 5px;
    7474                vertical-align: text-top;
     75                position: relative;
     76                float: right;
     77                top: 1px;
    7578
    7679                .toggled + & {
    7780                        content: "\f343";
    7881                }
     82        }
     83
     84        &:hover {
     85                text-decoration: underline;
    7986        }
    8087}
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/widget-area/widgets/ratings/style.scss

    r4324 r4344  
    66                position: absolute;
    77                right: 0;
    8                 top: 0.3rem;
     8                top: 0;
    99
    1010                &:after {
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style.css

    r4336 r4344  
    22902290  margin-top: 8px;
    22912291  margin-top: 0.5rem;
     2292  text-decoration: none;
    22922293}
    22932294
    … …  
    22962297  font-family: dashicons;
    22972298  vertical-align: text-top;
     2299  padding-left: 5px;
     2300  float: right;
     2301  position: relative;
     2302  top: 1px;
    22982303}
    22992304
    … …  
    25772582  padding-left: 5px;
    25782583  vertical-align: text-top;
     2584  position: relative;
     2585  float: right;
     2586  top: 1px;
    25792587}
    25802588
    25812589.toggled + .section-toggle:after {
    25822590  content: "\f343";
     2591}
     2592
     2593.section-toggle:hover {
     2594  text-decoration: underline;
    25832595}
    25842596
    … …  
    31063118  position: absolute;
    31073119  right: 0;
    3108   top: 4.8px;
    3109   top: 0.3rem;
     3120  top: 0;
    31103121}
    31113122
Note: See TracChangeset for help on using the changeset viewer.