@import "variables";
@import "scaffolding";

html {
	width: 100%;
}

body {
	position: relative;
	width: 100%;
}
.example {
	margin: 0 auto;
	width: 960px;

	.knob-pagelist__result {
		display: table;
		width: 100%;
		border-bottom: 1px solid #ddd;

		div {
			padding: 10px;
			width: 100%;
			display: table-row;

			&:hover {
				background: #e9e9e9;
			}

			&:nth-child(odd) {
				background: #fdfdfd;

				&:hover {
					background: #e9e9e9;
				}
			}

			span {
				border-top: 1px solid #eaeaea;
				display: table-cell;
				padding: 8px 10px;

				&:nth-last-child(1) {
					text-align: right;
				}
			}
		}
	}

	.knob-pagedlist__list,
	.knob-infinite-list__list {
		list-style: none;
		padding: 0;
		width: 100%;
		margin-top: 0;
		box-sizing: border-box;
		border-bottom: 1px solid #ddd;
		margin-bottom: 0;

		.knob-pagedlist__item,
		.knob-infinite-list__item {
			padding: 5px;
			cursor: pointer;


			&:nth-child(odd) {
				background: #f1f1f1;
			}

			&:hover {
				background: #fafafa;
			}

			span {
				display: inline-block;

				&:nth-child(1) {
					width: 20%;
					text-indent: 10px
				}

				&:nth-child(2) {
					width: 25%;
				}

				&:nth-child(3) {
					width: 25%;
				}

				&:nth-child(4) {
					width: 25%;
				}
			}
		}
	}
}

