_menu_bubble.scss 913 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .menububble {
  2. position: absolute;
  3. display: flex;
  4. z-index: 20;
  5. background: $color-black;
  6. border-radius: 5px;
  7. padding: 0.3rem;
  8. margin-bottom: 0.5rem;
  9. transform: translateX(-50%);
  10. visibility: hidden;
  11. opacity: 0;
  12. transition: opacity 0.2s, visibility 0.2s;
  13. &.is-active {
  14. opacity: 1;
  15. visibility: visible;
  16. }
  17. &__button {
  18. display: inline-flex;
  19. background: transparent;
  20. border: 0;
  21. color: $color-white;
  22. padding: 0.2rem 0.5rem;
  23. margin-right: 0.2rem;
  24. border-radius: 3px;
  25. cursor: pointer;
  26. &:last-child {
  27. margin-right: 0;
  28. }
  29. &:hover {
  30. background-color: rgba($color-white, 0.1);
  31. }
  32. &.is-active {
  33. background-color: rgba($color-white, 0.2);
  34. }
  35. }
  36. &__form {
  37. display: flex;
  38. align-items: center;
  39. }
  40. &__input {
  41. font: inherit;
  42. border: none;
  43. background: transparent;
  44. color: $color-white;
  45. }
  46. }