mirror of
https://github.com/s00500/ESPUI.git
synced 2024-11-21 22:50:55 +00:00
Hide tabsnav on :empty
This commit is contained in:
parent
1bb5d16082
commit
70288fc69f
@ -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
|
||||||
|
@ -12,19 +12,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
margin-top:2%;
|
margin-top: 2%;
|
||||||
border-radius:6px;
|
border-radius: 6px;
|
||||||
box-shadow:0 4px 4px rgba(204,197,185,0.5);
|
box-shadow: 0 4px 4px rgba(204, 197, 185, 0.5);
|
||||||
padding-left:20px;
|
padding-left: 20px;
|
||||||
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) {
|
||||||
.card {
|
.card {
|
||||||
min-width:98%;
|
min-width: 98%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -904,15 +904,15 @@ body div > ul.navigation {
|
|||||||
border-bottom: 3px solid #666;
|
border-bottom: 3px solid #666;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
ul.navigation li {
|
ul.navigation li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
ul.navigation li.controls {
|
ul.navigation li.controls {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
ul.navigation li a {
|
ul.navigation li a {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 6px 12px;
|
padding: 6px 12px;
|
||||||
@ -920,101 +920,97 @@ body div > ul.navigation {
|
|||||||
outline: 0;
|
outline: 0;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background: #f3f3f3;
|
background: #f3f3f3;
|
||||||
background: -webkit-gradient(linear,0 0,0 bottom,from(#eee),to(#e4e4e4));
|
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#eee), to(#e4e4e4));
|
||||||
background: -moz-linear-gradient(#eee,#e4e4e4);
|
background: -moz-linear-gradient(#eee, #e4e4e4);
|
||||||
background: linear-gradient(#eee,#e4e4e4);
|
background: linear-gradient(#eee, #e4e4e4);
|
||||||
-pie-background: linear-gradient(#eee,#e4e4e4);
|
-pie-background: linear-gradient(#eee, #e4e4e4);
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.navigation li.active a {
|
ul.navigation li.active a {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
color: white;
|
color: white;
|
||||||
background: #666;
|
background: #666;
|
||||||
background: -webkit-gradient(linear,0 0,0 bottom,from(#888),to(#666));
|
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#888), to(#666));
|
||||||
background: -moz-linear-gradient(#888,#666);
|
background: -moz-linear-gradient(#888, #666);
|
||||||
background: linear-gradient(#888,#666);
|
background: linear-gradient(#888, #666);
|
||||||
-pie-background: linear-gradient(#888,#666);
|
-pie-background: linear-gradient(#888, #666);
|
||||||
}
|
}
|
||||||
|
|
||||||
div.tabscontent > div {
|
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;
|
||||||
width:calc(100% - (45px));
|
width: calc(100% - (45px));
|
||||||
height:10px;
|
height: 10px;
|
||||||
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;
|
||||||
appearance:none;
|
appearance: none;
|
||||||
width:20px;
|
width: 20px;
|
||||||
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;
|
||||||
height:20px;
|
height: 20px;
|
||||||
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;
|
||||||
position:relative;
|
position: relative;
|
||||||
width:30px;
|
width: 30px;
|
||||||
color:#fff;
|
color: #fff;
|
||||||
line-height:20px;
|
line-height: 20px;
|
||||||
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;
|
||||||
top:8px;
|
top: 8px;
|
||||||
left:-7px;
|
left: -7px;
|
||||||
width:0;
|
width: 0;
|
||||||
height:0;
|
height: 0;
|
||||||
/*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;
|
||||||
}
|
}
|
||||||
|
2
data/css/style.min.css
vendored
2
data/css/style.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user