1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-30 01:03:16 +00:00
TiddlyWiki5/plugins/tiddlywiki/comments/styles.tid
Jermolene ec18a55033 Comments plugin: several enhancements
As proposed in #3378

* Experimental support for comments on the entire wiki (enable in the plugin config panel). Implemented as comments on $:/SiteTitle, with the comments appearing at the top of the story river
* Refactor the "add comment" button actions so that they can be reused
* Refactor the comment toolbar to be extensible via a system tag
* Add an $:/AdvancedSearch canned filter for accessing all comments
2018-08-07 21:37:07 +01:00

67 lines
1.0 KiB
Plaintext

title: $:/plugins/tiddlywiki/comments/styles
tags: [[$:/tags/Stylesheet]]
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
.tc-is-comment-header {
background: #c1e1e9;
padding: 0.25em;
}
.tc-comments-segment {
border-top: 2px solid #c1e1e9;
}
.tc-comment-button button {
width: 100%;
text-align: right;
}
.tc-sidebar-scrollable .tc-comment-button button {
width: auto;
text-align: right;
}
.tc-comment-button button svg {
fill: #26cb56;
height: 2em;
width: 2em;
}
.tc-comments {
}
.tc-comment-list {
list-style: none;
padding-left: 0;
}
.tc-comment-list .tc-comments {
padding-left: 1em;
}
.tc-comment-entry {
border: 1px solid #c1e1ea;
margin: 0.5em 0 0 0;
background: #dbf6ff;
}
.tc-comment-entry-heading {
font-size: 0.7em;
font-weight: bold;
text-transform: uppercase;
background: #c1e1ea;
color: #5B6D80;
padding: 0 0.5em;
}
.tc-comment-entry-body {
font-size: 0.8em;
padding: 0 0.5em;
}
.tc-comment-entry-body textarea {
font-size: 1.1em;
width: 100%
}