8 lines
14 KiB
CSS
8 lines
14 KiB
CSS
:root{--ink:#263d32;--muted:#7d847b;--paper:#f6f7f2;--line:#e5e8df;--green:#294f3a;--lime:#dbea9e;--white:#fff;--radius:15px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #97b350;outline-offset:4px}button{border:0}input,select{min-width:0}h1,h2,h3,p{margin:0}h1{font-size:38px;line-height:1.18;letter-spacing:-1.4px;font-weight:600}h2{font-size:21px;font-weight:600;letter-spacing:-.6px}h3{font-size:19px;font-weight:600}small{font-size:12px}.sidebar{position:fixed;top:0;bottom:0;left:0;width:236px;background:#f0f2e9;border-right:1px solid var(--line);padding:33px 23px;display:flex;flex-direction:column;z-index:1000}.brand{font-size:34px;font-weight:750;letter-spacing:-1.8px;display:flex;align-items:center;gap:11px}.brand-mark{display:inline-flex;background:var(--ink);color:var(--lime);width:35px;height:35px;align-items:center;justify-content:center;border-radius:11px;font-size:31px;line-height:1;font-style:italic;letter-spacing:-4px;padding-right:4px}.brand-dot{color:#9aad5b;margin-left:-10px}.sidebar-label{font-size:9px;letter-spacing:1.7px;color:#89917c;margin:42px 12px 17px}.nav-item{display:flex;align-items:center;gap:12px;border-radius:9px;padding:12px;margin:5px 0;color:#717967;font-weight:500;font-size:13px}.nav-item span{font-size:19px;width:20px;text-align:center}.nav-item:hover{background:#e7ebdc}.nav-item.active{color:var(--green);background:#e1e8d0}.sidebar-note{position:relative;margin-top:auto;padding:25px 12px 80px;overflow:hidden}.sidebar-note p{font-size:21px;letter-spacing:-.7px;line-height:1.5;margin-top:12px}.tiny-label,.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.7px}.tiny-label{color:#89917c}.trail-art{position:absolute;bottom:0;width:180px;left:5px;opacity:.6}.trail-art path{stroke:#a7b785;stroke-width:1.3;fill:none}.sidebar-bottom{border-top:1px solid #dce2d0;padding-top:23px;margin-top:30px}.account{display:flex;gap:10px;align-items:center}.avatar{background:#dce5c8;color:var(--green);border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-weight:600}.account strong{display:block;font-size:12px;max-width:130px;overflow:hidden;text-overflow:ellipsis}.account small{color:var(--muted);font-size:10px;display:block}.text-button{padding:0;background:none;color:var(--muted)}.logout{font-size:11px;margin:12px 0 0 47px}.muted{color:var(--muted)}main{margin-left:236px;min-height:100vh}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{font-size:10px;letter-spacing:1.3px;color:#7c8577}.breadcrumb span{margin:0 12px;color:#b9c0b3}.local-badge{font-size:11px;color:#7c8577;display:flex;gap:8px;align-items:center}.local-badge i{background:#77965f;width:5px;height:5px;border-radius:50%}.page{padding:36px 42px 20px;max-width:1590px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 30px}.eyebrow{color:#819075;display:block;margin-bottom:10px}.page-heading p{margin-top:11px;color:var(--muted);font-size:13px}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:12px 18px;border-radius:8px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s}.button.primary{background:var(--green);color:#fff}.button.primary:hover{background:#376348}.button.secondary{background:#edf1e4;border:1px solid #d9e0cf}.button.full{width:100%;justify-content:space-between;margin-top:3px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px 23px}.stat-card.featured{background:var(--green);color:white;border-color:var(--green)}.stat-label{font-size:9px;font-weight:600;letter-spacing:1px;display:flex;justify-content:space-between;align-items:center;color:#85907e}.stat-label span{font-size:17px;line-height:1}.featured .stat-label{color:#cfdeb7}.stat-value{font-size:39px;font-weight:500;letter-spacing:-1.9px;line-height:1.6;font-variant-numeric:tabular-nums;margin-top:5px;white-space:nowrap}.stat-value small{font-size:14px;letter-spacing:0;margin-left:7px;font-weight:400;color:#87937e}.featured .stat-value small{color:#cedebc}.stat-card p{font-size:10px;color:#8a9381;margin-top:3px}.featured p{color:#c5d4b2}.time-value{font-size:34px;line-height:1.84}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.overview-grid{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(225px,1fr);gap:22px;margin-bottom:28px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 25px 14px}.section-head .eyebrow{font-size:9px;margin-bottom:5px}.subtle-label{font-size:10px;color:#8e9589;white-space:nowrap}.chart-wrap{height:225px;padding:15px 24px 24px}.milestone-card{background:#e9eddc;border:1px solid #dfe5d0;border-radius:var(--radius);padding:26px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;min-height:310px}.milestone-card>.eyebrow{position:absolute;top:27px;font-size:9px}.mountain{position:absolute;top:66px;left:0;width:100%;opacity:.8}.mountain path{fill:none;stroke:#a4b68b;stroke-width:1.2}.mountain circle{fill:#d5dda9}.milestone-number{font-size:39px;letter-spacing:-1.5px;position:relative;line-height:1.4}.milestone-number small{font-size:16px;margin-left:6px}.milestone-card h3{font-size:17px}.milestone-card p{font-size:11px;color:#7e8a72;margin-top:5px}.activities-panel>.section-head{padding-bottom:23px}.activity-table-wrap{overflow-x:auto}.activity-table{width:100%;border-collapse:collapse;white-space:nowrap}.activity-table th{text-align:left;background:#fafbf7;border-top:1px solid #f0f1eb;border-bottom:1px solid #f0f1eb;padding:13px 16px;font-size:9px;font-weight:500;color:#8d9585;letter-spacing:1px}.activity-table th:first-child{padding-left:25px}.activity-table td{padding:18px 16px;font-size:12px;border-bottom:1px solid #eef0e9;font-variant-numeric:tabular-nums}.activity-table tr:last-child td{border-bottom:none}.activity-table td:first-child{padding-left:25px}.activity-table td small{font-size:10px;color:#8a9481}.activity-name{display:flex;align-items:center;gap:12px}.activity-name strong{font-weight:550;display:block;font-size:13px;max-width:300px;overflow:hidden;text-overflow:ellipsis}.activity-name small{display:block;margin-top:4px}.activity-name small span{margin:0 5px}.sport-icon{display:grid;place-items:center;border-radius:10px;background:#edf2e5;color:#638052;width:36px;height:36px;font-size:20px;flex-shrink:0}.activity-table tr:hover td{background:#fcfdf9}.pill{display:inline-flex;padding:4px 10px;border-radius:5px;font-size:10px;background:#eff0eb;color:#7d8475}.pill.public,.pill.friends{background:#e9f0dd;color:#607746}.row-arrow{color:#81916f;font-size:19px}.athlete-link{color:#647e4f}.footer{display:flex;justify-content:space-between;margin-top:38px;padding-top:19px;border-top:1px solid var(--line);font-size:9px;color:#99a08f;letter-spacing:.8px}.footer span:last-child{letter-spacing:0}.empty-state{text-align:center;padding:65px 25px;color:var(--muted)}.empty-state h1,.empty-state h3{color:var(--ink);margin:12px 0}.empty-state p{margin-bottom:22px}.empty-symbol{font-size:30px;color:#819569}.auth-layout{display:grid;grid-template-columns:1fr 450px;gap:45px;align-items:center;min-height:680px}.auth-intro{position:relative;padding:30px 0}.auth-intro h1{font-size:clamp(42px,4vw,61px);line-height:1.15;letter-spacing:-2.4px}.auth-intro h1 em{font-style:normal;color:#8da65f}.auth-intro p{margin-top:25px;color:#858e7b;line-height:1.8;font-size:14px}.auth-art{margin-top:20px;width:100%;max-width:380px}.auth-art path{fill:none;stroke:#cad5b2;stroke-width:2}.auth-art circle{fill:#a2b66c;stroke:#f6f7f2;stroke-width:4}.auth-card{padding:32px}.auth-card h2{font-size:26px}.auth-card>p{font-size:12px;margin:12px 0 24px;line-height:1.7}.stack{display:flex;flex-direction:column;gap:17px}.stack label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:600;color:#59694f}.stack input:not([type=checkbox]),.stack select{border:1px solid #dee4d6;background:#fcfdf9;padding:12px;border-radius:7px;width:100%;color:var(--ink);font-size:12px;outline:none}.stack input:focus,.stack select:focus{border-color:#8da65f;box-shadow:0 0 0 3px #eaf0df}.stack input::placeholder{color:#a1a899}.stack .checkbox-label{flex-direction:row;align-items:center;gap:9px;font-weight:400}.checkbox-label input{accent-color:var(--green);width:16px;height:16px}.auth-foot{text-align:center;font-size:11px!important;margin-bottom:12px!important}.auth-foot a{color:var(--green);text-decoration:underline}.auth-card>small{display:block;text-align:center;font-size:10px}.form-error,.flash.error{background:#fff0e9;color:#99573b;border:1px solid #f0d8c7;border-radius:7px;padding:12px}.flash{background:#e9f0dd;color:#587644;border:1px solid #d6e3c6;padding:13px 18px;border-radius:8px;margin-bottom:22px;font-size:12px}.back-link{display:inline-block;color:#7c8d70;margin-bottom:24px;font-size:11px}.map-panel{margin-bottom:23px}.map-panel .section-head{padding-bottom:20px}#route-map{height:370px;background:#edf1e5;position:relative;z-index:1}.map-placeholder{position:absolute;left:0;right:0;top:45%;text-align:center;color:#87957c}.map-status{font-size:10px;color:#87957c;padding:9px 25px;min-height:30px}.detail-charts{display:grid;grid-template-columns:1fr 1fr;gap:23px;margin-bottom:23px}.detail-charts .chart-wrap{height:220px}.detail-bottom{display:grid;grid-template-columns:1.5fr 1fr;gap:23px}.splits-table{width:100%;border-collapse:collapse;font-size:12px}.splits-table th{font-size:9px;color:#86937a;font-weight:500;letter-spacing:.5px}.splits-table td,.splits-table th{padding:12px 18px;text-align:left;border-bottom:1px solid #eff1e9;font-variant-numeric:tabular-nums}.splits-table tr:last-child td{border:0}.publishing-panel{padding:25px;align-self:start}.publishing-panel h2{margin-bottom:22px}.field-help{color:#8a9481;font-size:11px;line-height:1.7;font-weight:400}.field-help a{text-decoration:underline}.dot-separator{margin:0 7px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:1100px}.settings-card{padding:29px}.settings-card h2{margin-bottom:22px}.settings-card>p{margin-top:-6px;margin-bottom:22px;font-size:12px}.upload-zone{border:1px dashed #becdad;border-radius:10px;padding:25px;background:#f8faf4;align-items:center;text-align:center}.upload-icon{font-size:28px;color:#7c965e;font-weight:400}.upload-zone small{font-size:10px;font-weight:400;color:#8b977f}.upload-zone input{background:white!important;margin-top:12px}.connection-card{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:30px}.connection-card h2{margin-bottom:10px}.connection-card p{font-size:12px;line-height:1.8}.connection-actions .field-help{font-size:11px;margin:12px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
|
|
.friends-top{margin-bottom:25px;max-width:none}.friend-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.friend-row:last-child{border-bottom:0}.friend-row strong{font-size:13px;display:block}.friend-row small{display:block;font-size:10px;margin-top:5px}.friend-actions{display:flex;align-items:center;gap:15px}.friend-actions button{font-size:11px}
|
|
@media(max-height:780px) and (min-width:681px){.sidebar-note{display:none}.sidebar-bottom{margin-top:auto}}
|
|
@media(min-width:1500px){.page{padding-top:45px}.stat-value{font-size:45px}.time-value{font-size:40px}.chart-wrap{height:260px}}
|
|
@media(max-width:1180px){.sidebar{width:205px;padding:30px 17px}main{margin-left:205px}.page{padding:30px 25px 20px}.topbar{padding:0 25px}.stat-card{padding:18px 16px}.stat-value{font-size:32px}.time-value{font-size:28px}.stat-label{font-size:8px}.auth-layout{grid-template-columns:1fr 390px;gap:20px}.auth-intro h1{font-size:45px}.section-head{padding:20px}.subtle-label{white-space:normal}.activity-name strong{max-width:215px}}
|
|
@media(max-width:950px){.stats-grid{grid-template-columns:repeat(2,1fr)}.overview-grid{grid-template-columns:1fr}.milestone-card{min-height:210px}.mountain{width:45%;left:50%;top:20px}.milestone-card>.eyebrow{position:static;margin-bottom:15px}.auth-layout{grid-template-columns:1fr;max-width:480px;margin:auto;min-height:0}.auth-intro{padding:0}.auth-intro h1{font-size:39px}.auth-intro p,.auth-art{display:none}.detail-bottom,.settings-grid{grid-template-columns:1fr}.connection-card{grid-template-columns:1fr}.detail-charts{grid-template-columns:1fr}.page-heading h1{font-size:32px}.page-heading{align-items:flex-start}.activity-table td{padding:15px 12px}}
|
|
@media(max-width:680px){.sidebar{position:relative;width:100%;height:auto;padding:17px 19px;border-right:0;border-bottom:1px solid var(--line);display:block}.brand{font-size:27px}.brand-mark{width:30px;height:30px;font-size:26px}.sidebar-label,.sidebar-note,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px;margin-top:12px;overflow-x:auto}.nav-item{white-space:nowrap;font-size:10px;padding:7px 10px;margin:0}.nav-item span{display:none}main{margin:0}.topbar{height:49px;padding:0 20px}.local-badge{display:none}.page{padding:25px 18px}.page-heading{flex-direction:column;gap:16px}.page-heading h1{font-size:32px}.page-heading p{font-size:12px}.stats-grid{gap:11px}.stat-card{padding:17px}.stat-value{font-size:32px}.time-value{font-size:27px}.stat-value small{font-size:11px}.stat-label{font-size:8px}.stat-card p{font-size:9px}.section-head{padding:19px;align-items:flex-start}.section-head h2{font-size:18px}.section-head .subtle-label{max-width:110px;text-align:right}.chart-wrap{padding:10px 15px 20px;height:200px}.auth-card{padding:24px}.auth-intro h1{font-size:38px}.auth-intro{padding-bottom:10px}.footer{font-size:8px;gap:10px}.footer span:last-child{display:none}#route-map{height:290px}.publishing-panel,.settings-card{padding:22px}.splits-table td,.splits-table th{padding:10px;font-size:10px}}
|