index.css 2.7 KB

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