Fossil SCM
CSS docs and remove some extraneous empty lines.
Commit
378b3c30c16c0f2e24f1eb2277b510804e236727ddb005f072a87dadb89bb448
Parent
b45242d8fd1e327…
2 files changed
+2
+4
-12
+2
| --- src/default.css | ||
| +++ src/default.css | ||
| @@ -2013,10 +2013,12 @@ | ||
| 2013 | 2013 | /* .attach* = styles for file attachments */ |
| 2014 | 2014 | section.attachlist {} |
| 2015 | 2015 | details.attachlist > summary { |
| 2016 | 2016 | cursor: pointer; |
| 2017 | 2017 | } |
| 2018 | +/* .Attacher is the top container element used by the JS Attacher | |
| 2019 | + class in fossil.attach.js. */ | |
| 2018 | 2020 | .Attacher { |
| 2019 | 2021 | margin-bottom: 1em; |
| 2020 | 2022 | display: flex; |
| 2021 | 2023 | flex-direction: column; |
| 2022 | 2024 | gap: 0.75em; |
| 2023 | 2025 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -2013,10 +2013,12 @@ | |
| 2013 | /* .attach* = styles for file attachments */ |
| 2014 | section.attachlist {} |
| 2015 | details.attachlist > summary { |
| 2016 | cursor: pointer; |
| 2017 | } |
| 2018 | .Attacher { |
| 2019 | margin-bottom: 1em; |
| 2020 | display: flex; |
| 2021 | flex-direction: column; |
| 2022 | gap: 0.75em; |
| 2023 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -2013,10 +2013,12 @@ | |
| 2013 | /* .attach* = styles for file attachments */ |
| 2014 | section.attachlist {} |
| 2015 | details.attachlist > summary { |
| 2016 | cursor: pointer; |
| 2017 | } |
| 2018 | /* .Attacher is the top container element used by the JS Attacher |
| 2019 | class in fossil.attach.js. */ |
| 2020 | .Attacher { |
| 2021 | margin-bottom: 1em; |
| 2022 | display: flex; |
| 2023 | flex-direction: column; |
| 2024 | gap: 0.75em; |
| 2025 |
+4
-12
| --- src/style.forum.css | ||
| +++ src/style.forum.css | ||
| @@ -6,56 +6,51 @@ | ||
| 6 | 6 | padding: 0 0.5em; |
| 7 | 7 | margin-bottom: 0.35em; |
| 8 | 8 | } |
| 9 | 9 | |
| 10 | 10 | body.forum .forumpost-single-controls button.draft:after { |
| 11 | + /* Reply/Edit buttons on posts which have local draft edits. */ | |
| 11 | 12 | content: " [draft]"; |
| 12 | 13 | } |
| 13 | 14 | |
| 15 | +/* .ForumPostEditor is the top container element used by the JS | |
| 16 | + ForumPostEditor class in fossil.page.forumpost.js. */ | |
| 14 | 17 | .ForumPostEditor { |
| 15 | 18 | display: flex; |
| 16 | 19 | flex-direction: column; |
| 17 | 20 | gap: 1em; |
| 18 | 21 | padding: 0.5em; |
| 19 | 22 | } |
| 20 | - | |
| 21 | 23 | .ForumPostEditor > .tab-bar{ |
| 22 | 24 | } |
| 23 | - | |
| 24 | 25 | .ForumPostEditor > .tab-container { |
| 25 | 26 | } |
| 26 | - | |
| 27 | 27 | .ForumPostEditor > .tab-container > .tabs { |
| 28 | 28 | /*min-height: 10em;*/ |
| 29 | 29 | } |
| 30 | - | |
| 31 | 30 | .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug { |
| 32 | 31 | display: flex; |
| 33 | 32 | flex-direction: column; |
| 34 | 33 | gap: 0.75em; |
| 35 | 34 | } |
| 36 | - | |
| 37 | 35 | .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug label, |
| 38 | 36 | .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug input[type=checkbox]{ |
| 39 | 37 | cursor: pointer; |
| 40 | 38 | } |
| 41 | - | |
| 42 | - | |
| 43 | 39 | .ForumPostEditor > .tab-container > .tabs > .tab-panel { |
| 44 | 40 | display: flex; |
| 45 | 41 | flex-direction: column; |
| 46 | 42 | } |
| 47 | - | |
| 48 | 43 | .ForumPostEditor .tab-panel.editor-wrapper > .editor { |
| 49 | 44 | max-width: initial; |
| 50 | 45 | min-height: 20em; |
| 51 | 46 | flex-grow: 1 |
| 52 | 47 | } |
| 53 | 48 | body.cpage-forumnew .ForumPostEditor .tab-panel.editor-wrapper > .editor { |
| 49 | + /* Start the editor out taller in /forumnew. */ | |
| 54 | 50 | min-height: 28em; |
| 55 | 51 | } |
| 56 | - | |
| 57 | 52 | .ForumPostEditor > .buttons > .mimetype-wrapper, |
| 58 | 53 | .ForumPostEditor > .titlebar{ |
| 59 | 54 | display: flex; |
| 60 | 55 | flex-direction: row; |
| 61 | 56 | font-size: 120%; |
| @@ -70,11 +65,10 @@ | ||
| 70 | 65 | /* Clear some globals... */ |
| 71 | 66 | font-size: inherit; |
| 72 | 67 | max-width: initial; |
| 73 | 68 | color: initial; |
| 74 | 69 | } |
| 75 | - | |
| 76 | 70 | .ForumPostEditor > .buttons { |
| 77 | 71 | font-size: 90%; |
| 78 | 72 | display: flex; |
| 79 | 73 | flex-direction: row; |
| 80 | 74 | gap: 0.75em; |
| @@ -95,20 +89,18 @@ | ||
| 95 | 89 | white-space: nowrap; |
| 96 | 90 | } |
| 97 | 91 | .ForumPostEditor > .buttons > label > input[type=checkbox]{ |
| 98 | 92 | cursor: pointer; |
| 99 | 93 | } |
| 100 | - | |
| 101 | 94 | .ForumPostEditor > .error { |
| 102 | 95 | padding: 0.5em; |
| 103 | 96 | border-radius: 0.5em; |
| 104 | 97 | } |
| 105 | - | |
| 106 | 98 | .forumpost > .ForumPostEditor { |
| 107 | 99 | border-top: 1px dotted; |
| 108 | 100 | } |
| 109 | 101 | |
| 110 | 102 | .forumTime { |
| 111 | 103 | /* Animate the transition when a ForumPostEditor shifts |
| 112 | 104 | its post to the left. */ |
| 113 | 105 | transition: margin-left 0.25s linear; |
| 114 | 106 | } |
| 115 | 107 |
| --- src/style.forum.css | |
| +++ src/style.forum.css | |
| @@ -6,56 +6,51 @@ | |
| 6 | padding: 0 0.5em; |
| 7 | margin-bottom: 0.35em; |
| 8 | } |
| 9 | |
| 10 | body.forum .forumpost-single-controls button.draft:after { |
| 11 | content: " [draft]"; |
| 12 | } |
| 13 | |
| 14 | .ForumPostEditor { |
| 15 | display: flex; |
| 16 | flex-direction: column; |
| 17 | gap: 1em; |
| 18 | padding: 0.5em; |
| 19 | } |
| 20 | |
| 21 | .ForumPostEditor > .tab-bar{ |
| 22 | } |
| 23 | |
| 24 | .ForumPostEditor > .tab-container { |
| 25 | } |
| 26 | |
| 27 | .ForumPostEditor > .tab-container > .tabs { |
| 28 | /*min-height: 10em;*/ |
| 29 | } |
| 30 | |
| 31 | .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug { |
| 32 | display: flex; |
| 33 | flex-direction: column; |
| 34 | gap: 0.75em; |
| 35 | } |
| 36 | |
| 37 | .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug label, |
| 38 | .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug input[type=checkbox]{ |
| 39 | cursor: pointer; |
| 40 | } |
| 41 | |
| 42 | |
| 43 | .ForumPostEditor > .tab-container > .tabs > .tab-panel { |
| 44 | display: flex; |
| 45 | flex-direction: column; |
| 46 | } |
| 47 | |
| 48 | .ForumPostEditor .tab-panel.editor-wrapper > .editor { |
| 49 | max-width: initial; |
| 50 | min-height: 20em; |
| 51 | flex-grow: 1 |
| 52 | } |
| 53 | body.cpage-forumnew .ForumPostEditor .tab-panel.editor-wrapper > .editor { |
| 54 | min-height: 28em; |
| 55 | } |
| 56 | |
| 57 | .ForumPostEditor > .buttons > .mimetype-wrapper, |
| 58 | .ForumPostEditor > .titlebar{ |
| 59 | display: flex; |
| 60 | flex-direction: row; |
| 61 | font-size: 120%; |
| @@ -70,11 +65,10 @@ | |
| 70 | /* Clear some globals... */ |
| 71 | font-size: inherit; |
| 72 | max-width: initial; |
| 73 | color: initial; |
| 74 | } |
| 75 | |
| 76 | .ForumPostEditor > .buttons { |
| 77 | font-size: 90%; |
| 78 | display: flex; |
| 79 | flex-direction: row; |
| 80 | gap: 0.75em; |
| @@ -95,20 +89,18 @@ | |
| 95 | white-space: nowrap; |
| 96 | } |
| 97 | .ForumPostEditor > .buttons > label > input[type=checkbox]{ |
| 98 | cursor: pointer; |
| 99 | } |
| 100 | |
| 101 | .ForumPostEditor > .error { |
| 102 | padding: 0.5em; |
| 103 | border-radius: 0.5em; |
| 104 | } |
| 105 | |
| 106 | .forumpost > .ForumPostEditor { |
| 107 | border-top: 1px dotted; |
| 108 | } |
| 109 | |
| 110 | .forumTime { |
| 111 | /* Animate the transition when a ForumPostEditor shifts |
| 112 | its post to the left. */ |
| 113 | transition: margin-left 0.25s linear; |
| 114 | } |
| 115 |
| --- src/style.forum.css | |
| +++ src/style.forum.css | |
| @@ -6,56 +6,51 @@ | |
| 6 | padding: 0 0.5em; |
| 7 | margin-bottom: 0.35em; |
| 8 | } |
| 9 | |
| 10 | body.forum .forumpost-single-controls button.draft:after { |
| 11 | /* Reply/Edit buttons on posts which have local draft edits. */ |
| 12 | content: " [draft]"; |
| 13 | } |
| 14 | |
| 15 | /* .ForumPostEditor is the top container element used by the JS |
| 16 | ForumPostEditor class in fossil.page.forumpost.js. */ |
| 17 | .ForumPostEditor { |
| 18 | display: flex; |
| 19 | flex-direction: column; |
| 20 | gap: 1em; |
| 21 | padding: 0.5em; |
| 22 | } |
| 23 | .ForumPostEditor > .tab-bar{ |
| 24 | } |
| 25 | .ForumPostEditor > .tab-container { |
| 26 | } |
| 27 | .ForumPostEditor > .tab-container > .tabs { |
| 28 | /*min-height: 10em;*/ |
| 29 | } |
| 30 | .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug { |
| 31 | display: flex; |
| 32 | flex-direction: column; |
| 33 | gap: 0.75em; |
| 34 | } |
| 35 | .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug label, |
| 36 | .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug input[type=checkbox]{ |
| 37 | cursor: pointer; |
| 38 | } |
| 39 | .ForumPostEditor > .tab-container > .tabs > .tab-panel { |
| 40 | display: flex; |
| 41 | flex-direction: column; |
| 42 | } |
| 43 | .ForumPostEditor .tab-panel.editor-wrapper > .editor { |
| 44 | max-width: initial; |
| 45 | min-height: 20em; |
| 46 | flex-grow: 1 |
| 47 | } |
| 48 | body.cpage-forumnew .ForumPostEditor .tab-panel.editor-wrapper > .editor { |
| 49 | /* Start the editor out taller in /forumnew. */ |
| 50 | min-height: 28em; |
| 51 | } |
| 52 | .ForumPostEditor > .buttons > .mimetype-wrapper, |
| 53 | .ForumPostEditor > .titlebar{ |
| 54 | display: flex; |
| 55 | flex-direction: row; |
| 56 | font-size: 120%; |
| @@ -70,11 +65,10 @@ | |
| 65 | /* Clear some globals... */ |
| 66 | font-size: inherit; |
| 67 | max-width: initial; |
| 68 | color: initial; |
| 69 | } |
| 70 | .ForumPostEditor > .buttons { |
| 71 | font-size: 90%; |
| 72 | display: flex; |
| 73 | flex-direction: row; |
| 74 | gap: 0.75em; |
| @@ -95,20 +89,18 @@ | |
| 89 | white-space: nowrap; |
| 90 | } |
| 91 | .ForumPostEditor > .buttons > label > input[type=checkbox]{ |
| 92 | cursor: pointer; |
| 93 | } |
| 94 | .ForumPostEditor > .error { |
| 95 | padding: 0.5em; |
| 96 | border-radius: 0.5em; |
| 97 | } |
| 98 | .forumpost > .ForumPostEditor { |
| 99 | border-top: 1px dotted; |
| 100 | } |
| 101 | |
| 102 | .forumTime { |
| 103 | /* Animate the transition when a ForumPostEditor shifts |
| 104 | its post to the left. */ |
| 105 | transition: margin-left 0.25s linear; |
| 106 | } |
| 107 |