From 7bda78adac5d72396526c503325020a11cc12464 Mon Sep 17 00:00:00 2001 From: ZHUO Qiang Date: Fri, 20 May 2016 10:57:53 +0800 Subject: Disable selecting line number 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. --- templates/html/doxygen.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/html/doxygen.css b/templates/html/doxygen.css index f1e2ec4..ddbbbda 100644 --- a/templates/html/doxygen.css +++ b/templates/html/doxygen.css @@ -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; -- cgit v0.12