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.

312 lines
5.3 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. .terminal {
  99. font-family: 'Courier New', monospace !important;
  100. font-size: 80% !important;
  101. line-height: 100% !important;
  102. background-color: #000 !important;
  103. color: #0F0 !important;
  104. }
  105. /* -----------------------------------------------------------------------------
  106. Buttons
  107. -------------------------------------------------------------------------- */
  108. .pure-button {
  109. border-radius: 4px;
  110. color: white;
  111. letter-spacing: 0;
  112. margin-bottom: 10px;
  113. padding: 8px 8px;
  114. text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  115. }
  116. .main-buttons {
  117. margin: 20px auto;
  118. text-align: center;
  119. }
  120. .main-buttons button {
  121. width: 100px;
  122. }
  123. .button-reboot,
  124. .button-reconnect,
  125. .button-ha-del,
  126. .button-rfb-forget,
  127. .button-del-network,
  128. .button-del-schedule,
  129. .button-dbg-clear,
  130. .button-upgrade,
  131. .button-settings-factory {
  132. background: rgb(192, 0, 0); /* redish */
  133. }
  134. .button-update,
  135. .button-update-password,
  136. .button-add-network,
  137. .button-rfb-learn,
  138. .button-upgrade-browse,
  139. .button-ha-add,
  140. .button-ha-config,
  141. .button-settings-backup,
  142. .button-settings-restore,
  143. .button-dbgcmd,
  144. .button-apikey {
  145. background: rgb(0, 192, 0); /* green */
  146. }
  147. .button-add-switch-schedule,
  148. .button-add-light-schedule {
  149. background: rgb(0, 192, 0); /* green */
  150. display: none;
  151. }
  152. .button-more-network,
  153. .button-more-schedule,
  154. .button-wifi-scan,
  155. .button-rfb-send {
  156. background: rgb(255, 128, 0); /* orange */
  157. }
  158. .button-upgrade-browse,
  159. .button-dbgcmd,
  160. .button-ha-add,
  161. .button-apikey,
  162. .button-upgrade {
  163. margin-left: 5px;
  164. }
  165. /* -----------------------------------------------------------------------------
  166. Sliders
  167. -------------------------------------------------------------------------- */
  168. input.slider {
  169. margin-top: 10px;
  170. }
  171. span.slider {
  172. font-size: 70%;
  173. letter-spacing: 0;
  174. margin-left: 10px;
  175. margin-top: 7px;
  176. }
  177. /* -----------------------------------------------------------------------------
  178. Loading
  179. -------------------------------------------------------------------------- */
  180. .loading {
  181. background-image: url('images/loading.gif');
  182. display: none;
  183. height: 20px;
  184. margin: 8px 0 0 10px;
  185. width: 20px;
  186. }
  187. /* -----------------------------------------------------------------------------
  188. Menu
  189. -------------------------------------------------------------------------- */
  190. #menu .small {
  191. font-size: 60%;
  192. padding-left: 9px;
  193. }
  194. #menu div.footer {
  195. color: #999;
  196. font-size: 80%;
  197. padding: 10px;
  198. }
  199. #menu div.footer a {
  200. padding: 0;
  201. text-decoration: none;
  202. }
  203. /* -----------------------------------------------------------------------------
  204. RF Bridge panel
  205. -------------------------------------------------------------------------- */
  206. #panel-rfb fieldset {
  207. margin: 10px 2px;
  208. padding: 20px;
  209. }
  210. #panel-rfb input {
  211. margin-right: 5px;
  212. }
  213. #panel-rfb label {
  214. padding-top: 5px;
  215. }
  216. #panel-rfb input {
  217. text-align: center;
  218. }
  219. /* -----------------------------------------------------------------------------
  220. Admin panel
  221. -------------------------------------------------------------------------- */
  222. #upgrade-progress {
  223. display: none;
  224. height: 20px;
  225. margin-top: 10px;
  226. width: 100%;
  227. }
  228. #uploader,
  229. #downloader {
  230. display: none;
  231. }
  232. /* -----------------------------------------------------------------------------
  233. Wifi panel
  234. -------------------------------------------------------------------------- */
  235. #networks .pure-g,
  236. #schedules .pure-g {
  237. border-bottom: 1px solid #eee;
  238. margin-bottom: 10px;
  239. padding: 10px 0 10px 0;
  240. }
  241. #networks .more {
  242. display: none;
  243. }
  244. #haConfig,
  245. #scanResult {
  246. margin-top: 10px;
  247. display: none;
  248. padding: 10px;
  249. }
  250. /* -----------------------------------------------------------------------------
  251. Logs
  252. -------------------------------------------------------------------------- */
  253. #weblog {
  254. height: 400px;
  255. margin-bottom: 10px;
  256. }