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.

321 lines
5.5 KiB

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