Making WordPress.org


Ignore:
Timestamp:
01/12/2017 05:45:49 PM (8 years ago)
Author:
coffee2code
Message:

Support Theme: Prepend titles of resolved topics with green dashicon checkmark instead of "[RESOLVED]" in topic listings.

Also styles resolved indicator in single topic views.

Props mapk, coffee2code.
Fixes #2359.

File:
1 edited

Legend:

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

    r4248 r4640  
    219219}
    220220
     221/* Resolved topics */
     222.topic-resolved-indicator {
     223    background-color: #64b450;
     224    color: #fff;
     225    position: absolute;
     226    padding: 4px 12px 4px 6px;
     227    right: -3px;
     228    border-top-left-radius: 6px;
     229    border-bottom-left-radius: 6px;
     230}
     231
     232.bbp-topic-title .resolved:before,
     233.topic-resolved-indicator:before {
     234    content: "\f147";
     235    color: #64b450; /*#46b450;*/
     236    font: normal 16px/1 'dashicons';
     237    margin-right: 5px;
     238    float: left;
     239    padding-top: 3px;
     240}
     241
     242.topic-resolved-indicator:before {
     243    color: #fff;
     244    font-size: 21px;
     245    padding-top: 0;
     246}
     247
     248@media screen and ( max-width: 480px ) {
     249    .topic-resolved-indicator {
     250        padding-top: 2px;
     251        padding-bottom: 2px;
     252        top: -2rem;
     253        right: -1.7rem;
     254    }
     255
     256    .topic-resolved-indicator:before {
     257        font-size: 19px;
     258    }
     259}
     260
    221261@media screen and ( min-width: 960px )  {
    222262
Note: See TracChangeset for help on using the changeset viewer.