popup.css 2.5 KB

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