78 lines
2.0 KiB
CSS
78 lines
2.0 KiB
CSS
.usage-record-action-button {
|
|
min-height: 34px;
|
|
border-radius: 999px !important;
|
|
font-weight: 650 !important;
|
|
letter-spacing: 0.01em;
|
|
transition:
|
|
transform 160ms ease,
|
|
box-shadow 160ms ease,
|
|
border-color 160ms ease,
|
|
background 160ms ease !important;
|
|
}
|
|
|
|
.usage-record-action-button:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.usage-record-action-button:disabled,
|
|
.usage-record-action-button.semi-button-disabled {
|
|
transform: none;
|
|
opacity: 0.58;
|
|
}
|
|
|
|
.usage-record-action-button-primary {
|
|
border: 0 !important;
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--brand-gradient-from),
|
|
var(--brand-gradient-to)
|
|
) !important;
|
|
color: #fff !important;
|
|
box-shadow: 0 12px 28px
|
|
color-mix(in srgb, var(--brand-gradient-via) 28%, transparent) !important;
|
|
}
|
|
|
|
.usage-record-action-button-primary:hover {
|
|
box-shadow: 0 16px 34px
|
|
color-mix(in srgb, var(--brand-gradient-via) 36%, transparent) !important;
|
|
}
|
|
|
|
.usage-record-action-button-soft {
|
|
border: 1px solid rgb(255 255 255 / 0.52) !important;
|
|
background: rgb(255 255 255 / 0.5) !important;
|
|
color: var(--brand-gradient-to) !important;
|
|
box-shadow:
|
|
0 10px 24px rgb(15 23 42 / 0.06),
|
|
inset 0 1px 0 rgb(255 255 255 / 0.5) !important;
|
|
backdrop-filter: blur(14px) saturate(1.2);
|
|
}
|
|
|
|
.usage-record-action-button-soft:hover {
|
|
border-color: color-mix(
|
|
in srgb,
|
|
var(--brand-gradient-via) 45%,
|
|
white
|
|
) !important;
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--brand-gradient-via) 10%,
|
|
white
|
|
) !important;
|
|
}
|
|
|
|
.dark .usage-record-action-button-soft {
|
|
border-color: rgb(255 255 255 / 0.1) !important;
|
|
background: rgb(255 255 255 / 0.06) !important;
|
|
color: color-mix(in srgb, var(--brand-gradient-from) 82%, white) !important;
|
|
box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06) !important;
|
|
}
|
|
|
|
.dark .usage-record-action-button-soft:hover {
|
|
border-color: color-mix(
|
|
in srgb,
|
|
var(--brand-gradient-from) 36%,
|
|
transparent
|
|
) !important;
|
|
background: rgb(255 255 255 / 0.09) !important;
|
|
}
|