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

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

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

Всего: 1347 Доступных коммитов | Отфильтровано: 1347 Коммиты | Страница: 53 из 135
01.06.2026
Feat: migrate lite theme icons from sprite.png to Bootstrap Icons
Автор: Eduard Laas | Дата: 11:29 01.06.2026

Replace the legacy raster sprite with Bootstrap Icons glyphs in markup (<i class="bi">) for meta, forum/topic, message, cart, pager, slider, alert, favourite, like and carousel icons. Render the rating as bi half-stars (getRatingStars helper) and unify icon color/size via base.css tokens. Remove all dead sprite CSS and delete sprite.png; theme.css drops from ~5564 to 4731 lines.

Refactor: consolidate clearfix, button and icon rules in lite theme
Автор: Eduard Laas | Дата: 09:19 01.06.2026

Merge 9 identical clearfix :after rules into one group, drop redundant button box-shadow/text-shadow already provided by the base group, unify identical sl-but-navi/sl-but-read, and group matching sprite dimensions (date/card-date, message/topic twins). No visual changes; theme.css 5283 to 5211 lines.

Docs: expand lite theme CSS optimization prompt
Автор: Eduard Laas | Дата: 09:02 01.06.2026
Refactor: consolidate lite theme CSS and drop duplicate/dead rules
Автор: Eduard Laas | Дата: 09:01 01.06.2026

Merge identical declaration blocks (table heads/bodies, menus, card/cart id, idea/feedback tabs, sprite icon base and dimensions), replace hard-coded shadows and colors with existing base.css tokens, and remove dead selectors (sl-list-head/row, legacy fmenu/demo-line-title/ava-min aliases, sl-heading2, cart/forum head variants). No visual changes; reduces theme.css from 5564 to 5283 lines.

Refactor: unify lite table-head and heading classes in templates
Автор: Eduard Laas | Дата: 09:01 01.06.2026

Always emit sl-table-head for table/forum/cart heads and use sl-heading instead of sl-heading2, since their styling is identical. Enables removing the redundant CSS selectors.

29.05.2026
Refactor: simplify ARIA labels and remove foot-menu wrapper div
Автор: Eduard Laas | Дата: 11:47 29.05.2026

Follow-up to the semantic HTML commit: switches section labelling from aria-labelledby + IDs to plain aria-label, removes the now-redundant id="upper" from the wordmark anchor, and collapses the double-div foot-menu wrapper now that the CSS handles full-bleed directly.

Core changes:

  1. app.html / home.html:
  • section#demo-line: aria-labelledby → aria-label; drop id="demo-line-title" from h2 (ID was only needed for the labelledby reference)
  • footer .sl-upper-wordmark: remove id="upper" (CSS now targets .sl-upper-wordmark)
  • section Технологии / Контакты: aria-labelledby → aria-label; drop IDs from h2
  • Remove div#foot-menu + inner div.sl-wrp wrapper; nav.sl-fmenu is now a direct child of footer via div.sl-wrp.sl-clrfix (full-bleed handled in CSS)

Benefits:

  • Cleaner HTML: fewer IDs, shallower nesting in the footer
  • ARIA labels still present; labelledby pattern not needed when label text is static
Refactor: migrate lite theme colors to CSS custom properties
Автор: Eduard Laas | Дата: 11:47 29.05.2026

Replaces all hardcoded hex values in theme.css with semantic CSS variables, declared in a new canonical color palette in base.css. Establishes a single source of truth for the lite theme's color system, making future theming and dark-mode preparation trivial.

Core changes:

  1. base.css:
  • Add 31 canonical color-role variables (--sl-color-bg, --sl-color-surface, --sl-color-brand, --sl-color-text-muted, --sl-color-on-dark, etc.)
  • Add 3 shadow tokens (--sl-shadow-soft, --sl-shadow-medium, --sl-shadow-strong)
  1. theme.css:
  • Replace every hardcoded #hex with the matching --sl-color-* or --sl-shadow-* token
  • Rename #upper ID selector → .sl-upper-wordmark class selector (matches HTML)
  • Merge #foot-menu rule into #footbox > .sl-wrp.sl-clrfix with full-bleed background trick (100vw + negative margin) to eliminate the wrapper div
  • Remove duplicate background-color declaration in .sl-site-link
  • Fix tab-indented active-tab selectors to flush indentation
  1. docs/LITE_THEME_CSS_SIMPLIFICATION_PROMPT.md:
  • Add prompt document that captured the CSS simplification requirements

Benefits:

  • Zero hardcoded colors remain in theme.css; all values resolve through tokens
  • Shadow values unified via token; border-radius tokens already in place
  • Full-bleed footer menu background achieved without extra wrapper div
Refactor: replace generic divs with semantic HTML in lite layout
Автор: Eduard Laas | Дата: 09:51 29.05.2026

Upgrades the lite template layout to use meaningful HTML5 sectioning elements throughout header, footer, demo strip and navigation, improving document outline, accessibility and machine-readability. CSS selectors updated and minor property fixes applied in sync.

Core changes:

  1. app.html / home.html (layouts):
  • div#hmenu → nav#hmenu with aria-label="Главное меню"
    • form.sl-search-form gains role="search"
  • div#demo-line → section#demo-line aria-labelledby="demo-line-title"
    • b.sl-demo-line-title → h2#demo-line-title (correct heading level)
  • div#footbox → footer#footbox; foot-menu moved inside it
    • nested footer.sl-grid → section.sl-grid aria-label="SLAED CMS"
    • div.sl-grid (Технологии) → section aria-labelledby + h2
    • div.sl-grid (Контакты) → section aria-labelledby + h2
    • ul.sl-block-contact wrapped in address
    • nav.sl-fmenu gets aria-label="Нижнее меню"
    • protocol-relative URL //slaed.net → https://slaed.net
  1. menu.html (partial):
  • nav#topmenu → div#topmenu (already inside nav#hmenu; avoids nested nav)
  1. theme.css:
  • #demo-line: add background-position/repeat/size defaults
  • .demo-line-title: add font-weight:700; margin shorthand
  • .sl-list-item > li: margin-top → margin-bottom
  • #footbox: padding shorthand; address { font-style:normal }
  • .sl-f-title: margin shorthand
  • Responsive: update #footbox selectors to .sl-wrp > .sl-grid:first-child
  • Mobile: add overflow/ellipsis rules for .sl-list-item inside #footbox

Benefits:

  • Proper document outline with h2 headings in demo-line and footer sections
  • Screen-reader landmarks: nav, footer, section, address, role="search"
  • CSS remains in sync with the restructured DOM; no visual regressions
28.05.2026
Feature: enhance forum teaser with semantic meta icons and CSS utilities
Автор: Eduard Laas | Дата: 18:20 28.05.2026

Replaced plain-text author/date line in forum teaser items with a structured meta row using Bootstrap Icons, visually-hidden labels and dedicated CSS classes for accessibility and visual consistency.

Core changes:

  1. Fragment (forum-teaser-item.html):
  • Replaced bare span with sl-forum-meta / sl-forum-meta-item structure
  • Added bi-person-circle and bi-clock-history icons with aria-hidden
  • Added sl-visually-hidden labels for screen readers
  1. Controller (index.php):
  • Split when into when_label (_DATE) and when (formatted time only)
  1. Styles (theme.css):
  • Added sl-forum-meta, sl-forum-meta-item, sl-forum-meta-icon classes
  • Added sl-visually-hidden utility
  • Minor fixes: contacts padding, partners margin, demo-line float

Benefits:

  • Accessible icon-based meta row with screen-reader fallbacks
  • Reusable CSS utilities aligned with sl-* naming convention
Refactor: pass debug_html as a dedicated layout variable
Автор: Eduard Laas | Дата: 18:20 28.05.2026

Decoupled debug output from the foot-controls partial by passing it directly as a layout variable, so each layout controls its own placement without bloating the generic foot-controls partial.

Core changes:

  1. Backend (core/system.php):
  • Removed $debug from getFootControls() call
  • Added debug_html to the layout variable map
  1. Partial (foot-controls.html):
  • Removed debug_html block (no longer responsible for it)
  • Reordered: license before time
  1. Layouts (app.html, home.html, main.html):
  • Added conditional debug_html block at page bottom

Benefits:

  • Cleaner separation of concerns between partial and layout
  • Debug block is layout-controlled, not buried in a partial
Хотите опробовать SLAED CMS в действии?
Идеи и предложения
Обратная связь
Подтверждение

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

Предварительный просмотр