1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-22 04:00:55 +00:00

Hide tabsnav on :empty

This commit is contained in:
Lukas Bachschwell 2019-03-24 16:15:30 +01:00
parent 1bb5d16082
commit 70288fc69f
4 changed files with 75 additions and 79 deletions

View File

@ -25,8 +25,8 @@ THIS IS THE 2.0.0 development branch
**Roadmap for 2.0.0:** **Roadmap for 2.0.0:**
- ArduinoJSON 6.10.0 Support ✅ - ArduinoJSON 6.10.0 Support ✅
- Tabs by @eringerli ISSUE #45 - Tabs by @eringerli ISSUE #45
- remove black line without tabs - remove black line without tabs
- API changes by @eringerli - API changes by @eringerli
- less updateCotrol functions - less updateCotrol functions
- proper wrappers for all create/update actions - proper wrappers for all create/update actions

View File

@ -19,7 +19,7 @@
padding-right: 20px; padding-right: 20px;
margin-bottom: 10px; margin-bottom: 10px;
min-width: 500px; min-width: 500px;
color:#fff color: #fff;
} }
@media (max-width: 630px) { @media (max-width: 630px) {
@ -940,20 +940,15 @@ div.tabscontent > div {
padding: 0 15px; padding: 0 15px;
} }
#tabsnav:empty {
display: none;
}
.range-slider { .range-slider {
margin:0 0 0 0 margin: 0 0 0 0;
} }
.range-slider { .range-slider {
width:100% width: 100%;
} }
.range-slider__range { .range-slider__range {
-webkit-appearance: none; -webkit-appearance: none;
@ -962,7 +957,7 @@ div.tabscontent > div {
border-radius: 5px; border-radius: 5px;
outline: 0; outline: 0;
padding: 0; padding: 0;
margin:0 margin: 0;
} }
.range-slider__range::-webkit-slider-thumb { .range-slider__range::-webkit-slider-thumb {
-webkit-appearance: none; -webkit-appearance: none;
@ -971,13 +966,13 @@ div.tabscontent > div {
height: 20px; height: 20px;
border-radius: 50%; border-radius: 50%;
cursor: pointer; cursor: pointer;
transition:background .15s ease-in-out transition: background 0.15s ease-in-out;
} }
.range-slider__range::-webkit-slider-thumb:hover { .range-slider__range::-webkit-slider-thumb:hover {
background:#1abc9c background: #1abc9c;
} }
.range-slider__range:active::-webkit-slider-thumb { .range-slider__range:active::-webkit-slider-thumb {
background:#1abc9c background: #1abc9c;
} }
.range-slider__range::-moz-range-thumb { .range-slider__range::-moz-range-thumb {
width: 20px; width: 20px;
@ -985,10 +980,10 @@ div.tabscontent > div {
border: 0; border: 0;
border-radius: 50%; border-radius: 50%;
cursor: pointer; cursor: pointer;
transition:background .15s ease-in-out transition: background 0.15s ease-in-out;
} }
.range-slider__range:focus::-webkit-slider-thumb { .range-slider__range:focus::-webkit-slider-thumb {
box-shadow:0 0 0 3px #fff,0 0 0 6px #1abc9c box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1abc9c;
} }
.range-slider__value { .range-slider__value {
display: inline-block; display: inline-block;
@ -999,7 +994,7 @@ div.tabscontent > div {
text-align: center; text-align: center;
border-radius: 3px; border-radius: 3px;
padding: 5px 5px; padding: 5px 5px;
margin-left:2px margin-left: 2px;
} }
.range-slider__value:after { .range-slider__value:after {
position: absolute; position: absolute;
@ -1010,11 +1005,12 @@ div.tabscontent > div {
/*border-top:1px solid transparent; /*border-top:1px solid transparent;
border-right:1px solid #2c3e50; border-right:1px solid #2c3e50;
border-bottom:1px solid transparent;*/ border-bottom:1px solid transparent;*/
content:'' content: "";
} }
::-moz-range-track { ::-moz-range-track {
border:0 border: 0;
} }
input::-moz-focus-inner,input::-moz-focus-outer { input::-moz-focus-inner,
border:0 input::-moz-focus-outer {
border: 0;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long