Sha256: 177c6771df6fd712dcc1bc31e3011d3ea82a387a56ce7213e95da3b31239ddaa

Contents?: true

Size: 944 Bytes

Versions: 5

Compression:

Stored size: 944 Bytes

Contents

@include responsive-rule('.layout-fixed'){ table-layout: fixed;}

.uniformTable{
    width:100%;
    
    td,
    th {
        padding: 0.5em;
    }
    
    tr + tr {
        td,
        th{
            border-top-width: 1px;
        }
    }
    
    &.-snug{
        td,
        th,
        .table-cell {
            padding: 0.2em 0.5em;
        }
    }
    
    &.-tight{
        td,
        th,
        .table-cell {
            padding: 0 0.5em;
        }
    }
    
    &.-striped{
        tr:nth-child(2n+1){
            background-color: transparent;
        }
    }
    
    //----------------------------------------------------------------
    //             Head
    //----------------------------------------------------------------
    thead{
        tr:last-child{
            border-bottom-width: 1px;
        }
    }
    
    th{
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.8em;
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
uniform-ui-3.0.0.beta10 lib/assets/stylesheets/uniform/components/table.scss
uniform-ui-3.0.0.beta8 lib/assets/stylesheets/uniform/components/table.scss
uniform-ui-3.0.0.beta5 lib/assets/stylesheets/uniform/components/table.scss
uniform-ui-3.0.0.beta4 lib/assets/stylesheets/uniform/components/table.scss
uniform-ui-3.0.0.beta2 lib/assets/stylesheets/uniform/components/table.scss