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.

281 lines
4.7 KiB

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