Merge pull request #1221 from McGiverGim/css_modes_switch

CSS the hide modes tab
10.5.x-maintenance
Michael Keller 2018-10-30 00:36:38 +13:00 committed by GitHub
commit 0b334dca2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 7 deletions

View File

@ -1609,7 +1609,7 @@
"message": "Use ranges to define the switches on your transmitter and corresponding mode assignments. A receiver channel that gives a reading between a range min/max will activate the mode. Remember to save your settings using the Save button."
},
"auxiliaryToggleUnused": {
"message": "Show/hide unused modes"
"message": "Hide unused modes"
},
"auxiliaryMin": {
"message": "Min"

View File

@ -9,6 +9,12 @@
margin-bottom: 10px;
}
.tab-auxiliary .toolbox {
font-weight: bold;
color: rgb(105, 99, 99);
padding: 10px 5px;
}
.tab-auxiliary .range .marker, .tab-auxiliary .channel-slider .noUi-connect {
background: #ffbb00;
border-radius: 3px;

View File

@ -7,14 +7,16 @@
<div class="note spacebottom">
<div class="note_spacer">
<p i18n="auxiliaryHelp"></p>
<p>
</div>
</div>
<div class="toolbox">
<form>
<input type="checkbox" id="switch-toggle-unused" name="switch-toggle-unused" class="togglesmall"></input>
<input type="checkbox" id="switch-toggle-unused" name="switch-toggle-unused" class="toggle"></input>
<label for="switch-toggle-unused"><span i18n="auxiliaryToggleUnused" /></label>
</form>
</p>
</div>
</div>
<table class="modes">
<tbody>
</tbody>