Sha256: 878281a167afbdda316e9776c1e0965d476a04dd27c4153948e087d07f494cc3

Contents?: true

Size: 1.71 KB

Versions: 8

Compression:

Stored size: 1.71 KB

Contents

.table {
	thead {
		//background: $table-accent-bg;

		th {
			border-top: 0;
			border-bottom-width: 1px;
			padding-top: .5rem;
			padding-bottom: .5rem;
		}
	}

	th {
		color: $text-muted;
		text-transform: uppercase;
		font-size: $h6-font-size;
		font-weight: 400;
	}
}

.table-md {
	th,
	td {
		padding: .5rem;
	}
}

.table-vcenter {
	td,
	th {
		vertical-align: middle;
	}
}

.table-center {
	td,
	th {
		text-align: center;
	}
}

.table-striped {
	tbody tr:nth-of-type(odd) {
		background: transparent;
	}

	tbody tr:nth-of-type(even) {
		background-color: $table-accent-bg;
	}
}

.table-calendar {
	margin: 0 0 .75rem;

	td,
	th {
		border: 0;
		text-align: center;
		padding: 0 !important;
		width: (100%/7);
		line-height: 2.5rem;
	}

	td {
		border-top: 0;
	}
}

.table-calendar-link {
	line-height: 2rem;
	min-width: calc(2rem + 2px);
	display: inline-block;
	border-radius: 3px;
	background: $gray-100;
	color: $body-color;
	font-weight: 600;
	transition: .3s background, .3s color;
	position: relative;

	&:before {
		content: '';
		width: 4px;
		height: 4px;
		position: absolute;
		left: .25rem;
		top: .25rem;
		border-radius: 50px;
		background: $primary;
	}

	&:hover {
		color: #fff;
		text-decoration: none;
		background: $primary;
		transition: .3s background;

		&:before {
			background: #fff;
		}
	}
}


.table-header {
	cursor: pointer;
	transition: .3s color;

	&:hover {
		color: $body-color !important;
	}

	&:after {
		content: '\f0dc';
		font-family: FontAwesome;
		display: inline-block;
		margin-left: .5rem;
		font-size: .75rem;
	}
}

.table-header-asc {
	color: $body-color !important;

	&:after {
		content: '\f0de';
	}
}

.table-header-desc {
	color: $body-color !important;

	&:after {
		content: '\f0dd';
	}
}

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
tabler-rubygem-0.1.4 assets/stylesheets/tabler/_tables.scss
tabler-rubygem-0.1.3 assets/stylesheets/tabler/_tables.scss
tabler_ui_rails-0.3.1 assets/stylesheets/dashboard/_tables.scss
tabler-rubygem-0.1.2 assets/stylesheets/tabler/_tables.scss
tabler_ui_rails-0.3.0 assets/stylesheets/dashboard/_tables.scss
tabler_ui_rails-0.2.1 assets/stylesheets/dashboard/_tables.scss
tabler_ui_rails-0.2.0 assets/stylesheets/dashboard/_tables.scss
tabler-rubygem-0.1.1 assets/stylesheets/tabler/_tables.scss