commit 0df1b36cef38a3594b3827fbf81e5f9448cb12c0
Author: Obsidian <obsid@free.fr>
Date: Sat Dec 16 15:22:35 2017 +0100
Add descriptive tags and classes to user-specific moderation log
This patch adds a class named "history" to <h2> "Historique" and following <ul>
list, then breaks down the content of each list item into <span.date>, <span.sep>
(separators), <span.name> and <span.decription>.
Also add additionnal classes "block" and "plonk" to corresponding divisions
following the dropdown-like buttons (which are already marked this way).
commit 200c1b3d0b88514cd5b67d8e5412807c2153849a
Author: Obsidian <obsid@free.fr>
Date: Fri Dec 15 22:10:24 2017 +0100
Bug fix on new forum entry page : some tags where outside their container
Tags <article>, <form#new_post> and <dev.markdown_cheatse> where outside
the <main#contents> container as it was supposed to be, and as it is on
other similar pages (for instance, posting a new diary).
This was due to a lack of a proper indentation. This patch fixes this.
As usual, no regression induced with the main CSS.
commit 05d10892a4ca68820179b5c51cf6816a63289134
Author: Obsidian <obsid@free.fr>
Date: Thu Dec 14 02:11:20 2017 +0100
Adding "div.sideforms" around page bottom forms on stylesheet selection page.
Addition of a division named "div.sideforms" to allow URL box and file
selector to properly fit on the right of the CSS snapshot gallery.
The gallery is designed to occupy either 60% of the main container OR a
maximum width limit of 520 pixels (image native dimension 400×400 plus some
margins), whichever is the smalest, leaving the rest to text and notices.
The gallery is implemented as a left floating box, which can be wrapped only
by the main stream, that is plain text or at least an inline box (inline-block
or inline-flex).
We thus need an invisible wrapper so we can treat the content as regular boxes,
to draw a frame and do some item alignments inside. This can't be done with CSS
selectors only. Note that declaring <form> tags as inline blocks do work, but
they would no longer expand to fit the whole of the remaining width on the right.
commit 50bf027780d0fa1ae11508f2407616be8dd5761b
Author: Obsidian <obsid@free.fr>
Date: Fri Dec 8 17:32:27 2017 +0100
Add div#comments when composing a new comment
Wrap the comment section (including the one we reply to)
inside a div#comments on the composing page.
This applies to both a reply to an article (news/diary/forum entry)
or another comment, which are two distinct cases.
CSS such as Steelblue distinguish these two cases but don't rely on the
code to do so. However, they still need a well-placed div#comments box.
commit b37f55a022d7ce15c28ba96ee4142cafadd14590
Author: Obsidian <obsid@free.fr>
Date: Thu Dec 7 22:43:20 2017 +0100
Adding a class vote-for or vote-against on comment's "li" element
Mark a whole comment as upvoted or downvoted through a class on the
comment's root element (which is a list item inside the whole comment
tree).
This can be used to enlight the whole box or to decorate a single element
inside through CSS selector, but it also can be used to easily implement
additional features such as automaticaly hiding disapproved comments
regardless of their score. These feature may be written in a global scope
inside the server code, proposed to users as Javascript extensions, or
offered as third-party components through GreaseMonkey scripts or such.
Implemented for CSS "Steelblue" as part of pull-request commits.
commit e900da18ed46986663b239ece55248ac68addb90
Author: Obsidian <obsid@free.fr>
Date: Thu Dec 7 14:48:40 2017 +0100
Adding specific classes to dashboard link when there's new answers or not.
CSS requirements again. Ok, we could have used CSS sibling selectors to
target the link itself, but since we already have submitted a bunch of
other patches, this is still much better, isn't it ? Now we can focus on
the complete list item if needed.
commit 8d8121307ddeaed63ff14c12f34bff8199cc6dd7
Author: Obsidian <obsid@free.fr>
Date: Thu Dec 7 01:47:04 2017 +0100
Adding missing div#comments tag on single comment viewing pages
When showing a particular comment outside of this thread page
by clicking on its title, the generated page misses the div#comments
tag supposed to embed the comment's HTML structure, thus causing
some CSS to fail.
Fixed here.
Concerned pages match http<s>://linuxfr.org/nodes/<xxx>/comments/<yyy>
commit 900bc7d56a93c04b8fababcfc548ccb1b647d21c
Author: Obsidian <obsid@free.fr>
Date: Wed Dec 6 03:36:38 2017 +0100
Adding a title on link "Follow comment stream"
Add the content of <a> tag as a title so it can be displayed
when hovering it. It's useful for CSS that display that link
as a simple RSS/Atom icon (Steelblue does).
commit d8a9774a22be3ccb1f5a11a7c9fe3a2792756bd1
Author: Obsidian <obsid@free.fr>
Date: Tue Dec 5 16:33:06 2017 +0100
"Aller" -> "Remonter" - ("au commentaire parent")
Changing "go to parent comment"
for "reach back parent comment"
commit 5bacd00e56ab5c81005a0a4c55d7fc3269e706cc
Author: Obsidian <obsid@free.fr>
Date: Sat Dec 2 20:59:39 2017 +0100
Add a link on poll box header title toward global poll section
This box missed a link on its main h1 title, although it was
totally relevant in this context (not every box has a link but
similar ones do have one).
This patch introduces it.
commit ee944f778451d616a03ea56625f6487a47b7833a
Author: Obsidian <obsid@free.fr>
Date: Fri Dec 1 03:25:50 2017 +0100
Adding a section span.floating_spacer for proper CSS alignments
Addition of an extra section named "span.floating_spacer" just
before "span.posted_by_spanblock -> Posté par" in order to
turn it into a invisible floating block to clear out the "figure"
box that contains the score mark and which had to be "absolute"ly
positioned, hence out of common text stream.
commit b4de2e1e30e2e071152d00e2b6656ba8117f9fd8
Author: Obsidian <obsid@free.fr>
Date: Sun Nov 26 03:24:42 2017 +0100
<span> tag aroung "Posted by", "Edited by" and "Moderated by" sections.
This commit adds a dedicated <span> tag around each of the named-above sections
so they can be easily identified and selected, then inserts a carriage return
between each of them in the HTML code.
This reproduces the default behavour (having a space between a point "." and
the first word of the next sentence), but also enables the CSS to emulate a
line break if needed.
This was primarily done for "Steelblue" CSS, which does on the enlighted news
at top of the front page ("phare" section).
EDIT: commit amended because class "edited_by" was already in use.
Class names "posted_by_spanblock", "edited_by_spanblock" and
"moderated_by_spanblock" chosen instead.
commit be81ed4e5653071066dc5e9687dfb5553f8975eb
Author: Obsidian <obsid@free.fr>
Date: Mon Oct 30 23:41:37 2017 +0100
Moving logo image URL to a dedicated <style> tag on top of the page
Deletion of inline attribute 'style=""' from tag "h1" inside the
header#branding section, which references the current website logo image
(that can be dynamically changed from the admin menu).
Style reimplemented instead into a <style> tag at top of the page, inside
the <head> section, right after <title> and before every other else directives.
This modification is intended to get rid of any inline style within a given page
and set up the required default behavour before calling the CSS (default or user
ones) in order to (in particular) avoid every need to an "!important" clause
inside these CSS.
commit 876349d694a3073bd1f9fd7d59498e4da6fd112c
Author: Benoît Sibaud <oumph@linuxfr.org>
Date: Tue Jan 9 20:13:03 2018 +0100
Add comments/contents nb on last accounts page + on user's page
commit 9f389efa2ce3ec7c3f1ad3806a857a84ca110c46
Author: devnewton <devnewton@bci.im>
Date: Wed Nov 8 13:21:44 2017 +0100
fix TSV backend