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.

305 lines
5.2 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-upgrade,
  130. .button-settings-factory {
  131. background: rgb(192, 0, 0); /* redish */
  132. }
  133. .button-update,
  134. .button-update-password,
  135. .button-add-network,
  136. .button-add-schedule,
  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-more-network,
  148. .button-more-schedule,
  149. .button-wifi-scan,
  150. .button-rfb-send {
  151. background: rgb(255, 128, 0); /* orange */
  152. }
  153. .button-upgrade-browse,
  154. .button-dbgcmd,
  155. .button-ha-add,
  156. .button-apikey,
  157. .button-upgrade {
  158. margin-left: 5px;
  159. }
  160. /* -----------------------------------------------------------------------------
  161. Sliders
  162. -------------------------------------------------------------------------- */
  163. input.slider {
  164. margin-top: 10px;
  165. }
  166. span.slider {
  167. font-size: 70%;
  168. letter-spacing: 0;
  169. margin-left: 10px;
  170. margin-top: 7px;
  171. }
  172. /* -----------------------------------------------------------------------------
  173. Loading
  174. -------------------------------------------------------------------------- */
  175. .loading {
  176. background-image: url('images/loading.gif');
  177. display: none;
  178. height: 20px;
  179. margin: 8px 0 0 10px;
  180. width: 20px;
  181. }
  182. /* -----------------------------------------------------------------------------
  183. Menu
  184. -------------------------------------------------------------------------- */
  185. #menu .small {
  186. font-size: 60%;
  187. padding-left: 9px;
  188. }
  189. #menu div.footer {
  190. color: #999;
  191. font-size: 80%;
  192. padding: 10px;
  193. }
  194. #menu div.footer a {
  195. padding: 0;
  196. text-decoration: none;
  197. }
  198. /* -----------------------------------------------------------------------------
  199. RF Bridge panel
  200. -------------------------------------------------------------------------- */
  201. #panel-rfb fieldset {
  202. margin: 10px 2px;
  203. padding: 20px;
  204. }
  205. #panel-rfb input {
  206. margin-right: 5px;
  207. }
  208. #panel-rfb label {
  209. padding-top: 5px;
  210. }
  211. #panel-rfb input {
  212. text-align: center;
  213. }
  214. /* -----------------------------------------------------------------------------
  215. Admin panel
  216. -------------------------------------------------------------------------- */
  217. #upgrade-progress {
  218. display: none;
  219. height: 20px;
  220. margin-top: 10px;
  221. width: 100%;
  222. }
  223. #uploader,
  224. #downloader {
  225. display: none;
  226. }
  227. /* -----------------------------------------------------------------------------
  228. Wifi panel
  229. -------------------------------------------------------------------------- */
  230. #networks .pure-g,
  231. #schedules .pure-g {
  232. border-bottom: 1px solid #eee;
  233. margin-bottom: 10px;
  234. padding: 10px 0 10px 0;
  235. }
  236. #networks .more {
  237. display: none;
  238. }
  239. #haConfig,
  240. #scanResult {
  241. margin-top: 10px;
  242. display: none;
  243. padding: 10px;
  244. }
  245. /* -----------------------------------------------------------------------------
  246. Logs
  247. -------------------------------------------------------------------------- */
  248. #weblog {
  249. height: 400px;
  250. }