lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/static.css in gollum-3.1.2 vs lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/static.css in gollum-3.1.3

- old
+ new

@@ -1,22 +1,31 @@ -.ace_editor { - font-family: 'Monaco', 'Menlo', 'Droid Sans Mono', 'Courier New', monospace; +.ace_static_highlight { + font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', 'Droid Sans Mono', monospace; font-size: 12px; } -.ace_editor .ace_gutter { +.ace_static_highlight .ace_gutter { width: 25px !important; - display: block; float: left; - text-align: right; - padding: 0 3px 0 0; + text-align: right; + padding: 0 3px 0 0; margin-right: 3px; + position: static !important; } -.ace_line { clear: both; } +.ace_static_highlight .ace_line { clear: both; } -*.ace_gutter-cell { +.ace_static_highlight .ace_gutter-cell { -moz-user-select: -moz-none; -khtml-user-select: none; -webkit-user-select: none; user-select: none; -} \ No newline at end of file +} + + +.ace_static_highlight .ace_gutter-cell:before { + content: counter(ace_line, decimal); + counter-increment: ace_line; +} +.ace_static_highlight { + counter-reset: ace_line; +}