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.

284 lines
4.7 KiB

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