Path: blob/1.0-develop/resources/scripts/components/elements/dropdown/style.module.css
10262 views
.menu {1@apply relative inline-block text-left;23& .button {4@apply inline-flex justify-center items-center w-full py-2 text-neutral-100 rounded-md;5@apply transition-all duration-100;67&:hover, &[aria-expanded="true"] {8@apply bg-neutral-600 text-white;9}1011&:focus, &:focus-within, &:active {12@apply ring-2 ring-opacity-50 ring-neutral-300 text-white;13}1415& svg {16@apply w-5 h-5 transition-transform duration-75;17}1819&[aria-expanded="true"] svg[data-animated="true"] {20@apply rotate-180;21}22}2324& .items_container {25@apply absolute right-0 mt-2 origin-top-right bg-neutral-900 rounded z-10;26}27}2829.menu_item {30@apply flex items-center rounded w-full px-2 py-2;3132& svg {33@apply w-4 h-4 mr-4 text-neutral-300;34}3536&:hover, &:focus {37@apply bg-blue-500 text-blue-50;3839& svg {40@apply text-blue-50;41}42}4344&.danger {45&:hover, &:focus {46@apply bg-red-500 text-red-50;4748& svg {49@apply text-red-50;50}51}52}5354&.disabled {55@apply cursor-not-allowed hover:bg-neutral-800 opacity-30 focus:bg-transparent focus:hover:bg-neutral-800;56}57}585960