Sha256: 86805c0d64dcce5b57c6fd54e13dff0041fcaebe38c52e2ebc19f060ec578ecc
Contents?: true
Size: 1.96 KB
Versions: 1
Compression:
Stored size: 1.96 KB
Contents
.table-borders { $table-border-color: $base-border-color; $table-border: 1px solid $table-border-color; $table-background: lighten($table-border-color, 10); $table-header-color: lighten($table-background, 10); $table-hover-color: darken($table-background, 5); $table-stripe-color: darken($table-background, 4); $table-stripe-color-hover: darken($table-stripe-color, 5); $table-padding: 0.5em; border: $table-border; border-left: 0px; border-collapse: separate; border-spacing: 0; border-radius: $base-border-radius; tbody { background-color: $table-background; tr:hover > td, tr:hover > th { background-color: $table-hover-color; } tr:nth-child(even) { background-color: $table-stripe-color; &:hover > td { background-color: $table-stripe-color-hover; } } } thead:first-of-type { tr:first-child > th:first-child { border-top-left-radius: $base-border-radius; } tr:first-child > th:last-child { border-top-right-radius: $base-border-radius; } } tbody:last-child { tr:last-child > td:first-child { border-bottom-left-radius: $base-border-radius; } tr:last-child > td:last-child { border-bottom-right-radius: $base-border-radius; } } thead { th { background-color: $table-header-color; padding: $table-padding; border-left: 1px solid $table-border-color; border-bottom: 0px; } } tbody { background-color: $table-background; td { padding: $table-padding; border-left: 1px solid $table-border-color; border-top: 1px solid $table-border-color; border-bottom: 0px; button { @include button(simple, $table-background); margin-right: 0.5em; display: inline-block; width: 100%; margin-bottom: .3em; outline: none; @include media($medium-screen) { width: auto; margin-bottom: 0; } } } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refills-0.0.2 | source/stylesheets/refills/_tables.scss |