Use CSS to show/hide tab-complete button instead of ng-hide
should've been ng-show anyway
This commit is contained in:
parent
f09997b145
commit
fde346bc2f
5 changed files with 30 additions and 29 deletions
|
@ -342,13 +342,6 @@ input[type=text]:-moz-placeholder, input[type=password]:-moz-placeholder { /* Fi
|
|||
color: var(--base01);
|
||||
}
|
||||
|
||||
.is-mobile-ui .btn-complete-nick:hover,
|
||||
.is-mobile-ui .btn-send:hover,
|
||||
.is-mobile-ui .btn-send-image:hover {
|
||||
background: var(--base01);
|
||||
color: var(--base05);
|
||||
}
|
||||
|
||||
#connection-infos {
|
||||
color: var(--base04);
|
||||
}
|
||||
|
@ -1448,4 +1441,12 @@ button.close:hover {
|
|||
.footer {
|
||||
background: var(--base00);
|
||||
}
|
||||
|
||||
.btn-complete-nick:hover,
|
||||
.btn-send:hover,
|
||||
.btn-send-image:hover {
|
||||
background: var(--base01);
|
||||
color: var(--base05);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -100,13 +100,6 @@ input[type=text], input[type=password], #sendMessage, .badge, .btn-send, .btn-se
|
|||
color: white;
|
||||
}
|
||||
|
||||
.is-mobile-ui .btn-complete-nick:hover,
|
||||
.is-mobile-ui .btn-send:hover,
|
||||
.is-mobile-ui .btn-send-image:hover {
|
||||
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.nav-pills li:nth-child(2n) {
|
||||
background: #283244;
|
||||
}
|
||||
|
@ -184,4 +177,12 @@ input[type=text], input[type=password], #sendMessage, .badge, .btn-send, .btn-se
|
|||
.footer {
|
||||
padding-left: 5px !important;
|
||||
}
|
||||
|
||||
.btn-complete-nick:hover,
|
||||
.btn-send:hover,
|
||||
.btn-send-image:hover {
|
||||
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -94,13 +94,6 @@ input[type=text], input[type=password], #sendMessage, .badge, .btn-send, .btn-se
|
|||
color: white;
|
||||
}
|
||||
|
||||
.is-mobile-ui .btn-complete-nick:hover,
|
||||
.is-mobile-ui .btn-send:hover,
|
||||
.is-mobile-ui .btn-send-image:hover {
|
||||
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#connection-infos {
|
||||
color: #aaa;
|
||||
}
|
||||
|
@ -2141,6 +2134,12 @@ button.close:hover {
|
|||
background: rgb(24,24,24);
|
||||
}
|
||||
|
||||
.btn-complete-nick:hover,
|
||||
.btn-send:hover,
|
||||
.btn-send-image:hover {
|
||||
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);
|
||||
color: #ccc;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -34,12 +34,6 @@ html {
|
|||
color: #428BCA;
|
||||
}
|
||||
|
||||
.is-mobile-ui .btn-complete-nick:hover,
|
||||
.is-mobile-ui .btn-send:hover,
|
||||
.is-mobile-ui .btn-send-image:hover {
|
||||
color: #428BCA;
|
||||
}
|
||||
|
||||
tr.bufferline:hover {
|
||||
background-color: #efefef;
|
||||
}
|
||||
|
@ -2111,4 +2105,10 @@ select.form-control, select option, input[type=text], input[type=password], #sen
|
|||
background: rgb(230,230,230);
|
||||
}
|
||||
|
||||
.btn-complete-nick:hover,
|
||||
.btn-send:hover,
|
||||
.btn-send-image:hover {
|
||||
color: #428BCA;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<form class="form form-horizontal" ng-class="{'is-mobile-ui': utils.isMobileUi()}" id="inputform" ng-submit="sendMessage()" imgur-drop>
|
||||
<form class="form form-horizontal" id="inputform" ng-submit="sendMessage()" imgur-drop>
|
||||
<div class="input-group">
|
||||
<textarea id="{{inputId}}" class="form-control favorite-font" ng-trim="false" rows="1" ng-change="inputChanged()" autocomplete="on" ng-model="command" ng-focus="hideSidebar()">
|
||||
</textarea>
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-complete-nick unselectable" title="Complete nick" ng-hide="!utils.isMobileUi()" ng-click="handleCompleteNickButton($event)"><i class="glyphicon glyphicon-bullhorn"></i></button>
|
||||
<button class="btn btn-complete-nick unselectable mobile" title="Complete nick" ng-click="handleCompleteNickButton($event)"><i class="glyphicon glyphicon-bullhorn"></i></button>
|
||||
<label class="btn btn-send-image unselectable" for="imgur-upload" title="Send image">
|
||||
<i class="glyphicon glyphicon-picture"></i>
|
||||
<input type="file" accept="image/*" multiple title="Send image" id="imgur-upload" class="imgur-upload" file-change="uploadImage($event, files)">
|
||||
|
|
Loading…
Reference in a new issue