Making WordPress.org


Ignore:
Timestamp:
04/08/2024 03:40:30 AM (22 months ago)
Author:
adamwood
Message:

wporg-support-2024: Restyle buttons

Style buttons and associated inputs and textarea to match wporg-parent-2021 styles

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

File:
1 edited

Legend:

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

    r13461 r13470  
    678678    }
    679679
    680     .wporg-bbp-term-subscription > a,
    681680    .reviews-submit-link > .btn,
    682681    .subscription-toggle,
     
    761760    }
    762761
     762    #bbp-user-body {
     763
     764        div.bbp-search-form {
     765
     766            form > div {
     767                margin-bottom: var(--wp--style--block-gap);
     768                display: flex;
     769
     770                input[type="text"] {
     771                    flex: 1;
     772                    margin-right: calc(var(--wp--preset--spacing--10) / 2);
     773                }
     774            }
     775
     776            button,
     777            input {
     778
     779                @media only screen and (max-width: 480px) {
     780                    font-size: var(--wp--preset--font-size--small);
     781                    padding: var(--wp--custom--form--padding--block) var(--wp--custom--form--padding--inline);
     782                }
     783            }
     784        }
     785    }
     786
    763787    @media (max-width: 767px) {
     788
     789        #bbp-user-body {
     790
     791            div.bbp-search-form {
     792                float: none;
     793            }
     794
     795            h2.entry-title {
     796                clear: right;
     797            }
     798        }
    764799
    765800        input[type="text"] {
     
    800835.topic-resolved {
    801836
    802     label {
    803         vertical-align: none;
     837    form {
     838        width: 100%;
     839        display: flex;
     840        flex-wrap: wrap;
     841        align-items: center;
     842        gap: calc(var(--wp--preset--spacing--10) / 2);
    804843    }
    805844
    806845    select {
    807         width: 120px;
    808         line-height: 1;
     846        width: 150px;
    809847    }
    810848}
     
    11261164        textarea {
    11271165            width: 100%;
    1128             padding: 0.2rem 0.5rem 0.1rem;
    11291166            margin: 4px 0 8px;
    11301167        }
     
    11811218
    11821219    input[type="text"] {
    1183         padding: 3px 5px;
    11841220
    11851221        @media (max-width: 767px) {
     
    11941230.bbpress #bbpress-forums #bbp-user-wrapper {
    11951231    font-size: var(--wp--preset--font-size--small);
     1232
     1233    .bbp-user-section {
     1234        margin-top: var(--wp--style--block-gap);
     1235    }
    11961236}
    11971237
Note: See TracChangeset for help on using the changeset viewer.