Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/04/2015 10:23:27 AM (11 years ago)
Author:
hnla
Message:

Twentysixteen Companion Styles correction

Update corrects an issue where message-thread sitewide-notices table styles not ported over for twentysixteen.

Fixes #6710 Props danbp

File:
1 edited

Legend:

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

    r10310 r10325  
    18371837
    18381838                #message-threads {
     1839
    18391840                        thead {
    18401841                                tr {
    … …  
    18601861                                        @media screen and (max-width: 46.25em) {
    18611862                                                padding-top: 0;
     1863                                        }
     1864                                }
     1865
     1866                                td.thread-star {
     1867                                        vertical-align: middle;
     1868
     1869                                        .message-action-star {
     1870                                                line-height: 1.2;
    18621871                                        }
    18631872                                }
    … …  
    19381947                }
    19391948
    1940         /* Auto Complete background */
    1941                 .acfb-holder {
    1942 
    1943                         li.friend-tab {
    1944                                 margin-right: 0;
    1945 
    1946                                 a {
    1947                                         border-bottom: 0;
    1948 
    1949                                         img {
    1950                                                 // this is the tiny user avatar
    1951                                                 display: inline;
    1952                                                 height: 20px;
    1953                                                 margin-right: 0.5em;
    1954                                                 width: 20px !important; // override inline style
    1955                                         }
    1956                                 }
    1957                         }
    1958                 }
    1959 
    1960                 .sitewide-notices {
    1961                         tr {
    1962                                 td:first-child {
    1963                                         display: none;
    1964                                 }
    1965                         }
     1949                /* Sitewide Notices loop */
     1950                #message-threads.sitewide-notices {
    19661951
    19671952                        td {
     1953                                width: 100%;
     1954
    19681955                                strong {
    19691956                                        background: lighten($dark-background, 10%);
    19701957                                        color: $content-background;
    19711958                                        display: block;
     1959                                        margin-bottom: 0.4em;
    19721960                                        padding-left: 0.2em;
     1961                                }
     1962
     1963                                a {
     1964                                        display: inline-block;
     1965                                }
     1966                        }
     1967
     1968                        td:first-child {
     1969                                display: none;
     1970                        }
     1971
     1972                        td:nth-child(2) {
     1973                                strong {
     1974                                        margin: -8px -8px 8px;
     1975                                }
     1976                        }
     1977
     1978                        td:first-child + td + td {
     1979                        // notice date
     1980                                border-bottom: 0;
     1981
     1982                                span {
     1983                                        line-height: 1;
     1984                                }
     1985                        }
     1986
     1987                        td:last-child {
     1988                        // notice actions
     1989                                border-bottom-color: darken($border-light, 20%);
     1990                                line-height: 1;
     1991                                text-align: right;
     1992
     1993                                a:last-child {
     1994                                // hide the 'x' text
     1995                                        line-height: 0;
     1996                                        margin-left: 0.7em;
     1997                                        text-indent: -999em;
     1998                                }
     1999
     2000                                a:last-child::after {
     2001                                        content: attr(title);
     2002                                        display: block;
     2003                                        line-height: initial;
     2004                                        text-indent: 0;
    19732005                                }
    19742006                        }
Note: See TracChangeset for help on using the changeset viewer.