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.

127 lines
1.8 KiB

8 years ago
  1. * {
  2. -webkit-box-sizing: border-box;
  3. -moz-box-sizing: border-box;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. padding: 20px;
  8. width: 600px;
  9. }
  10. span.status,
  11. span.network,
  12. span.ip {
  13. font-weight: bold;
  14. }
  15. form header {
  16. margin: 0 0 20px 0;
  17. }
  18. form header div {
  19. font-size: 90%;
  20. color: #999;
  21. }
  22. form header h2 {
  23. margin: 0 0 5px 0;
  24. }
  25. form header img {
  26. margin: 0 0 10px 0;
  27. }
  28. form > div {
  29. clear: both;
  30. overflow: hidden;
  31. padding: 1px;
  32. margin: 0 0 10px 0;
  33. }
  34. form > div > fieldset > div > div {
  35. margin: 0 0 5px 0;
  36. }
  37. form > div > label,
  38. legend {
  39. width: 30%;
  40. float: left;
  41. padding-right: 10px;
  42. }
  43. form > div > div,
  44. form > div > fieldset > div {
  45. width: 70%;
  46. float: right;
  47. }
  48. form > div > fieldset label {
  49. font-size: 90%;
  50. }
  51. fieldset {
  52. border: 0;
  53. padding: 0;
  54. }
  55. input[type=text],
  56. input[type=email],
  57. input[type=url],
  58. input[type=password],
  59. textarea {
  60. width: 100%;
  61. border-top: 1px solid #ccc;
  62. border-left: 1px solid #ccc;
  63. border-right: 1px solid #eee;
  64. border-bottom: 1px solid #eee;
  65. }
  66. input[type=text],
  67. input[type=email],
  68. input[type=url],
  69. input[type=password] {
  70. width: 100%;
  71. }
  72. input[type=text]:focus,
  73. input[type=email]:focus,
  74. input[type=url]:focus,
  75. input[type=password]:focus,
  76. textarea:focus {
  77. outline: 0;
  78. border-color: #4697e4;
  79. }
  80. @media (max-width: 600px) {
  81. body {
  82. width: 100%;
  83. }
  84. form > div {
  85. margin: 0 0 15px 0;
  86. }
  87. form > div > label,
  88. legend {
  89. width: 100%;
  90. float: none;
  91. margin: 0 0 5px 0;
  92. }
  93. form > div > div,
  94. form > div > fieldset > div {
  95. width: 100%;
  96. float: none;
  97. }
  98. input[type=text],
  99. input[type=email],
  100. input[type=url],
  101. input[type=password],
  102. textarea,
  103. select {
  104. width: 100%;
  105. }
  106. }