**Motivations :** - document and enforce the secure websocket endpoint for the relay - streamline wallet setup flow without manual blockers **Modifications :** - update docs and service bootstrap logic to rely on VITE_BOOTSTRAPURL with explicit /ws suffix - clean wallet setup and block sync pages to run automatically without continue buttons - refresh shared styles and services to match the new initialization path and logging adjustments **Page affectées :** - docs/INTEGRATION.md - src/services/service.ts - src/pages/wallet-setup/wallet-setup.*
856 lines
16 KiB
CSS
Executable File
856 lines
16 KiB
CSS
Executable File
:root {
|
|
--color-primary: #3a506b;
|
|
--color-secondary: #b0bec5;
|
|
--color-accent: #d68c45;
|
|
--color-danger: #dc3545;
|
|
--color-success: #4caf50;
|
|
--color-warning: #ff9800;
|
|
--color-info: #2196f3;
|
|
--color-surface: rgba(255, 255, 255, 0.96);
|
|
--color-surface-muted: rgba(255, 255, 255, 0.88);
|
|
--color-shadow: rgba(15, 23, 42, 0.22);
|
|
--color-text-primary: #1f2c3d;
|
|
--color-text-secondary: #59677c;
|
|
--radius-sm: 6px;
|
|
--radius-md: 10px;
|
|
--radius-lg: 16px;
|
|
--shadow-sm: 0 6px 16px var(--color-shadow);
|
|
--shadow-md: 0 16px 32px rgba(15, 23, 42, 0.18);
|
|
--shadow-lg: 0 28px 60px rgba(15, 23, 42, 0.22);
|
|
--container-max-width: 1100px;
|
|
--transition-base: 0.25s ease;
|
|
font-size: 16px;
|
|
color-scheme: light;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
min-height: 100%;
|
|
margin: 0;
|
|
font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
color: var(--color-text-primary);
|
|
background:
|
|
linear-gradient(145deg, rgba(21, 36, 52, 0.92) 0%, rgba(48, 67, 87, 0.88) 100%),
|
|
url('../assets/bgd.webp') center/cover fixed no-repeat;
|
|
display: flex;
|
|
flex-direction: column;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
textarea,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
#containerId.container {
|
|
width: min(var(--container-max-width), 100vw - 32px);
|
|
margin: auto;
|
|
padding: 32px 20px 60px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 32px;
|
|
}
|
|
|
|
.page-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.card {
|
|
background: var(--color-surface);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-md);
|
|
border: 1px solid rgba(58, 80, 107, 0.12);
|
|
padding: 28px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card--compact {
|
|
padding: 20px;
|
|
gap: 14px;
|
|
}
|
|
|
|
.card__header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.card__title {
|
|
margin: 0;
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.card__subtitle {
|
|
margin: 0;
|
|
color: var(--color-text-secondary);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.status {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
padding: 16px 20px;
|
|
border-radius: var(--radius-md);
|
|
font-weight: 500;
|
|
line-height: 1.4;
|
|
text-align: center;
|
|
background: rgba(241, 245, 249, 0.85);
|
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
|
}
|
|
|
|
.status.loading {
|
|
background: rgba(33, 150, 243, 0.1);
|
|
color: var(--color-info);
|
|
border-color: rgba(33, 150, 243, 0.25);
|
|
}
|
|
|
|
.status.success {
|
|
background: rgba(76, 175, 80, 0.1);
|
|
color: var(--color-success);
|
|
border-color: rgba(76, 175, 80, 0.25);
|
|
}
|
|
|
|
.status.error {
|
|
background: rgba(244, 67, 54, 0.1);
|
|
color: var(--color-danger);
|
|
border-color: rgba(244, 67, 54, 0.25);
|
|
}
|
|
|
|
.status__spinner {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
border: 2px solid rgba(148, 163, 184, 0.25);
|
|
border-top-color: currentColor;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.progress {
|
|
width: 100%;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.6);
|
|
overflow: hidden;
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
}
|
|
|
|
.progress__bar {
|
|
height: 100%;
|
|
width: 0;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, var(--color-primary), var(--color-info));
|
|
transition: width 0.4s ease;
|
|
}
|
|
|
|
.button,
|
|
button.button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 12px 20px;
|
|
border-radius: var(--radius-md);
|
|
border: none;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
|
|
background: rgba(58, 80, 107, 0.12);
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.button:hover,
|
|
button.button:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 12px 24px rgba(58, 80, 107, 0.18);
|
|
}
|
|
|
|
.button:disabled,
|
|
button.button:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.button--primary {
|
|
background: linear-gradient(135deg, var(--color-primary), #273647);
|
|
color: #fff;
|
|
}
|
|
|
|
.button--secondary {
|
|
background: rgba(176, 190, 197, 0.25);
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.button--danger {
|
|
background: linear-gradient(135deg, #e9494f, #c62828);
|
|
color: #fff;
|
|
}
|
|
|
|
.account-actions {
|
|
margin-top: 24px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(148, 163, 184, 0.35);
|
|
text-align: center;
|
|
}
|
|
|
|
.danger-btn {
|
|
background: linear-gradient(135deg, #e9494f, #c62828);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
padding: 12px 28px;
|
|
font-weight: 600;
|
|
box-shadow: 0 12px 24px rgba(220, 53, 69, 0.32);
|
|
transition: transform var(--transition-base), box-shadow var(--transition-base);
|
|
}
|
|
|
|
.danger-btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 18px 38px rgba(220, 53, 69, 0.45);
|
|
}
|
|
|
|
.input-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.input-group label {
|
|
font-weight: 600;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.input-field,
|
|
.words-input,
|
|
input[type='text'],
|
|
input[type='password'],
|
|
textarea,
|
|
select {
|
|
width: 100%;
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
|
background: rgba(255, 255, 255, 0.92);
|
|
padding: 12px 14px;
|
|
color: var(--color-text-primary);
|
|
transition: border-color var(--transition-base), box-shadow var(--transition-base);
|
|
}
|
|
|
|
.input-field:focus,
|
|
.words-input:focus,
|
|
input[type='text']:focus,
|
|
input[type='password']:focus,
|
|
textarea:focus,
|
|
select:focus {
|
|
outline: none;
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 4px rgba(58, 80, 107, 0.15);
|
|
}
|
|
|
|
.input-hint {
|
|
font-size: 0.85rem;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.message {
|
|
font-size: 0.95rem;
|
|
line-height: 1.5;
|
|
color: var(--color-text-secondary);
|
|
margin: 18px 0;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.qr-code,
|
|
.camera-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 24px;
|
|
padding: 12px 0;
|
|
}
|
|
|
|
.emoji-display,
|
|
#emoji-display-2 {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
#okButton,
|
|
.create-btn {
|
|
padding: 8px 18px;
|
|
border-radius: var(--radius-md);
|
|
border: none;
|
|
background: rgba(208, 208, 215, 0.7);
|
|
color: #1b1f23;
|
|
cursor: pointer;
|
|
transition: background var(--transition-base);
|
|
}
|
|
|
|
#okButton:hover,
|
|
.create-btn:hover {
|
|
background: rgba(208, 208, 215, 0.95);
|
|
}
|
|
|
|
.pairing-request {
|
|
font-size: 0.95rem;
|
|
line-height: 1.5;
|
|
color: var(--color-text-secondary);
|
|
padding: 14px 18px;
|
|
border-radius: var(--radius-md);
|
|
background: rgba(58, 80, 107, 0.08);
|
|
}
|
|
|
|
.menu-content {
|
|
position: absolute;
|
|
top: calc(100% + 12px);
|
|
right: 0;
|
|
min-width: 200px;
|
|
background: var(--color-surface);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-sm);
|
|
padding: 8px 0;
|
|
border: 1px solid rgba(148, 163, 184, 0.25);
|
|
display: none;
|
|
z-index: 10;
|
|
}
|
|
|
|
.menu-content a {
|
|
display: block;
|
|
padding: 10px 18px;
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.menu-content a:hover {
|
|
background: rgba(58, 80, 107, 0.08);
|
|
}
|
|
|
|
.delete-account-btn {
|
|
background: rgba(244, 67, 54, 0.12) !important;
|
|
color: var(--color-danger) !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.delete-account-btn:hover {
|
|
background: rgba(244, 67, 54, 0.2) !important;
|
|
color: #b71c1c !important;
|
|
}
|
|
|
|
.pairing-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.pairing-card,
|
|
.card.pairing-card {
|
|
background: var(--color-surface);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
padding: 28px;
|
|
border: 1px solid rgba(58, 80, 107, 0.12);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.card-description {
|
|
margin: 0;
|
|
color: var(--color-text-secondary);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.link-button {
|
|
background: none;
|
|
border: none;
|
|
color: var(--color-info);
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-wrapper {
|
|
width: 100%;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 28px;
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(225, 233, 239, 0.86));
|
|
backdrop-filter: blur(18px);
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.35);
|
|
box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
|
|
}
|
|
|
|
.brand-logo {
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.nav-right-icons {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
position: relative;
|
|
}
|
|
|
|
.notification-container {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.notification-bell,
|
|
.burger-menu {
|
|
width: 22px;
|
|
height: 22px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
color: var(--color-text-secondary);
|
|
transition: color var(--transition-base);
|
|
}
|
|
|
|
.notification-bell:hover,
|
|
.burger-menu:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.notification-badge {
|
|
position: absolute;
|
|
top: -6px;
|
|
right: -6px;
|
|
min-width: 18px;
|
|
height: 18px;
|
|
padding: 0 6px;
|
|
border-radius: 999px;
|
|
background: var(--color-danger);
|
|
color: #fff;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.notification-board {
|
|
position: absolute;
|
|
top: calc(100% + 12px);
|
|
right: 0;
|
|
width: min(320px, 90vw);
|
|
background: var(--color-surface);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-lg);
|
|
border: 1px solid rgba(148, 163, 184, 0.25);
|
|
padding: 16px 0;
|
|
display: none;
|
|
}
|
|
|
|
.notification-element {
|
|
padding: 12px 18px;
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.notification-element:hover {
|
|
background: rgba(58, 80, 107, 0.08);
|
|
}
|
|
|
|
.container-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
gap: 18px;
|
|
min-height: calc(100vh - 120px);
|
|
padding-top: 32px;
|
|
}
|
|
|
|
.title-container {
|
|
grid-column: 2 / 7;
|
|
}
|
|
|
|
.page-container {
|
|
grid-column: 2 / 7;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 12px;
|
|
min-height: 60vh;
|
|
}
|
|
|
|
.process-container {
|
|
grid-column: 3 / 6;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.separator {
|
|
width: 2px;
|
|
background: rgba(148, 163, 184, 0.32);
|
|
align-self: stretch;
|
|
}
|
|
|
|
.tabs {
|
|
display: flex;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.35);
|
|
overflow-x: auto;
|
|
gap: 2px;
|
|
}
|
|
|
|
.tab {
|
|
flex: 1;
|
|
min-width: 120px;
|
|
padding: 12px 16px;
|
|
text-align: center;
|
|
color: var(--color-text-secondary);
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: color var(--transition-base), background var(--transition-base);
|
|
}
|
|
|
|
.tab:hover {
|
|
background: rgba(58, 80, 107, 0.08);
|
|
}
|
|
|
|
.tab.active {
|
|
color: var(--color-primary);
|
|
border-bottom: 3px solid var(--color-primary);
|
|
}
|
|
|
|
.tab-content {
|
|
display: none;
|
|
}
|
|
|
|
.tab-content.active {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.card-content,
|
|
.process-card-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.process-title {
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.process-element {
|
|
padding: 10px 14px;
|
|
border-radius: var(--radius-md);
|
|
transition: background var(--transition-base);
|
|
}
|
|
|
|
.process-element:hover,
|
|
.process-element.selected,
|
|
.selected-process-zone {
|
|
background: rgba(58, 80, 107, 0.12);
|
|
}
|
|
|
|
.process-card {
|
|
min-width: 280px;
|
|
max-height: 60vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.custom-select,
|
|
.dropdown-content,
|
|
.autocomplete-list {
|
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-surface);
|
|
max-height: 220px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.custom-select option,
|
|
.dropdown-content span,
|
|
.autocomplete-list li {
|
|
padding: 10px 14px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.custom-select option:hover,
|
|
.dropdown-content span:hover,
|
|
.autocomplete-list li:hover {
|
|
background: rgba(58, 80, 107, 0.08);
|
|
}
|
|
|
|
.multi-select-component {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px;
|
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-surface);
|
|
}
|
|
|
|
.selected-wrapper {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 10px;
|
|
border-radius: var(--radius-md);
|
|
background: rgba(58, 80, 107, 0.12);
|
|
border: 1px solid rgba(58, 80, 107, 0.15);
|
|
}
|
|
|
|
.selected-close {
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--color-text-secondary);
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.search-container {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
|
|
.selected-input {
|
|
border: none;
|
|
outline: none;
|
|
padding: 6px 0;
|
|
min-width: 60px;
|
|
background: transparent;
|
|
}
|
|
|
|
.dropdown-icon {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 10px;
|
|
width: 14px;
|
|
height: 14px;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
transition: transform var(--transition-base);
|
|
}
|
|
|
|
.dropdown-icon.active {
|
|
transform: translateY(-50%) rotateX(180deg);
|
|
}
|
|
|
|
.modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(15, 23, 42, 0.55);
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
backdrop-filter: blur(12px);
|
|
z-index: 100;
|
|
padding: 24px;
|
|
}
|
|
|
|
.modal-content {
|
|
background: var(--color-surface);
|
|
border-radius: var(--radius-lg);
|
|
padding: 28px;
|
|
width: min(520px, 90vw);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.error-container,
|
|
.warning-container,
|
|
.success-container,
|
|
.loading-container {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 14px 18px;
|
|
border-radius: var(--radius-md);
|
|
border-left: 4px solid currentColor;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
|
|
}
|
|
|
|
.error-container {
|
|
color: var(--color-danger);
|
|
background: rgba(244, 67, 54, 0.08);
|
|
}
|
|
|
|
.warning-container {
|
|
color: var(--color-warning);
|
|
background: rgba(255, 152, 0, 0.1);
|
|
}
|
|
|
|
.success-container {
|
|
color: var(--color-success);
|
|
background: rgba(76, 175, 80, 0.1);
|
|
}
|
|
|
|
.loading-container {
|
|
color: var(--color-info);
|
|
background: rgba(33, 150, 243, 0.08);
|
|
}
|
|
|
|
.error-title,
|
|
.warning-title,
|
|
.success-title {
|
|
margin: 0 0 4px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.error-message,
|
|
.warning-message,
|
|
.success-message,
|
|
.loading-message {
|
|
margin: 0;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.auth-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.auth-button {
|
|
background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
|
|
color: white;
|
|
border: none;
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px 34px;
|
|
font-weight: 600;
|
|
box-shadow: 0 14px 32px rgba(59, 130, 246, 0.35);
|
|
}
|
|
|
|
.auth-button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 20px 38px rgba(59, 130, 246, 0.45);
|
|
}
|
|
|
|
.auth-hint {
|
|
font-size: 0.9rem;
|
|
color: var(--color-text-secondary);
|
|
font-style: italic;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
#containerId.container {
|
|
width: min(960px, 100vw - 24px);
|
|
padding: 28px 16px 48px;
|
|
}
|
|
|
|
.container-grid {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
|
|
.title-container,
|
|
.page-container {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.process-container {
|
|
grid-column: 1 / -1;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
body {
|
|
background-attachment: scroll;
|
|
}
|
|
|
|
#containerId.container {
|
|
width: 100%;
|
|
padding: 20px 14px 40px;
|
|
gap: 24px;
|
|
}
|
|
|
|
.card,
|
|
.pairing-card {
|
|
padding: 20px;
|
|
border-radius: var(--radius-md);
|
|
gap: 16px;
|
|
}
|
|
|
|
.nav-wrapper {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
padding: 14px 18px;
|
|
}
|
|
|
|
.nav-right-icons {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.tabs {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.tab {
|
|
flex: none;
|
|
}
|
|
|
|
.modal-content {
|
|
width: min(480px, 100%);
|
|
padding: 22px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.card,
|
|
.pairing-card {
|
|
padding: 18px;
|
|
}
|
|
|
|
.button,
|
|
.auth-button,
|
|
.danger-btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-wrapper {
|
|
position: static;
|
|
border-radius: 0;
|
|
}
|
|
}
|