From a2aa4270e9d8516ece2a6e013ff6a13918dd1efc Mon Sep 17 00:00:00 2001 From: Al Date: Sun, 14 Jul 2019 01:55:08 +0200 Subject: Added full Spoiler support to the nexus Description viewer. --- src/modinfodialognexus.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'src/modinfodialognexus.cpp') diff --git a/src/modinfodialognexus.cpp b/src/modinfodialognexus.cpp index 180c72f0..e606525c 100644 --- a/src/modinfodialognexus.cpp +++ b/src/modinfodialognexus.cpp @@ -238,6 +238,32 @@ void NexusTab::onModChanged() padding: 0; } + div.spoiler_content { + background: #262626; + border: 1px dashed #3b3b3b; + padding: 5px; + margin: 5px; + } + + div.bbc_spoiler_show{ + border: 1px solid black; + background-color: #454545; + font-size: 11px; + padding: 3px; + color: #E6E6E6; + border-radius: 3px; + display: inline-block; + cursor: pointer; + } + + details summary::-webkit-details-marker { + display:none; + } + + summary:focus { + outline: 0; + } + a { /*should avoid overflow with long links forcing wordwrap regardless of spaces*/ -- cgit v1.3.1