1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 20:10:03 +00:00
TiddlyWiki5/plugins/tiddlywiki/dynaview/styles.tid

46 lines
2.3 KiB
Plaintext
Raw Normal View History

2018-08-29 18:02:52 +00:00
title: $:/plugins/tiddlywiki/dynaview/styles
tags: $:/tags/Stylesheet
2018-01-05 09:18:19 +00:00
2019-01-29 11:37:26 +00:00
\define if-tiddler-is(title,value,text)
<$reveal stateTitle=<<__title__>> text=<<__value__>> type="match">
<$text text=<<__text__>>/>
</$reveal>
\end
2018-01-05 09:18:19 +00:00
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
2019-01-29 11:37:26 +00:00
<<if-tiddler-is title:"$:/config/DynaView/PreserveScrollPosition" value:"yes" text:"""
body {
overflow-anchor: none; /* Turn off browser scroll anchoring */
}
""">>
2018-01-05 09:18:19 +00:00
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;}