Журнал изменений

Журнал изменений

Фильтр и поиск

Всего: 1091 Доступных коммитов | Отфильтровано: 1091 Коммиты | Страница: 19 / 110
23.06.2026
Refactor: admin CSS modernization, tokens and a11y
Автор: Eduard Laas | Дата: 12:34 23.06.2026
  • floats 5 -> 2: drop vestigial float on absolute .sl-float-panel and on .sl-searchbox (always overridden in flex parent); .sl-copyright float -> block (only in-flow footer child). Only text-wrap floats stay

  • remove 5 redundant text-decoration: none !important (base enforces none; zero underline rules in project)

  • tokenize: 109 spacing literals (4/6/8/12px) -> --sl-space-* in gap/padding/margin; border-radius 6px -> --sl-radius-soft, 8px -> new --sl-radius-card; 3x soft box-shadow -> --sl-shadow-xs; duplicated footer gradient -> --sl-bg-footer-stripe; 2x #fff -> --sl-color-bg (admin theme now has zero hardcoded hex)

  • a11y: add prefers-reduced-motion guard and :focus-visible rings (using the existing --sl-focus-primary convention)

  • drop 2 reducible !important (.sl-ratings-inner-row grid, .sl-changelog-commit:hover already win by order/specificity)

  • merge identical callout rules; drop duplicate .sl-geo-flag img rule
  • split one 481-char gradient onto multiple lines (180-char rule)
Refactor: lite CSS round-2 polish
Автор: Eduard Laas | Дата: 12:34 23.06.2026
  • .sl-progress-info label/value -> CSS grid (1fr auto): pins percent right, label wraps cleanly (flex shrank it)

  • base.css base styles use existing tokens (body/a/optgroup colors)
  • repeated black-overlay rgba -> --sl-overlay-10/12/15/20 tokens
  • remove 2 confirmed-dead rules (.sl-left, td.sl-fl-col-icon-m)
  • eliminate the legacy .sl-clrfix util entirely: .sl-com-cont -> display:flow-root, footbox band hook -> :last-child; drop the class from header/advantage/comment wrappers (header is already flex)

Docs: update CSS modernization handoff (Batches 1-5, Tasks 2-3, fix)
Автор: Eduard Laas | Дата: 11:16 23.06.2026
Fix: replace legacy height:1% clearfix with flow-root
Автор: Eduard Laas | Дата: 11:16 23.06.2026

The CSS grid #container (shell refactor) makes #sidebar a stretched grid item with a definite, tall height. The legacy IE clearfix hack height:1% then resolves to ~1% of that height, collapsing .sl-block, .sl-post-vote and .sl-main-list>li so their content overflows and overlapping blocks appear (sidebar login over poll, forum block over news). Use display:flow-root for float containment without the definite-height side effect.

Refactor: modernize lite CSS layout to flex/grid
Автор: Eduard Laas | Дата: 11:15 23.06.2026

Convert legacy float layouts to flex/grid across templates/lite (footer, comments/forum-post media objects, rating, cards, slider, moderation menu, header nav, article meta). Remaining floats are intentional text-wrap/text-flow utilities only.

  • Footer: .sl-fmenu/.sl-partners to flex; reorder menu before ad-link
  • Comments/forum posts: media-object to flex with order/min-width
  • Header: #topmenu and search to flex, split scoped to >=901px
  • Drop 14 table-column !important via td./th. specificity bump
  • Consolidate 11 duplicate list-reset rules into one
  • Remove vestigial floats on absolutely-positioned dropdowns
  • Drop now-redundant sl-clrfix classes on flex/grid containers
Docs: add CSS modernization handoff for remaining work
Автор: Eduard Laas | Дата: 00:04 23.06.2026

Self-prompt describing the unfinished float to flex/grid migration, the !important specificity refactor and duplicate-block consolidation.

Core changes:

  1. Handoff doc (docs/CSS-MODERNIZATION-TODO.md):
  2. Remaining float batches, gotchas, verification recipe, machine notes
Refactor: modernize lite shell layout to CSS grid
Автор: Eduard Laas | Дата: 00:04 23.06.2026

Replace the float-based content/sidebar shell with CSS grid, removing the clearfix and negative-margin hacks.

Core changes:

  1. Page shell (templates/lite/assets/css/theme.css):
  2. #container -> CSS grid (minmax(0,1fr) var(--sl-sidebar), column-gap)
  3. Drop clearfix hack height:1% and sidebar padding-right reservation
  4. #content/#sidebar lose float/width/negative-margin, gain min-width:0
  5. Mobile: #container collapses to one column; dead float resets removed
  6. Layout markup (templates/lite/layouts/home.html, app.html):
  7. Remove class="sl-clrfix" from #container (grid self-clears)

Benefits:

  • Pixel-identical desktop layout, cleaner stacked mobile
  • Removes the legacy float/clearfix layer from the main shell

Technical notes:

  • Also strips 12 redundant !important and merges the split #content rule
  • Breakpoints unchanged; no behavior change for valid layouts
Fix: prevent comment pager crash on out-of-range page
Автор: Eduard Laas | Дата: 00:04 23.06.2026

ashowcom() rendered an empty page and threw on bot-supplied or out-of-range com values; harden the comment view and clamp the page.

Core changes:

  1. Comment view (core/system.php):
  2. Initialize $cmassiv before the row loop so foreach never gets null
  3. Pass $mod (not the loop-set $com_modul) to getPageNumbers()
  4. Clamp com to [1, numpages] after counting rows

Benefits:

  • Removes Undefined variable, foreach-null and getPageNumbers TypeError
  • Out-of-range com now shows the last page instead of an empty list

Technical notes:

  • Behavior preserved for valid pages; defensive init kept as a safety net
22.06.2026
Style: modernize lite grids, pager and forum layout
Автор: Eduard Laas | Дата: 16:09 22.06.2026

Replace legacy float grids and the absolute-positioned pager with modern CSS Grid and flexbox, and tidy the forum foot, breadcrumbs and list info.

Core changes:

  1. Grid system (theme.css):
  2. sl-grid-1-2/1-3/1-4 use CSS Grid (repeat(N, minmax(0, 1fr))) with responsive 2/1 column fallbacks; drop float and clearfix :after

  3. Pager (theme.css):
  4. sl-pager is now flex (compact "< numbers >"), wraps cleanly; remove absolute arrows, fixed height and the mobile/forum-foot overrides

  5. Forum foot (theme.css):
  6. One flex row: pager left, buttons right; info line with separator; grouped the top/foot pull-right button spacing

  7. Header breadcrumbs (theme.css):
  8. Vertically centered, adopt the Magistral title font
  9. Forum list info (theme.css):
  10. Three equal-height columns; permissions right-aligned to the edge; green/red can/cannot colors via tokens

Benefits:

  • Less CSS, no legacy float/clearfix hacks
  • Responsive grids and pager out of the box
  • Consistent forum and pager presentation across modules

Technical notes:

  • Lite theme styles only; admin theme untouched
  • Card .sl-grid system left as-is
Refactor: modernize lite theme fragments markup
Автор: Eduard Laas | Дата: 16:09 22.06.2026

Align the lite template fragments with the consolidated PHP helpers: header breadcrumbs, forum topic list, permissions legend, favorite button and the block title bar.

Core changes:

  1. Header banner (lite-head-banner.html):
  2. Show breadcrumbs in the title slot, fall back to module name
  3. Forum topic list (forum-category-row.html, forum-category-table.html):
  4. Single title link with the status icon inline; drop the separate icon column and the matching header colspan for topic lists

  5. Forum info/foot (forum-list-info.html, forum-topic-view.html):
  6. Restore the access permissions block (was commented out)
  7. Drop legacy sl-grid-1-* and the clearfix wrapper on flex containers
  8. Reusable fragments (span.html, block-all.html):
  9. span supports an id (inline htmx target for the favorite button)
  10. block-all accepts optional icon_name/href for the title bar

Benefits:

  • Consistent forum heading and breadcrumbs
  • No phantom clearfix box inside flex containers
  • Inline favorite target avoids heading shift

Technical notes:

  • Escaping boundary preserved; PHP passes data, templates own markup
  • Backward compatible (new keys are optional)

Всего: 1091 на 110 страницах по 10 на каждой странице

1 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 110
Хотите опробовать SLAED CMS в действии?
Идеи и предложения
Обратная связь
Подтверждение

Поделиться
QR-код