index.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  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. .mdc-elevation--z2 {
  25. box-shadow:
  26. 0 3px 1px -2px rgba(0,0,0,.2),
  27. 0 2px 2px 0 rgba(0,0,0,.14),
  28. 0 1px 5px 0 rgba(0,0,0,.12);
  29. }
  30. /*---------------------------------------------------------------------------*/
  31. /*color modes*/
  32. body.dark {
  33. filter: invert(100%) hue-rotate(180deg);
  34. background-color: rgb(25, 25, 25);
  35. }
  36. body.dark .navbar {
  37. filter: invert(90%) hue-rotate(180deg);
  38. background-color: transparent;
  39. }
  40. body.dark .navbar #menu > div {
  41. filter: invert(100%) hue-rotate(180deg);
  42. }
  43. body.dark .m-select {
  44. background-color: #c5c5c5;
  45. }
  46. body.dark .m-button {
  47. background-color: #c5c5c5 !important;
  48. }
  49. @media (prefers-color-scheme: dark) {
  50. body.auto {
  51. filter: invert(100%) hue-rotate(180deg);
  52. background-color: rgb(25, 25, 25);
  53. }
  54. body.auto .navbar {
  55. filter: invert(90%) hue-rotate(180deg);
  56. background-color: transparent;
  57. }
  58. body.auto .navbar #menu > div {
  59. filter: invert(100%) hue-rotate(180deg);
  60. }
  61. body.auto .m-select {
  62. background-color: #c5c5c5;
  63. }
  64. body.auto .m-button {
  65. background-color: #c5c5c5 !important;
  66. }
  67. }
  68. /*---------------------------------------------------------------------------*/
  69. /*sticky footer*/
  70. html, body {
  71. height: 100%;
  72. padding: 0;
  73. margin: 0;
  74. }
  75. #wrapper {
  76. min-height: 100%;
  77. height: auto !important;
  78. height: 100%;
  79. margin: 0 auto -40px;
  80. }
  81. footer, #footer-push {
  82. height: 40px;
  83. }
  84. /*---------------------------------------------------------------------------*/
  85. /*header menu*/
  86. #menu {
  87. position: relative;
  88. color: #fff;
  89. }
  90. #menu span {
  91. font-size: 20px;
  92. display: inline-block;
  93. line-height: 60px;
  94. padding: 0 20px;
  95. }
  96. #menu div {
  97. position: absolute;
  98. top: 68px;
  99. right: 0;
  100. z-index: 10;
  101. width: 200px;
  102. box-shadow:
  103. 0 3px 1px -2px rgba(0,0,0,.2),
  104. 0 2px 2px 0 rgba(0,0,0,.14),
  105. 0 1px 5px 0 rgba(0,0,0,.12);
  106. }
  107. #menu em {
  108. display: block;
  109. font-size: 20px;
  110. line-height: 50px;
  111. font-style: normal;
  112. color: #333;
  113. cursor: pointer;
  114. padding: 0 20px;
  115. background: #fff;
  116. transition-duration: .28s;
  117. transition-timing-function: cubic-bezier(.4,0,.2,1);
  118. transition-property: background-color box-shadow;
  119. }
  120. #menu em:hover {
  121. background: #ececec;
  122. }
  123. #menu em.active {
  124. background: #ececec;
  125. }
  126. /*---------------------------------------------------------------------------*/
  127. /*scrollbar*/
  128. ::-webkit-scrollbar,
  129. ::-webkit-scrollbar-corner {
  130. height: 10px;
  131. width: 10px;
  132. }
  133. ::-webkit-scrollbar-track-piece {
  134. background: #ececec;
  135. border-radius: 2px;
  136. }
  137. ::-webkit-scrollbar-thumb {
  138. background: #afbdc3;
  139. border-radius: 6px;
  140. }
  141. ::-webkit-scrollbar-thumb:hover {
  142. background-color: #607d8b;
  143. }
  144. /*---------------------------------------------------------------------------*/
  145. /*bootstrap callout*/
  146. .bs-callout {
  147. border: 1px solid #eee;
  148. border-left-width: 5px;
  149. border-left-color: #607d8b;
  150. border-radius: 3px;
  151. background: #fcfcfc;
  152. padding: 20px 20px 10px 20px;
  153. margin: 0 0 30px 0;
  154. }
  155. /*---------------------------------------------------------------------------*/
  156. /*mdc controls*/
  157. /*button*/
  158. .m-button {
  159. background-color: #ececec !important;
  160. color: #000 !important;
  161. }
  162. .m-button:before {
  163. background-color: rgba(96, 125, 139, 0.56) !important;
  164. }
  165. .m-button:after {
  166. background-color: rgba(96, 125, 139, 0.56) !important;
  167. }
  168. /*switch*/
  169. .m-switch {
  170. cursor: pointer;
  171. /*display: table;*/
  172. margin: 14px 0;
  173. }
  174. .m-switch .mdc-switch__background {
  175. display: inline-block;
  176. bottom: 0px;
  177. left: 15px;
  178. }
  179. .m-switch .mdc-switch-label {
  180. font-size: 1rem;
  181. line-height: 1.5rem;
  182. padding: 0 0 0 30px;
  183. }
  184. /*textfield*/
  185. .m-textfield {
  186. font-size: 1rem;
  187. line-height: 1.5rem;
  188. width: 100%;
  189. height: 26px !important;
  190. margin-left: 10px;
  191. }
  192. .m-textfield input {
  193. border-bottom: 1px solid #ececec !important;
  194. padding-top: 3px;
  195. }
  196. /*---------------------------------------------------------------------------*/
  197. /*select*/
  198. .m-select {
  199. font-size: 14px;
  200. line-height: 17px;
  201. color: #000;
  202. text-transform: uppercase;
  203. background-color: #ececec;
  204. border: none;
  205. border-radius: 2px;
  206. cursor: pointer;
  207. padding: 9px 12px;
  208. }
  209. .bs-callout .m-select {
  210. margin: 2px 20px 3px 10px;
  211. }
  212. /*---------------------------------------------------------------------------*/
  213. /*misc*/
  214. .navbar-brand {
  215. font-size: 1.5rem;
  216. }
  217. h4 {
  218. margin-bottom: 1.5rem;
  219. }
  220. .m-box-add {
  221. border-left-color: #f1b100;
  222. }
  223. .m-box-refresh {
  224. border-left-color: #d9534f;
  225. }
  226. .m-origin {
  227. font-size: 1.3rem;
  228. padding-left: 10px;
  229. }
  230. .m-btn-file {
  231. float: right;
  232. margin-bottom: 12px;
  233. }
  234. .m-btn-all {
  235. float: right;
  236. margin-bottom: 12px;
  237. }
  238. .m-btn-add {
  239. float: right;
  240. }
  241. .m-btn-remove {
  242. float: right;
  243. margin-left: 20px;
  244. }
  245. .m-btn-refresh {
  246. float: right;
  247. }
  248. footer {
  249. text-align: center;
  250. margin: 0 auto;
  251. }
  252. footer nav {
  253. font-size: .8rem;
  254. color: #212529;
  255. }
  256. footer nav a {
  257. text-decoration: none;
  258. color: #212529;
  259. }
  260. footer nav a:hover {
  261. text-decoration: underline;
  262. }