.dropdown-menu { padding: 15px; min-width: 325px; transform: translate3d(0px, 54px, 0px) !important; z-index: 511; border: unset; top: 40%; transition: all 0.1s; overflow: visible !important; &.user-profile-dropdown { min-width: 125px; .dropdown-item { padding: 5px 0 !important; } } &:after { content: ""; position: absolute; top: -10px; left: 15px; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 10px solid #fff; } } .custom-dropdown { .custom-dropdown-toggle { .custom-dropdown-toggle-flag { width: 15px; min-width: 15px; height: 15px; } } &:not(:hover) > .custom-dropdown-body { visibility: hidden; opacity: 0; -webkit-transform: translateY(15px); -moz-transform: translateY(15px); -ms-transform: translateY(15px); -o-transform: translateY(15px); transform: translateY(15px); } .custom-dropdown-body { position: absolute; top: 22px; left: 0; width: max-content; min-width: 220px; background: var(--white); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); border-radius: 10px; transition: all 0.3s ease; z-index: 580; .rtl & { left: auto; right: 0; } &__item { color: var(--dark); border-left: 2px solid transparent; & > div { transition: all .3s ease; } &.active { border-left: 2px solid var(--primary); color: var(--primary); & * { color: var(--primary); } } .rtl & { border-left: none; border-right: 2px solid transparent; &.active { border-left: none; border-right: 2px solid var(--primary); } } &:hover { background-color: $gray-100; & > div { transform: translateX(8px); } } } &__flag { width: 24px; min-width: 24px; height: 24px; } } }