diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-07-14 01:55:08 +0200 |
|---|---|---|
| committer | Al <gabriel.cortesi@outlook.com> | 2019-07-14 01:55:08 +0200 |
| commit | a2aa4270e9d8516ece2a6e013ff6a13918dd1efc (patch) | |
| tree | a5cdf6a2dda202f577abfcc2ebec4407376a920e /src/modinfodialognexus.cpp | |
| parent | 23b71ca21f15288f9d2e7e04a37de95b8ae8ca18 (diff) | |
Added full Spoiler support to the nexus Description viewer.
Diffstat (limited to 'src/modinfodialognexus.cpp')
| -rw-r--r-- | src/modinfodialognexus.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
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*/ |
