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.

289 lines
4.9 KiB

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