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

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

Всего: 899 Доступных коммитов | Отфильтровано: 899 Коммиты | Страница: 9 / 90
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):
  2. Replaced bare span with sl-forum-meta / sl-forum-meta-item structure
  3. Added bi-person-circle and bi-clock-history icons with aria-hidden
  4. Added sl-visually-hidden labels for screen readers
  5. Controller (index.php):
  6. Split when into when_label (_DATE) and when (formatted time only)
  7. Styles (theme.css):
  8. Added sl-forum-meta, sl-forum-meta-item, sl-forum-meta-icon classes
  9. Added sl-visually-hidden utility
  10. 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):
  2. Removed $debug from getFootControls() call
  3. Added debug_html to the layout variable map
  4. Partial (foot-controls.html):
  5. Removed debug_html block (no longer responsible for it)
  6. Reordered: license before time
  7. Layouts (app.html, home.html, main.html):
  8. 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
Chore: migrate Magistral font to WOFF2, remove legacy formats
Автор: Eduard Laas | Дата: 18:20 28.05.2026

Converted magistralb-wf and magistralr-wf from WOFF to WOFF2 using fonttools with glyph bounding-box recalculation to eliminate browser warnings. Removed obsolete EOT, TTF, SVG and WOFF fallbacks.

Core changes:

  1. Font files (templates/lite/assets/css/fonts/):
  2. Added magistralb-wf.woff2 and magistralr-wf.woff2 (bboxes fixed)
  3. Deleted magistral.woff, magistral.svg (no longer needed)
  4. Font declarations (base.css):
  5. Replaced multi-format src stack with single WOFF2 src
  6. Removed dead references to EOT, TTF, SVG files

Benefits:

  • Eliminates "glyph bbox was incorrect" browser warnings on cold load
  • Smaller file size (~18 % reduction vs WOFF)
  • Simpler, future-proof @font-face declarations

Technical notes:

  • WOFF2 support: >97 % of browsers, no fallback required
  • Conversion: WOFF → TTF (custom Node script) → fonttools recalcBounds → WOFF2
22.05.2026
Refactor: redesign login-nav with semantic CSS classes and CSS variables
Автор: Eduard Laas | Дата: 12:07 22.05.2026

Replace generic .sl-but-login, .sl-but-primary and .sl-dropdown-* selectors with scoped semantic names (.sl-login-top--head, .sl-login-toggle, .sl-login-profile, .sl-login-avatar, .sl-login-dropdown-form) and extract all magic numbers into CSS custom properties under :root in base.css.

Core changes:

  1. CSS variables for login section (base.css):
  2. Add 30 --sl-login-* custom properties for colors, sizes, padths, and layout

    • Colors: --sl-login-link-color, --sl-login-pill-bg, --sl-login-avatar-border-color
    • Layout: --sl-login-dropdown-width, --sl-login-field-width, --sl-login-avatar-size
  3. Login CSS refactoring (theme.css):
  4. Rename .sl-login-top.sl-login-top--head for header context
  5. Replace .sl-dropdown-form with .sl-login-dropdown-form (fully self-contained)
  6. Replace .sl-ava-min / .ava-min with .sl-login-avatar (variable-driven)
  7. Responsive overrides use CSS variable overrides instead of property repetition
  8. Adjust #header padding: 36px → 24px; #container padding: 50px → 24px
  9. Template updates (button.html, link.html, list.html, block-user-info.html, login-nav.html):
  10. is_login_submit → class sl-login-submit (no longer inherits button gradients)
  11. is_login_buttonsl-login-link sl-login-link-top
  12. is_login_profilesl-login-profile (pill bg applied via CSS, not button base)
  13. is_login_avatarsl-login-avatar
  14. login-nav.html: inline form fields and hidden inputs, remove fragment indirection
  15. Fix typo: is_sl-loggedis_logged in list.html condition
  16. Add .sl-login-top--block modifier to block-user-info.html

Benefits:

  • Semantic class names make intent clear without reading CSS
  • CSS variables allow responsive breakpoint overrides via single rule block
  • Reduced coupling: login styles no longer depend on button base classes

Technical notes:

  • .sl-login-top class retained for backward compatibility in non-head contexts
  • Old .sl-ava-min, .ava-min selectors removed (replaced by .sl-login-avatar)
  • .sl-but-login selector removed from shared inline-flex group
Refactor: introduce layout CSS variables, unify circle controls, and replace home sprite
Автор: Eduard Laas | Дата: 00:34 22.05.2026

Migrates layout dimensions (container, sidebar, gutter, content width) to CSS variables, consolidates circular button styling into a reusable .sl-circle-action component, and replaces the legacy home-icon sprite with a Bootstrap Icon in the nav menu.

Core changes:

  1. Layout token system (base.css, theme.css):
  2. Add --sl-container, --sl-sidebar, --sl-gutter, --sl-content to :root

    • Sidebar, container padding and #sidebar margins now reference these tokens
    • .sl-fullview children constrained to --sl-content max-width
  3. Add --sl-size- and --sl-icon-size- / --sl-control-size scale tokens

    • Used by .sl-circle-action, nav controls and contact icon
  4. .sl-circle-action component (theme.css):
  5. New shared class for all circular action buttons (social, nav, search)

    • Replaces per-selector sizing on .sl-top-social .sl-thd
    • Hover gloss applied via .sl-circle-action:hover rule
  6. .sl-search-form replaces #qSearch id; search button now icon-only with aria-label
  7. Nav menu home link (menu.html, theme.css):
  8. Replace .sl-ico.sl-i-home CSS sprite with bi-house-door-fill Bootstrap Icon

    • New class .sl-home-link.sl-circle-action with hover color inversion
  9. #topmenu > ul > li > a uses --sl-nav-control-size for height/line-height/border-radius
  10. Social link semantics (app.html, home.html):
  11. rel="nofollow" → rel="me noopener"; RSS link gets rel="alternate" type="application/rss+xml"
  12. Added aria-label on all social anchors and search button
  13. "Мы в Twitter" title corrected to "Мы в X"

Benefits:

  • Single source of truth for sidebar/gutter dimensions — one token change resizes the layout
  • .sl-circle-action eliminates duplicated sizing rules across social, search, and nav controls
  • Improved accessibility via aria-label on icon-only interactive elements

Technical notes:

  • .sl-thd class retained on social anchors for backward compatibility with JS hooks
  • min() replaces width+max-width pair for .sl-wrp at all responsive breakpoints
  • 560px breakpoint gains d-pane, footer grid, partners, and marquee responsive fixes
21.05.2026
Chore: update config, remove AddMail JS prototype, fix setTimeout eval
Автор: Eduard Laas | Дата: 17:52 21.05.2026

Remove the legacy String.prototype.AddMail JS method (email is now a plain mailto: link). Replace setTimeout string-eval in FlyBasket with a proper closure. Update site_logo to wordmark variant and rotate sitekey. Add is_account_button: true to register_link so the template renders it with the neutral button style.

Core changes:

  1. global-func.js:
  2. Remove String.prototype.AddMail (anti-spam obfuscation no longer needed)
  3. Replace setTimeout('FlyBasket("'+productId+'")', 10) with closure form
  4. config/global.php:
  5. site_logo: mark → wordmark SVG variant
  6. sitekey: rotated to new value
  7. core/system.php (setHead):
  8. register_link: add 'is_account_button' => true so button.html/link.html renders it with sl-but-neutral class

Refactor: rename button classes to semantic variants across lite template
Автор: Eduard Laas | Дата: 17:52 21.05.2026

Replace color-literal class names with their semantic equivalents as defined by the new CSS button system. Also update login-button markup to use sl-but-primary directly instead of the legacy sl-ico sl-login-btn approach, and map is_footer_button to sl-but-warning.

Mapping: sl-but → sl-but-neutral sl-but-blue → sl-but-primary sl-but-green → sl-but-success sl-but-red → sl-but-danger sl-but-back → sl-but-accent sl-but-foot → sl-but-warning sl-ico sl-login-btn → sl-but-primary sl-login-btn (profile) → sl-but-login sl-but-primary

Core changes:

  1. Fragments (button.html, link.html, span.html, inline-badge.html, comment-action-ajax.html, editor-action-menu.html, block-login-form.html, block-search-form.html):

  2. Apply full rename mapping to all conditional class expressions
  3. Partials (account-profile.html, block-user-info.html, login-nav.html, main-slider.html, toastui-upload-panel.html):

  4. Apply rename mapping consistently

Benefits:

  • All templates now reference semantic class names only
  • Removes dependency on color-named CSS classes
Feature: update header logo, topbar social links, and contact section
Автор: Eduard Laas | Дата: 17:52 21.05.2026

Replace plain text logo with <img> tag using the configured logo file. Restructure topbar to add GitHub, docs (DE/EN), and recommend links with Bootstrap Icons. Remove deprecated sl-top-links list. Update footer contact list from sl-ico classes to inline <i> icons and expose email as a plain mailto: link (replaces AddMail script).

Core changes:

  1. Header logo (app.html, home.html):
  2. <a class="sl-logo">{{ sitename }}</a><a><img src="logos/{{ logo }}">
  3. Alt/title built from sitename + slogan
  4. Topbar social bar:
  5. Wrap in new sl-top-right > sl-top-social structure
  6. Add GitHub, YouTube (full URL), Twitter/X, docs-DE, docs-EN, recommend
  7. Each link gets a Bootstrap Icon <i> with aria-hidden="true"
  8. Remove sl-top-links ul with recommend link
  9. Contact section:
  10. Replace sl-ico sl-i-* <li> classes with inline bi-* icons
  11. Expose email as <a href="mailto:support@slaed.net"> — no JS required
  12. Button class updates (incidental to layout):
  13. sl-butsl-but-neutral, sl-but-bluesl-but-primary
Style: redesign button CSS variable system with semantic naming
Автор: Eduard Laas | Дата: 17:52 21.05.2026

Replace --sl-button-* variables with a full --sl-but-* semantic set and introduce semantic button variants: neutral, primary, success, danger, warning, accent, link. Each variant carries its own gradient, border, text-shadow, and box-shadow tokens for consistent rendering.

Core changes:

  1. CSS variables (base.css):
  2. Rename/expand --sl-button-*--sl-but-* with 6 semantic color sets
  3. Add shared shadow tokens: --sl-but-border-shadow, --sl-but-shadow-control
  4. Add tone tokens: --sl-color-tone-* for text indicators
  5. Button classes (theme.css):
  6. Replace old sl-but-blue / sl-but-green with semantic variants
  7. Add sl-but-neutral, sl-but-primary, sl-but-success, sl-but-danger, sl-but-warning, sl-but-accent

  8. Remove duplicate selectors and dead sl-pull-right duplication
  9. sl-but-navi uses new link-button token set

Benefits:

  • Semantic naming decouples visual color from component role
  • New token set enables per-variant inner/outer border control
  • Removes ~30 duplicate CSS selectors
Refactor: remove anti_spam() legacy email obfuscation
Автор: Eduard Laas | Дата: 12:05 21.05.2026

Delete email-noscript.html fragment and anti_spam() which relied on the deprecated "mysi".AddMail() JS trick. Replace all 3 callers with htmlspecialchars() — required because view templates use {{{ email }}} raw output. The JS obfuscation provided no real protection in 2026.

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 90

Хотите опробовать SLAED CMS в действии?

Идеи и предложения
Обратная связь