mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Reduce number input width
This commit is contained in:
parent
6056e1d3b9
commit
d4b3810fbc
3 changed files with 15 additions and 37 deletions
|
@ -548,11 +548,6 @@ input[type="color"],
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
transition: background-color .3s;
|
transition: background-color .3s;
|
||||||
}
|
}
|
||||||
input[type=number]::-webkit-inner-spin-button,
|
|
||||||
input[type=number]::-webkit-outer-spin-button {
|
|
||||||
-webkit-appearance: none;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
textarea.form-control {
|
textarea.form-control {
|
||||||
height: initial;
|
height: initial;
|
||||||
margin: 5px 0 5px 0;
|
margin: 5px 0 5px 0;
|
||||||
|
@ -2377,21 +2372,6 @@ a .library-user-instance-box:hover {
|
||||||
#watched-stats-days-selection label {
|
#watched-stats-days-selection label {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
#watched-stats-days {
|
|
||||||
margin: 0;
|
|
||||||
width: 75px;
|
|
||||||
height: 34px;
|
|
||||||
}
|
|
||||||
#watched-stats-count {
|
|
||||||
margin: 0;
|
|
||||||
width: 75px;
|
|
||||||
height: 34px;
|
|
||||||
}
|
|
||||||
#recently-added-count {
|
|
||||||
margin: 0;
|
|
||||||
width: 75px;
|
|
||||||
height: 34px;
|
|
||||||
}
|
|
||||||
.home-padded-header {
|
.home-padded-header {
|
||||||
margin: 25px 0;
|
margin: 25px 0;
|
||||||
height: 34px;
|
height: 34px;
|
||||||
|
@ -3440,22 +3420,10 @@ pre::-webkit-scrollbar-thumb {
|
||||||
.notification-params tr:nth-child(even) td {
|
.notification-params tr:nth-child(even) td {
|
||||||
background-color: rgba(255,255,255,0.010);
|
background-color: rgba(255,255,255,0.010);
|
||||||
}
|
}
|
||||||
#days-selection label {
|
#days-selection label,
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
#graph-days {
|
|
||||||
margin: 0;
|
|
||||||
width: 75px;
|
|
||||||
height: 34px;
|
|
||||||
}
|
|
||||||
#months-selection label {
|
#months-selection label {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
#graph-months {
|
|
||||||
margin: 0;
|
|
||||||
width: 75px;
|
|
||||||
height: 34px;
|
|
||||||
}
|
|
||||||
.card-sortable {
|
.card-sortable {
|
||||||
height: 36px;
|
height: 36px;
|
||||||
padding: 0 20px 0 0;
|
padding: 0 20px 0 0;
|
||||||
|
@ -3972,3 +3940,13 @@ a:hover .overlay-refresh-image:hover {
|
||||||
.stream-info tr:nth-child(even) td {
|
.stream-info tr:nth-child(even) td {
|
||||||
background-color: rgba(255,255,255,0.010);
|
background-color: rgba(255,255,255,0.010);
|
||||||
}
|
}
|
||||||
|
.number-input {
|
||||||
|
margin: 0 !important;
|
||||||
|
width: 55px !important;
|
||||||
|
height: 34px !important;
|
||||||
|
}
|
||||||
|
.number-input::-webkit-inner-spin-button,
|
||||||
|
.number-input::-webkit-outer-spin-button {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
|
@ -39,12 +39,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="input-group pull-right" style="width: 1px;" id="days-selection">
|
<div class="input-group pull-right" style="width: 1px;" id="days-selection">
|
||||||
<span class="input-group-addon btn-dark inactive">Last</span>
|
<span class="input-group-addon btn-dark inactive">Last</span>
|
||||||
<input type="number" class="form-control" name="graph-days" id="graph-days" value="${config['graph_days']}" min="1" data-default="7" data-toggle="tooltip" title="Min: 1 day" />
|
<input type="number" class="form-control number-input" name="graph-days" id="graph-days" value="${config['graph_days']}" min="1" data-default="7" data-toggle="tooltip" title="Min: 1 day" />
|
||||||
<span class="input-group-addon btn-dark inactive">days</span>
|
<span class="input-group-addon btn-dark inactive">days</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-group pull-right" style="width: 1px;" id="months-selection">
|
<div class="input-group pull-right" style="width: 1px;" id="months-selection">
|
||||||
<span class="input-group-addon btn-dark inactive">Last</span>
|
<span class="input-group-addon btn-dark inactive">Last</span>
|
||||||
<input type="number" class="form-control" name="graph-months" id="graph-months" value="${config['graph_months']}" min="1" data-default="12" data-toggle="tooltip" title="Min: 1 month" />
|
<input type="number" class="form-control number-input" name="graph-months" id="graph-months" value="${config['graph_months']}" min="1" data-default="12" data-toggle="tooltip" title="Min: 1 month" />
|
||||||
<span class="input-group-addon btn-dark inactive">months</span>
|
<span class="input-group-addon btn-dark inactive">months</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="input-group pull-left" style="width: 1px; margin-right: 3px" id="watched-stats-days-selection">
|
<div class="input-group pull-left" style="width: 1px; margin-right: 3px" id="watched-stats-days-selection">
|
||||||
<span class="input-group-addon btn-dark inactive">Last</span>
|
<span class="input-group-addon btn-dark inactive">Last</span>
|
||||||
<input type="number" class="form-control" name="watched-stats-days" id="watched-stats-days" value="${config['home_stats_length']}" min="1" data-default="30" data-toggle="tooltip" title="Min: 1 day" />
|
<input type="number" class="form-control number-input" name="watched-stats-days" id="watched-stats-days" value="${config['home_stats_length']}" min="1" data-default="30" data-toggle="tooltip" title="Min: 1 day" />
|
||||||
<span class="input-group-addon btn-dark inactive">days</span>
|
<span class="input-group-addon btn-dark inactive">days</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -123,7 +123,7 @@
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-group pull-left" style="width: 1px;" id="recently-added-count-selection">
|
<div class="input-group pull-left" style="width: 1px;" id="recently-added-count-selection">
|
||||||
<input type="number" class="form-control" name="recently-added-count" id="recently-added-count" value="${config['home_stats_recently_added_count']}" min="1" max="100" data-default="50" data-toggle="tooltip" title="Min: 1 item<br>Max: 100 items" />
|
<input type="number" class="form-control number-input" name="recently-added-count" id="recently-added-count" value="${config['home_stats_recently_added_count']}" min="1" max="100" data-default="50" data-toggle="tooltip" title="Min: 1 item<br>Max: 100 items" />
|
||||||
<span class="input-group-addon btn-dark inactive">items</span>
|
<span class="input-group-addon btn-dark inactive">items</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue