Make buttons unselectable
This improves copying and pasting quite a lot
This commit is contained in:
parent
10dde0e7d9
commit
1f0cb71e86
|
@ -478,6 +478,14 @@ li.buffer.indent.private a {
|
||||||
font-size: small;
|
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 */
|
/* Mobile layout */
|
||||||
/* */
|
/* */
|
||||||
|
|
|
@ -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 id="{{inputId}}" class="form-control favorite-font" ng-trim="false" rows="1" autocomplete="off" ng-model="command" ng-focus="hideSidebar()">
|
||||||
</textarea>
|
</textarea>
|
||||||
<span class="input-group-btn">
|
<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>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div ng-show="plugin.visible">
|
<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()">
|
ng-click="hideContent()">
|
||||||
Hide {{ ::plugin.name }}
|
Hide {{ ::plugin.name }}
|
||||||
</button>
|
</button>
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div ng-hide="plugin.visible">
|
<div ng-hide="plugin.visible">
|
||||||
<button class="btn btn-sm pull-right"
|
<button class="btn btn-sm pull-right unselectable"
|
||||||
ng-class="::{
|
ng-class="::{
|
||||||
'btn-warning': plugin.nsfw,
|
'btn-warning': plugin.nsfw,
|
||||||
'btn-primary': !plugin.nsfw}"
|
'btn-primary': !plugin.nsfw}"
|
||||||
|
|
Loading…
Reference in New Issue