Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/16/2022 10:54:54 AM (4 years ago)
Author:
imath
Message:

BP Nouveau: improve group members management screen display in TT2

Edit the Twenty Twenty-Two custom stylesheet to improve how the group members management screen is displayed into this theme.

See #8684 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/sass/twentytwentytwo.scss

    r13261 r13271  
    6161
    62627.0 - Tables -  General
     63        7.0.1 - Group - Manage Members
    6364
    64658.0 - Classes - Messages, Ajax, Widgets, Buttons, Tooltips
     
    19081909                        tr.alt {
    19091910                                background: transparent;
     1911                        }
     1912                }
     1913        }
     1914}
     1915
     1916/**
     1917*-------------------------------------------------------------------------------
     1918* @subsection 7.0.1 - Group - Manage Members
     1919*-------------------------------------------------------------------------------
     1920*/
     1921
     1922#buddypress.twentytwentytwo {
     1923
     1924        table#group-members-list-table {
     1925                border-collapse: collapse;
     1926                width: 100%;
     1927
     1928                a:hover,
     1929                a:focus {
     1930                        text-decoration: underline;
     1931                        text-decoration-style: dashed;
     1932                        text-decoration-thickness: 1px;
     1933                        text-underline-offset: 0.25ch;
     1934                }
     1935
     1936                .row-actions a {
     1937                        font-size: 90%;
     1938                }
     1939
     1940                th,
     1941                td {
     1942                        padding: 0.5em;
     1943                        border: 1px solid var(--wp--preset--color--primary);
     1944                        word-break: break-all;
     1945
     1946                        &.uname-column {
     1947                                width: 60%;
     1948                        }
     1949                }
     1950
     1951                td {
     1952
     1953                        img {
     1954
     1955                                &.avatar {
     1956                                        display: block;
     1957                                        height: calc(2.25 * 1rem);
     1958                                        min-height: inherit;
     1959                                        width: calc(2.25 * 1rem);
     1960                                }
     1961
     1962                                &.alignleft {
     1963                                        float: left;
     1964
     1965                                        @media screen and (min-width: 46.8em) {
     1966
     1967                                                margin-right: calc(2 * 1rem);
     1968                                        }
     1969                                }
    19101970                        }
    19111971                }
Note: See TracChangeset for help on using the changeset viewer.