Path: blob/1.0-develop/resources/scripts/components/elements/button/style.module.css
10263 views
.button {1@apply px-4 py-2 inline-flex items-center justify-center;2@apply rounded text-base font-semibold transition-all duration-100;3@apply focus:ring-[3px] focus:ring-offset-2 focus:ring-offset-gray-700 focus:ring-opacity-50;45/* Sizing Controls */6&.small {7@apply px-4 py-0 h-8 font-normal text-sm focus:ring-2;8}910&.large {11@apply px-5 py-3;12}1314&.secondary {15@apply text-gray-50 bg-transparent;1617&:disabled {18background: transparent !important;19}20}2122&:disabled {23@apply cursor-not-allowed;24}2526&.square {27@apply p-0 w-12 h-12;2829&.small {30@apply w-8 h-8;31}32}33}3435.primary {36@apply bg-blue-600 text-blue-50;37@apply hover:bg-blue-500 active:bg-blue-500 focus:ring-blue-400 focus:ring-opacity-75;3839&.secondary {40@apply hover:bg-blue-600 active:bg-blue-600;41}4243&:disabled {44@apply bg-blue-500/75 text-blue-200/75;45}46}4748.text {49@apply bg-gray-500 text-gray-50;50@apply hover:bg-gray-400 active:bg-gray-400 focus:ring-gray-300 focus:ring-opacity-50;5152&.secondary {53@apply hover:bg-gray-500 active:bg-gray-500;54}5556&:disabled {57@apply bg-gray-500/75 text-gray-200/75;58}59}6061.danger {62@apply bg-red-600 text-gray-50;63@apply hover:bg-red-500 active:bg-red-500 focus:ring-red-400 focus:ring-opacity-75;6465&.secondary {66@apply hover:bg-red-600 active:bg-red-600;67}6869&:disabled {70@apply bg-red-600/75 text-red-50/75;71}72}737475