Compare commits

..

No commits in common. "3c6889854e27a042bcb856987335ad95a5f47b4b" and "1d7f2f368b2b42eb575280d446fa2f5282dfd881" have entirely different histories.

3 changed files with 38 additions and 64 deletions

View File

@ -3,32 +3,35 @@
<head> <head>
<title>ESP8266 Treppenlicht</title> <title>ESP8266 Treppenlicht</title>
<!-- main style sheet --> <!-- main style sheet -->
<link href="/favicon.png" rel="icon" type="image/png" sizes="10x10"> <link href="/favicon.png" rel="icon" type="image/png" sizes="16x16">
<link href="/style.css" rel="stylesheet" type="text/css"> <link href="/style.css" rel="stylesheet" type="text/css">
</head> </head>
<body> <body>
<div class="kopfzeile" <div class="topbar">
style="text-align: center;"> ESP8266 Treppenlicht Controller
<b>Treppenlicht</b> </div>
<div class="control">
<div class="brightness">
</div>
<div class="onoff">
toggle all
<label id="l_onoff"></label>
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</div>
<div class="pwm">
<label id="label_pwm"></label>
<input type="range" min="1" max="100" value="50" class="rangeslider" id="range1">
</div>
<div class="timer">
<label id="label_timer"></label>
<input type="range" min="1" max="100" value="50" class="rangeslider" id="timer_range">
</div>
</div> </div>
<div class="ueberschrift">
<center>Helligkeit</center>
<div class="slider">
<label id="label_pwm">
</label>
<input type="range" class="testregler" min="0" max="100">
</div>
</div>
<br>
<div class="ueberschrift">
<center>Laufgeschwindigkeit</center>
<div class="slider">
<label id="label_geschwindigkeit">
</label>
<input type="range" class="testregler" min="0" max="100">
</div>
</div>
</body> </body>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@ -1,7 +1,7 @@
html { html {
font-size: 16px; font-size: 10px;
font-family: sans-serif, Arial, Helvetica; font-family: sans-serif, Arial, Helvetica;
background-color: #d4d4d4; background-color: #b3b3b3;
} }
.topbar { .topbar {
@ -17,45 +17,6 @@ html {
padding: 1em; padding: 1em;
} }
.ueberschrift{
color: #ffffff;
font-size: 50px;
width: 40%;
background-color: #5f5f5f;
}
.testregler{
-webkit-appearance: none;
height: 20px;
width: 98%;
border-radius: 20px;
outline: black;
background-color: rgb(176, 188, 228);
}
.testregler::-webkit-slider-thumb{
-webkit-appearance: none;
appearance: none;
width: 5%;
height: 20px;
border-radius: 10px;
background-color: rgb(107, 122, 192);
cursor:pointer;
}
.st{
position: relative;
left: 1.5em;
color: #b91111;
font-size: 80px;
width: 100%;
}
.kopfzeile{
color: #1f1f1f;
font-size: 50px;
width: 100%;
background-color: #8d8a8a;
}
p, li { p, li {
font-size: 16px; font-size: 16px;
line-height: 2; line-height: 2;
@ -65,7 +26,7 @@ p, li {
body { body {
margin: 0 auto; margin: 0 auto;
border: none; border: 1px solid black;
border-radius: 3; border-radius: 3;
} }
@ -88,10 +49,18 @@ body {
/* The slider */ /* The slider */
.slider { .slider {
width: 100%; position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
} }
/*.slider:before { .slider:before {
position: absolute; position: absolute;
content: ""; content: "";
height: 26px; height: 26px;
@ -101,7 +70,7 @@ body {
background-color: white; background-color: white;
-webkit-transition: .4s; -webkit-transition: .4s;
transition: .4s; transition: .4s;
}*/ }
input:checked + .slider { input:checked + .slider {
background-color: #04AA6D; background-color: #04AA6D;
@ -125,6 +94,8 @@ input:checked + .slider:before {
} }
/* The slider itself */ /* The slider itself */
.rangeslider { .rangeslider {
-webkit-appearance: none; /* Override default CSS styles */ -webkit-appearance: none; /* Override default CSS styles */