Skip to content

Commit

Permalink
Disable selecting line number
Browse files Browse the repository at this point in the history
Make the line number not selected by user. 

The user case is when you want to copy the raw source code content, you would not want to automatically select the line number.
  • Loading branch information
zhuoqiang committed May 20, 2016
1 parent 14b04be commit 7bda78a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions templates/html/doxygen.css
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,15 @@ span.lineno a:hover {
background-color: #C8C8C8;
}

.lineno {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

div.ah, span.ah {
background-color: black;
font-weight: bold;
Expand Down

0 comments on commit 7bda78a

Please sign in to comment.