Skip to:
Content

BuddyPress.org

Changeset 10064


Ignore:
Timestamp:
08/25/2015 10:05:33 PM (9 years ago)
Author:
djpaul
Message:

Welcome Screen: backport CSS from WP 4.3 welcome screen to fix ours in WP 4.4+.

Props mercime, fixes #6582 (2.3 branch).

Location:
branches/2.3/src/bp-core/admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/src/bp-core/admin/css/common-rtl.css

    r9819 r10064  
    2323    color: #999;
    2424    text-align: center;
     25}
     26
     27/* About Page - since 2.3.3 (WP 4.3) */
     28
     29.about-wrap .two-col > div {
     30    position: relative;
     31    width: 47.6%;
     32    margin-left: 4.799999999%;
     33    float: right;
     34}
     35
     36.about-wrap [class$=col] .last-feature {
     37    margin-left: 0;
     38}
     39
     40.about-wrap .feature-list.finer-points h4,
     41.about-wrap .feature-list.finer-points p {
     42    margin-right: 115px;
     43}
     44
     45@media screen and ( max-width: 782px ) {
     46    .about-wrap .two-col > div {
     47        width: 100%;
     48        margin: 30px 0 0;
     49        padding: 0 0 30px;
     50        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
     51    }
     52    body.dashboard_page_bp-about span.dashicons,
     53    body.index_page_bp-about span.dashicons {
     54        font-size: 55px;
     55        line-height: 70px;
     56        height: 70px;
     57        width: 70px;
     58    }
     59    .about-wrap .feature-list h2 {
     60      margin: 30px 0 0;
     61      text-align: center;
     62    }
     63    .about-wrap .feature-list.finer-points h4,
     64    .about-wrap .feature-list.finer-points p {
     65        margin-right: 90px;
     66    }
    2567}
    2668
     
    418460}
    419461
     462/* About Page - since 2.3.3 (WP 4.3) */
     463
     464@media only screen and (max-width: 500px) {
     465    .about-wrap .bp-badge {
     466        position: relative;
     467        margin: 10px auto;
     468        top: auto;
     469        left: auto;
     470    }
     471}
     472
    420473/* HiDPI
    421474------------------------------------------------------------------------------*/
  • branches/2.3/src/bp-core/admin/css/common.css

    r9819 r10064  
    2323    color: #999;
    2424    text-align: center;
     25}
     26
     27/* About Page - since 2.3.3 (WP 4.3) */
     28
     29.about-wrap .two-col > div {
     30    position: relative;
     31    width: 47.6%;
     32    margin-right: 4.799999999%;
     33    float: left;
     34}
     35
     36.about-wrap [class$=col] .last-feature {
     37    margin-right: 0;
     38}
     39
     40.about-wrap .feature-list.finer-points h4,
     41.about-wrap .feature-list.finer-points p {
     42    margin-left: 115px;
     43}
     44
     45@media screen and ( max-width: 782px ) {
     46    .about-wrap .two-col > div {
     47        width: 100%;
     48        margin: 30px 0 0;
     49        padding: 0 0 30px;
     50        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
     51    }
     52    body.dashboard_page_bp-about span.dashicons,
     53    body.index_page_bp-about span.dashicons {
     54        font-size: 55px;
     55        line-height: 70px;
     56        height: 70px;
     57        width: 70px;
     58    }
     59    .about-wrap .feature-list h2 {
     60      margin: 30px 0 0;
     61      text-align: center;
     62    }
     63    .about-wrap .feature-list.finer-points h4,
     64    .about-wrap .feature-list.finer-points p {
     65        margin-left: 90px;
     66    }
    2567}
    2668
     
    418460}
    419461
     462/* About Page - since 2.3.3 (WP 4.3) */
     463
     464@media only screen and (max-width: 500px) {
     465    .about-wrap .bp-badge {
     466        position: relative;
     467        margin: 10px auto;
     468        top: auto;
     469        right: auto;
     470    }
     471}
     472
    420473/* HiDPI
    421474------------------------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.