index.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /*---------------------------------------------------------------------------*/
  2. /*global*/
  3. body,
  4. body label,
  5. body input {
  6. font-family: 'Monospace', monospace !important;
  7. }
  8. body button {
  9. font-family: sans-serif !important;
  10. }
  11. /*content*/
  12. main {
  13. padding-top: 120px;
  14. }
  15. /*misc*/
  16. .hidden {
  17. display: none;
  18. }
  19. .overflow {
  20. white-space: nowrap;
  21. overflow: hidden;
  22. min-height: 52px;
  23. }
  24. /*---------------------------------------------------------------------------*/
  25. /*sticky footer*/
  26. html, body {
  27. height: 100%;
  28. padding: 0;
  29. margin: 0;
  30. }
  31. #wrapper {
  32. min-height: 100%;
  33. height: auto !important;
  34. height: 100%;
  35. margin: 0 auto -40px;
  36. }
  37. footer, #footer-push {
  38. height: 40px;
  39. }
  40. /*---------------------------------------------------------------------------*/
  41. /*header menu*/
  42. #menu {
  43. position: relative;
  44. color: #fff;
  45. }
  46. #menu span {
  47. font-size: 20px;
  48. display: inline-block;
  49. line-height: 60px;
  50. padding: 0 20px;
  51. }
  52. #menu div {
  53. position: absolute;
  54. top: 68px;
  55. right: 0;
  56. z-index: 10;
  57. width: 200px;
  58. box-shadow:
  59. 0 3px 1px -2px rgba(0,0,0,.2),
  60. 0 2px 2px 0 rgba(0,0,0,.14),
  61. 0 1px 5px 0 rgba(0,0,0,.12);
  62. }
  63. #menu em {
  64. display: block;
  65. font-size: 20px;
  66. line-height: 50px;
  67. font-style: normal;
  68. color: #333;
  69. cursor: pointer;
  70. padding: 0 20px;
  71. background: #fff;
  72. transition-duration: .28s;
  73. transition-timing-function: cubic-bezier(.4,0,.2,1);
  74. transition-property: background-color box-shadow;
  75. }
  76. #menu em:hover {
  77. background: #ececec;
  78. }
  79. #menu em.active {
  80. background: #ececec;
  81. }
  82. /*---------------------------------------------------------------------------*/
  83. /*scrollbar*/
  84. ::-webkit-scrollbar,
  85. ::-webkit-scrollbar-corner {
  86. height: 10px;
  87. width: 10px;
  88. }
  89. ::-webkit-scrollbar-track-piece {
  90. background: #ececec;
  91. border-radius: 2px;
  92. }
  93. ::-webkit-scrollbar-thumb {
  94. background: #afbdc3;
  95. border-radius: 6px;
  96. }
  97. ::-webkit-scrollbar-thumb:hover {
  98. background-color: #607d8b;
  99. }
  100. /*---------------------------------------------------------------------------*/
  101. /*bootstrap callout*/
  102. .bs-callout {
  103. border: 1px solid #eee;
  104. border-left-width: 5px;
  105. border-left-color: #607d8b;
  106. border-radius: 3px;
  107. background: #fcfcfc;
  108. padding: 20px 20px 10px 20px;
  109. margin: 0 0 30px 0;
  110. }
  111. /*---------------------------------------------------------------------------*/
  112. /*mdc controls*/
  113. /*button*/
  114. .m-button {
  115. background-color: #ececec !important;
  116. color: #000 !important;
  117. }
  118. .m-button:before {
  119. background-color: rgba(96, 125, 139, 0.56) !important;
  120. }
  121. .m-button:after {
  122. background-color: rgba(96, 125, 139, 0.56) !important;
  123. }
  124. /*switch*/
  125. .m-switch {
  126. cursor: pointer;
  127. /*display: table;*/
  128. margin: 14px 0;
  129. }
  130. .m-switch .mdc-switch__background {
  131. display: inline-block;
  132. bottom: 0px;
  133. left: 15px;
  134. }
  135. .m-switch .mdc-switch-label {
  136. font-size: 1rem;
  137. line-height: 1.5rem;
  138. padding: 0 0 0 30px;
  139. }
  140. /*textfield*/
  141. .m-textfield {
  142. font-size: 1rem;
  143. line-height: 1.5rem;
  144. width: 100%;
  145. height: 26px !important;
  146. margin-left: 10px;
  147. }
  148. .m-textfield input {
  149. border-bottom: 1px solid #ececec !important;
  150. padding-top: 3px;
  151. }
  152. /*---------------------------------------------------------------------------*/
  153. /*misc*/
  154. .navbar-brand {
  155. font-size: 1.5rem;
  156. }
  157. h4 {
  158. margin-bottom: 1.5rem;
  159. }
  160. .m-box-add {
  161. border-left-color: #f1b100;
  162. }
  163. .m-box-refresh {
  164. border-left-color: #d9534f;
  165. }
  166. .m-origin {
  167. font-size: 1.3rem;
  168. padding-left: 10px;
  169. }
  170. .m-btn-file {
  171. float: right;
  172. margin-bottom: 12px;
  173. }
  174. .m-btn-all {
  175. float: right;
  176. margin-bottom: 12px;
  177. }
  178. .m-btn-add {
  179. float: right;
  180. }
  181. .m-btn-remove {
  182. float: right;
  183. margin-left: 20px;
  184. }
  185. .m-btn-refresh {
  186. float: right;
  187. }
  188. footer {
  189. text-align: center;
  190. margin: 0 auto;
  191. }
  192. footer nav {
  193. font-size: .8rem;
  194. color: #212529;
  195. }
  196. footer nav a {
  197. text-decoration: none;
  198. color: #212529;
  199. }
  200. footer nav a:hover {
  201. text-decoration: underline;
  202. }