Skip to:
Content

BuddyPress.org

Changeset 13272


Ignore:
Timestamp:
04/16/2022 10:55:58 AM (3 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.

Fixes #8684 (10.0 branch)

Location:
branches/10.0/src/bp-templates/bp-nouveau
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/10.0/src/bp-templates/bp-nouveau/css/twentytwentytwo-rtl.css

    r13262 r13272  
    4949
    50507.0 - Tables -  General
     51    7.0.1 - Group - Manage Members
    5152
    52538.0 - Classes - Messages, Ajax, Widgets, Buttons, Tooltips
     
    14421443#buddypress.twentytwentytwo table.forum tbody tr.alt {
    14431444    background: transparent;
     1445}
     1446
     1447/**
     1448*-------------------------------------------------------------------------------
     1449* @subsection 7.0.1 - Group - Manage Members
     1450*-------------------------------------------------------------------------------
     1451*/
     1452#buddypress.twentytwentytwo table#group-members-list-table {
     1453    border-collapse: collapse;
     1454    width: 100%;
     1455}
     1456
     1457#buddypress.twentytwentytwo table#group-members-list-table a:hover,
     1458#buddypress.twentytwentytwo table#group-members-list-table a:focus {
     1459    text-decoration: underline;
     1460    -webkit-text-decoration-style: dashed;
     1461    text-decoration-style: dashed;
     1462    text-decoration-thickness: 1px;
     1463    text-underline-offset: 0.25ch;
     1464}
     1465
     1466#buddypress.twentytwentytwo table#group-members-list-table .row-actions a {
     1467    font-size: 90%;
     1468}
     1469
     1470#buddypress.twentytwentytwo table#group-members-list-table th,
     1471#buddypress.twentytwentytwo table#group-members-list-table td {
     1472    padding: 0.5em;
     1473    border: 1px solid var(--wp--preset--color--primary);
     1474    word-break: break-all;
     1475}
     1476
     1477#buddypress.twentytwentytwo table#group-members-list-table th.uname-column,
     1478#buddypress.twentytwentytwo table#group-members-list-table td.uname-column {
     1479    width: 60%;
     1480}
     1481
     1482#buddypress.twentytwentytwo table#group-members-list-table td img.avatar {
     1483    display: block;
     1484    height: calc(2.25 * 1rem);
     1485    min-height: inherit;
     1486    width: calc(2.25 * 1rem);
     1487}
     1488
     1489#buddypress.twentytwentytwo table#group-members-list-table td img.alignleft {
     1490    float: right;
     1491}
     1492
     1493@media screen and (min-width: 46.8em) {
     1494    #buddypress.twentytwentytwo table#group-members-list-table td img.alignleft {
     1495        margin-left: calc(2 * 1rem);
     1496    }
    14441497}
    14451498
  • branches/10.0/src/bp-templates/bp-nouveau/css/twentytwentytwo.css

    r13262 r13272  
    4949
    50507.0 - Tables -  General
     51    7.0.1 - Group - Manage Members
    5152
    52538.0 - Classes - Messages, Ajax, Widgets, Buttons, Tooltips
     
    14421443#buddypress.twentytwentytwo table.forum tbody tr.alt {
    14431444    background: transparent;
     1445}
     1446
     1447/**
     1448*-------------------------------------------------------------------------------
     1449* @subsection 7.0.1 - Group - Manage Members
     1450*-------------------------------------------------------------------------------
     1451*/
     1452#buddypress.twentytwentytwo table#group-members-list-table {
     1453    border-collapse: collapse;
     1454    width: 100%;
     1455}
     1456
     1457#buddypress.twentytwentytwo table#group-members-list-table a:hover,
     1458#buddypress.twentytwentytwo table#group-members-list-table a:focus {
     1459    text-decoration: underline;
     1460    -webkit-text-decoration-style: dashed;
     1461    text-decoration-style: dashed;
     1462    text-decoration-thickness: 1px;
     1463    text-underline-offset: 0.25ch;
     1464}
     1465
     1466#buddypress.twentytwentytwo table#group-members-list-table .row-actions a {
     1467    font-size: 90%;
     1468}
     1469
     1470#buddypress.twentytwentytwo table#group-members-list-table th,
     1471#buddypress.twentytwentytwo table#group-members-list-table td {
     1472    padding: 0.5em;
     1473    border: 1px solid var(--wp--preset--color--primary);
     1474    word-break: break-all;
     1475}
     1476
     1477#buddypress.twentytwentytwo table#group-members-list-table th.uname-column,
     1478#buddypress.twentytwentytwo table#group-members-list-table td.uname-column {
     1479    width: 60%;
     1480}
     1481
     1482#buddypress.twentytwentytwo table#group-members-list-table td img.avatar {
     1483    display: block;
     1484    height: calc(2.25 * 1rem);
     1485    min-height: inherit;
     1486    width: calc(2.25 * 1rem);
     1487}
     1488
     1489#buddypress.twentytwentytwo table#group-members-list-table td img.alignleft {
     1490    float: left;
     1491}
     1492
     1493@media screen and (min-width: 46.8em) {
     1494    #buddypress.twentytwentytwo table#group-members-list-table td img.alignleft {
     1495        margin-right: calc(2 * 1rem);
     1496    }
    14441497}
    14451498
  • branches/10.0/src/bp-templates/bp-nouveau/sass/twentytwentytwo.scss

    r13262 r13272  
    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.