.zoom-widget { cursor: pointer; display: flex; position: relative; span { color: $color-gray-10; font-size: $fs14; margin-left: $size-1; } .icon svg { fill: $color-gray-10; height: 10px; width: 10px; } .dropdown { position: absolute; right: 0; top: 25px; width: 210px; z-index: 12; background-color: $color-white; border-radius: $br-small; box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25); li { color: $color-gray-60; cursor: pointer; font-size: $fs14; display: flex; padding: $size-2; span { color: $color-gray-20; font-size: $fs14; margin-left: auto; } &:hover { background-color: $color-primary-lighter; } } } }