Changeset 30f843c in Klonkt
- Timestamp:
- 06/27/2026 10:56:27 AM (2 months ago)
- Branches:
- main
- Children:
- 6bc2ca7e
- Parents:
- 67aea12
- File:
-
- 1 edited
-
src/views/pages/admin-stats.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/admin-stats.ejs
r67aea12 r30f843c 19 19 <details class="stats-help"> 20 20 <summary><%= t('astat.help_summary') %></summary> 21 <ul> 22 <li><strong><%= t('astat.help_vd_term') %></strong> — <%= t('astat.help_vd_a') %> <em><%= t('astat.help_vd_em') %></em><%= t('astat.help_vd_b') %></li> 23 <li><strong><%= t('astat.help_pv_term') %></strong> — <%= t('astat.help_pv') %></li> 24 <li><strong><%= t('astat.help_plays_term') %></strong> — <%= t('astat.help_plays') %></li> 25 <li><strong><%= t('astat.help_postviews_term') %></strong> — <%= t('astat.help_postviews') %></li> 26 </ul> 27 <p><%= t('astat.help_footer') %></p> 21 <div class="stats-help-body"> 22 <dl class="stats-help-defs"> 23 <div><dt><%= t('astat.help_vd_term') %></dt><dd><%= t('astat.help_vd_a') %> <em><%= t('astat.help_vd_em') %></em><%= t('astat.help_vd_b') %></dd></div> 24 <div><dt><%= t('astat.help_pv_term') %></dt><dd><%= t('astat.help_pv') %></dd></div> 25 <div><dt><%= t('astat.help_plays_term') %></dt><dd><%= t('astat.help_plays') %></dd></div> 26 <div><dt><%= t('astat.help_postviews_term') %></dt><dd><%= t('astat.help_postviews') %></dd></div> 27 </dl> 28 <p class="stats-help-note"><%= t('astat.help_footer') %></p> 29 </div> 28 30 </details> 29 31 … … 148 150 .stats-period a { display: inline-block; margin-left: .4rem; padding: .2rem .6rem; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--ink); } 149 151 .stats-period a.is-on { background: var(--accent); color: #fff; border-color: var(--accent); } 152 .stats-help { border: 1px solid var(--rule); border-radius: 12px; background: var(--paper-2); margin: 0 0 1.25rem; } 153 .stats-help summary { cursor: pointer; padding: .7rem 1rem; font-weight: 600; font-size: .9rem; list-style: none; display: flex; align-items: center; gap: .5rem; } 154 .stats-help summary::-webkit-details-marker { display: none; } 155 .stats-help summary::before { content: '\203A'; font-size: 1.15rem; line-height: 1; color: var(--ink-soft); transition: transform .15s; } 156 .stats-help[open] summary::before { transform: rotate(90deg); } 157 .stats-help-body { padding: 0 1rem 1rem; } 158 .stats-help-defs { margin: 0; } 159 .stats-help-defs > div { display: grid; grid-template-columns: 130px 1fr; gap: .2rem 1.1rem; align-items: baseline; 160 padding: .55rem 0; border-top: 1px solid color-mix(in srgb, var(--rule) 55%, transparent); } 161 .stats-help-defs dt { font-weight: 700; font-size: .85rem; color: var(--ink); } 162 .stats-help-defs dd { margin: 0; font-size: .85rem; line-height: 1.5; color: var(--ink-soft); } 163 .stats-help-defs dd em { font-style: italic; color: var(--ink); } 164 .stats-help-note { margin: .85rem 0 0; padding-top: .7rem; border-top: 1px solid var(--rule); 165 font-size: .8rem; line-height: 1.55; color: var(--ink-muted); } 166 @media (max-width: 480px) { .stats-help-defs > div { grid-template-columns: 1fr; gap: .1rem; } } 150 167 </style>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)