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.

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