Files
myprojplanet_vite/src/components/pageris/pageris.scss

1632 lines
31 KiB
SCSS
Raw Normal View History

// ========================================
// PAGERIS.SCSS - Modern RIS Management
// Light & Dark Mode Support
// ========================================
// ========================================
// CSS Variables for Theming
// ========================================
:root {
// Light mode (default)
--ris-bg-primary: #f1f5f9;
--ris-bg-secondary: #ffffff;
--ris-bg-glass: rgba(255, 255, 255, 0.9);
--ris-bg-glass-hover: rgba(255, 255, 255, 1);
--ris-bg-card: #ffffff;
--ris-bg-card-hover: #f8fafc;
--ris-bg-card-selected: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
--ris-border-color: rgba(0, 0, 0, 0.12);
--ris-border-hover: rgba(102, 126, 234, 0.4);
--ris-border-selected: rgba(102, 126, 234, 0.7);
--ris-text-primary: #1e293b;
--ris-text-secondary: #475569;
--ris-text-muted: #64748b;
--ris-text-hint: #94a3b8;
--ris-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
--ris-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
--ris-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.08);
--ris-shadow-selected: 0 8px 25px rgba(102, 126, 234, 0.3), 0 4px 10px rgba(102, 126, 234, 0.15);
--ris-stat-bg: rgba(102, 126, 234, 0.06);
--ris-stat-border: rgba(102, 126, 234, 0.18);
--ris-scrollbar-track: rgba(0, 0, 0, 0.06);
--ris-scrollbar-thumb: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--ris-nav-bg: rgba(255, 255, 255, 0.98);
--ris-nav-border: rgba(0, 0, 0, 0.1);
--ris-dialog-bg: #ffffff;
--ris-input-bg: #f1f5f9;
--ris-positive: #059669;
--ris-negative: #dc2626;
--ris-info: #2563eb;
--ris-warning: #d97706;
--ris-accent: #667eea;
--ris-accent-light: #818cf8;
}
// Dark mode overrides
.body--dark {
--ris-bg-primary: #0f172a;
--ris-bg-secondary: #1e293b;
--ris-bg-glass: rgba(255, 255, 255, 0.05);
--ris-bg-glass-hover: rgba(255, 255, 255, 0.08);
--ris-bg-card: rgba(255, 255, 255, 0.05);
--ris-bg-card-hover: rgba(255, 255, 255, 0.08);
--ris-bg-card-selected: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
--ris-border-color: rgba(255, 255, 255, 0.1);
--ris-border-hover: rgba(102, 126, 234, 0.3);
--ris-border-selected: rgba(102, 126, 234, 0.6);
--ris-text-primary: #f8fafc;
--ris-text-secondary: #e2e8f0;
--ris-text-muted: #94a3b8;
--ris-text-hint: #64748b;
--ris-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
--ris-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
--ris-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
--ris-shadow-selected: 0 8px 32px rgba(102, 126, 234, 0.3);
--ris-stat-bg: rgba(255, 255, 255, 0.08);
--ris-stat-border: rgba(255, 255, 255, 0.1);
--ris-scrollbar-track: rgba(255, 255, 255, 0.05);
--ris-nav-bg: rgba(15, 23, 42, 0.95);
--ris-nav-border: rgba(255, 255, 255, 0.1);
--ris-dialog-bg: #1e293b;
--ris-input-bg: #334155;
}
2025-12-05 17:56:05 +01:00
// ========================================
// SCSS Variables (static)
// ========================================
$gradient-send: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
$gradient-receive: linear-gradient(135deg, #10b981 0%, #059669 100%);
$gradient-blue: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
$r-sm: 8px;
$r-md: 12px;
$r-lg: 16px;
$r-xl: 20px;
$s-xs: 4px;
$s-sm: 8px;
$s-md: 12px;
$s-lg: 16px;
$s-xl: 20px;
$s-xxl: 24px;
// ========================================
// Base Page Styles
// ========================================
.ris-activity-page {
padding: $s-md;
max-width: 800px;
margin: 0 auto;
background: var(--ris-bg-primary);
min-height: 100vh;
2025-12-05 17:56:05 +01:00
@media (max-width: 599px) {
padding-bottom: 180px;
2025-12-05 17:56:05 +01:00
}
}
// ========================================
// RIS Actions Section (Invia/Ricevi)
// ========================================
.ris-actions-section {
margin-bottom: $s-lg;
2025-12-05 17:56:05 +01:00
}
.ris-actions-grid {
2025-12-05 17:56:05 +01:00
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: $s-md;
2025-12-05 17:56:05 +01:00
}
.ris-action-btn {
display: flex;
align-items: center;
justify-content: center;
gap: $s-sm;
padding: $s-lg $s-xl;
min-height: 60px;
border-radius: $r-lg;
font-size: 1rem;
font-weight: 700;
text-transform: none;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: var(--ris-shadow-md);
2025-12-05 17:56:05 +01:00
&:hover {
transform: translateY(-3px);
box-shadow: var(--ris-shadow-lg);
2025-12-05 17:56:05 +01:00
}
&:active {
transform: translateY(-1px);
2025-12-05 17:56:05 +01:00
}
&.send-btn {
background: $gradient-send;
color: white;
}
2025-12-05 17:56:05 +01:00
&.receive-btn {
background: $gradient-receive;
color: white;
2025-12-05 17:56:05 +01:00
}
.q-icon {
2025-12-05 17:56:05 +01:00
font-size: 24px;
}
}
// ========================================
// Quick Actions Tabs (Desktop)
// ========================================
.quick-actions-section {
margin-bottom: $s-lg;
2025-12-05 17:56:05 +01:00
&.desktop-only {
@media (max-width: 599px) {
display: none;
}
2025-12-05 17:56:05 +01:00
}
}
.quick-actions-grid {
2025-12-05 17:56:05 +01:00
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: $s-sm;
2025-12-05 17:56:05 +01:00
}
.quick-action-btn {
background: var(--ris-bg-card);
2025-12-05 17:56:05 +01:00
backdrop-filter: blur(10px);
border: 1px solid var(--ris-border-color);
border-radius: $r-lg;
padding: $s-md;
min-height: 80px;
transition: all 0.3s ease;
box-shadow: var(--ris-shadow-sm);
2025-12-05 17:56:05 +01:00
.btn-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
2025-12-05 17:56:05 +01:00
}
.q-icon {
color: var(--ris-text-muted);
2025-12-05 17:56:05 +01:00
}
span {
font-size: 12px;
font-weight: 600;
color: var(--ris-text-muted);
2025-12-05 17:56:05 +01:00
}
&:hover {
background: var(--ris-bg-card-hover);
border-color: var(--ris-border-hover);
transform: translateY(-2px);
box-shadow: var(--ris-shadow-md);
2025-12-05 17:56:05 +01:00
}
&.active {
background: rgba(102, 126, 234, 0.15);
border-color: rgba(102, 126, 234, 0.4);
box-shadow: var(--ris-shadow-md);
2025-12-05 17:56:05 +01:00
.q-icon {
color: var(--ris-accent);
2025-12-05 17:56:05 +01:00
}
span {
color: var(--ris-accent);
font-weight: 700;
2025-12-05 17:56:05 +01:00
}
}
}
// ========================================
// Tab Content
// ========================================
.tab-content {
animation: fadeIn 0.3s ease-out;
}
2025-12-05 17:56:05 +01:00
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
2025-12-05 17:56:05 +01:00
// ========================================
// Section Title
// ========================================
.section-title {
display: flex;
align-items: center;
gap: $s-sm;
margin: 0;
font-size: 16px;
font-weight: 600;
color: var(--ris-text-secondary);
2025-12-05 17:56:05 +01:00
.title-icon {
color: var(--ris-accent);
2025-12-05 17:56:05 +01:00
}
}
// ========================================
// Circuits Section (Scrollable)
// ========================================
.circuits-section {
margin-bottom: $s-xl;
}
.circuits-header {
2025-12-05 17:56:05 +01:00
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: $s-md;
.scroll-hint {
font-size: 11px;
color: var(--ris-text-hint);
2025-12-05 17:56:05 +01:00
}
}
// Scrollable container - shows 2.5 circuits
.circuits-scroll-container {
max-height: 280px;
overflow-y: auto;
padding-right: $s-sm;
margin-bottom: $s-md;
// Custom scrollbar
&::-webkit-scrollbar {
width: 6px;
2025-12-05 17:56:05 +01:00
}
&::-webkit-scrollbar-track {
background: var(--ris-scrollbar-track);
border-radius: 10px;
}
&::-webkit-scrollbar-thumb {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 10px;
2025-12-05 17:56:05 +01:00
}
// Firefox
scrollbar-width: thin;
scrollbar-color: #667eea var(--ris-scrollbar-track);
2025-12-05 17:56:05 +01:00
}
.circuits-list {
2025-12-05 17:56:05 +01:00
display: flex;
flex-direction: column;
gap: $s-md;
}
// ========================================
// Circuit Card
// ========================================
.circuit-card {
background: var(--ris-bg-card);
backdrop-filter: blur(15px);
border: 2px solid var(--ris-border-color);
border-radius: $r-lg;
padding: $s-md;
2025-12-05 17:56:05 +01:00
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: var(--ris-shadow-md);
2025-12-05 17:56:05 +01:00
&:hover:not(.selected) {
background: var(--ris-bg-card-hover);
border-color: var(--ris-border-hover);
transform: translateY(-3px);
box-shadow: var(--ris-shadow-lg);
2025-12-05 17:56:05 +01:00
}
// Selected state with highlight
&.selected {
background: var(--ris-bg-card-selected);
border-color: var(--ris-border-selected);
box-shadow: var(--ris-shadow-selected);
transform: scale(1.02);
animation: pulseGlow 2s ease-in-out infinite;
}
.circuit-card-content {
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.circuit-left {
2025-12-05 17:56:05 +01:00
flex: 1;
}
2025-12-05 17:56:05 +01:00
.circuit-header {
display: flex;
align-items: center;
gap: $s-sm;
margin-bottom: $s-sm;
2025-12-05 17:56:05 +01:00
.circuit-name {
font-size: 15px;
font-weight: 600;
color: var(--ris-text-primary);
2025-12-05 17:56:05 +01:00
}
.circuit-badge {
font-size: 10px;
padding: 2px 8px;
2025-12-05 17:56:05 +01:00
}
}
2025-12-05 17:56:05 +01:00
.circuit-balance {
font-size: 28px;
font-weight: 800;
color: var(--ris-text-primary);
line-height: 1;
.currency {
font-size: 14px;
font-weight: 400;
color: var(--ris-text-muted);
margin-left: 4px;
2025-12-05 17:56:05 +01:00
}
}
// Right side - Fido and Max Accumulo
.circuit-right {
2025-12-05 17:56:05 +01:00
display: flex;
flex-direction: column;
gap: 6px;
text-align: right;
}
2025-12-05 17:56:05 +01:00
.limit-row {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 6px;
font-size: 13px;
.q-icon {
flex-shrink: 0;
2025-12-05 17:56:05 +01:00
}
.limit-label {
color: var(--ris-text-muted);
2025-12-05 17:56:05 +01:00
}
.limit-value {
font-weight: 700;
min-width: 40px;
}
&.fido {
.q-icon, .limit-value {
color: var(--ris-negative);
2025-12-05 17:56:05 +01:00
}
}
&.max {
.q-icon, .limit-value {
color: var(--ris-positive);
2025-12-05 17:56:05 +01:00
}
}
}
// Selected indicator
.selected-indicator {
display: flex;
align-items: center;
gap: $s-sm;
margin-top: $s-md;
padding-top: $s-md;
border-top: 1px solid var(--ris-border-color);
font-size: 13px;
font-weight: 600;
color: var(--ris-accent);
2025-12-05 17:56:05 +01:00
.q-icon {
color: var(--ris-accent);
}
2025-12-05 17:56:05 +01:00
}
}
@keyframes pulseGlow {
0%, 100% {
box-shadow: var(--ris-shadow-selected);
}
50% {
box-shadow: 0 8px 40px rgba(102, 126, 234, 0.4);
2025-12-05 17:56:05 +01:00
}
}
// ========================================
// Explore Button
// ========================================
.explore-btn {
width: 100%;
padding: $s-md;
border-radius: $r-lg;
font-weight: 600;
text-transform: none;
color: var(--ris-accent);
border-color: rgba(102, 126, 234, 0.4);
background: var(--ris-bg-card);
transition: all 0.3s ease;
2025-12-05 17:56:05 +01:00
.q-icon {
margin-right: $s-sm;
}
&:hover {
background: rgba(102, 126, 234, 0.1);
border-color: rgba(102, 126, 234, 0.6);
2025-12-05 17:56:05 +01:00
}
}
// ========================================
// Statistics Section
// ========================================
.statistics-section {
background: $gradient-primary;
border-radius: $r-xl;
padding: $s-xl;
margin-bottom: $s-xl;
box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
animation: fadeIn 0.4s ease-out;
2025-12-05 17:56:05 +01:00
.stats-title {
2025-12-05 17:56:05 +01:00
display: flex;
align-items: center;
gap: $s-sm;
margin: 0 0 $s-lg 0;
font-size: 14px;
2025-12-05 17:56:05 +01:00
font-weight: 600;
color: rgba(255, 255, 255, 0.9);
.q-icon {
opacity: 0.8;
}
}
}
.stats-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: $s-md;
@media (min-width: 600px) {
grid-template-columns: repeat(4, 1fr);
}
}
.stat-card {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: $r-lg;
padding: $s-md;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 6px;
transition: all 0.3s ease;
&:hover {
transform: translateY(-4px);
background: rgba(255, 255, 255, 0.15);
}
.q-icon {
opacity: 0.9;
}
.stat-value {
font-size: 22px;
font-weight: 800;
color: white;
line-height: 1;
}
.stat-label {
font-size: 11px;
2025-12-05 17:56:05 +01:00
text-transform: uppercase;
letter-spacing: 0.5px;
opacity: 0.8;
color: white;
}
&.total {
.q-icon, .stat-value { color: #67e8f9; }
}
&.members {
.q-icon, .stat-value { color: #c4b5fd; }
}
&.sent {
.q-icon, .stat-value { color: #fca5a5; }
}
&.received {
.q-icon, .stat-value { color: #6ee7b7; }
2025-12-05 17:56:05 +01:00
}
}
// ========================================
// Activity Section
// ========================================
.activity-section {
margin-bottom: $s-xl;
2025-12-05 17:56:05 +01:00
}
.activity-feed {
.date-group {
margin-bottom: $s-lg;
}
.date-header {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--ris-text-hint);
margin-bottom: $s-sm;
padding-left: 4px;
}
}
.activity-card {
2025-12-05 17:56:05 +01:00
display: flex;
align-items: center;
gap: $s-md;
background: var(--ris-bg-card);
backdrop-filter: blur(10px);
border: 1px solid var(--ris-border-color);
border-radius: $r-lg;
padding: $s-md;
margin-bottom: $s-sm;
2025-12-05 17:56:05 +01:00
cursor: pointer;
transition: all 0.2s ease;
box-shadow: var(--ris-shadow-sm);
2025-12-05 17:56:05 +01:00
&:hover {
background: var(--ris-bg-card-hover);
transform: translateX(4px);
box-shadow: var(--ris-shadow-md);
2025-12-05 17:56:05 +01:00
}
.activity-icon {
flex-shrink: 0;
2025-12-05 17:56:05 +01:00
}
.activity-content {
2025-12-05 17:56:05 +01:00
flex: 1;
min-width: 0;
.activity-title {
font-size: 14px;
color: var(--ris-text-primary);
margin-bottom: 4px;
strong {
font-weight: 600;
}
2025-12-05 17:56:05 +01:00
}
.activity-meta {
display: flex;
align-items: center;
gap: 6px;
2025-12-05 17:56:05 +01:00
font-size: 12px;
color: var(--ris-text-hint);
margin-bottom: 4px;
.separator {
opacity: 0.5;
}
2025-12-05 17:56:05 +01:00
}
.activity-description {
font-size: 13px;
color: var(--ris-text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.activity-amount {
display: flex;
flex-direction: column;
align-items: flex-end;
flex-shrink: 0;
.amount-value {
font-size: 18px;
font-weight: 700;
}
.amount-currency {
2025-12-05 17:56:05 +01:00
font-size: 11px;
color: var(--ris-text-hint);
}
&.sent .amount-value {
color: var(--ris-negative);
}
&.received .amount-value {
color: var(--ris-positive);
2025-12-05 17:56:05 +01:00
}
}
}
// ========================================
// Empty State
// ========================================
.empty-state {
2025-12-05 17:56:05 +01:00
text-align: center;
padding: 60px 20px;
.q-icon {
opacity: 0.4;
color: var(--ris-text-muted);
}
2025-12-05 17:56:05 +01:00
p {
margin: $s-lg 0;
font-size: 16px;
color: var(--ris-text-muted);
2025-12-05 17:56:05 +01:00
}
}
.loading-indicator {
2025-12-05 17:56:05 +01:00
display: flex;
justify-content: center;
padding: $s-xl;
}
2025-12-05 17:56:05 +01:00
// ========================================
// Wallet Card (Statistics Tab)
// ========================================
.wallet-card {
background: $gradient-primary;
border-radius: $r-xl;
padding: $s-xl;
color: white;
box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
.wallet-title {
margin: 0 0 $s-xl 0;
font-size: 18px;
font-weight: 700;
}
.wallet-balances-compact {
margin-bottom: $s-xl;
2025-12-05 17:56:05 +01:00
}
}
// ========================================
// Recent Transactions
// ========================================
.recent-transactions {
background: rgba(255, 255, 255, 0.12);
backdrop-filter: blur(10px);
border-radius: $r-lg;
padding: $s-md;
margin-bottom: $s-lg;
2025-12-05 17:56:05 +01:00
.transactions-header {
2025-12-05 17:56:05 +01:00
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: $s-md;
flex-wrap: wrap;
gap: $s-sm;
}
2025-12-05 17:56:05 +01:00
.transactions-title {
margin: 0;
font-size: 14px;
font-weight: 700;
color: white;
}
2025-12-05 17:56:05 +01:00
.transactions-toggle {
background: rgba(255, 255, 255, 0.15);
border-radius: $r-md;
}
}
.transaction-list {
display: flex;
flex-direction: column;
gap: $s-sm;
}
.transaction-item {
display: flex;
align-items: center;
gap: $s-sm;
background: rgba(255, 255, 255, 0.1);
padding: $s-sm $s-md;
border-radius: $r-md;
cursor: pointer;
transition: all 0.2s ease;
&:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateX(4px);
}
.transaction-users {
display: flex;
align-items: center;
gap: 4px;
}
.transaction-content {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
.transaction-desc {
2025-12-05 17:56:05 +01:00
font-size: 14px;
font-weight: 600;
color: white;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2025-12-05 17:56:05 +01:00
}
.transaction-time {
font-size: 12px;
opacity: 0.7;
color: white;
2025-12-05 17:56:05 +01:00
}
}
.transaction-amount {
font-size: 15px;
font-weight: 700;
flex-shrink: 0;
&.positive { color: #d1fae5; }
&.negative { color: #fecaca; }
&.community { color: #c4b5fd; }
}
2025-12-05 17:56:05 +01:00
}
.wallet-detail-btn {
width: 100%;
background: rgba(255, 255, 255, 0.2);
color: white;
2025-12-05 17:56:05 +01:00
font-weight: 600;
text-transform: none;
border-radius: $r-md;
padding: $s-md;
&:hover {
background: rgba(255, 255, 255, 0.3);
}
2025-12-05 17:56:05 +01:00
}
// ========================================
// Circuits Tab
// ========================================
.circuits-toggle {
background: var(--ris-bg-card);
backdrop-filter: blur(10px);
border-radius: $r-lg;
padding: 4px;
margin-bottom: $s-lg;
box-shadow: var(--ris-shadow-sm);
}
2025-12-05 17:56:05 +01:00
.my-circuits-content,
.all-circuits-content {
animation: fadeIn 0.3s ease-out;
}
.circuit-detail-card {
background: var(--ris-bg-card);
backdrop-filter: blur(15px);
border: 1px solid var(--ris-border-color);
border-radius: $r-xl;
padding: $s-xl;
margin-bottom: $s-lg;
transition: all 0.3s ease;
box-shadow: var(--ris-shadow-sm);
&:hover {
background: var(--ris-bg-card-hover);
box-shadow: var(--ris-shadow-md);
2025-12-05 17:56:05 +01:00
}
.circuit-detail-header {
margin-bottom: $s-lg;
.circuit-detail-title {
display: flex;
align-items: center;
gap: $s-md;
margin-bottom: $s-sm;
2025-12-05 17:56:05 +01:00
h3 {
margin: 0;
font-size: 20px;
font-weight: 700;
color: var(--ris-text-primary);
}
2025-12-05 17:56:05 +01:00
}
.circuit-detail-balance {
font-size: 32px;
font-weight: 800;
.currency {
display: inline-block;
font-size: 12px;
font-weight: 600;
padding: 4px 10px;
border-radius: $r-sm;
color: white;
margin-left: $s-sm;
vertical-align: middle;
}
}
}
.circuit-detail-body {
margin-bottom: $s-lg;
}
.info-row {
display: flex;
align-items: center;
gap: $s-md;
padding: $s-md 0;
border-bottom: 1px solid var(--ris-border-color);
&:last-child {
border-bottom: none;
}
.q-icon {
color: var(--ris-text-muted);
flex-shrink: 0;
}
.info-label {
flex: 1;
font-size: 14px;
color: var(--ris-text-secondary);
}
.info-value {
font-size: 14px;
font-weight: 600;
color: var(--ris-text-primary);
}
}
.circuit-detail-actions {
display: flex;
gap: $s-sm;
padding-top: $s-lg;
border-top: 1px solid var(--ris-border-color);
.action-btn {
flex: 1;
color: var(--ris-accent);
font-weight: 600;
text-transform: none;
&:hover {
background: rgba(102, 126, 234, 0.1);
}
2025-12-05 17:56:05 +01:00
}
}
}
.circuits-finder {
2025-12-05 17:56:05 +01:00
display: flex;
flex-direction: column;
gap: $s-md;
.circuit-finder-item {
display: block;
}
2025-12-05 17:56:05 +01:00
}
// ========================================
// Settings Tab
// ========================================
.settings-card {
background: var(--ris-bg-card);
backdrop-filter: blur(15px);
border: 1px solid var(--ris-border-color);
border-radius: $r-xl;
padding: $s-xl;
box-shadow: var(--ris-shadow-sm);
.settings-title {
display: flex;
align-items: center;
gap: $s-sm;
margin: 0 0 $s-xl 0;
font-size: 18px;
font-weight: 700;
color: var(--ris-text-primary);
.q-icon {
color: var(--ris-accent);
}
}
2025-12-05 17:56:05 +01:00
}
.settings-list {
display: flex;
flex-direction: column;
2025-12-05 17:56:05 +01:00
gap: $s-md;
}
.settings-item {
display: flex;
align-items: center;
justify-content: space-between;
background: var(--ris-stat-bg);
border: 1px solid var(--ris-stat-border);
border-radius: $r-lg;
padding: $s-md $s-lg;
transition: all 0.2s ease;
2025-12-05 17:56:05 +01:00
&.clickable {
cursor: pointer;
2025-12-05 17:56:05 +01:00
&:hover {
background: rgba(102, 126, 234, 0.12);
}
2025-12-05 17:56:05 +01:00
}
.settings-item-left {
display: flex;
align-items: center;
gap: $s-md;
.q-icon {
color: var(--ris-text-muted);
}
span {
font-size: 15px;
font-weight: 500;
color: var(--ris-text-primary);
}
2025-12-05 17:56:05 +01:00
}
}
// ========================================
// Mobile Bottom Navigation
// ========================================
.mobile-nav {
display: none;
2025-12-05 17:56:05 +01:00
@media (max-width: 599px) {
display: block;
2025-12-05 17:56:05 +01:00
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: var(--ris-nav-bg);
backdrop-filter: blur(20px);
border-top: 1px solid var(--ris-nav-border);
padding: $s-md;
padding-bottom: calc(#{$s-md} + env(safe-area-inset-bottom));
2025-12-05 17:56:05 +01:00
z-index: 1000;
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
2025-12-05 17:56:05 +01:00
}
}
.mobile-nav-grid {
2025-12-05 17:56:05 +01:00
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: $s-xs;
2025-12-05 17:56:05 +01:00
}
.mobile-nav-btn {
2025-12-05 17:56:05 +01:00
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
padding: $s-sm;
border-radius: $r-md;
min-height: 56px;
.q-icon {
color: var(--ris-text-muted);
}
span {
font-size: 11px;
font-weight: 600;
color: var(--ris-text-muted);
}
&.active {
background: rgba(102, 126, 234, 0.15);
.q-icon {
color: var(--ris-accent);
}
span {
color: var(--ris-accent);
}
}
}
// ========================================
// Dialogs
// ========================================
.send-dialog,
.receive-dialog,
.confirm-dialog {
max-width: 500px;
width: 100%;
background: var(--ris-dialog-bg);
border-radius: $r-xl;
2025-12-05 17:56:05 +01:00
@media (max-width: 599px) {
max-width: 100%;
margin: 0;
border-radius: 0;
}
}
.dialog-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: $s-lg $s-xl;
color: white;
&.send {
background: $gradient-send;
}
&.receive {
background: $gradient-receive;
}
.dialog-title {
display: flex;
align-items: center;
gap: $s-sm;
font-size: 18px;
font-weight: 700;
}
}
.dialog-content {
padding: $s-xl;
}
.dialog-actions {
padding: $s-md $s-xl $s-xl;
}
.search-input {
margin-bottom: $s-lg;
.q-field__control {
background: var(--ris-input-bg);
}
}
.info-banner {
display: flex;
gap: $s-md;
align-items: flex-start;
padding: $s-md;
background: rgba(59, 130, 246, 0.1);
border: 1px solid rgba(59, 130, 246, 0.2);
border-radius: $r-md;
margin-bottom: $s-lg;
p {
margin: 0;
font-size: 13px;
color: var(--ris-info);
}
}
// ========================================
// Contacts Section
// ========================================
.contacts-section {
margin-bottom: $s-lg;
.contacts-title {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--ris-text-hint);
margin-bottom: $s-md;
}
}
.contacts-scrollable {
max-height: 300px;
overflow-y: auto;
}
.contact-item {
display: flex;
align-items: center;
gap: $s-md;
padding: $s-md;
background: var(--ris-stat-bg);
border: 1px solid var(--ris-stat-border);
border-radius: $r-lg;
margin-bottom: $s-sm;
cursor: pointer;
transition: all 0.2s ease;
&:hover {
background: rgba(102, 126, 234, 0.12);
border-color: var(--ris-border-hover);
}
&.recent {
background: rgba(102, 126, 234, 0.1);
border-color: rgba(102, 126, 234, 0.3);
}
.contact-info {
flex: 1;
min-width: 0;
.contact-name {
font-size: 15px;
font-weight: 600;
margin-bottom: 2px;
color: var(--ris-text-primary);
}
.contact-username {
font-size: 13px;
color: var(--ris-text-muted);
}
.contact-email {
font-size: 12px;
color: var(--ris-text-hint);
}
2025-12-05 17:56:05 +01:00
}
}
2025-12-05 17:56:05 +01:00
.no-results {
text-align: center;
padding: 40px 20px;
2025-12-05 17:56:05 +01:00
.q-icon {
opacity: 0.4;
color: var(--ris-text-muted);
2025-12-05 17:56:05 +01:00
}
p {
margin-top: $s-md;
color: var(--ris-text-muted);
2025-12-05 17:56:05 +01:00
}
}
2025-12-05 17:56:05 +01:00
// ========================================
// Confirm Dialog
// ========================================
.confirm-details {
background: var(--ris-stat-bg);
border-radius: $r-lg;
padding: $s-lg;
margin-bottom: $s-lg;
2025-12-05 17:56:05 +01:00
.confirm-row {
display: flex;
justify-content: space-between;
padding: $s-sm 0;
border-bottom: 1px solid var(--ris-border-color);
&:last-child {
border-bottom: none;
2025-12-05 17:56:05 +01:00
}
.confirm-label {
color: var(--ris-text-muted);
font-size: 14px;
}
2025-12-05 17:56:05 +01:00
.confirm-value {
font-weight: 600;
color: var(--ris-text-primary);
2025-12-05 17:56:05 +01:00
}
}
}
.amount-input,
.description-input {
margin-bottom: $s-md;
2025-12-05 17:56:05 +01:00
}
.input-currency {
font-weight: 600;
color: var(--ris-text-muted);
}
.confirm-result {
display: flex;
justify-content: space-between;
align-items: center;
padding: $s-lg;
background: rgba(102, 126, 234, 0.1);
border-radius: $r-lg;
margin-bottom: $s-md;
.result-label {
font-size: 14px;
color: var(--ris-text-secondary);
2025-12-05 17:56:05 +01:00
}
.result-value {
font-size: 24px;
font-weight: 800;
&.positive { color: var(--ris-positive); }
&.negative { color: var(--ris-negative); }
}
}
.receive-note {
display: flex;
align-items: center;
gap: $s-sm;
padding: $s-md;
background: rgba(251, 191, 36, 0.1);
border: 1px solid rgba(251, 191, 36, 0.2);
border-radius: $r-md;
font-size: 12px;
color: var(--ris-text-secondary);
.q-icon {
color: var(--ris-warning);
flex-shrink: 0;
2025-12-05 17:56:05 +01:00
}
}
// ========================================
// Section Header
// ========================================
2025-12-05 17:56:05 +01:00
.section-header {
margin-bottom: $s-lg;
2025-12-05 17:56:05 +01:00
}
// ========================================
// Dual Buttons Toggle
// ========================================
.dual-btns {
border-radius: $r-lg;
background: var(--ris-bg-card);
box-shadow: var(--ris-shadow-sm);
}
2025-12-05 17:56:05 +01:00
// ========================================
// Light Mode Specific Overrides
// ========================================
body:not(.body--dark) {
.ris-activity-page {
background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}
.circuit-card {
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
border-color: rgba(0, 0, 0, 0.1);
box-shadow:
0 2px 8px rgba(0, 0, 0, 0.08),
0 1px 3px rgba(0, 0, 0, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.8);
&:hover:not(.selected) {
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
border-color: rgba(102, 126, 234, 0.5);
box-shadow:
0 8px 20px rgba(0, 0, 0, 0.12),
0 4px 8px rgba(102, 126, 234, 0.1);
}
2025-12-05 17:56:05 +01:00
&.selected {
background: linear-gradient(135deg, rgba(102, 126, 234, 0.18) 0%, rgba(118, 75, 162, 0.15) 100%);
border-color: #667eea;
box-shadow:
0 8px 25px rgba(102, 126, 234, 0.35),
0 4px 10px rgba(102, 126, 234, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.circuit-name {
color: #1e293b;
2025-12-05 17:56:05 +01:00
}
.circuit-balance {
color: #1e293b;
2025-12-05 17:56:05 +01:00
.currency {
color: #64748b;
}
2025-12-05 17:56:05 +01:00
}
.limit-row {
.limit-label {
color: #64748b;
}
2025-12-05 17:56:05 +01:00
&.fido {
.q-icon, .limit-value {
color: #dc2626;
}
}
2025-12-05 17:56:05 +01:00
&.max {
.q-icon, .limit-value {
color: #059669;
}
2025-12-05 17:56:05 +01:00
}
}
2025-12-05 17:56:05 +01:00
.selected-indicator {
border-top-color: rgba(102, 126, 234, 0.2);
color: #5b21b6;
.q-icon {
color: #5b21b6;
2025-12-05 17:56:05 +01:00
}
}
}
.quick-action-btn {
background: #ffffff;
border-color: rgba(102, 126, 234, 0.25);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
2025-12-05 17:56:05 +01:00
.q-icon, span {
color: #475569;
}
2025-12-05 17:56:05 +01:00
&:hover {
background: #f8fafc;
border-color: rgba(102, 126, 234, 0.4);
2025-12-05 17:56:05 +01:00
}
&.active {
background: rgba(102, 126, 234, 0.12);
border-color: rgba(102, 126, 234, 0.5);
2025-12-05 17:56:05 +01:00
.q-icon, span {
color: #5b21b6;
2025-12-05 17:56:05 +01:00
}
}
}
.activity-card {
background: #ffffff;
border-color: rgba(0, 0, 0, 0.08);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
2025-12-05 17:56:05 +01:00
&:hover {
background: #f8fafc;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
2025-12-05 17:56:05 +01:00
}
.activity-title {
color: #1e293b;
2025-12-05 17:56:05 +01:00
}
.activity-meta {
color: #64748b;
2025-12-05 17:56:05 +01:00
}
.activity-description {
color: #475569;
}
2025-12-05 17:56:05 +01:00
}
.circuit-detail-card {
background: #ffffff;
border-color: rgba(0, 0, 0, 0.08);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
2025-12-05 17:56:05 +01:00
&:hover {
background: #fafafa;
}
2025-12-05 17:56:05 +01:00
.circuit-detail-title h3 {
color: #1e293b;
}
2025-12-05 17:56:05 +01:00
.info-row {
border-bottom-color: rgba(0, 0, 0, 0.06);
2025-12-05 17:56:05 +01:00
.q-icon {
color: #64748b;
2025-12-05 17:56:05 +01:00
}
.info-label {
color: #475569;
2025-12-05 17:56:05 +01:00
}
.info-value {
color: #1e293b;
2025-12-05 17:56:05 +01:00
}
}
}
2025-12-05 17:56:05 +01:00
.settings-card {
background: #ffffff;
border-color: rgba(0, 0, 0, 0.08);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
2025-12-05 17:56:05 +01:00
.settings-title {
color: #1e293b;
2025-12-05 17:56:05 +01:00
}
}
.settings-item {
background: #f8fafc;
border-color: rgba(0, 0, 0, 0.06);
2025-12-05 17:56:05 +01:00
.settings-item-left {
2025-12-05 17:56:05 +01:00
.q-icon {
color: #64748b;
2025-12-05 17:56:05 +01:00
}
span {
color: #1e293b;
2025-12-05 17:56:05 +01:00
}
}
2025-12-05 17:56:05 +01:00
&.clickable:hover {
background: #f1f5f9;
2025-12-05 17:56:05 +01:00
}
}
.mobile-nav {
background: rgba(255, 255, 255, 0.98);
border-top-color: rgba(0, 0, 0, 0.1);
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
2025-12-05 17:56:05 +01:00
.mobile-nav-btn {
.q-icon, span {
color: #64748b;
2025-12-05 17:56:05 +01:00
}
&.active {
background: rgba(102, 126, 234, 0.1);
2025-12-05 17:56:05 +01:00
.q-icon, span {
color: #5b21b6;
2025-12-05 17:56:05 +01:00
}
}
}
}
.explore-btn {
background: #ffffff;
border-color: rgba(102, 126, 234, 0.3);
color: #5b21b6;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
2025-12-05 17:56:05 +01:00
&:hover {
background: rgba(102, 126, 234, 0.08);
border-color: rgba(102, 126, 234, 0.5);
2025-12-05 17:56:05 +01:00
}
}
.circuits-section {
.circuits-header {
.section-title {
color: #1e293b;
2025-12-05 17:56:05 +01:00
.title-icon {
color: #667eea;
}
}
2025-12-05 17:56:05 +01:00
.scroll-hint {
color: #94a3b8;
}
}
2025-12-05 17:56:05 +01:00
}
.contact-item {
background: #f8fafc;
border-color: rgba(0, 0, 0, 0.06);
2025-12-05 17:56:05 +01:00
&:hover {
background: #f1f5f9;
border-color: rgba(102, 126, 234, 0.3);
2025-12-05 17:56:05 +01:00
}
&.recent {
background: rgba(102, 126, 234, 0.08);
border-color: rgba(102, 126, 234, 0.25);
2025-12-05 17:56:05 +01:00
}
.contact-name {
color: #1e293b;
2025-12-05 17:56:05 +01:00
}
.contact-username {
color: #64748b;
}
2025-12-05 17:56:05 +01:00
.contact-email {
color: #94a3b8;
}
2025-12-05 17:56:05 +01:00
}
.confirm-details {
background: #f8fafc;
border: 1px solid rgba(0, 0, 0, 0.06);
2025-12-05 17:56:05 +01:00
.confirm-row {
border-bottom-color: rgba(0, 0, 0, 0.06);
2025-12-05 17:56:05 +01:00
.confirm-label {
color: #64748b;
}
2025-12-05 17:56:05 +01:00
.confirm-value {
color: #1e293b;
2025-12-05 17:56:05 +01:00
}
}
}
.receive-note {
background: rgba(251, 191, 36, 0.12);
border-color: rgba(251, 191, 36, 0.3);
color: #92400e;
}
2025-12-05 17:56:05 +01:00
}