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.

316 lines
5.4 KiB

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