index.css 5.3 KB

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