summaryrefslogtreecommitdiff
path: root/public/stylesheets/ccc.css
AgeCommit message (Collapse)Author
2026-07-21Render asset credit inside the gallery lightbox correctlyerdgeist
GLightbox's own selector-based description feature never actually resolved a selector in three different attempts -- literal text, then a resolved-but-empty div, then apparently not firing at all against the installed (unversioned) build. Replaced with a small afterSlideLoad handler that reads a plain data-credit-selector attribute and copies the real element's HTML into the slide's description area directly, depending only on GLightbox handing back a real DOM node per slide -- a much smaller contract than trusting its own caption-resolution feature. Renamed the credit div's class from glightbox-desc, since that name is reserved by the library's own bundled CSS (display: none !important) and can't be reliably overridden from here. Also: distinguishes the credit line and the "N Bilder" caption from ordinary body text (italic, muted, matching .author_and_date's existing convention), and makes the lightbox's caption card follow the site's light/dark toggle via Canvas/CanvasText, since the library's bundled theme never adapts to it on its own.
2026-07-20Make headline images explicit, add asset creditserdgeist
- related_assets gains a `headline` boolean (DB-enforced: at most one per page), replacing "first image by position" as the headline rule. A rake task backfills the current first image on every live head/draft, so nothing changes visually until an editor changes it. - The image picker sidebar gets a star toggle reflecting the flag; the TinyMCE inline-image picker's badge now reads it too, instead of assuming position 0. - No headline chosen (or none attached) now falls back to the gallery-count caption itself becoming the lightbox trigger, instead of the gallery being unreachable. - Assets gain creator, source_url, and license_key (against a new config/asset_licenses.yml dictionary). asset_credit renders a degrading attribution line, reused as a hidden per-image glightbox caption so credit is one click away for every image, not only the headline's always-visible one. - Fixed: asset thumbnails rendered unconditionally regardless of whether a real variant exists on disk. Asset#has_variant? checks file existence, not content type -- some legacy PDFs have real pre-rewrite thumbnails a content-type check would have hidden. - assets#new/edit rebuilt onto the same node_description/node_content layout as assets#show, picking up the three new fields in the process.
2026-07-19Pin caller to the .right CSS ruleerdgeist
2026-07-19Start demolition survey of the css for later redesignserdgeist
2026-07-14Supply related-asset URLs/name and public inline-image CSSerdgeist
RelatedAssetsController#create's JSON includes large_url, original_url, and name alongside thumb_url/url; the related-asset list items in both editors carry them as data-large-url, data-original-url, and data-name. ccc.css gets the public-facing .inline-image--full/--half/--left/ --right rules -- admin.css and TinyMCE's content_style cover the cockpit and in-editor renderings respectively.
2026-07-14Add chapter images: thumbnail on the list, headline image on the detail pageerdgeist
_chapter.html.erb (the aggregator partial used by the erfas/ chaostreffs overview pages) never rendered an image at all -- editors attaching a hackerspace photo via the asset picker would see zero visible effect on exactly the pages they'd check first. chapter_detail.html.erb (the individual page template) had the same gap. Both fixed by reusing existing infrastructure rather than inventing anything: the overview list gets a small, aspect-preserving :thumb image beside the heading; the detail page gets the app's existing headline_image helper, the same one every other full-page template already uses.
2026-07-03Reduce right-column widget font size to 0.9remerdgeist
2026-07-03Style open-today widget for wrapped multi-line entrieserdgeist
2026-07-02Add 'open today' sidebar widget and open days in chapter listserdgeist
- open_erfas_today helper: samples 3 random open-day-tagged occurrences of the current day; widget hidden entirely on days without open chapters; heading shows current weekday - content/_open_erfas_today partial rendered in right column above tags and featured articles - _chapter partial: open-day schedules (event_schedule_text) shown inline in aggregated chapter lists with 'Offene Tage' label - ccc.css: open_erfas_today added to existing right-column widget selector groups (headings, lists, links)
2026-06-28Fix tag list rendering in node editorerdgeist
tag_list.to_s produces space-separated output which acts-as-taggable-on 13.0.0 (comma delimiter only) treats as a single tag on re-save. Use join(', ') to render comma-separated tags in the input field.
2026-06-23Update deployed state to what's currently runningerdgeist
2025-01-28Big overhaul patch and style changesCharlie Root
2012-03-25remove lowercasing of menu itemshukl
2012-02-18small style improvements. more button addedhukl
2012-02-18show number of gallery images if more than onehukl
2012-02-18move headline line above headlinehukl
2012-02-18added events iconhukl
2012-02-18minor css tweakshukl
2009-11-13headline changesevelyn
2009-11-11back to a little darker gray for navigationhukl
2009-11-10re-enabled regular link hover colorhukl
2009-11-10Merge branch 'master' of github.com:hukl/cccmshukl
2009-11-10link fixeshukl
2009-11-08link colorevelyn
calendar margin-top
2009-11-08background color whiteevelyn
menu color, size, uppercase
2009-11-08body background default colorhukl
2009-10-31beta badge and link to old ccc.de pagehukl
2009-10-19new header and different menuhukl
2009-10-19minor html and css fixeshukl
2009-10-19first set of css updateshukl
2009-09-12padding at the bottomhukl
2009-09-11fixed the widget idshukl
2009-09-10small css fixhukl
2009-09-06Merge branch 'public_search'hukl
2009-09-06search field now at the right position with image button and image textfieldhukl
2009-09-06another layout refinementhukl
2009-09-06minor stylesheet changeshukl
2009-09-05css finetuninghukl
2009-09-05added tag resource, widget and auxillary fileshukl
2009-09-05fixing menu padding and font-sizehukl
2009-08-31calendar css improvementshukl
2009-08-31the wrapper should be left-aligned really… what was I thinkinghukl
2009-07-19no text-decoration in article_partialhukl
2009-07-19scrollbars for pre elements which are too widehukl
2009-07-19intermediate commit introducing main menu and calendar widget which will get refactored soon. need another feature firsthukl
2009-07-18replaced header image. added left_column background image. some css modificationshukl
2009-07-12new header image and css - work in progresshukl