Записывайте свои сигналы и отслеживайте результаты
Сигнал сохранён!
Ваш сигнал добавлен в журнал.
Добавьте свой первый сигнал выше /* Page Layout */ .journal-page { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 24px 16px 48px; } .journal-header { text-align: center; margin-bottom: 32px; } .journal-header h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 0 8px; color: var(--ink); } .subtitle { color: var(--muted); margin: 0; font-size: clamp(14px, 3vw, 16px); } /* Form Section */ .form-section { margin-bottom: 40px; } .form-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px; } .form-card h2 { margin: 0 0 20px; font-size: clamp(20px, 4vw, 24px); color: var(--ink); } /* Form Grid */ .signal-form { display: flex; flex-direction: column; gap: 16px; } .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; } .form-group { display: flex; flex-direction: column; gap: 6px; } .form-group.full-width { grid-column: 1 / -1; } .form-group.ticker-group { grid-column: 1 / -1; } @media (min-width: 480px) { .form-group.ticker-group { grid-column: auto; } } @media (min-width: 640px) { .form-grid { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 768px) { .form-grid { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 1024px) { .form-grid { grid-template-columns: repeat(3, 1fr) 1.5fr; } } /* Form Inputs */ label { font-size: 14px; font-weight: 500; color: var(--ink); } input, select, textarea { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; background: var(--input-bg); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; width: 100%; font-family: inherit; min-height: 48px; touch-action: manipulation; } input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 124, 103, 0.1); } /* Uppercase ticker input */ #ticker { text-transform: uppercase; } /* Date input styling */ input[type="date"] { font-family: inherit; } /* Select styling */ select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2352615b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; } /* Textarea */ textarea { resize: vertical; min-height: 100px; } /* Form Hints */ .form-hint { font-size: 12px; color: var(--muted); } .char-count { text-align: right; } /* Form Actions */ .form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; } .btn { padding: 16px 24px; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; border: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-width: 140px; min-height: 48px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; } .btn:active { transform: scale(0.98); } .btn-primary { background: var(--accent); color: white; } .btn-primary:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15, 124, 103, 0.25); } .btn-secondary { background: var(--field); color: var(--ink); border: 1px solid var(--line); } .btn-secondary:hover { background: var(--line); } .btn:disabled { opacity: 0.6; cursor: not-allowed; } .btn-icon { font-size: 16px; } /* Success Message */ .success-message { margin-top: 16px; padding: 16px; background: rgba(15, 124, 103, 0.1); border: 1px solid var(--accent); border-radius: 10px; } .success-content { display: flex; align-items: center; gap: 12px; } .success-icon { font-size: 24px; } .success-title { margin: 0; font-weight: 600; color: var(--accent); } .success-text { margin: 4px 0 0; font-size: 14px; color: var(--muted); } /* Entries Section */ .entries-section { margin-top: 40px; } .section-header { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; } @media (min-width: 480px) { .section-header { flex-direction: row; align-items: center; justify-content: space-between; } } .section-header h2 { margin: 0; font-size: clamp(18px, 4vw, 22px); color: var(--ink); } .stats-pills { display: flex; gap: 8px; flex-wrap: wrap; } .pill { padding: 6px 12px; background: var(--field); border-radius: 20px; font-size: 13px; color: var(--muted); font-weight: 500; } .pill-open { background: rgba(15, 124, 103, 0.1); color: var(--accent); } .pill-closed { background: rgba(189, 61, 42, 0.1); color: var(--alert); } /* Empty State */ .empty-state { text-align: center; padding: 48px 24px; background: var(--card-bg); border: 1px solid var(--line); border-radius: 16px; color: var(--muted); } .empty-icon { font-size: 48px; margin-bottom: 16px; } .empty-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--ink); } .empty-text { margin: 0; font-size: 14px; } /* Signals List */ .signals-list { display: flex; flex-direction: column; gap: 12px; } .signal-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.2s, box-shadow 0.2s; } .signal-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); } .signal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .signal-ticker { font-size: 20px; font-weight: 700; color: var(--accent); } .signal-direction { padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; } .signal-direction.long { background: rgba(15, 124, 103, 0.15); color: var(--accent); } .signal-direction.short { background: rgba(189, 61, 42, 0.15); color: var(--alert); } .signal-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 12px; } .meta-item { display: flex; flex-direction: column; gap: 2px; } .meta-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; } .meta-value { font-size: 14px; font-weight: 600; color: var(--ink); } .signal-notes { font-size: 14px; color: var(--muted); padding-top: 8px; border-top: 1px solid var(--line); line-height: 1.5; } /* Mobile Optimizations - 390px viewport */ @media (max-width: 390px) { .journal-page { padding: 16px 12px 32px; width: 100%; } .form-card { padding: 16px; border-radius: 12px; } .form-grid { grid-template-columns: 1fr; gap: 14px; } .form-group.ticker-group { grid-column: 1; } .form-actions { flex-direction: column; } .btn { width: 100%; padding: 16px; } input, select, textarea { font-size: 16px; /* Critical: prevents iOS zoom */ padding: 14px 12px; } .section-header { flex-direction: column; align-items: flex-start; } .stats-pills { width: 100%; } .pill { flex: 1; text-align: center; } .signal-header { flex-direction: column; align-items: flex-start; } .signal-meta { grid-template-columns: repeat(2, 1fr); } } /* Loading state for button */ .btn.is-loading { position: relative; color: transparent; } .btn.is-loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }