index.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. /*---------------------------------------------------------------------------*/
  2. /*global*/
  3. html, body {
  4. height: auto;
  5. min-height: auto;
  6. overflow: hidden;
  7. background: #fff;
  8. padding: 0;
  9. margin: 0;
  10. }
  11. body,
  12. body label,
  13. body input {
  14. font-family: 'Monospace', monospace !important;
  15. }
  16. body select,
  17. body button,
  18. body a.mdc-tab {
  19. font-family: sans-serif !important;
  20. }
  21. .mdc-elevation--z2 {
  22. box-shadow:
  23. 0 3px 1px -2px rgba(0,0,0,.2),
  24. 0 2px 2px 0 rgba(0,0,0,.14),
  25. 0 1px 5px 0 rgba(0,0,0,.12);
  26. }
  27. #popup {
  28. width: 350px;
  29. padding: 20px;
  30. -webkit-user-select: none;
  31. }
  32. #popup:after { content: ''; display: block; clear: both; }
  33. /*---------------------------------------------------------------------------*/
  34. /*color modes*/
  35. body.dark {
  36. filter: invert(100%) hue-rotate(180deg);
  37. background-color: #e4e4e4;
  38. }
  39. body.dark .m-select {
  40. background-color: #c5c5c5;
  41. }
  42. body.dark .m-button {
  43. background-color: #c5c5c5 !important;
  44. }
  45. @media (prefers-color-scheme: dark) {
  46. body.auto {
  47. filter: invert(100%) hue-rotate(180deg);
  48. background-color: #e4e4e4;
  49. }
  50. body.auto .m-select {
  51. background-color: #c5c5c5;
  52. }
  53. body.auto .m-button {
  54. background-color: #c5c5c5 !important;
  55. }
  56. }
  57. /*---------------------------------------------------------------------------*/
  58. /*button*/
  59. /*defaults button*/
  60. #popup button:nth-child(2) { float: right; }
  61. /*advanced options button*/
  62. #popup button:nth-child(2n+3) { float: right; margin-top: 20px; }
  63. .m-button {
  64. background-color: #ececec !important;
  65. color: #000 !important;
  66. }
  67. .m-button:before {
  68. background-color: rgba(96, 125, 139, 0.56) !important;
  69. }
  70. .m-button:after {
  71. background-color: rgba(96, 125, 139, 0.56) !important;
  72. }
  73. /*---------------------------------------------------------------------------*/
  74. /*select*/
  75. .m-select {
  76. font-size: 14px;
  77. line-height: 17px;
  78. color: #000;
  79. text-transform: uppercase;
  80. background-color: #ececec;
  81. border: none;
  82. border-radius: 2px;
  83. cursor: pointer;
  84. padding: 9px 12px;
  85. }
  86. #popup .m-select {
  87. width: 350px;
  88. margin: 20px 0 0 0;
  89. }
  90. /*---------------------------------------------------------------------------*/
  91. /*switch*/
  92. .m-switch {
  93. cursor: pointer;
  94. margin: 7px 0;
  95. }
  96. .m-switch:first-child {
  97. margin-top: 12px;
  98. }
  99. .m-switch:last-child {
  100. margin-bottom: 10px;
  101. }
  102. .m-switch .mdc-switch__background {
  103. display: inline-block;
  104. bottom: 5px;
  105. left: 15px;
  106. }
  107. .m-switch .mdc-switch-label {
  108. font-size: 1rem;
  109. line-height: 1.5rem;
  110. white-space: nowrap;
  111. overflow: hidden;
  112. text-overflow: ellipsis;
  113. display: inline-block;
  114. padding: 0 0 0 30px;
  115. }
  116. #popup .m-switch .mdc-switch-label { width: 276px; }
  117. /*---------------------------------------------------------------------------*/
  118. /*tabs*/
  119. .m-tabs {
  120. border: 0;
  121. height: 36px;
  122. margin: 20px 0 0 0;
  123. display: flex;
  124. }
  125. .m-tabs a {
  126. line-height: 36px;
  127. border-bottom: 1px solid #e0e0e0;
  128. display: inline-block;
  129. width: 33.33%;
  130. max-width: 33.33%;
  131. min-width: 33.33%;
  132. height: 36px;
  133. max-height: 36px;
  134. min-height: 36px;
  135. padding: 0;
  136. align-content: stretch;
  137. }
  138. .m-tabs .mdc-tab-bar__indicator { background: #607d8b; }
  139. .m-panels {}
  140. .m-panel { display: none; }
  141. .m-panel.is-active { display: block; }
  142. /*---------------------------------------------------------------------------*/
  143. /*options scroll*/
  144. .scroll {
  145. margin-top: 10px;
  146. overflow-y: auto;
  147. overflow-x: hidden;
  148. }
  149. .scroll.max {
  150. height: 324px;
  151. }
  152. /*---------------------------------------------------------------------------*/
  153. /*scrollbar*/
  154. ::-webkit-scrollbar {
  155. width: 10px;
  156. height: 10px;
  157. }
  158. ::-webkit-scrollbar-track-piece {
  159. background: #ececec;
  160. -webkit-border-radius: 8px;
  161. }
  162. ::-webkit-scrollbar-thumb {
  163. height: 50px;
  164. background: #afbdc3;
  165. -webkit-border-radius: 8px;
  166. outline-offset: -2px;
  167. }
  168. ::-webkit-scrollbar-thumb:hover {
  169. height: 50px;
  170. background-color: #607d8b;
  171. -webkit-border-radius: 8px;
  172. }