Prevent selection of line numbers when selecting file/code contents (#3382).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8541 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
59789c7997
commit
48fecd6285
|
@ -44,6 +44,11 @@ table.filecontent th.line-num {
|
||||||
width: 2%;
|
width: 2%;
|
||||||
padding-right: 3px;
|
padding-right: 3px;
|
||||||
color: #999;
|
color: #999;
|
||||||
|
user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-o-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
}
|
}
|
||||||
table.filecontent th.line-num a {
|
table.filecontent th.line-num a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -94,7 +99,14 @@ div.action_A { background: #bfb }
|
||||||
|
|
||||||
/************* CodeRay styles *************/
|
/************* CodeRay styles *************/
|
||||||
.syntaxhl div {display: inline;}
|
.syntaxhl div {display: inline;}
|
||||||
.syntaxhl .line-numbers { padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px; }
|
.syntaxhl .line-numbers {
|
||||||
|
padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px;
|
||||||
|
user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-o-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
}
|
||||||
.syntaxhl .code pre { overflow: auto }
|
.syntaxhl .code pre { overflow: auto }
|
||||||
.syntaxhl .debug { color:white ! important; background:blue ! important; }
|
.syntaxhl .debug { color:white ! important; background:blue ! important; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue