Restore monospace/bright style for text inputs
This commit is contained in:
parent
5f2a4386f7
commit
9274a918ff
2 changed files with 12 additions and 10 deletions
|
@ -107,7 +107,6 @@ body {
|
||||||
|
|
||||||
input#sendMessage {
|
input#sendMessage {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: large;
|
|
||||||
}
|
}
|
||||||
#footer button {
|
#footer button {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
@ -118,7 +117,7 @@ input#sendMessage {
|
||||||
input[type=text], input[type=password], .badge {
|
input[type=text], input[type=password], .badge {
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
color: #6e6e6e;
|
color: #ccc;
|
||||||
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1), 0px 1px 7px 0px rgba(0, 0, 0, 0.8) inset;
|
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1), 0px 1px 7px 0px rgba(0, 0, 0, 0.8) inset;
|
||||||
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);
|
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);
|
||||||
}
|
}
|
||||||
|
@ -205,8 +204,11 @@ input[type=text], input[type=password], .badge {
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bufferlines {
|
.monospace {
|
||||||
font-family: 'Terminus', 'Consolas', 'Monaco', 'Inconsolata', 'Ubuntu Mono', monospace;
|
font-family: 'Terminus', 'Consolas', 'Monaco', 'Inconsolata', 'Ubuntu Mono', monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
#bufferlines {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 99%;
|
height: 99%;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
14
index.html
14
index.html
|
@ -49,14 +49,14 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label" for="host">WeeChat relay hostname and port number</label>
|
<label class="control-label" for="host">WeeChat relay hostname and port number</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="text" class="form-control" id="host" ng-model="host" placeholder="Address">
|
<input type="text" class="form-control monospace" id="host" ng-model="host" placeholder="Address">
|
||||||
<input type="text" class="form-control" id="port" ng-model="port" placeholder="9001">
|
<input type="text" class="form-control monospace" id="port" ng-model="port" placeholder="9001">
|
||||||
</div>
|
</div>
|
||||||
<div class="alert alert-danger" ng-show="passwordError">
|
<div class="alert alert-danger" ng-show="passwordError">
|
||||||
Error wrong password
|
Error wrong password
|
||||||
</div>
|
</div>
|
||||||
<label class="control-label" for="password">WeeChat relay password</label>
|
<label class="control-label" for="password">WeeChat relay password</label>
|
||||||
<input type="password" class="form-control" id="password" ng-model="password" placeholder="Password">
|
<input type="password" class="form-control monospace" id="password" ng-model="password" placeholder="Password">
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" class="checkbox" id="savepassword" ng-model="savepassword">
|
<input type="checkbox" class="checkbox" id="savepassword" ng-model="savepassword">
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label" for="port">Lines</label>
|
<label class="control-label" for="port">Lines</label>
|
||||||
<input type="text" class="form-control" id="lines" ng-model="lines" placeholder="40">
|
<input type="text" class="form-control monospace" id="lines" ng-model="lines" placeholder="40">
|
||||||
<p class="help-block">Enter number of lines to sync from WeeChat on connect</p>
|
<p class="help-block">Enter number of lines to sync from WeeChat on connect</p>
|
||||||
</div>
|
</div>
|
||||||
<button class="btn btn-lg btn-primary" ng-click="connect()">Connect <i class="glyphicon glyphicon-chevron-right"></i></button>
|
<button class="btn btn-lg btn-primary" ng-click="connect()">Connect <i class="glyphicon glyphicon-chevron-right"></i></button>
|
||||||
|
@ -212,7 +212,7 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
|
||||||
<ul class="nav nav-pills nav-stacked">
|
<ul class="nav nav-pills nav-stacked">
|
||||||
<li class="bufferfilter">
|
<li class="bufferfilter">
|
||||||
<form role="form">
|
<form role="form">
|
||||||
<input class="form-control" type="text" id="bufferFilter" ng-model="search" ng-keydown="handleSearchBoxKey($event)" placeholder="Search">
|
<input class="form-control monospace" type="text" id="bufferFilter" ng-model="search" ng-keydown="handleSearchBoxKey($event)" placeholder="Search">
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
<li class="buffer" ng-class="{'active': content.active }" ng-repeat="(key, content) in buffers | toArray | filter:{fullName:search} | filter:hasUnread | orderBy:'content.number':true">
|
<li class="buffer" ng-class="{'active': content.active }" ng-repeat="(key, content) in buffers | toArray | filter:{fullName:search} | filter:hasUnread | orderBy:'content.number':true">
|
||||||
|
@ -224,7 +224,7 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="bufferlines" ng-class="{'withnicklist': nonicklist==false}">
|
<div id="bufferlines" class="monospace" ng-class="{'withnicklist': nonicklist==false}">
|
||||||
<div id="nicklist" ng-hide="nonicklist" class="vertical-line-left">
|
<div id="nicklist" ng-hide="nonicklist" class="vertical-line-left">
|
||||||
<ul class="nicklistgroup list-unstyled" ng-repeat="group in activeBuffer().nicklist">
|
<ul class="nicklistgroup list-unstyled" ng-repeat="group in activeBuffer().nicklist">
|
||||||
<li class="" ng-repeat="nick in group.nicks|orderBy:'nick.name'">
|
<li class="" ng-repeat="nick in group.nicks|orderBy:'nick.name'">
|
||||||
|
@ -270,7 +270,7 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
|
||||||
<div class="navbar navbar-inverse navbar-fixed-bottom" ng-class="{'withnicklist': nonicklist==false}">
|
<div class="navbar navbar-inverse navbar-fixed-bottom" ng-class="{'withnicklist': nonicklist==false}">
|
||||||
<form class="form form-horizontal" ng-submit="sendMessage()">
|
<form class="form form-horizontal" ng-submit="sendMessage()">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input id="sendMessage" type="text" class="form-control" autocomplete="off" ng-model="command" autofocus>
|
<input id="sendMessage" type="text" class="form-control monospace" autocomplete="off" ng-model="command" autofocus>
|
||||||
<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">Send</button>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue