fix(rewards): load and strengthen amount styles
This commit is contained in:
1 parent
979639342a
commit
476e2f961d
5 files changed
+237
-32
No files matched your search
@@ -20,47 +20,56 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.aksrt-reward__amounts {
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__amounts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
.aksrt-reward__amount {
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__amount {
|
||||
display: inline-flex;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 42px;
|
||||
align-items: baseline;
|
||||
min-height: 46px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 2px;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--muted-border-color, var(--color-line-stronger, rgba(50, 50, 50, 0.12)));
|
||||
border-radius: var(--main-radius, 8px);
|
||||
background: var(--body-bg-color, var(--surface-2, #eee));
|
||||
color: var(--main-color, var(--color-ink, #333));
|
||||
gap: 4px;
|
||||
margin: 0;
|
||||
padding: 8px 6px;
|
||||
border: 1px solid var(--color-line-stronger, rgba(50, 50, 50, 0.12));
|
||||
border-radius: var(--radius, 8px);
|
||||
background: var(--surface-2, #f5f6f7);
|
||||
color: var(--color-ink-2, #4e5358);
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
box-shadow: none;
|
||||
transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.aksrt-reward__amount:hover {
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__amount:hover {
|
||||
border-color: var(--focus-color, var(--color-primary, #f04494));
|
||||
background: var(--color-primary-soft, rgba(240, 68, 148, 0.1));
|
||||
color: var(--focus-color, var(--color-primary, #f04494));
|
||||
opacity: 1;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.aksrt-reward__amount:focus-visible {
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__amount:focus-visible {
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 3px var(--color-primary-soft, rgba(240, 68, 148, 0.2));
|
||||
}
|
||||
|
||||
.aksrt-reward__amount.is-active {
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__amount.is-active,
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__amount.is-active:hover {
|
||||
border-color: var(--focus-color, var(--color-primary, #f04494));
|
||||
background: var(--focus-color, var(--color-primary, #f04494));
|
||||
color: #fff;
|
||||
box-shadow: 0 3px 10px var(--color-primary-soft, rgba(240, 68, 148, 0.2));
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.aksrt-reward__currency {
|
||||
@@ -72,33 +81,35 @@
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.aksrt-reward__custom {
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__custom {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin: 0 0 16px;
|
||||
color: var(--muted-color, var(--color-ink-3, #777));
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-2, #4e5358);
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.aksrt-reward__custom-label {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.aksrt-reward__input-wrap {
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__input-wrap {
|
||||
display: flex;
|
||||
width: min(180px, 58%);
|
||||
min-height: 40px;
|
||||
width: min(190px, 62%);
|
||||
min-height: 44px;
|
||||
align-items: center;
|
||||
padding: 0 12px;
|
||||
border: 1px solid var(--muted-border-color, var(--color-line-stronger, rgba(50, 50, 50, 0.12)));
|
||||
border-radius: var(--main-radius, 8px);
|
||||
background: var(--main-bg-color, #fff);
|
||||
padding: 0 10px 0 12px;
|
||||
border: 1px solid var(--color-line-stronger, rgba(50, 50, 50, 0.12));
|
||||
border-radius: var(--radius, 8px);
|
||||
background: var(--surface-1, #fff);
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.aksrt-reward__input-wrap:focus-within {
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__input-wrap:focus-within {
|
||||
border-color: var(--focus-color, var(--color-primary, #f04494));
|
||||
box-shadow: 0 0 0 3px var(--color-primary-soft, rgba(240, 68, 148, 0.1));
|
||||
}
|
||||
@@ -111,17 +122,20 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.aksrt-reward__input {
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__input {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 38px;
|
||||
min-height: 42px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
background: transparent;
|
||||
color: var(--main-color, var(--color-ink, #333));
|
||||
color: var(--color-ink, #333);
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
text-align: right;
|
||||
-moz-appearance: textfield;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.aksrt-reward__input::-webkit-inner-spin-button,
|
||||
|
||||
Reference in new issue
Block a user