Skip to:
Content

BuddyPress.org

Changeset 10493


Ignore:
Timestamp:
02/02/2016 12:08:05 PM (11 years ago)
Author:
hnla
Message:

Companion styles scss tidy ups

  • Remove commented out properties/rulesets.
  • Correct indentations.
  • Remove stray spaces on indents.
  • Remove CSS style comments from nested selectors.

Fixes #6863 Props netweb

Location:
trunk/src/bp-templates/bp-legacy/css
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/css/twentyfifteen-rtl.css

    r10353 r10493  
    14001400        *-------------------------------------------
    14011401        */
    1402 .bp-user #buddypress {
    1403         /* Auto Complete background */
    1404         /* Sitewide Notices loop */
    1405 }
    1406 
    14071402.bp-user #buddypress #message-thread a {
    14081403        border-bottom: 0;
     
    19241919*-------------------------------------------------------------------------------
    19251920*/
    1926 #buddypress {
    1927         /* Auto Complete background */
    1928 }
    1929 
    19301921#buddypress .acfb-holder li.friend-tab {
    19311922        background: #9fd1e2;
  • trunk/src/bp-templates/bp-legacy/css/twentyfifteen.css

    r10353 r10493  
    14001400        *-------------------------------------------
    14011401        */
    1402 .bp-user #buddypress {
    1403         /* Auto Complete background */
    1404         /* Sitewide Notices loop */
    1405 }
    1406 
    14071402.bp-user #buddypress #message-thread a {
    14081403        border-bottom: 0;
     
    19241919*-------------------------------------------------------------------------------
    19251920*/
    1926 #buddypress {
    1927         /* Auto Complete background */
    1928 }
    1929 
    19301921#buddypress .acfb-holder li.friend-tab {
    19311922        background: #9fd1e2;
  • trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss

    r10487 r10493  
    15031503                                        height: auto;
    15041504                                        width: auto;
    1505                         }
    1506                 }
     1505                                }
     1506                        }
    15071507
    15081508                        .main-column {
    15091509                                margin-left: 0;
    1510                 }
     1510                        }
    15111511
    15121512                        .submit {
     
    15141514                                        display: inline-block;
    15151515                                        width: 100%;
    1516                         }
    1517                 }
    1518         }
    1519  }
    1520 
    1521 }
     1516                                }
     1517                        }
     1518
     1519                } // close @media
     1520        } // close .item-body
     1521
     1522} // close .groups.group-invites
    15221523
    15231524/**
     
    17281729
    17291730                #message-thread {
    1730                 //Single message view
     1731                        //Single message view
    17311732                        a {
    17321733                                border-bottom: 0;
     
    18931894                }
    18941895
    1895         /* Auto Complete background */
    18961896                .acfb-holder {
    18971897
     
    19131913                }
    19141914
    1915                 /* Sitewide Notices loop */
    19161915                #message-threads.sitewide-notices {
    19171916                        td {
     
    19361935
    19371936                        td:first-child + td + td {
    1938                         // notice date
     1937                                // notice date
    19391938                                border-bottom: 0;
    19401939
     
    19451944
    19461945                        td:last-child {
    1947                         // notice actions
     1946                                // notice actions
    19481947                                border-bottom-color: darken($border-light, 20%);
    19491948                                line-height: 1;
     
    19511950
    19521951                                a:last-child {
    1953                                 // hide the 'x' text
     1952                                        // hide the 'x' text
    19541953                                        line-height: 0;
    19551954                                        margin-left: 0.7em;
     
    20322031#buddypress {
    20332032
    2034 // Match BP form elements to Themes(2015) styling where styles
    2035 // are not inherited or being overriden.
     2033        // Match BP form elements to Themes(2015) styling where styles
     2034        // are not inherited or being overriden.
    20362035
    20372036        div.activity-comments {
     
    20842083        div.dir-search,
    20852084        div.message-search,
    2086         li.groups-members-search
    2087          {
     2085        li.groups-members-search {
    20882086                float: none;
    20892087                margin: $spacing-val-sm 0;
     
    21482146                }
    21492147        } // close @media
    2150 
    2151         // Attempt to replicate the 2015 breakpoint font resizing for buttons/submits
    2152 //      @media screen and (min-width: 59.6875em) {
    2153 //              .dir-search,
    2154 //       .message-search {
    2155         //              form {
    2156         //                      input[type='text'] { @include font-size(14) ;}
    2157         //                      input[type='submit'] {@include font-size(14);}
    2158         //              }
    2159         //      }
    2160 //      }
    21612148
    21622149        @media screen and (min-width: 77.5em) {
     
    23122299
    23132300#buddypress {
    2314         /* Auto Complete background */
    23152301        .acfb-holder {
    23162302
     
    23182304                        background: $notice-info;
    23192305                        border: inherit;
    2320          }
    2321         }
    2322 }
     2306                }
     2307        }
     2308}
  • trunk/src/bp-templates/bp-legacy/css/twentyfourteen-rtl.css

    r10353 r10493  
    14461446*-------------------------------------------------------------------------------
    14471447*/
    1448 #buddypress {
    1449         /* Auto Complete background */
    1450 }
    1451 
    14521448#buddypress .acfb-holder li.friend-tab {
    14531449        background: #9fd1e2;
  • trunk/src/bp-templates/bp-legacy/css/twentyfourteen.css

    r10353 r10493  
    14461446*-------------------------------------------------------------------------------
    14471447*/
    1448 #buddypress {
    1449         /* Auto Complete background */
    1450 }
    1451 
    14521448#buddypress .acfb-holder li.friend-tab {
    14531449        background: #9fd1e2;
  • trunk/src/bp-templates/bp-legacy/css/twentyfourteen.scss

    r10451 r10493  
    830830        .activity {
    831831                .activity-comments {
    832                 //      border-left: 1px solid $border-light;
    833832                        margin-left: 0;
    834833                        margin-top: 5px;
     
    14251424
    14261425                tbody > tr:first-child {
     1426
    14271427                        td.bulk-select-check,
    14281428                        td.thread-from {
    14291429                                border-top: 1px solid $border-med;
    1430                  }
     1430                        }
    14311431                }
    14321432
     
    15811581
    15821582                td:first-child + td + td {
    1583                 // notice date
     1583                        // notice date
    15841584                        border-bottom: 0;
    15851585
     
    15901590
    15911591                td:last-child {
    1592                 // notice actions
     1592                        // notice actions
    15931593                        border-bottom-color: $border-med;
    15941594                        line-height: 1;
     
    15961596
    15971597                        a:last-child {
    1598                         // hide the 'x' text
     1598                                // hide the 'x' text
    15991599                                line-height: 0;
    16001600                                margin-left: 0.7em;
     
    17091709                margin: $spacing-val-sm 0;
    17101710
    1711 // Stylise the seach form elements, in part this deals with padding
    1712 // issues on the submit & sizing issues between bp styles & twentyfourteen
     1711                // Stylise the seach form elements, in part this deals with padding
     1712                // issues on the submit & sizing issues between bp styles & twentyfourteen
    17131713                form {
    17141714                        border: 1px solid #ccc;
     
    17471747                        }
    17481748
    1749                         }// close form
     1749                }// close form
    17501750
    17511751        } // close .dir-search, .message-search
     
    18471847
    18481848#buddypress {
    1849         /* Auto Complete background */
    18501849        .acfb-holder {
    18511850
     
    18531852                        background: $notice-info;
    18541853                        border: inherit;
    1855          }
    1856         }
    1857 }
     1854                }
     1855        }
     1856}
  • trunk/src/bp-templates/bp-legacy/css/twentysixteen-rtl.css

    r10353 r10493  
    18521852*-------------------------------------------------------------------------------
    18531853*/
    1854 #buddypress {
    1855         /* Auto Complete background */
    1856 }
    1857 
    18581854#buddypress .acfb-holder li.friend-tab {
    18591855        background: #9fd1e2;
  • trunk/src/bp-templates/bp-legacy/css/twentysixteen.css

    r10353 r10493  
    18521852*-------------------------------------------------------------------------------
    18531853*/
    1854 #buddypress {
    1855         /* Auto Complete background */
    1856 }
    1857 
    18581854#buddypress .acfb-holder li.friend-tab {
    18591855        background: #9fd1e2;
  • trunk/src/bp-templates/bp-legacy/css/twentysixteen.scss

    r10451 r10493  
    421421}
    422422
    423         /*__ Horizontal menus __*/
     423/*__ Horizontal menus __*/
    424424#buddypress {
    425425
     
    502502
    503503
    504         /*__ Vertical menu User Account / Group single screens __*/
     504/*__ Vertical menu User Account / Group single screens __*/
    505505
    506506// This block contains rules to re-factor the item-body structural element
     
    17841784
    17851785                #message-thread {
    1786                 //Single message view
     1786                        //Single message view
    17871787                        a {
    17881788                                border-bottom: 0;
     
    19871987
    19881988                        td:first-child + td + td {
    1989                         // notice date
     1989                                // notice date
    19901990                                border-bottom: 0;
    19911991
     
    19961996
    19971997                        td:last-child {
    1998                         // notice actions
     1998                                // notice actions
    19991999                                border-bottom-color: darken($border-light, 20%);
    20002000                                line-height: 1;
     
    20022002
    20032003                                a:last-child {
    2004                                 // hide the 'x' text
     2004                                        // hide the 'x' text
    20052005                                        line-height: 0;
    20062006                                        margin-left: 0.7em;
     
    20792079*-------------------------------------------------------------------------------
    20802080*/
    2081         // Attempt to reset form control widths
     2081
     2082// Attempt to reset form control widths
    20822083#main {
    20832084        #buddypress {
     
    20982099#buddypress {
    20992100
    2100 // Match BP form elements to Themes(2016) styling where styles
    2101 // are not inherited or being overriden.
     2101        // Match BP form elements to Themes(2016) styling where styles
     2102        // are not inherited or being overriden.
    21022103        div.activity-comments {
    21032104
     
    23522353
    23532354#buddypress {
    2354         /* Auto Complete background */
     2355
    23552356        .acfb-holder {
    23562357
  • trunk/src/bp-templates/bp-legacy/css/twentythirteen-rtl.css

    r10353 r10493  
    14121412        *-------------------------------------------
    14131413        */
    1414 .bp-user #buddypress {
    1415         /* Auto Complete background */
    1416         /* Sitewide Notices loop */
    1417 }
    1418 
    14191414.bp-user #buddypress #message-thread a {
    14201415        border-bottom: 0;
     
    19271922*-------------------------------------------------------------------------------
    19281923*/
    1929 #buddypress {
    1930         /* Auto Complete background */
    1931 }
    1932 
    19331924#buddypress .acfb-holder li.friend-tab {
    19341925        background: #9fd1e2;
  • trunk/src/bp-templates/bp-legacy/css/twentythirteen.css

    r10353 r10493  
    14121412        *-------------------------------------------
    14131413        */
    1414 .bp-user #buddypress {
    1415         /* Auto Complete background */
    1416         /* Sitewide Notices loop */
    1417 }
    1418 
    14191414.bp-user #buddypress #message-thread a {
    14201415        border-bottom: 0;
     
    19271922*-------------------------------------------------------------------------------
    19281923*/
    1929 #buddypress {
    1930         /* Auto Complete background */
    1931 }
    1932 
    19331924#buddypress .acfb-holder li.friend-tab {
    19341925        background: #9fd1e2;
  • trunk/src/bp-templates/bp-legacy/css/twentythirteen.scss

    r10451 r10493  
    322322        }
    323323}
    324         /*__ Horizontal menus & small screen __*/
     324/*__ Horizontal menus & small screen __*/
    325325
    326326#buddypress {
     
    416416} // close #buddypress
    417417
    418         /*__ Vertical menu User Account / Group single screens __*/
     418/*__ Vertical menu User Account / Group single screens __*/
    419419
    420420// This block contains rules to re-factor the item-body structural element
     
    424424
    425425@media screen and (min-width: 55em) {
    426 
    427         .bp-user #buddypress,
    428         .single-item.groups #buddypress {
    429         //      background: $light-background;
    430         }
    431426
    432427        body:not(.sidebar) {
     
    13231318
    13241319                        #item-header-cover-image {
    1325         //                      #item-header-content {
    1326         //                      }
    13271320
    13281321                                #item-actions {
     
    18231816
    18241817                #message-thread {
    1825                 //Single message view
     1818                        //Single message view
    18261819                        a {
    18271820                                border-bottom: 0;
     
    19961989                }
    19971990
    1998         /* Auto Complete background */
    19991991                .acfb-holder {
    20001992
     
    20162008                }
    20172009
    2018                 /* Sitewide Notices loop */
    20192010                .sitewide-notices {
    20202011                        tr {
     
    20482039                #settings-form {
    20492040                        padding: 0 $spacing-val-sm;
    2050                 // 'p' = email notification screen sub heading
     2041                        // 'p' = email notification screen sub heading
    20512042                        > p {
    20522043                                @include font-size(20);
     
    20962087*-------------------------------------------------------------------------------
    20972088*/
    2098         // Attempt to reset form control widths
     2089// Attempt to reset form control widths
    20992090#main {
    21002091        #buddypress {
     
    21152106#buddypress {
    21162107
    2117 // Match BP form elements to Themes(2013) styling where styles
    2118 // are not inherited or being overriden.
     2108        // Match BP form elements to Themes(2013) styling where styles
     2109        // are not inherited or being overriden.
    21192110        div.activity-comments {
    21202111
     
    23852376
    23862377#buddypress {
    2387         /* Auto Complete background */
    23882378        .acfb-holder {
    23892379
     
    23912381                        background: $notice-info;
    23922382                        border: inherit;
    2393          }
    2394         }
    2395 }
     2383                }
     2384        }
     2385}
  • trunk/src/bp-templates/bp-legacy/css/twentytwelve-rtl.css

    r10449 r10493  
    19381938*-------------------------------------------------------------------------------
    19391939*/
    1940 #buddypress {
    1941         /* Auto Complete background */
    1942 }
    1943 
    19441940#buddypress .acfb-holder li.friend-tab {
    19451941        background: #9fd1e2;
  • trunk/src/bp-templates/bp-legacy/css/twentytwelve.css

    r10449 r10493  
    19381938*-------------------------------------------------------------------------------
    19391939*/
    1940 #buddypress {
    1941         /* Auto Complete background */
    1942 }
    1943 
    19441940#buddypress .acfb-holder li.friend-tab {
    19451941        background: #9fd1e2;
  • trunk/src/bp-templates/bp-legacy/css/twentytwelve.scss

    r10451 r10493  
    353353}
    354354
    355         /*__ Horizontal menus __*/
     355/*__ Horizontal menus __*/
    356356#buddypress {
    357357
     
    457457}
    458458
    459         /*__ Vertical menu User Account / Group single screens __*/
     459/*__ Vertical menu User Account / Group single screens __*/
    460460
    461461// This block contains rules to re-factor the item-body structural element
     
    12041204.bp-user {
    12051205        #buddypress {
    1206         // On object nav links, table links (notifications etc) we don't really need :visited
    1207         // inheritance, so set pseudo class to :link color.
     1206                // On object nav links, table links (notifications etc) we don't really need :visited
     1207                // inheritance, so set pseudo class to :link color.
    12081208                a {
    12091209                        &:visited {
     
    13761376                                        float: left;
    13771377                                }
    1378 
    1379 //                              #item-header-avatar {
    1380 //                                      width: 21%;
    1381 //                              }
    13821378
    13831379                                #item-header-content {
     
    18361832
    18371833                #message-thread {
    1838                 //Single message view
     1834                        //Single message view
    18391835                        a {
    18401836                                border-bottom: 0;
     
    20612057
    20622058                        td:first-child + td + td {
    2063                         // notice date
     2059                                // notice date
    20642060                                border-bottom: 0;
    20652061
     
    20702066
    20712067                        td:last-child {
    2072                         // notice actions
     2068                                // notice actions
    20732069                                line-height: 1;
    20742070                                padding-bottom: 1em;
     
    20762072
    20772073                                a:last-child {
    2078                                 // hide the 'x' text
     2074                                        // hide the 'x' text
    20792075                                        line-height: 0;
    20802076                                        margin-left: 0.7em;
     
    21622158*-------------------------------------------------------------------------------
    21632159*/
    2164         // Attempt to reset form control widths
     2160
     2161// Attempt to reset form control widths
    21652162#main {
    21662163        #buddypress {
     
    21812178#buddypress {
    21822179
    2183 // Match BP form elements to Themes(2012) styling where styles
    2184 // are not inherited or being overriden.
     2180        // Match BP form elements to Themes(2012) styling where styles
     2181        // are not inherited or being overriden.
    21852182        div.activity-comments {
    21862183
     
    24372434
    24382435#buddypress {
    2439         /* Auto Complete background */
     2436
    24402437        .acfb-holder {
    24412438
Note: See TracChangeset for help on using the changeset viewer.