Make buttons unselectable

This improves copying and pasting quite a lot
This commit is contained in:
Lorenz Hübschle-Schneider 2014-10-20 11:09:50 +02:00
parent 10dde0e7d9
commit 1f0cb71e86
3 changed files with 11 additions and 3 deletions

View File

@ -478,6 +478,14 @@ li.buffer.indent.private a {
font-size: small;
}
.unselectable {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
/* */
/* Mobile layout */
/* */

View File

@ -3,7 +3,7 @@
<textarea id="{{inputId}}" class="form-control favorite-font" ng-trim="false" rows="1" autocomplete="off" ng-model="command" ng-focus="hideSidebar()">
</textarea>
<span class="input-group-btn">
<button class="btn btn-default btn-primary">Send</button>
<button class="btn btn-default btn-primary unselectable">Send</button>
</span>
</div>
</form>

View File

@ -1,5 +1,5 @@
<div ng-show="plugin.visible">
<button class="btn btn-primary btn-sm pull-right"
<button class="btn btn-primary btn-sm pull-right unselectable"
ng-click="hideContent()">
Hide {{ ::plugin.name }}
</button>
@ -8,7 +8,7 @@
</div>
<div ng-hide="plugin.visible">
<button class="btn btn-sm pull-right"
<button class="btn btn-sm pull-right unselectable"
ng-class="::{
'btn-warning': plugin.nsfw,
'btn-primary': !plugin.nsfw}"