Making WordPress.org


Ignore:
Timestamp:
02/12/2021 01:30:28 AM (6 years ago)
Author:
dd32
Message:

Support: Add a "Thread Starter" (OP) badge to the thread starters replies.

This uses the same styling as moderators/plugin & theme authors/support reps, but with a green colour.

The design is experimental, and might need adjustment.

See #5611.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/elements/_badges.scss

    r7256 r10666  
    1919}
    2020
     21.by-thread-starter {
     22        box-shadow: -4px 0 0 #fff, -6px 0 0 $color__thread_starter;
     23}
     24
    2125.author-badge {
    2226        position: absolute;
    … …  
    3236.author-badge-moderator {
    3337        background-color: $color__moderator;
     38}
     39
     40.author-badge-thread-starter {
     41        background-color: $color__thread-starter;
    3442}
    3543
    … …  
    5462        .by-moderator {
    5563                border-left-color: $color__moderator;
     64        }
     65
     66        .by-thread-starter {
     67                border-left-color: $color__thread-starter;
    5668        }
    5769
Note: See TracChangeset for help on using the changeset viewer.