File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
packages/styles/src/components Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ @layer components {
2+ .gecut-button {
3+ & .elevated {
4+ @apply text-primary bg-surfaceContainerLow elevation-1 state-primary hover:elevation-2 focus:elevation-1 disabled:opacity-35;
5+ }
6+ & .filled {
7+ @apply text-onPrimary bg-primary elevation-0 state-onPrimary hover:elevation-2 focus:elevation-1 disabled:opacity-15;
8+ }
9+ & .filled-tonal {
10+ @apply text-onSecondaryContainer bg-secondaryContainer elevation-0 state-onSecondaryContainer hover:elevation-2 focus:elevation-1 disabled:opacity-25;
11+ }
12+ & .outlined {
13+ @apply text-primary bg-transparent border border-outline state-primary disabled:opacity-60;
14+ }
15+ & .text {
16+ @apply text-primary bg-transparent state-primary disabled:opacity-60;
17+ }
18+
19+ & & - loader {
20+ @apply absolute inset-0 flex justify-center items-center transition-opacity duration-300 opacity-0;
21+ }
22+
23+ & & - body {
24+ @apply flex items-center justify-center h-full w-full gap-2 transition-opacity duration-300 opacity-100;
25+ }
26+
27+ & [loading ] {
28+ .gecut-button-loader {
29+ @apply opacity-100;
30+ }
31+ .gecut-button-body {
32+ @apply opacity-0;
33+ }
34+
35+ @apply cursor-default pointer-events-none;
36+ }
37+
38+ @apply relative rounded-full h-10 px-6 cursor-pointer focus-ring disabled:cursor-default disabled:pointer-events-none;
39+ }
40+ }
You can’t perform that action at this time.
0 commit comments