1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

init: First version

This commit is contained in:
2024-08-19 23:08:50 +00:00
commit 3ec7d9a722
134 changed files with 17088 additions and 0 deletions
+63
View File
@@ -0,0 +1,63 @@
@import "../theme.scss";
.button
{
@include formBase;
cursor: pointer;
gap: $spacingSNudge;
justify-content: center;
text-align: left;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
&.iconBefore > :first-child,
&.iconAfter > :last-child
{
font-size: $fontSizeBase600;
height: $fontSizeBase600;
width: $fontSizeBase600;
}
&:not(.content)
{
min-width: 40px;
padding: $spacingXS;
justify-content: center;
}
&.secondary
{
border-color: transparent;
&:hover,
&:focus-visible
{
border: $strokeWidthThin solid $colorNeutralForeground1;
color: $colorNeutralForeground1;
}
}
&.primary
{
background-image: linear-gradient($colorNeutralBackgroundInverted, $colorNeutralBackgroundInverted);
&:not(:disabled, [disabled])
{
&:hover,
&:focus-visible
{
color: $colorNeutralForegroundInverted;
&:active
{
background-image: linear-gradient($colorNeutralForeground3Pressed, $colorNeutralForeground3Pressed);
color: $colorNeutralForegroundInverted2;
}
}
}
}
}