mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
* More global css * Migrate 404.tsx * Header.tsx partial * links.tsx * 500.tsx * AbilityIcon.tsx * BuildStats.tsx progress * about.tsx * admin.tsx * Adjust button border * Stylelint
44 lines
1.0 KiB
CSS
44 lines
1.0 KiB
CSS
.button {
|
|
position: relative;
|
|
display: inline-flex;
|
|
width: auto;
|
|
min-width: var(--sizes-10);
|
|
height: var(--sizes-10);
|
|
align-items: center;
|
|
justify-content: center;
|
|
appearance: none;
|
|
background-color: var(--theme-color);
|
|
border-radius: var(--radii-md);
|
|
color: var(--chakra-colors-gray-800);
|
|
font-size: var(--fontSizes-md);
|
|
font-weight: var(--fontWeights-semibold);
|
|
line-height: 1.2;
|
|
outline: 2px solid transparent;
|
|
outline-offset: 2px;
|
|
padding-inline-end: var(--space-4);
|
|
padding-inline-start: var(--space-4);
|
|
transition-duration: var(--transition-duration-normal);
|
|
transition-property: var(--transition-property-common);
|
|
user-select: none;
|
|
vertical-align: middle;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.button:focus {
|
|
outline: 2px solid var(--theme-color-secondary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.button:hover {
|
|
background-color: var(--theme-color-lighter);
|
|
}
|
|
|
|
.disabled {
|
|
cursor: not-allowed;
|
|
opacity: var(--disabled-opacity);
|
|
}
|
|
|
|
.disabled:hover {
|
|
background-color: var(--theme-color);
|
|
}
|