HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/Velosophe/carparkcannonball.cc/wwwroot/source/styles/objects/_objects.tables.scss
/*----------------------------------------------------------------------------*\
    #OBJECTS TABLES
\*----------------------------------------------------------------------------*/

// .o-table { }

.o-table--numerical { text-align: right; }

.o-table--striped {

    th,
    td { padding: rhythm(.5); }

    th {
        background-color: $color-black;
        color: $color-white;
    }

    th + th,
    td + td { border-left: .125em solid $color-white; }


    /**
     * Zebra-striping.
     */

    tbody {

        tr:nth-child(even) td { background-color: $color-gray-lighter; }

        tr:hover td {
            background-color: $color-black;
            color: $color-white;
        }
    }
}

.o-table--rounded {

    thead th:first-child { border-top-left-radius: rhythm(.5); }

    thead th:last-child { border-top-right-radius: rhythm(.5); }

    tfoot td:first-child { border-bottom-left-radius: rhythm(.5); }

    tfoot td:last-child { border-bottom-right-radius: rhythm(.5); }
}

.o-table--bordered {

    th,
    td {
        @include rhythm-padding(.5);
        border: .125em solid $color-gray;

        &:empty { border: 0; }
    }

    thead th {
        border-bottom-width: 2px;
        border-bottom-color: $color-black;
    }

    tfoot tr { border-top-width: 2px; }
}