Sha256: 898031451ffe4c123a62f39029b48e22ca32fcd2c1500374c758d46223d87056

Contents?: true

Size: 1.58 KB

Versions: 5

Compression:

Stored size: 1.58 KB

Contents

.table {
	background-color: $white;
	border: 0;
	box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06), 0 0 3px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.18);
	margin-top: $margin-md;
	margin-bottom: $margin-md;
	width: 100%;
	.card-table > & {
		box-shadow: none;
		margin-right: ($grid-gutter * -1);
		margin-left: ($grid-gutter * -1);
		&:first-child {
			margin-top: 0;
		}
		&:last-child {
			margin-bottom: 0;
		}
	}
	> tbody {
		&:first-child > tr:first-child {
			td,
			th {
				border-top: 0;
			}
		}
		> tr:hover {
			background-color: $offwhite-solid;
		}
	}
	td,
	th {
		border-top: 1px solid $black-divider-solid;
		font-size: $font-size;
		line-height: $line-height;
		padding: (($cell-height - $line-height) / 2 - 1) $grid-gutter (($cell-height - $line-height) / 2);
		vertical-align: top;
		&.nowrap {
			white-space: nowrap;
			width: 1%;
		}
	}
	> thead {
		&:first-child > tr:first-child {
			td,
			th {
				border-top: 0;
			}
		}
		td,
		th {
			color: $black-hint-solid;
			font-size: $font-size-h6;
			vertical-align: bottom;
		}
	}
}

.table-responsive {
	box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06), 0 0 3px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.18);
	margin-top: $margin-md;
	margin-bottom: $margin-md;
	min-height: 0.01%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	.card-table > & {
		box-shadow: none;
		margin-right: ($grid-gutter * -1);
		margin-left: ($grid-gutter * -1);
		&:first-child {
			margin-top: 0;
		}
		&:last-child {
			margin-bottom: 0;
		}
	}
	> .table {
		box-shadow: none;
		margin: 0;
	}
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
material-sass-1.4.1 app/assets/stylesheets/material/components/_table.scss
material-sass-1.4.0 app/assets/stylesheets/material/components/_table.scss
material-sass-1.3.0 app/assets/stylesheets/material/components/_table.scss
material-sass-1.1.0 app/assets/stylesheets/material/components/_table.scss
material-sass-1.0.0 app/assets/stylesheets/material/components/_table.scss