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.

280 lines
4.7 KiB

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. }
  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. background: rgb(192, 0, 0); /* redish */
  120. }
  121. .button-update,
  122. .button-update-password,
  123. .button-add-network,
  124. .button-add-schedule,
  125. .button-rfb-learn,
  126. .button-upgrade-browse,
  127. .button-ha-add,
  128. .button-settings-backup,
  129. .button-settings-restore,
  130. .button-apikey {
  131. background: rgb(0, 192, 0); /* green */
  132. }
  133. .button-more-network,
  134. .button-more-schedule,
  135. .button-wifi-scan,
  136. .button-rfb-send {
  137. background: rgb(255, 128, 0); /* orange */
  138. }
  139. .button-upgrade-browse,
  140. .button-ha-add,
  141. .button-apikey,
  142. .button-upgrade {
  143. margin-left: 5px;
  144. }
  145. /* -----------------------------------------------------------------------------
  146. Sliders
  147. -------------------------------------------------------------------------- */
  148. input.slider {
  149. margin-top: 10px;
  150. }
  151. span.slider {
  152. font-size: 70%;
  153. letter-spacing: 0;
  154. margin-left: 10px;
  155. margin-top: 7px;
  156. }
  157. /* -----------------------------------------------------------------------------
  158. Loading
  159. -------------------------------------------------------------------------- */
  160. .loading {
  161. background-image: url('images/loading.gif');
  162. display: none;
  163. height: 20px;
  164. margin: 8px 0 0 10px;
  165. width: 20px;
  166. }
  167. /* -----------------------------------------------------------------------------
  168. Menu
  169. -------------------------------------------------------------------------- */
  170. #menu .small {
  171. font-size: 60%;
  172. padding-left: 9px;
  173. }
  174. #menu div.footer {
  175. color: #999;
  176. font-size: 80%;
  177. padding: 10px;
  178. }
  179. #menu div.footer a {
  180. padding: 0;
  181. text-decoration: none;
  182. }
  183. /* -----------------------------------------------------------------------------
  184. RF Bridge panel
  185. -------------------------------------------------------------------------- */
  186. #panel-rfb fieldset {
  187. margin: 10px 2px;
  188. padding: 20px;
  189. }
  190. #panel-rfb input {
  191. margin-right: 5px;
  192. }
  193. #panel-rfb label {
  194. padding-top: 5px;
  195. }
  196. #panel-rfb input {
  197. text-align: center;
  198. }
  199. /* -----------------------------------------------------------------------------
  200. Admin panel
  201. -------------------------------------------------------------------------- */
  202. #upgrade-progress {
  203. display: none;
  204. height: 20px;
  205. margin-top: 10px;
  206. width: 100%;
  207. }
  208. #uploader,
  209. #downloader {
  210. display: none;
  211. }
  212. /* -----------------------------------------------------------------------------
  213. Wifi panel
  214. -------------------------------------------------------------------------- */
  215. #networks .pure-g,
  216. #schedules .pure-g {
  217. border-bottom: 1px solid #eee;
  218. margin-bottom: 10px;
  219. padding: 10px 0 10px 0;
  220. }
  221. #networks .more {
  222. display: none;
  223. }
  224. #scanResult {
  225. color: #888;
  226. font-family: 'Courier New', monospace;
  227. font-size: 60%;
  228. margin-top: 10px;
  229. }