popup.css 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. html, body { height: auto; min-height: auto; }
  2. #popup { width: 350px; padding: 20px; -webkit-user-select: none; }
  3. #popup:after { content: ''; display: block; clear: both; }
  4. #popup,
  5. #popup .mdl-button,
  6. select { letter-spacing: 0.2px; }
  7. select {
  8. font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
  9. font-size: 14px; line-height: 17px;
  10. text-transform: uppercase;
  11. background-color: #ececec;
  12. border: none; border-radius: 2px;
  13. cursor: pointer;
  14. width: 350px; padding: 9px 12px;
  15. margin: 20px 0 0 0;
  16. }
  17. /*defaults button*/
  18. button:nth-child(2) { float: right; }
  19. /*advanced options button*/
  20. button:nth-child(2n+4) { float: right; margin-top: 20px; }
  21. /*tabs*/
  22. .mdl-tabs__tab-bar {
  23. border: 0;
  24. height: 36px;
  25. margin: 20px 0 0 0;
  26. }
  27. /*tab buttons*/
  28. .mdl-tabs__tab {
  29. line-height: 36px;
  30. border-bottom: 1px solid #e0e0e0;
  31. height: 36px;
  32. }
  33. /*switch label*/
  34. .mdl-switch__label {
  35. white-space: nowrap;
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. display: inline-block;
  39. width: 261px;
  40. }
  41. /*options scroll*/
  42. .scroll {
  43. margin-top: 15px;
  44. overflow-y: auto;
  45. overflow-x: hidden;
  46. }
  47. .scroll.max {
  48. height: 324px;
  49. }
  50. .scroll .mdl-grid { padding: 0 0 8px 0; }
  51. /*custom scrollbars in WebKit*/
  52. ::-webkit-scrollbar {
  53. width: 10px;
  54. }
  55. ::-webkit-scrollbar-track-piece {
  56. background: #ececec;
  57. -webkit-border-radius: 8px;
  58. }
  59. ::-webkit-scrollbar-thumb {
  60. height: 50px;
  61. background: rgba(96,125,139,.5);
  62. -webkit-border-radius: 8px;
  63. outline: 2px solid #333;
  64. outline-offset: -2px;
  65. }
  66. ::-webkit-scrollbar-thumb:hover {
  67. height: 50px;
  68. background-color: #607d8b;
  69. -webkit-border-radius: 8px;
  70. }