Changeset 13272 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sass/site/_bbpress.scss
- Timestamp:
- 03/05/2024 02:45:07 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sass/site/_bbpress.scss
r13177 r13272 5 5 6 6 /* Many of these override the styles from the plugin */ 7 8 section {9 padding: 4rem 0;10 }11 7 12 8 #bbpress-forums { … … 46 42 background: transparent; 47 43 position: relative; 48 border-bottom: 1px solid #eee;44 border-bottom: 1px solid var(--wp--custom--color--border); 49 45 margin: 1rem 0; 50 46 … … 71 67 72 68 &:hover { 73 color: $color__link;69 color: var(--wp--custom--link--color--text); 74 70 } 75 71 … … 106 102 107 103 .entry-content, 108 .entry-meta { 109 padding: 0; 110 111 @media (min-width: 568px) { 112 padding: 0 ms(4); 113 } 114 } 115 104 .entry-footer { 105 margin-bottom: var(--wp--preset--spacing--40); 106 } 107 108 .entry-content, 109 .entry-meta, 116 110 .entry-header .entry-title, 117 111 .entry-content .container { … … 119 113 } 120 114 121 > .entry-content, 122 > article { 123 max-width: 48rem; 115 .wp-block-group > .entry-content, 116 .wp-block-group > article { 124 117 125 118 @media screen and ( min-width: $ms-breakpoint ) { … … 149 142 150 143 main#main { 151 margin-top: 2rem;152 padding: 0 10px 10px;153 144 154 145 @extend .clear; … … 173 164 174 165 a { 175 color: $color__wp-blue;166 color: var(--wp--preset--color--blueberry-1); 176 167 text-decoration: underline; 177 168 178 169 &:hover { 179 color: $color__wp-blue;170 color: var(--wp--preset--color--blueberry-1); 180 171 } 181 172 } … … 203 194 font-size: ms(-3); 204 195 } 196 197 ul.topic a { 198 text-decoration: none; 199 } 205 200 } 206 201 … … 218 213 } 219 214 215 .bbp-topic-header .bbp-meta .bbp-topic-permalink, 216 .bbp-reply-header .bbp-meta .bbp-reply-permalink { 217 color: var(--wp--custom--link--color--text); 218 } 219 220 220 .bbp-forums, 221 221 .bbp-topics { 222 border: 1px solid #eee;222 border: 1px solid var(--wp--custom--color--border); 223 223 224 224 > .bbp-header { 225 background: $color__wp-blue; 226 color: #fff; 225 background: var(--wp--preset--color--white); 226 border-top: none; 227 font-size: var(--wp--preset--font-size--small); 227 228 } 228 229 } … … 263 264 margin: 0; 264 265 margin-right: 10px; 265 margin-left: - 11%;266 margin-left: -8.75%; 266 267 } 267 268 268 269 div.bbp-topic-author img.avatar { 269 margin-left: -1 9%;270 margin-left: -15%; 270 271 margin-top: -6px; 271 272 width: 80px; … … 275 276 } 276 277 277 @media only screen and (max-width: 1 040px) {278 @media only screen and (max-width: 1200px) { 278 279 279 280 div.bbp-reply-author img.avatar, … … 303 304 width: 100%; 304 305 margin: 1rem 0 2rem; 305 padding-left: 10%;306 padding-left: 8%; 306 307 307 308 @media screen and ( max-width: 568px ) { … … 353 354 div.bbp-topic-content { 354 355 padding: 0; 355 margin: 0 0 0 10%;356 margin: 0 0 0 8%; 356 357 357 358 @media only screen and (max-width: 1040px) { … … 408 409 409 410 a { 410 color: #0073aa;411 color: var(--wp--custom--link--color--text); 411 412 text-transform: inherit; 412 413 font-size: 0.7rem; … … 444 445 445 446 /* Override bb-base/style.css */ 446 color: $color__link;447 color: var(--wp--custom--link--color--text); 447 448 448 449 &:hover, … … 456 457 457 458 p.wporg-bbp-topic-site-url { 458 border-top: 1px solid #eee;459 border-top: 1px solid var(--wp--custom--color--border); 459 460 padding-top: 0.5rem; 460 461 } … … 533 534 534 535 .search-form { 535 display: inline-block; 536 width: 50%; 537 margin-bottom: 0; 536 display: none; 538 537 } 539 538 … … 541 540 542 541 .create-topic, 543 > span, 544 .search-form { 542 > span { 545 543 display: block; 546 544 width: 100%; … … 585 583 586 584 &:not(.current):not(.dots):hover { 587 background: $color__wp-blue;585 background: var(--wp--preset--color--blueberry-1); 588 586 color: #fff; 589 587 text-decoration: none; 590 border: 1px solid $color__wp-blue;588 border: 1px solid var(--wp--preset--color--blueberry-1); 591 589 } 592 590 … … 598 596 &.dots { 599 597 background: #fff; 600 color: $color__text-main;598 color: var(--wp--preset--color--charcoal-1); 601 599 } 602 600 … … 628 626 #bbpress-forums ul.bbp-topics, 629 627 #bbpress-forums #bbp-user-wrapper { 630 font-size: ms(-2);628 font-size: var(--wp--preset--font-size--small); 631 629 } 632 630 … … 648 646 li.bbp-topic-freshness { 649 647 text-align: left; 650 }651 652 h1 {653 font-size: ms(4);654 font-weight: 400;655 padding-bottom: 0;656 margin: 2rem 0 1rem;657 658 &.page-title {659 margin-top: 0;660 word-break: break-word;661 }662 648 } 663 649 … … 834 820 } 835 821 822 823 836 824 .single-forum .bbp-topic-form, 837 825 .bbp-view .bbp-topic-form { 838 826 margin-top: 1rem; 839 827 padding-top: 1rem; 840 border-top: 1px solid #eee;828 border-top: 1px solid var(--wp--custom--color--border); 841 829 clear: both; 842 830 } … … 951 939 .themes-plugins { 952 940 margin: 0 0 4rem; 953 border-bottom: 1px solid #eee;941 border-bottom: 1px solid var(--wp--custom--color--border); 954 942 955 943 p { … … 1046 1034 1047 1035 ul.bbp-lead-topic li.bbp-body { 1048 border: 1px solid #eee;1036 border: 1px solid var(--wp--custom--color--border); 1049 1037 border-top: none; 1050 1038 } … … 1063 1051 ul.odd { 1064 1052 background: #fff; 1065 border-top: 2px solid #eee;1053 border-top: 2px solid var(--wp--custom--color--border); 1066 1054 } 1067 1055 … … 1069 1057 .wporg-ratings { 1070 1058 background-color: #fbfbfb; 1071 border: 1px solid #eee;1059 border: 1px solid var(--wp--custom--color--border); 1072 1060 border-top: none; 1073 1061 border-bottom: none; … … 1127 1115 header { 1128 1116 background: #fbfbfb; 1129 border: 1px solid #eee;1117 border: 1px solid var(--wp--custom--color--border); 1130 1118 border-bottom: none; 1131 padding: 1rem 2rem 0 10%; 1119 padding: var(--wp--preset--spacing--20) 2rem var(--wp--preset--spacing--20) 8%; 1120 1121 h1 { 1122 margin-bottom: 0; 1123 } 1132 1124 1133 1125 @media screen and (max-width: 568px) { … … 1240 1232 } 1241 1233 } 1242 1243 .page-header { 1244 1245 h1 { 1246 margin-bottom: 1rem; 1234 } 1235 1236 .bbpress #bbpress-forums #bbp-user-wrapper { 1237 font-size: var(--wp--preset--font-size--small); 1238 } 1239 1240 #bbpress-forums #bbp-single-user-details { 1241 1242 #bbp-user-avatar { 1243 1244 a { 1245 display: block; 1246 } 1247 1248 img.avatar { 1249 margin-bottom: unset; 1250 } 1251 } 1252 1253 #bbp-user-navigation li { 1254 1255 a { 1256 padding-left: unset; 1257 } 1258 1259 &.current a { 1260 background: unset; 1261 opacity: unset; 1262 font-weight: 600; 1247 1263 } 1248 1264 } … … 1261 1277 margin-bottom: ms(0); 1262 1278 padding-bottom: 10px; 1263 border-bottom: 1px solid #eee;1279 border-bottom: 1px solid var(--wp--custom--color--border); 1264 1280 display: flex; 1265 1281 flex-direction: row-reverse; … … 1270 1286 width: 35%; 1271 1287 float: none; 1272 border-top: 1px solid #eee;1288 border-top: 1px solid var(--wp--custom--color--border); 1273 1289 1274 1290 .reviews-total-count {
Note: See TracChangeset
for help on using the changeset viewer.