305 lines
4.3 KiB
CSS
305 lines
4.3 KiB
CSS
#fx-rates-app {
|
|
padding: 1rem 0 2rem;
|
|
}
|
|
|
|
.fx-stack {
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.fx-card {
|
|
background: var(--panel-bg, #fff);
|
|
border: 1px solid rgba(15, 23, 42, 0.12);
|
|
border-radius: 8px;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.fx-card h1,
|
|
.fx-card h2 {
|
|
margin: 0 0 0.5rem;
|
|
}
|
|
|
|
.fx-card p {
|
|
margin: 0 0 0.75rem;
|
|
color: #5b6573;
|
|
}
|
|
|
|
.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-button {
|
|
appearance: none;
|
|
border: 1px solid #d0d7e2;
|
|
background: #fff;
|
|
color: #1c2734;
|
|
border-radius: 8px;
|
|
padding: 0.7rem 1rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fx-button--primary {
|
|
background: #1c2734;
|
|
color: #fff;
|
|
border-color: #1c2734;
|
|
}
|
|
|
|
.fx-button--ghost {
|
|
background: #fff4fb;
|
|
border-color: #f5b7d7;
|
|
color: #ff8a00;
|
|
}
|
|
|
|
.fx-button--accent {
|
|
background: linear-gradient(90deg, #ff006a 0%, #ff9e00 100%);
|
|
color: #111827;
|
|
border-color: transparent;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.fx-button[disabled] {
|
|
opacity: 0.6;
|
|
cursor: wait;
|
|
}
|
|
|
|
.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: #5b6573;
|
|
}
|
|
|
|
.fx-form-grid input,
|
|
.fx-form-grid select,
|
|
.fx-block input {
|
|
width: 100%;
|
|
border: 1px solid #d0d7e2;
|
|
border-radius: 8px;
|
|
padding: 0.7rem 0.8rem;
|
|
}
|
|
|
|
.fx-message {
|
|
margin-bottom: 0.9rem;
|
|
color: #1c2734;
|
|
}
|
|
|
|
.fx-message.is-error {
|
|
color: #b42318;
|
|
}
|
|
|
|
.fx-message.is-success {
|
|
color: #027a48;
|
|
}
|
|
|
|
.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 #eef2f6;
|
|
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: #1c2734;
|
|
}
|
|
|
|
.fx-card-meta {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
color: #5b6573;
|
|
font-size: 0.95rem;
|
|
text-align: right;
|
|
}
|
|
|
|
.fx-action-row {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.fx-action-row form {
|
|
margin: 0;
|
|
}
|
|
|
|
.fx-mini-grid {
|
|
display: grid;
|
|
gap: 1rem;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
margin: 1rem 0 1.25rem;
|
|
}
|
|
|
|
.fx-mini-card {
|
|
display: grid;
|
|
gap: 0.2rem;
|
|
}
|
|
|
|
.fx-mini-label,
|
|
.fx-field-label {
|
|
font-size: 0.9rem;
|
|
color: #6a7383;
|
|
letter-spacing: 0.18em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.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 #d0d7e2;
|
|
border-radius: 18px;
|
|
padding: 0.8rem 1rem;
|
|
background: #fff;
|
|
color: #1c2734;
|
|
}
|
|
|
|
.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 #d0d7e2;
|
|
border-radius: 999px;
|
|
padding: 0.7rem 1rem;
|
|
background: #fff;
|
|
color: #1c2734;
|
|
}
|
|
|
|
.fx-token {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fx-token:hover,
|
|
.fx-suggestion:hover {
|
|
border-color: rgba(255, 158, 0, 0.45);
|
|
background: rgba(255, 244, 251, 0.9);
|
|
}
|
|
|
|
.fx-token-close {
|
|
color: #ff9e00;
|
|
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: #111827;
|
|
}
|
|
|
|
.fx-text {
|
|
color: #5b6573;
|
|
}
|
|
|
|
.fx-history-date {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.fx-info-button {
|
|
width: 1.4rem;
|
|
height: 1.4rem;
|
|
border: 1px solid #d0d7e2;
|
|
border-radius: 999px;
|
|
background: #fff;
|
|
color: #5b6573;
|
|
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-currency-search {
|
|
flex: 1 1 auto;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
}
|