You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_drawer.scss 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .drawer-portal {
  2. position: absolute;
  3. left: 0;
  4. right: 0;
  5. bottom: 0;
  6. z-index: $drawerZ;
  7. }
  8. .drawer-menu {
  9. padding: 0 16px;
  10. max-height: 50vh;
  11. background: #242528;
  12. border-radius: 16px 16px 0 0;
  13. overflow-y: auto;
  14. &.expanded {
  15. max-height: 80vh;
  16. }
  17. .drawer-toggle {
  18. display: flex;
  19. justify-content: center;
  20. align-items: center;
  21. height: 44px;
  22. cursor: pointer;
  23. svg {
  24. fill: none;
  25. }
  26. }
  27. .popupmenu {
  28. margin: auto;
  29. width: 100%;
  30. }
  31. .popupmenu__item {
  32. height: 48px;
  33. }
  34. &#{&} .overflow-menu {
  35. margin: auto;
  36. font-size: 1.2em;
  37. list-style-type: none;
  38. padding: 0;
  39. .overflow-menu-item {
  40. box-sizing: border-box;
  41. height: 48px;
  42. padding: 12px 16px;
  43. align-items: center;
  44. color: $overflowMenuItemColor;
  45. cursor: pointer;
  46. display: flex;
  47. font-size: 16px;
  48. div {
  49. display: flex;
  50. flex-direction: row;
  51. align-items: center;
  52. }
  53. &.unclickable {
  54. cursor: default;
  55. }
  56. @media (hover: hover) and (pointer: fine) {
  57. &.unclickable:hover {
  58. background: inherit;
  59. }
  60. }
  61. &.disabled {
  62. cursor: initial;
  63. color: #3b475c;
  64. }
  65. }
  66. .profile-text {
  67. max-width: 100%;
  68. text-overflow: ellipsis;
  69. overflow: hidden;
  70. white-space: nowrap;
  71. }
  72. }
  73. }