iobroker.lg-ess-home
Version:
Adapter to read data from a LG ESS inverter.
200 lines (172 loc) • 3.66 kB
CSS
/* Style your widget here */
.lg-ess-home-class {
font-style: italic;
}
/*---------- Chart ----------*/
.lg-ess-home-one-charts {
height: calc((100% - 115px));
width: 100%;
}
.lg-ess-home-two-charts {
height: calc((100% - 90px)/2);
/* width: 100%; */
}
.lg-ess-home-hide-chart {
display: none;
}
/*---------- Header ----------*/
.lg-ess-home-header {
padding-top: 15px;
height: 30px;
font-size: 20px;
text-align: center;
}
.lg-ess-home-error {
position:absolute;
width: 200px;
height: 50px;
margin-left: -100px;
margin-top: - 25px;
top: 50%;
left: 50%;
color: red;
text-align: center;
vertical-align: middle;
display: none;
}
.lg-ess-home-error-symbol{
font-size: xx-large;
}
/*---------- Timebar ----------*/
.lg-ess-home-timebar{
padding-bottom: 0px;
margin-bottom: 15px;
vertical-align: middle;
line-height: 25px;
height: 25px;
position: relative;
cursor: pointer;
}
.lg-ess-home-timebar button {
text-decoration: none;
background: none;
border: none;
}
.lg-ess-home-timebar .backward {
padding-left: 20px;
padding-right: 20px;
}
.lg-ess-home-timebar .forward {
padding-left: 20px;
padding-right: 20px;
}
.lg-ess-home-timebar .last {
color: gray;
cursor: default;
}
.lg-ess-home-timebar div {
position: absolute;
text-align: center;
width: 100%;
}
.lg-ess-home-timebar input {
position: absolute;
border: none;
outline:none;
font-size: 16px;
font-family:Arial,sans-serif;
color: transparent;
background: transparent;
}
.lg-ess-home-timebar input:focus-visible {
border: none;
outline: none;
}
/*---------- Total ----------*/
.lg-ess-home-total {
margin-left: 20px;
font-size: 12px;
text-align: center;
}
.lg-ess-home-total .marker{
display:inline-block;
margin-right:4px;
border-radius:10px;
width:10px;
height:10px;
}
.lg-ess-home-right-menu {
background: var(--menu_background);
height: 100%;
right: 0px;
position: absolute;
top: 0;
width: 0px;
z-index: 100;
-webkit-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
}
.lg-ess-home-right-menu-box{
margin-top: 20px;
position: absolute;
top: 0px;
height: 25px;
width: 25px;
padding: 10px;
background: var(--menu_background);
border-radius: 8px 0 0 8px;
margin-left: -44px;
}
.lg-ess-home-right-menu-box-icon{
fill:none;
stroke:var(--menu_color_font);
stroke-linecap:round;
stroke-linejoin:round;
stroke-width: 2px;
}
.lg-ess-home-right-menu-container{
height: 100%;
padding: 0 1em;
display: none;
}
.lg-ess-home-right-menu-container h2 {
text-align: center;
color: var(--menu_color_font);
opacity: 0;
-webkit-transition: all 2000ms ease-in-out;
transition: all 2000ms ease-in-out;
}
.lg-ess-home-right_menu_item {
margin-left: 30px;
opacity: 0;
-webkit-transition: all 200ms ease-in-out;
transition: all 200ms ease-in-out;
}
.icon-list a {
position: relative;
font-family: "Oswald", "Helvetica Neue", Helvetica, sans-serif;
display: block;
padding: 20px;
text-decoration: none;
color: #eee;
font-size: 20px;
transition: all 0.3s ease;
}
.icon-list a::before {
position: absolute;
content: "";
width: 0%;
height: 2px;
top: 80%;
transition: all 0.3s ease;
}
.icon-list a:hover {
color: #CDDC39;
}
.icon-list .selected {
color: #CDDC39;
}
.icon-list a:hover::before {
width: 50%;
background-color: #CDDC39;
}