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.

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