Sha256: 06ea9c93cb5cba7be1b36bfffe1a0578339ae990d345c01d9e90d49361c164ec

Contents?: true

Size: 748 Bytes

Versions: 46

Compression:

Stored size: 748 Bytes

Contents

pre.line-numbers {
	position: relative;
	padding-left: 3.8em;
	counter-reset: linenumber;
}

pre.line-numbers > code {
	position: relative;
	white-space: inherit;
}

.line-numbers .line-numbers-rows {
	position: absolute;
	pointer-events: none;
	top: 0;
	font-size: 100%;
	left: -3.8em;
	width: 3em; /* works for line-numbers below 1000 lines */
	letter-spacing: -1px;
	border-right: 1px solid #999;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
}

.line-numbers-rows > span {
	pointer-events: none;
	display: block;
	counter-increment: linenumber;
}

.line-numbers-rows > span:before {
	content: counter(linenumber);
	color: #999;
	display: block;
	padding-right: 0.8em;
	text-align: right;
}

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
dvla_internal_frontend_toolkit-0.3.7 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-0.3.6 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-0.3.5 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-0.3.4 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-0.3.3 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-0.3.2 app/assets/stylesheets/styleguide/_prism-line-numbers.scss