Fossil

Check-in [2de7dbbfcf]
Login

Check-in [2de7dbbfcf]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Ditto forumHier: unused!
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | default-css-cleanups
Files: files | file ages | folders
SHA3-256: 2de7dbbfcf7e9467779bbd4fffa1e7166d4c53da71c608472bd66ce83d268d34
User & Date: wyoung 2020-11-05 23:46:56.217
Context
2020-11-05
23:49
The CSS rule cleanups in [064c677a70] were mistargeting their elements now that their selector's parent piece is not their immediate parent. ... (check-in: a46b4ceb74 user: wyoung tags: default-css-cleanups)
23:46
Ditto forumHier: unused! ... (check-in: 2de7dbbfcf user: wyoung tags: default-css-cleanups)
23:42
Removed obsolete references to CSS class div.div.forumHierRoot: no current code uses these. ... (check-in: 361b9e4e31 user: wyoung tags: default-css-cleanups)
Changes
Unified Diff Ignore Whitespace Patch
Changes to skins/eagle/css.txt.
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
}
div.forumEdit {
  border: 1px solid white;
}
div.forumTimeline {
  border: 1px solid white;
}
div.forumHier, div.forumTime {
  border: 1px solid white;
}
div.forumSel {
  background-color: #808080;
}
div.forumObs {
  color: white;







|







379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
}
div.forumEdit {
  border: 1px solid white;
}
div.forumTimeline {
  border: 1px solid white;
}
div.forumTime {
  border: 1px solid white;
}
div.forumSel {
  background-color: #808080;
}
div.forumObs {
  color: white;
Changes to src/default.css.
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
}
div.forumTimeline code {
  white-space: pre-wrap;
}
div.markdown code {
  white-space: pre-wrap;
}
div.forumHier, div.forumTime {
  border: 1px solid black;
  padding-left: 1ex;
  padding-right: 1ex;
  margin-top: 1ex;
}
div.forumHier, div.forumTime {
  display: flex;
  flex-direction: column;
}
.forum > div > form {
  margin: 0.5em 0;
}
.forum-post-collapser {







|




<
<







750
751
752
753
754
755
756
757
758
759
760
761


762
763
764
765
766
767
768
}
div.forumTimeline code {
  white-space: pre-wrap;
}
div.markdown code {
  white-space: pre-wrap;
}
div.forumTime {
  border: 1px solid black;
  padding-left: 1ex;
  padding-right: 1ex;
  margin-top: 1ex;


  display: flex;
  flex-direction: column;
}
.forum > div > form {
  margin: 0.5em 0;
}
.forum-post-collapser {
Changes to src/fossil.page.forumpost.js.
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
    };

    /* Adds an Expand/Collapse toggle to all div.forumPostBody
       elements which are deemed "too large" (those for which
       scrolling is currently activated because they are taller than
       their max-height). */
    document.querySelectorAll(
      'div.forumHier, div.forumTime, div.forumEdit'
    ).forEach(function f(forumPostWrapper){
      const content = forumPostWrapper.querySelector('div.forumPostBody');
      if(!content || !scrollbarIsVisible(content)) return;
      const parent = content.parentElement,
            widget =  D.addClass(
              D.div(),
              'forum-post-collapser','bottom'







|







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
    };

    /* Adds an Expand/Collapse toggle to all div.forumPostBody
       elements which are deemed "too large" (those for which
       scrolling is currently activated because they are taller than
       their max-height). */
    document.querySelectorAll(
      'div.forumTime, div.forumEdit'
    ).forEach(function f(forumPostWrapper){
      const content = forumPostWrapper.querySelector('div.forumPostBody');
      if(!content || !scrollbarIsVisible(content)) return;
      const parent = content.parentElement,
            widget =  D.addClass(
              D.div(),
              'forum-post-collapser','bottom'