Merge pull request #482 from glowing-bear/make-buttons-unselectable

Make buttons unselectable
This commit is contained in:
David Cormier 2014-10-21 09:36:53 -04:00
commit a3bb4a5917
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}"