popup.css 2.4 KB

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