A short-term fix to show all content-warned posts in CalcKey.
CalcKey: Unfold All Content Warnings by asrael
Details
Authorasrael
LicenseMPL-2.0
Category.*
Created
Updated
Size789 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Does not show posts that are being replied to, which makes this convenient for only seeing the most relevant content.
Source code
/* ==UserStyle==
@name CalcKey: Unfold All Content Warnings
@namespace asrael
@version 1.1.1
@author Asrael <asrael@hyper.equipment> (https://hyper.equipment)
@license MPL-2.0
==/UserStyle== */
@-moz-document regexp(".*") {
/* do not show a main post's CW expand button */
#calckey_app .main > .body .cw > button {
display: none;
}
/* color the CW and give it a label so there's some visual distinction that it's there still */
#calckey_app .main > .body .cw:before {
content: 'CW';
padding: 0 0.5em;
margin-right: 0.5em;
font-weight: bold;
background-color: rgba(41, 79, 109, 0.3);
}
/* show the hidden CW content */
#calckey_app .main > .body .cw ~ .content {
display: block!important;
}
}