Changeset 7256 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/site/_bbpress.scss
- Timestamp:
- 05/31/2018 12:51:13 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/site/_bbpress.scss
r7136 r7256 13 13 14 14 .three-up { //3-columns section 15 15 16 @extend .clear; 16 17 17 18 @media (min-width: $ms-breakpoint) { 19 18 20 > div { 19 float:left; 20 width:30%; 21 margin-right:5%; 22 font-size:ms(-2); 21 float: left; 22 width: 30%; 23 margin-right: 5%; 24 font-size: ms(-2); 25 23 26 &:nth-child(3n) { 24 margin-right: 0;27 margin-right: 0; 25 28 } 26 29 } … … 28 31 29 32 &.bbp-forums { 33 30 34 > div { 31 35 background: transparent; … … 45 49 46 50 p { 47 color: #666 666;51 color: #666; 48 52 } 49 53 50 54 a { 55 51 56 &:hover { 52 57 color: $color__link; … … 65 70 66 71 &:nth-child(3n) { 67 margin-right: 0;72 margin-right: 0; 68 73 } 69 74 } … … 75 80 .bbpress, 76 81 .page-template-page-forums-sidebar { 82 77 83 main#main { 84 78 85 .entry-content, 79 86 .entry-meta { 80 87 padding: 0; 81 88 82 @media (min-width:568px) {89 @media (min-width: 568px) { 83 90 padding: 0 ms(4); 84 91 } … … 102 109 103 110 @media screen and ( min-width: $ms-breakpoint ) { 111 104 112 .entry-content, 105 113 .entry-meta { … … 117 125 118 126 .bbpress { 127 119 128 main#main { 120 129 margin-top: 2rem; … … 127 136 128 137 div.bbp-template-notice { 129 padding: .5rem;138 padding: 0.5rem; 130 139 border: none; 131 140 border-radius: 3px; … … 162 171 163 172 .bbp-body { 173 164 174 .bbp-topic-freshness, 165 175 .bbp-topic-voice-count, … … 171 181 .bbp-header, 172 182 .bbp-body { 183 173 184 li.bbp-forum-freshness, 174 185 li.bbp-topic-freshness { 175 186 width: 58%; 176 187 177 @media (min-width: 321px) {188 @media (min-width: 321px) { 178 189 width: 25%; 179 190 } … … 239 250 240 251 @media only screen and (max-width: 480px) { 252 241 253 div.bbp-reply-author img.avatar, 242 254 div.bbp-topic-author img.avatar { … … 280 292 .wporg-bbp-user-flag { 281 293 font-size: ms(-2); 282 font-weight: normal;294 font-weight: 400; 283 295 margin: 0; 284 296 margin-right: 10px; … … 320 332 div.bbp-topic-content a.mention { 321 333 text-decoration: none; 322 font-weight: bold;334 font-weight: 700; 323 335 } 324 336 … … 355 367 li.bbp-body div.type-topic:focus-within span.bbp-admin-links, 356 368 li.bbp-body div.type-reply:focus-within span.bbp-admin-links { 357 /* Separated from the block above due to browsers that don't support :focus-within */ 369 370 /* Separated from the block above due to browsers that 371 * don't support :focus-within */ 358 372 display: block; 359 373 } … … 368 382 .bbp-topic-revision-log-item, 369 383 .bbp-reply-revision-log-item { 384 370 385 img.avatar { 371 386 display: none; // Hides the avatar from single forum view. … … 382 397 383 398 p.bbp-topic-meta a { 399 384 400 /* Override bb-base/style.css */ 385 401 color: $color__link; … … 388 404 &:focus, 389 405 &:active { 406 390 407 /* Override bb-base/style.css */ 391 408 text-decoration: underline; … … 398 415 } 399 416 400 p.wporg-bbp-topic-site-url:before { 417 p.wporg-bbp-topic-site-url::before { 418 401 419 content: "\f103"; 402 420 color: #000; 403 421 font-family: dashicons; 404 font: normal 16px/1 'dashicons';422 font: 400 16px/1 dashicons; 405 423 margin-right: 5px; 406 424 float: left; … … 424 442 .page-numbers { 425 443 background: #fff; 426 border: 1px solid #B4B9BE; 427 margin-left: 0; 444 border: 1px solid #b4b9be; 428 445 color: #757575; 429 446 padding: 2px 8px; … … 451 468 border-radius: 3px 0 0 3px; 452 469 } 470 453 471 &:last-child { 454 472 border-radius: 0 3px 3px 0; … … 502 520 503 521 .forum-titles { 522 504 523 .bbp-topic-voice-count, 505 524 .bbp-topic-reply-count { 506 525 overflow: hidden; 507 526 508 &:before { 509 font: normal 16px/1 'dashicons'; 510 margin-right: 100px; 511 512 @media(min-width: 321px) { 513 font: normal 21px/1 'dashicons'; 514 margin-left: 20px; 515 } 516 } 517 } 527 &::before { 528 529 font: 400 16px/1 dashicons; 530 margin-right: 100px; 531 532 @media (min-width: 321px) { 533 534 font: 400 21px/1 dashicons; 535 margin-left: 20px; 536 } 537 } 538 } 539 518 540 .bbp-topic-voice-count { 519 &:before { 520 content: "\f307"; 521 } 522 } 541 542 &::before { 543 content: "\f307"; 544 } 545 } 546 523 547 .bbp-topic-reply-count { 524 &:before { 525 content: "\f125"; 548 549 &::before { 550 content: "\f125"; 526 551 } 527 552 } … … 535 560 536 561 537 538 562 /*-------------------------------------------------------------- 539 563 # Buttons … … 541 565 542 566 #bbpress-forums { 567 543 568 fieldset.bbp-form button { 544 569 padding: 0 0.8rem; … … 561 586 562 587 fieldset.bbp-form .button.submit { 588 563 589 @extend .button-primary; 564 590 } … … 568 594 .subscription-toggle, 569 595 .favorite-toggle { 596 570 597 @extend .button; 571 598 } … … 583 610 text-decoration: underline !important; 584 611 } 585 &:after { 612 613 &::after { 586 614 content: "\f345"; 587 588 589 590 615 font-family: dashicons; 616 position: absolute; 617 top: 1px; 618 right: 0; 591 619 } 592 620 } 593 621 594 622 .rtl .viewmore { 595 &:after { 623 624 &::after { 596 625 content: "\f341"; 597 626 } 598 627 } 599 600 628 601 629 … … 605 633 606 634 #bbpress-forums { 635 607 636 fieldset.bbp-form { 608 637 margin: 0; … … 610 639 611 640 legend { 612 font-weight: normal;641 font-weight: 400; 613 642 font-size: ms(2); 614 643 } … … 635 664 636 665 @media (max-width: 767px) { 666 637 667 input[type="text"] { 638 668 width: 100%; … … 662 692 663 693 .topic-resolved { 694 664 695 label { 665 696 vertical-align: none; 666 697 } 698 667 699 select { 668 700 width: 120px; … … 674 706 -webkit-appearance: menulist; // Get those arrows back into the select box. 675 707 } 676 677 708 678 709 … … 720 751 721 752 .helpful-links { 753 722 754 > div:last-child { 723 755 font-size: ms(-2); … … 725 757 726 758 @media (min-width: $ms-breakpoint) { 759 727 760 > div { 728 761 width: 65%; … … 744 777 p { 745 778 font-size: ms(0); 746 color: #666 666;779 color: #666; 747 780 748 781 a:hover > .dashicons { … … 770 803 771 804 772 773 774 805 /*-------------------------------------------------------------- 775 806 # Single Forum 776 807 --------------------------------------------------------------*/ 777 808 .sidebar { 778 .forum-info li:before, 779 .topic-info li:before, 780 div ul li a:before { 809 810 .forum-info li::before, 811 .topic-info li::before, 812 div ul li a::before { 781 813 float: left; 782 814 margin-right: 5px; … … 795 827 } 796 828 797 .forum-info li.topic-count: before {829 .forum-info li.topic-count::before { 798 830 content: "\f105"; 799 831 } 800 832 801 .forum-info li.reply-count: before,802 .topic-info li.reply-count: before {833 .forum-info li.reply-count::before, 834 .topic-info li.reply-count::before { 803 835 content: "\f125"; 804 836 } 805 837 806 .forum-info li.create-topic a: before,807 .topic-info li.create-reply a: before {838 .forum-info li.create-topic a::before, 839 .topic-info li.create-reply a::before { 808 840 content: "\f132"; 809 841 } 810 842 811 .forum-info li.forum-subscribe: before,812 .topic-info li.topic-subscribe: before {843 .forum-info li.forum-subscribe::before, 844 .topic-info li.topic-subscribe::before { 813 845 content: "\f465"; 814 846 } … … 819 851 } 820 852 } 821 822 823 824 853 825 854 … … 828 857 --------------------------------------------------------------*/ 829 858 .single-topic { 859 830 860 .entry-content { 861 831 862 #bbpress-forums { 832 863 overflow: visible; … … 898 929 float: left; 899 930 color: #fff; 900 background: gold;931 background: #ffd700; 901 932 padding-top: 3px; 902 933 width: 30px; … … 937 968 938 969 .sidebar { 939 .topic-info li.topic-forum:before { 970 971 .topic-info li.topic-forum::before { 940 972 content: "\f230"; 941 973 } 942 974 943 .topic-info li.wp-version: before {975 .topic-info li.wp-version::before { 944 976 content: "\f120"; 945 977 } 946 978 947 .topic-info li.topic-resolved: before {979 .topic-info li.topic-resolved::before { 948 980 content: "\f546"; 949 981 } 950 982 951 .topic-info li.topic-favorite: before {983 .topic-info li.topic-favorite::before { 952 984 content: "\f487"; 953 985 } … … 966 998 967 999 968 969 970 1000 /*-------------------------------------------------------------- 971 1001 # User Profile 972 1002 --------------------------------------------------------------*/ 973 1003 .bbp-single-user { 1004 974 1005 .page-header { 1006 975 1007 h1 { 976 1008 margin-bottom: 1rem; … … 978 1010 } 979 1011 } 980 981 982 1012 983 1013 … … 989 1019 // Review page 990 1020 .review-ratings { 1021 991 1022 @extend .clear; 992 1023 margin-bottom: ms(0); … … 1004 1035 1005 1036 .reviews-total-count { 1006 font-weight: bold;1037 font-weight: 700; 1007 1038 padding-bottom: 5px; 1008 1039 padding-top: 5px; 1009 1040 } 1010 1041 } 1042 1011 1043 .col-5 { 1012 1044 margin: 0 5% 10px 0; … … 1016 1048 1017 1049 > div:first-child { 1050 1018 1051 @extend h4; 1019 1052 margin-top: 0;
Note: See TracChangeset
for help on using the changeset viewer.