1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-14 22:04:51 +00:00
TiddlyWiki5/plugins/tiddlywiki/dynaview/styles.tid
Jermolene 952826e0fa Dynaview: cleaning up
It turns out that we don't need to disable any scroll anchoring done by the browser as our implementation of scroll anchoring will adapt itself.

Also removing an unneeded paragraph tag from the view template.
2019-01-18 17:56:07 +00:00

35 lines
2.0 KiB
Plaintext

title: $:/plugins/tiddlywiki/dynaview/styles
tags: $:/tags/Stylesheet
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
body.tc-dynaview .tc-dynaview-zoom-visible-1-and-above,
body.tc-dynaview .tc-dynaview-zoom-visible-1a-and-above,
body.tc-dynaview .tc-dynaview-zoom-visible-1b-and-above,
body.tc-dynaview .tc-dynaview-zoom-visible-1c-and-above,
body.tc-dynaview .tc-dynaview-zoom-visible-2-and-above,
body.tc-dynaview .tc-dynaview-zoom-visible-2a-and-above,
body.tc-dynaview .tc-dynaview-zoom-visible-3-and-above,
body.tc-dynaview .tc-dynaview-zoom-visible-4-and-above,
body.tc-dynaview .tc-dynaview-zoom-visible-1,
body.tc-dynaview .tc-dynaview-zoom-visible-2,
body.tc-dynaview .tc-dynaview-zoom-visible-3,
body.tc-dynaview .tc-dynaview-zoom-visible-4 {
transition: opacity 150ms ease-in-out;
opacity: 0;
}
body.tc-dynaview .tc-dynaview-zoom-visible-1-and-above {opacity: 1;}
body.tc-dynaview.tc-dynaview-zoom-factor-1a-and-above .tc-dynaview-zoom-visible-1a-and-above {opacity: 1;}
body.tc-dynaview.tc-dynaview-zoom-factor-1b-and-above .tc-dynaview-zoom-visible-1b-and-above {opacity: 1;}
body.tc-dynaview.tc-dynaview-zoom-factor-1c-and-above .tc-dynaview-zoom-visible-1c-and-above {opacity: 1;}
body.tc-dynaview.tc-dynaview-zoom-factor-2-and-above .tc-dynaview-zoom-visible-2-and-above {opacity: 1;}
body.tc-dynaview.tc-dynaview-zoom-factor-2a-and-above .tc-dynaview-zoom-visible-2a-and-above {opacity: 1;}
body.tc-dynaview.tc-dynaview-zoom-factor-3-and-above .tc-dynaview-zoom-visible-3-and-above {opacity: 1;}
body.tc-dynaview.tc-dynaview-zoom-factor-4-and-above .tc-dynaview-zoom-visible-4-and-above {opacity: 1;}
body.tc-dynaview.tc-dynaview-zoom-factor-1 .tc-dynaview-zoom-visible-1 {opacity: 1;}
body.tc-dynaview.tc-dynaview-zoom-factor-2 .tc-dynaview-zoom-visible-2 {opacity: 1;}
body.tc-dynaview.tc-dynaview-zoom-factor-3 .tc-dynaview-zoom-visible-3 {opacity: 1;}
body.tc-dynaview.tc-dynaview-zoom-factor-4 .tc-dynaview-zoom-visible-4 {opacity: 1;}