Changeset 13450 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sass/elements/_badges.scss
- Timestamp:
- 04/04/2024 02:50:01 AM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sass/elements/_badges.scss
r13426 r13450 9 9 .author-badge { 10 10 position: absolute; 11 top: 15px;12 left: 0;11 top: var(--wp--preset--spacing--20); 12 left: var(--wp--preset--spacing--20); 13 13 padding: 2px 6px; 14 14 color: #fff; … … 16 16 border-radius: var(--wp--custom--button--border--radius); 17 17 18 . bbp-topic-author & {19 top: 2px;18 .topic-indicator + .bbp-topic-author & { 19 top: 40px; 20 20 } 21 22 @media screen and ( max-width: 568px ) {23 24 .topic-indicator + .bbp-topic-author & {25 top: 12px;26 }27 }28 }29 30 .reply.author-has-badge,31 .reply.topic-author,32 .reply.by-moderator {33 padding-top: 40px !important;34 21 } 35 22 … … 40 27 .author-badge-thread-starter { 41 28 background-color: var(--wp--custom--color--thread-starter); 29 color: var(--wp--preset--color--charcoal-1); 42 30 } 43 31 … … 52 40 .author-badge-reporter { 53 41 background-color: var(--wp--custom--color--thread-reporter); 42 color: var(--wp--preset--color--charcoal-1); 54 43 right: -2px; 55 44 left: initial; … … 62 51 .bbp-user-reports-submitted { 63 52 64 div.author-has-badge {65 box-shadow: none;66 border-left-style: solid;67 border-left-width: 3px;68 }69 70 // .by-moderator {71 // border-left-color: var(--wp--custom--color--moderator);72 // }73 74 // .by-plugin-author,75 // .by-plugin-contributor,76 // .by-plugin-support-rep {77 // border-left-color: var(--wp--custom--color--plugin-author);78 // }79 80 // .by-theme-author,81 // .by-theme-contributor,82 // .by-theme-support-rep {83 // border-left-color: var(--wp--custom--color--theme-author);84 // }85 86 .author-badge {87 left: 0;88 }89 90 53 .author-badge-reporter { 91 54 left: initial; … … 93 56 } 94 57 } 95 96 @media screen and ( max-width: 480px ) {97 98 .author-badge,99 .author-badge-reporter {100 top: -28px;101 left: -18px;102 103 .bbp-topic-author & {104 top: -38px;105 }106 107 .topic-indicator + .bbp-topic-author & {108 top: -28px;109 }110 }111 }
Note: See TracChangeset
for help on using the changeset viewer.