Making WordPress.org


Ignore:
Timestamp:
04/15/2024 11:48:53 PM (2 years ago)
Author:
adamwood
Message:

wporg-support-2024: Update breadcrumb style

Style breadcrumbs to match wporg-mu-plugins breadcrumbs block.

Closes https://github.com/WordPress/wordpress.org/issues/216

File:
1 edited

Legend:

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

    r13506 r13530  
    11771177div.bbp-breadcrumb {
    11781178        font-size: var(--wp--preset--font-size--small);
    1179         margin-bottom: 15px;
    1180         color: var(--wp--preset--color--charcoal-3);
     1179        margin: 0;
    11811180        float: none;
     1181        padding: 15px 0;
    11821182
    11831183        p {
     1184                color: var(--wp--preset--color--charcoal-1);
     1185                position: relative;
     1186                max-width: 100%;
     1187                mask-image: linear-gradient(to right, #000 calc(100% - 60px), transparent);
    11841188                margin: 0 !important;
     1189                overflow-x: auto;
     1190                text-overflow: clip;
     1191                white-space: nowrap;
     1192
     1193                &::after {
     1194                        content: "";
     1195                        display: inline-block;
     1196                        width: 60px;
     1197                }
     1198        }
     1199
     1200        a {
     1201                color: var(--wp--preset--color--charcoal-4);
     1202                text-decoration: none;
     1203
     1204                &:hover {
     1205                        text-decoration: underline;
     1206                }
     1207        }
     1208
     1209        .bbp-breadcrumb-sep {
     1210                margin: 0 10px;
     1211                color: var(--wp--preset--color--light-grey-1);
    11851212        }
    11861213}
Note: See TracChangeset for help on using the changeset viewer.