Files
xamxam/public/assets/css
Pontoporeia 234d7bae40 admin/index.php: add server-side pagination (25/page)
- Add Database::getThesesListCount(array $filters) — runs the same WHERE
  clauses as getThesesList() but with COUNT(DISTINCT t.id); used to compute
  total pages without loading all rows.
- Extend Database::getThesesList() with $limit/$offset parameters; when
  $limit > 0 appends LIMIT/OFFSET and re-binds positional params individually
  to avoid the PDO mixed-style restriction.
- Fix getThesesList() SELECT: add LEFT JOIN access_types + at.name as
  access_type — the column was referenced in the template but never fetched.
- Wire admin/index.php: read ?page=, compute $totalPages/$offset, pass
  $perPage=25 + $offset to getThesesList(); include pagination.php partial
  below the table with filter-preserving $baseParams.
- Add result-count line (<p class="admin-list-meta">) showing "X–Y sur Z TFE"
  when multiple pages exist.
- Add .admin-body .pagination-wrap / .pagination-btn / .pagination-info styles
  to admin.css (scoped to .admin-body to avoid colliding with public pages).
2026-04-06 15:33:08 +02:00
..
2026-04-06 15:32:34 +02:00

CSS Architecture

File Structure

  • variables.css - CSS custom properties (variables) for colors and theme values
  • colors.css - Reference documentation of all color values used in the project
  • common.css - Shared styles: reset, header/nav, search bar, accessibility utilities
  • main.css - Home page styles
  • admin.css - Admin section styles
  • system.css - System page styles
  • search.css - Search/Directory page styles
  • apropos.css - About page styles
  • tfe.css - Individual thesis page styles
  • easymde.min.css - EasyMDE editor styles (minified, third-party)
  • modern-normalize.min.css - Modern normalize reset (minified, third-party)

Imports

All CSS files automatically import variables.css to access CSS custom properties.

Variables

Shared Variables (public pages)

  • --purple, --purple-dark, --purple-light - Purple palette
  • --black, --white - Base colors
  • --grey-light - Light grey background
  • --border-color - Border color
  • --text-muted - Muted text color

Admin Variables

  • --admin-bg, --admin-bg-alt - Background colors
  • --admin-border - Border color
  • --admin-text, --admin-text-muted - Text colors
  • --admin-purple - Accent color
  • --admin-input-bg - Input background