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.

288 lines
4.8 KiB

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