summaryrefslogtreecommitdiff
path: root/public/stylesheets/ccc.css
AgeCommit message (Collapse)Author
2026-08-11Cleanup redundant rules in public csserdgeist
2026-08-07Fix a dropped declaration and drop a dead rule from ccc.csserdgeist
2026-08-01Remove superflous experimental border rule for disclosureerdgeist
2026-08-01Fix the malformed font-size declaration in the disclosure rowerdgeist
2026-08-01Make the whole disclosure row reach its reporterdgeist
2026-08-01Add partial for disclosure realmerdgeist
2026-08-01Allow aggregate to order by slug and paint chapters list more nicelyerdgeist
2026-07-30Promote article title from h2 to h1 and fix css accordinglyerdgeist
2026-07-30Use icon sets on the public page and add a public-site shortcut in admin realmerdgeist
2026-07-24Prevent the more … link from line breakingerdgeist
2026-07-23Center the tags list horizontally on mobile viewserdgeist
2026-07-23Make shadow rules toggle override awareerdgeist
2026-07-23Prevent headline in partial cropping of anything within A4 dimensionserdgeist
2026-07-23Remove orphaned css ruleerdgeist
2026-07-23More tiny visual cleanupserdgeist
2026-07-23articles partials now render the thumb of their headline media in the listerdgeist
2026-07-23Add miniscule highlight line around pdf cards, so they read better against dark backgrounderdgeist
2026-07-23Bottom align headline pdf cardserdgeist
2026-07-23Restyle pdf headline cardserdgeist
2026-07-21Render PDF headlines as document cards, not lightbox imageserdgeist
A starred PDF previously ran through the same crop-and-lightbox path a photo does -- exactly the awkward treatment explicit headline designation was meant to avoid. _headline_image.html.erb now branches on @headline_asset.pdf?: a PDF renders as a linked card (a :medium thumbnail, a file icon, its name), no gallery participation at all. The existing image-headline and gallery-fallback logic is otherwise unchanged, now scoped to an image-specific headline only. Other attached PDFs -- headlined or not -- list below as plain links, same reasoning as why non-headline photos still get a gallery trigger: an attached document shouldn't go invisible just because nothing's been starred yet. headline_image's own render guard needed widening to cover a page with PDFs attached but no images and no headline at all -- the one case none of the existing conditions accounted for.
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