ESP8266 Treppenlichtsteuerung mit OTA zum Firmware Upload
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.css 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. html {
  2. font-size: 16px;
  3. font-family: sans-serif, Arial, Helvetica;
  4. background-color: #d4d4d4;
  5. }
  6. .topbar {
  7. padding: 1em;
  8. background-color: #1f1f1f;
  9. color: white;
  10. font-size: x-large;
  11. text-align: center;
  12. }
  13. .control {
  14. padding: 1em;
  15. }
  16. .ueberschrift{
  17. color: #ffffff;
  18. font-size: 50px;
  19. width: 100%;
  20. background-color: #5f5f5f;
  21. opacity: 0.2;
  22. text-align: center;
  23. }
  24. .regler{
  25. -webkit-appearance: none;
  26. height: 30px;
  27. width: 98%;
  28. border-radius: 20px;
  29. outline: black;
  30. background-color: rgb(176, 188, 228);
  31. }
  32. .regler::-webkit-slider-thumb{
  33. -webkit-appearance: none;
  34. appearance: none;
  35. width: 5%;
  36. height: 20px;
  37. border-radius: 10px;
  38. background-color: rgb(107, 122, 192);
  39. cursor:pointer;
  40. }
  41. input[type=range]::-webkit-slider-thumb{
  42. -webkit-appearance: none;
  43. border:none;
  44. height: 30px;
  45. width: 4%;
  46. border-radius: 30px;
  47. }
  48. .kopfzeile{
  49. color: #1f1f1f;
  50. font-size: 50px;
  51. width: 100%;
  52. background-color: #8d8a8a;
  53. }
  54. p, li {
  55. font-size: 16px;
  56. line-height: 2;
  57. letter-spacing: 1px;
  58. }
  59. body {
  60. margin: 0 auto;
  61. border: none;
  62. border-radius: 3;
  63. }
  64. /* The switch - the box around the slider */
  65. .switch {
  66. position: relative;
  67. display: inline-block;
  68. width: 60px;
  69. height: 34px;
  70. }
  71. /* Hide default HTML checkbox */
  72. .switch input {
  73. opacity: 0;
  74. width: 0;
  75. height: 0;
  76. }
  77. /* The slider */
  78. .slider {
  79. width: 100%;
  80. }
  81. /*.slider:before {
  82. position: absolute;
  83. content: "";
  84. height: 26px;
  85. width: 26px;
  86. left: 4px;
  87. bottom: 4px;
  88. background-color: white;
  89. -webkit-transition: .4s;
  90. transition: .4s;
  91. }*/
  92. input:checked + .slider {
  93. background-color: #04AA6D;
  94. }
  95. input:focus + .slider {
  96. box-shadow: 0 0 1px #04AA6D;
  97. }
  98. input:checked + .slider:before {
  99. -webkit-transform: translateX(26px);
  100. -ms-transform: translateX(26px);
  101. transform: translateX(26px);
  102. }
  103. /* Rounded sliders */
  104. .slider.round {
  105. border-radius: 34px;
  106. }
  107. .slider.round:before {
  108. border-radius: 50%;
  109. }
  110. /* The slider itself */
  111. .rangeslider {
  112. -webkit-appearance: none; /* Override default CSS styles */
  113. appearance: none;
  114. width: 50%; /* Full-width */
  115. height: 34px; /* Specified height */
  116. border-radius: 34px; /* range round corners */
  117. background: #d3d3d3; /* Grey background */
  118. outline: none; /* Remove outline */
  119. opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  120. -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  121. transition: opacity .2s;
  122. }
  123. /* Mouse-over effects */
  124. .rangeslider:hover {
  125. opacity: 1; /* Fully shown on mouse-over */
  126. }
  127. /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
  128. .rangeslider::-webkit-slider-thumb {
  129. -webkit-appearance: none; /* Override default look */
  130. appearance: none;
  131. width: 26px; /* Set a specific slider handle width */
  132. height: 26px; /* Slider handle height */
  133. border-radius: 50%; /* Round Element */
  134. background: #04AA6D; /* Green background */
  135. cursor: pointer; /* Cursor on hover */
  136. }
  137. .rangeslider::-moz-range-thumb {
  138. width: 26px; /* Set a specific slider handle width */
  139. height: 26px; /* Slider handle height */
  140. background: #04AA6D; /* Green background */
  141. cursor: pointer; /* Cursor on hover */
  142. }