Making WordPress.org


Ignore:
Timestamp:
11/13/2024 05:05:29 AM (4 months ago)
Author:
dufresnesteven
Message:

wporg-support-2024: Replace ratings bars/stars with share component.

See: https://github.com/WordPress/wordpress.org/pull/408
Related: r14173

File:
1 edited

Legend:

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

    r13579 r14174  
    13441344    .review-ratings {
    13451345
    1346         @extend .clear;
    1347         margin-bottom: ms(0);
    1348         padding-bottom: 10px;
     1346        margin-bottom: var(--wp--preset--spacing--20);
     1347        padding-bottom: var(--wp--preset--spacing--20);
    13491348        border-bottom: 1px solid var(--wp--custom--color--border);
    13501349        display: flex;
    1351         flex-direction: row-reverse;
    1352 
    1353         .col-3 {
     1350
     1351        > div:first-child {
    13541352            font-size: ms(-2);
    1355             margin: 0;
     1353            width: 60%;
     1354            min-width: 54%;
     1355            flex-shrink: 0;
     1356        }
     1357
     1358        > div:last-child {
     1359            margin: 0 0 10px 0;
     1360            padding-right: 10px;
    13561361            min-width: 40%;
    1357             border-top: 1px solid var(--wp--custom--color--border);
    1358             flex-shrink: 0;
     1362            font-size: ms(-2);
    13591363
    13601364            .reviews-total-count {
     
    13641368            }
    13651369
    1366             .counter-bar {
    1367                 background-color: var(--wp--preset--color--pomegrade-1) !important;
    1368             }
    1369         }
    1370 
    1371         .col-5 {
    1372             margin: 0 0 10px 0;
    1373             padding-right: 10px;
    1374             width: 60%;
    1375             min-width: 54%;
    1376             font-size: ms(-2);
    1377 
    13781370            > div:first-child {
    1379 
    13801371                @extend h4;
    13811372                margin-top: 0;
     
    13931384
    13941385        @media (max-width: 499px) {
    1395             flex-direction: column-reverse;
    1396 
    1397             .col-3, .col-5 {
     1386            flex-direction: column;
     1387
     1388            > div:first-child {
    13981389                width: 100%;
    1399             }
    1400         }
    1401     }
    1402 }
     1390                margin-bottom: 20px;
     1391            }
     1392        }
     1393    }
     1394
     1395    .reviews-submit-link {
     1396        margin-top: 10px;
     1397    }
     1398}
Note: See TracChangeset for help on using the changeset viewer.