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.9KB

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