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.

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