Fork of the espurna firmware for `mhsw` switches
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.

285 lines
4.8 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. /* -----------------------------------------------------------------------------
  2. General
  3. -------------------------------------------------------------------------- */
  4. #menu .pure-menu-heading {
  5. font-size: 100%;
  6. padding: .5em .5em;
  7. }
  8. .pure-g {
  9. margin-bottom: 0;
  10. }
  11. .pure-form legend {
  12. font-weight: bold;
  13. letter-spacing: 0;
  14. margin: 10px 0 1em 0;
  15. }
  16. .pure-form .pure-g > label {
  17. margin: .4em 0 .2em;
  18. }
  19. .pure-form input {
  20. margin-bottom: 10px;
  21. }
  22. .pure-form input[type=text][disabled] {
  23. color: #777777;
  24. }
  25. h2 {
  26. font-size: 1em;
  27. }
  28. .panel {
  29. display: none;
  30. }
  31. .block {
  32. display: block;
  33. }
  34. .content {
  35. margin: 0;
  36. }
  37. .page {
  38. margin-top: 10px;
  39. }
  40. .hint {
  41. color: #ccc;
  42. font-size: 80%;
  43. margin: -10px 0 10px 0;
  44. }
  45. .hint a {
  46. color:inherit;
  47. }
  48. legend.module,
  49. .module {
  50. display: none;
  51. }
  52. .template {
  53. display: none;
  54. }
  55. input[name=upgrade] {
  56. display: none;
  57. }
  58. select {
  59. margin-bottom: 10px;
  60. width: 100%;
  61. }
  62. input.center {
  63. margin-bottom: 0;
  64. }
  65. div.center {
  66. margin: .5em 0 1em;
  67. }
  68. .webmode {
  69. display: none;
  70. }
  71. #credentials {
  72. font-size: 200%;
  73. height: 100px;
  74. left: 50%;
  75. margin-left: -200px;
  76. margin-top: -50px;
  77. position: fixed;
  78. text-align: center;
  79. top: 50%;
  80. width: 400px;
  81. }
  82. div.state {
  83. border-top: 1px solid #eee;
  84. margin-top: 20px;
  85. padding-top: 30px;
  86. }
  87. .state div {
  88. font-size: 80%;
  89. }
  90. .state span {
  91. font-size: 80%;
  92. font-weight: bold;
  93. }
  94. .right {
  95. text-align: right;
  96. }
  97. /* -----------------------------------------------------------------------------
  98. Buttons
  99. -------------------------------------------------------------------------- */
  100. .pure-button {
  101. border-radius: 4px;
  102. color: white;
  103. letter-spacing: 0;
  104. margin-bottom: 10px;
  105. padding: 8px 8px;
  106. text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  107. }
  108. .main-buttons {
  109. margin: 20px auto;
  110. text-align: center;
  111. }
  112. .main-buttons button {
  113. width: 100px;
  114. }
  115. .button-reboot,
  116. .button-reconnect,
  117. .button-ha-del,
  118. .button-rfb-forget,
  119. .button-del-network,
  120. .button-del-schedule,
  121. .button-upgrade {
  122. background: rgb(192, 0, 0); /* redish */
  123. }
  124. .button-update,
  125. .button-update-password,
  126. .button-add-network,
  127. .button-add-switch-schedule,
  128. .button-add-light-schedule,
  129. .button-rfb-learn,
  130. .button-upgrade-browse,
  131. .button-ha-add,
  132. .button-settings-backup,
  133. .button-settings-restore,
  134. .button-apikey {
  135. background: rgb(0, 192, 0); /* green */
  136. }
  137. .button-more-network,
  138. .button-more-schedule,
  139. .button-wifi-scan,
  140. .button-rfb-send {
  141. background: rgb(255, 128, 0); /* orange */
  142. }
  143. .button-upgrade-browse,
  144. .button-ha-add,
  145. .button-apikey,
  146. .button-upgrade {
  147. margin-left: 5px;
  148. }
  149. /* -----------------------------------------------------------------------------
  150. Sliders
  151. -------------------------------------------------------------------------- */
  152. input.slider {
  153. margin-top: 10px;
  154. }
  155. span.slider {
  156. font-size: 70%;
  157. letter-spacing: 0;
  158. margin-left: 10px;
  159. margin-top: 7px;
  160. }
  161. /* -----------------------------------------------------------------------------
  162. Loading
  163. -------------------------------------------------------------------------- */
  164. .loading {
  165. background-image: url('images/loading.gif');
  166. display: none;
  167. height: 20px;
  168. margin: 8px 0 0 10px;
  169. width: 20px;
  170. }
  171. /* -----------------------------------------------------------------------------
  172. Menu
  173. -------------------------------------------------------------------------- */
  174. #menu .small {
  175. font-size: 60%;
  176. padding-left: 9px;
  177. }
  178. #menu div.footer {
  179. color: #999;
  180. font-size: 80%;
  181. padding: 10px;
  182. }
  183. #menu div.footer a {
  184. padding: 0;
  185. text-decoration: none;
  186. }
  187. /* -----------------------------------------------------------------------------
  188. RF Bridge panel
  189. -------------------------------------------------------------------------- */
  190. #panel-rfb fieldset {
  191. margin: 10px 2px;
  192. padding: 20px;
  193. }
  194. #panel-rfb input {
  195. margin-right: 5px;
  196. }
  197. #panel-rfb label {
  198. padding-top: 5px;
  199. }
  200. #panel-rfb input {
  201. text-align: center;
  202. }
  203. /* -----------------------------------------------------------------------------
  204. Admin panel
  205. -------------------------------------------------------------------------- */
  206. #upgrade-progress {
  207. display: none;
  208. height: 20px;
  209. margin-top: 10px;
  210. width: 100%;
  211. }
  212. #uploader,
  213. #downloader {
  214. display: none;
  215. }
  216. /* -----------------------------------------------------------------------------
  217. Wifi panel
  218. -------------------------------------------------------------------------- */
  219. #networks .pure-g,
  220. #schedules .pure-g {
  221. border-bottom: 1px solid #eee;
  222. margin-bottom: 10px;
  223. padding: 10px 0 10px 0;
  224. }
  225. #networks .more {
  226. display: none;
  227. }
  228. #scanResult {
  229. color: #888;
  230. font-family: 'Courier New', monospace;
  231. font-size: 60%;
  232. margin-top: 10px;
  233. }