1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-24 22:40:54 +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:**
- ArduinoJSON 6.10.0 Support ✅
- Tabs by @eringerli ISSUE #45
- remove black line without tabs
- Tabs by @eringerli ISSUE #45
- remove black line without tabs
- API changes by @eringerli
- less updateCotrol functions
- proper wrappers for all create/update actions

View File

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