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.

286 lines
4.8 KiB

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