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-2.1.15 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.1.14 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.1.13 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.1.12 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.1.11 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.1.10 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.1.9 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.1.8 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.1.7 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.1.6 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.1.5 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.0.9 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.0.8 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.0.7 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.0.6 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.0.5 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.0.4 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.0.3 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.0.2 app/assets/stylesheets/styleguide/_prism-line-numbers.scss
dvla_internal_frontend_toolkit-2.0.0 app/assets/stylesheets/styleguide/_prism-line-numbers.scss