Making WordPress.org


Ignore:
Timestamp:
04/05/2024 04:19:49 AM (20 months ago)
Author:
adamwood
Message:

wporg-support-2024: Update review rating styles

Change star colors to charcoal
Fix stars layout on single review

See https://github.com/WordPress/wordpress.org/issues/211

File:
1 edited

Legend:

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

    r13459 r13461  
    10431043            // Ratings
    10441044            .wporg-ratings {
    1045                 background-color: var(--wp--preset--color--light-grey-3);
    1046                 border: 1px solid var(--wp--custom--color--border);
    1047                 border-top: none;
    1048                 border-bottom: none;
    1049                 padding-left: 10%;
    1050                 padding-top: 0.5em;
     1045                margin: var(--wp--preset--spacing--20) 0;
     1046
     1047                [class*="dashicons-star-"] {
     1048                    color: var(--wp--preset--color--charcoal-2);
     1049                }
    10511050            }
    10521051
     
    12291228--------------------------------------------------------------*/
    12301229
     1230.bbp-topics {
     1231
     1232    .wporg-ratings {
     1233
     1234        [class*="dashicons-star-"] {
     1235            color: var(--wp--preset--color--charcoal-2);
     1236        }
     1237    }
     1238}
     1239
    12311240.bbp-view { // This is my hook for both the plugin/theme support review page and the actual plugin/theme support forum
    12321241    // Review page
     
    12521261                padding-top: 5px;
    12531262            }
     1263
     1264            .counter-bar {
     1265                background-color: var(--wp--preset--color--charcoal-2) !important;
     1266            }
    12541267        }
    12551268
     
    12691282                display: inline-block;
    12701283                margin-right: ms(0);
     1284
     1285                [class*="dashicons-star-"] {
     1286                    color: var(--wp--preset--color--charcoal-2);
     1287                }
    12711288            }
    12721289
Note: See TracChangeset for help on using the changeset viewer.