288 lines
4.3 KiB
CSS
288 lines
4.3 KiB
CSS
#fx-rates-app,
|
|
#fx-rates-currencies {
|
|
display: contents;
|
|
}
|
|
|
|
.fx-section-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
align-items: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.fx-section-head h2,
|
|
.section-box h2,
|
|
.card-box h2 {
|
|
margin: 0 0 0.5rem;
|
|
}
|
|
|
|
.fx-section-head p,
|
|
.section-box p,
|
|
.card-box p {
|
|
margin: 0 0 0.75rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.fx-card-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
align-items: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.fx-actions {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.fx-form-grid {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.fx-form-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
}
|
|
|
|
.fx-form-grid label,
|
|
.fx-block {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.fx-form-grid span,
|
|
.fx-block span {
|
|
font-size: 0.9rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.fx-form-grid input,
|
|
.fx-form-grid select,
|
|
.fx-block input {
|
|
width: 100%;
|
|
border: 1px solid var(--line);
|
|
border-radius: 12px;
|
|
padding: 0.7rem 0.8rem;
|
|
background: var(--surface-strong);
|
|
color: var(--text);
|
|
}
|
|
|
|
.fx-message {
|
|
color: var(--text);
|
|
}
|
|
|
|
.fx-message.is-error {
|
|
color: #d92d20;
|
|
}
|
|
|
|
.fx-message.is-success {
|
|
color: color-mix(in srgb, var(--accent-green) 78%, var(--text));
|
|
}
|
|
|
|
.fx-table-wrap {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.fx-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.fx-table th,
|
|
.fx-table td {
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--line);
|
|
padding: 0.65rem 0.4rem;
|
|
}
|
|
|
|
.fx-api-note {
|
|
margin-top: 0.75rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.fx-convert-result {
|
|
margin-top: 1rem;
|
|
min-height: 1.5rem;
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
}
|
|
|
|
.fx-card-meta {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
color: var(--muted);
|
|
font-size: 0.95rem;
|
|
text-align: right;
|
|
}
|
|
|
|
.fx-action-row {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.fx-action-row form {
|
|
margin: 0;
|
|
}
|
|
|
|
.fx-save-row {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.fx-save-row form {
|
|
margin: 0;
|
|
}
|
|
|
|
.fx-mini-grid {
|
|
display: grid;
|
|
gap: 1rem;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
}
|
|
|
|
.fx-card-grid {
|
|
display: grid;
|
|
gap: 16px;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
}
|
|
|
|
.fx-mini-label,
|
|
.fx-field-label {
|
|
font-size: 0.9rem;
|
|
color: var(--muted);
|
|
letter-spacing: 0.18em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.fx-card-value {
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.fx-currency-selection-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.fx-token-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.fx-token-list--inline {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.fx-currency-search {
|
|
flex: 0 1 360px;
|
|
min-width: 260px;
|
|
}
|
|
|
|
.fx-input,
|
|
.fx-select {
|
|
width: 100%;
|
|
border: 1px solid var(--line);
|
|
border-radius: 18px;
|
|
padding: 0.8rem 1rem;
|
|
background: var(--surface-strong);
|
|
color: var(--text);
|
|
}
|
|
|
|
.fx-field {
|
|
display: grid;
|
|
gap: 0.45rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.fx-token,
|
|
.fx-suggestion {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
padding: 0.7rem 1rem;
|
|
background: var(--surface-strong);
|
|
color: var(--text);
|
|
}
|
|
|
|
.fx-token {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fx-token:hover,
|
|
.fx-suggestion:hover {
|
|
border-color: color-mix(in srgb, var(--brand-accent-3) 45%, transparent);
|
|
background: color-mix(in srgb, var(--brand-accent) 6%, var(--surface-strong));
|
|
}
|
|
|
|
.fx-token-close {
|
|
color: var(--brand-accent-3);
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.fx-suggestion-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
margin-top: 0.9rem;
|
|
}
|
|
|
|
.fx-suggestion {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fx-suggestion strong {
|
|
color: var(--text);
|
|
}
|
|
|
|
.fx-text {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.fx-history-date {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.fx-info-button {
|
|
width: 1.4rem;
|
|
height: 1.4rem;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
background: var(--surface-strong);
|
|
color: var(--muted);
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
cursor: help;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.fx-currency-selection-row {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.fx-card-head {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.fx-currency-search {
|
|
flex: 1 1 auto;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
}
|