disable text selection globally except inputs and message body

master
Vitaliy Filippov 2016-06-22 22:05:16 +03:00
parent 46ab9bf386
commit 21d76306a4
1 changed files with 16 additions and 30 deletions

View File

@ -9,6 +9,12 @@ html, body
-moz-text-size-adjust: none;
text-size-adjust: none;
overflow: hidden;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.clear
@ -50,6 +56,16 @@ select, input, textarea, button
margin: 0;
}
input[type=text], input:not([type]), textarea, .message-view .text
{
-webkit-touch-callout: default;
-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}
table
{
border-collapse: collapse;
@ -82,12 +98,6 @@ button, a.button
text-align: left;
/*white-space: nowrap;
height: 32px;*/
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
button img, a.button img
@ -277,12 +287,6 @@ div
width: 20%;
/* right border */
border-right: 1px solid #aca9a7;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.top-border-gradient
@ -587,12 +591,6 @@ div
top: 0;
bottom: 0;
cursor: default;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.tab-panel .tab-bar
@ -711,12 +709,6 @@ div
{
/* right border */
border-right: 1px solid #aca9a7;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.message-list .actions
@ -1626,12 +1618,6 @@ div
outline: 0;
background: white;
border-left: 1px solid #cac6c5;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: auto;
padding-top: 30px;
}