Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/11/2015 06:24:45 PM (10 years ago)
Author:
hnla
Message:

Twentythirteen companion styles updates

  • Various adjustments for elements margin/padding conflicts with parent styles.
  • Object nav small screen styles.

See #6533

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/css/twentythirteen.scss

    r10224 r10249  
    289289    }
    290290
    291     /*__ Horizontal menus __*/
     291    /*__ Horizontal menus & small screen __*/
    292292    #object-nav {
    293293
    294294        ul {
    295295            overflow: hidden;
    296             li {float: none;}
     296
     297            li {
     298                @media screen and (max-width: 38.75em) {
     299                    &:focus,
     300                    &:hover {
     301                        background: darken($cream-background, 2%);
     302                    }
     303                }
     304
     305                float: none;
     306            }
     307
     308            @media screen and (max-width: 38.75em) {
     309                li:not(:last-child) {
     310                    border-bottom: 1px solid $border-light;
     311                }
     312            }
     313
    297314            li:not(.selected) {
    298315                a {opacity: 0.7;}
     
    453470                    border-bottom: 1px solid $border-med;
    454471                    overflow: visible;
    455                     padding-bottom: 0;
     472                    padding: 0;
    456473
    457474                    li {
     
    16491666
    16501667            #profile-edit-form {
     1668
    16511669                .button-nav:before,
    16521670                .button-nav:after {
     
    16621680                    border-bottom: 1px solid $border-light;
    16631681                    margin-left: 0;
     1682                    padding: 0;
    16641683
    16651684                    li {
     
    18121831                }
    18131832
     1833                .thread-checkbox {
     1834                    padding: 0 0 0 0.3em;
     1835                }
     1836
    18141837                td.bulk-select-check,
    18151838                td.thread-from {
    1816                     height: 2.6em;
     1839                    height: 3em;
    18171840                    @media screen and (max-width: 38.75em) {
    18181841                        height: 5.2em;
     
    18351858                        @include font-size(12);
    18361859                    }
    1837                 }
     1860
     1861                    .thread-excerpt {
     1862                        @include font-size(14);
     1863                    }
     1864                }
     1865
     1866
    18381867
    18391868                td.thread-options {
     
    18561885                    @media screen and (max-width: 38.75em) {
    18571886                        clear: both;
    1858                         @include font-size(11);
     1887                        @include font-size(12);
    18591888                        width: 100%;
    18601889                    }
     
    21072136        }
    21082137
    2109         div.message-search {margin-right: $spacing-val-sm;}
    21102138    } // close @media
    21112139
     
    21342162// a more general typography section to manage BP elements grouped under
    21352163// breakpoints. Provide top/bottom margins for tables, lacking in BP styles
     2164
    21362165#buddypress {
     2166
    21372167    table {
    21382168        @include font-size(14);
     
    21432173            border-color: darken($border-light, 20%);
    21442174            color: $content-background;
     2175        }
     2176
     2177        // twentythirteen removes left padding, replace!
     2178        th,
     2179        td {
     2180            padding: 0.3em;
    21452181        }
    21462182
Note: See TracChangeset for help on using the changeset viewer.