2022-03-22 23:06:15 -04:00
|
|
|
.button {
|
2022-03-23 21:21:46 -04:00
|
|
|
user-select: none;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: var(--radius);
|
2022-11-08 03:23:28 -05:00
|
|
|
border: 1px solid var(--border);
|
|
|
|
padding: var(--gap-half) var(--gap);
|
2022-11-16 01:52:25 -05:00
|
|
|
color: var(--darker-gray);
|
2022-03-22 23:06:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.button:hover,
|
|
|
|
.button:focus {
|
2022-11-16 05:16:56 -05:00
|
|
|
color: var(--fg);
|
|
|
|
background: var(--bg);
|
2022-11-16 01:52:25 -05:00
|
|
|
border: 1px solid var(--darker-gray);
|
2022-03-22 23:06:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.button[disabled] {
|
2022-03-23 21:21:46 -04:00
|
|
|
cursor: not-allowed;
|
|
|
|
background: var(--lighter-gray);
|
|
|
|
color: var(--gray);
|
2022-03-22 23:06:15 -04:00
|
|
|
}
|
|
|
|
|
2022-11-16 05:16:56 -05:00
|
|
|
.button[disabled]:hover,
|
|
|
|
.button[disabled]:focus {
|
|
|
|
border: 1px solid currentColor;
|
|
|
|
}
|
|
|
|
|
2022-03-22 23:06:15 -04:00
|
|
|
.secondary {
|
2022-03-23 21:21:46 -04:00
|
|
|
background: var(--bg);
|
|
|
|
color: var(--fg);
|
2022-03-22 23:06:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.primary {
|
2022-03-23 21:21:46 -04:00
|
|
|
background: var(--fg);
|
|
|
|
color: var(--bg);
|
2022-03-22 23:06:15 -04:00
|
|
|
}
|
2022-11-08 03:23:28 -05:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.iconRight {
|
|
|
|
margin-left: var(--gap-half);
|
|
|
|
}
|
|
|
|
|
2022-11-15 23:50:54 -05:00
|
|
|
.iconLeft {
|
|
|
|
margin-right: var(--gap-half);
|
|
|
|
}
|
|
|
|
|
2022-11-08 03:23:28 -05:00
|
|
|
.icon svg {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-11-15 23:50:54 -05:00
|
|
|
transform: scale(1.2) translateY(-0.05em);
|
2022-11-08 03:23:28 -05:00
|
|
|
}
|