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.

289 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-rfb-learn,
  128. .button-upgrade-browse,
  129. .button-ha-add,
  130. .button-settings-backup,
  131. .button-settings-restore,
  132. .button-apikey {
  133. background: rgb(0, 192, 0); /* green */
  134. }
  135. .button-add-switch-schedule,
  136. .button-add-light-schedule {
  137. background: rgb(0, 192, 0); /* green */
  138. display: none;
  139. }
  140. .button-more-network,
  141. .button-more-schedule,
  142. .button-wifi-scan,
  143. .button-rfb-send {
  144. background: rgb(255, 128, 0); /* orange */
  145. }
  146. .button-upgrade-browse,
  147. .button-ha-add,
  148. .button-apikey,
  149. .button-upgrade {
  150. margin-left: 5px;
  151. }
  152. /* -----------------------------------------------------------------------------
  153. Sliders
  154. -------------------------------------------------------------------------- */
  155. input.slider {
  156. margin-top: 10px;
  157. }
  158. span.slider {
  159. font-size: 70%;
  160. letter-spacing: 0;
  161. margin-left: 10px;
  162. margin-top: 7px;
  163. }
  164. /* -----------------------------------------------------------------------------
  165. Loading
  166. -------------------------------------------------------------------------- */
  167. .loading {
  168. background-image: url('images/loading.gif');
  169. display: none;
  170. height: 20px;
  171. margin: 8px 0 0 10px;
  172. width: 20px;
  173. }
  174. /* -----------------------------------------------------------------------------
  175. Menu
  176. -------------------------------------------------------------------------- */
  177. #menu .small {
  178. font-size: 60%;
  179. padding-left: 9px;
  180. }
  181. #menu div.footer {
  182. color: #999;
  183. font-size: 80%;
  184. padding: 10px;
  185. }
  186. #menu div.footer a {
  187. padding: 0;
  188. text-decoration: none;
  189. }
  190. /* -----------------------------------------------------------------------------
  191. RF Bridge panel
  192. -------------------------------------------------------------------------- */
  193. #panel-rfb fieldset {
  194. margin: 10px 2px;
  195. padding: 20px;
  196. }
  197. #panel-rfb input {
  198. margin-right: 5px;
  199. }
  200. #panel-rfb label {
  201. padding-top: 5px;
  202. }
  203. #panel-rfb input {
  204. text-align: center;
  205. }
  206. /* -----------------------------------------------------------------------------
  207. Admin panel
  208. -------------------------------------------------------------------------- */
  209. #upgrade-progress {
  210. display: none;
  211. height: 20px;
  212. margin-top: 10px;
  213. width: 100%;
  214. }
  215. #uploader,
  216. #downloader {
  217. display: none;
  218. }
  219. /* -----------------------------------------------------------------------------
  220. Wifi panel
  221. -------------------------------------------------------------------------- */
  222. #networks .pure-g,
  223. #schedules .pure-g {
  224. border-bottom: 1px solid #eee;
  225. margin-bottom: 10px;
  226. padding: 10px 0 10px 0;
  227. }
  228. #networks .more {
  229. display: none;
  230. }
  231. #scanResult {
  232. color: #888;
  233. font-family: 'Courier New', monospace;
  234. font-size: 60%;
  235. margin-top: 10px;
  236. }