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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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: 40%;
  20. background-color: #5f5f5f;
  21. }
  22. .testregler{
  23. -webkit-appearance: none;
  24. height: 20px;
  25. width: 98%;
  26. border-radius: 20px;
  27. outline: black;
  28. background-color: rgb(176, 188, 228);
  29. }
  30. .testregler::-webkit-slider-thumb{
  31. -webkit-appearance: none;
  32. appearance: none;
  33. width: 5%;
  34. height: 20px;
  35. border-radius: 10px;
  36. background-color: rgb(107, 122, 192);
  37. cursor:pointer;
  38. }
  39. input[type=range]::-webkit-slider-thumb{
  40. -webkit-appearance: none;
  41. border:none;
  42. height: 100px;
  43. width: 100px;
  44. background:goldenrod;
  45. margin-top: -15px;
  46. border-radius: o!important;
  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. }