Skip to:
Content

bbPress.org

Ticket #2711: 2711-2.patch

File 2711-2.patch, 1.8 KB (added by Robkk, 10 years ago)

2711-2.patch adds basic styling to the edit user profile page's inputs, labels, and descriptions to make them full width. The patch also add 20px padding above the #bbp-user-body to have space for the #bbp-user-wrapper.

  • src/templates/default/css/bbpress.css

     
    781781        #bbpress-forums #bbp-your-profile fieldset input,
    782782        #bbpress-forums #bbp-your-profile fieldset textarea {
    783783                margin-bottom: 0;
    784                 width: 60%;
     784                width: 100%;
    785785                background: #f9f9f9;
    786786                border: 1px solid #ddd;
    787787                box-shadow: none;
     
    802802        }
    803803        #bbpress-forums #bbp-your-profile fieldset label[for] {
    804804                float: left;
    805                 width: 20%;
     805                width: 100%;
    806806                padding: 5px 20px 5px 0;
    807                 text-align: right;
     807                text-align: left;
    808808                cursor: pointer;
    809809        }
    810810        #bbpress-forums #bbp-your-profile fieldset dl label[for] {
    811811                text-align: left;
    812                 width: 60%;
     812                width: 100%;
    813813        }
    814814        #bbpress-forums #bbp-your-profile fieldset span.description {
    815815                margin: 5px 0 0 20%;
     
    817817                font-style: italic;
    818818                float: left;
    819819                clear: left;
    820                 width: 60%;
     820                width: 100%;
    821821                padding: 5px 8px;
    822822                border: #cee1ef 1px solid;
    823823                background-color: #f0f8ff;
     
    831831                float: none;
    832832        }
    833833        #bbpress-forums #bbp-your-profile fieldset fieldset.password {
    834                 width: 60%;
    835                 display: inline;
     834                width: 100%;
     835                display: block;
    836836        }
    837837        #bbpress-forums #bbp-your-profile fieldset fieldset.password input,
    838838        #bbpress-forums #bbp-your-profile fieldset fieldset.password span {
     
    844844        #bbpress-forums #bbp-your-profile fieldset fieldset.password span.description {
    845845                margin-left: 0;
    846846                margin-bottom: 20px;
     847                width: 100%;
    847848        }
    848849
    849850        #bbpress-forums #bbp-your-profile fieldset.submit button {
     
    12221223                clear: both;
    12231224                margin-left: 0;
    12241225                word-wrap: break-word;
     1226                padding-top: 20px;
    12251227        }
    12261228        #bbpress-forums div.bbp-forum-title h3,
    12271229        #bbpress-forums div.bbp-topic-title h3,