Merge pull request #482 from glowing-bear/make-buttons-unselectable
Make buttons unselectable
This commit is contained in:
commit
a3bb4a5917
|
@ -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 */
|
||||
/* */
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue