2013-11-27 12:38:03 +00:00
|
|
|
title: $:/themes/tiddlywiki/vanilla/base
|
2014-09-10 08:13:21 +00:00
|
|
|
tags: [[$:/tags/Stylesheet]]
|
2023-09-28 13:59:50 +00:00
|
|
|
list-before:
|
2022-02-07 16:53:36 +00:00
|
|
|
code-body: yes
|
2013-11-27 12:38:03 +00:00
|
|
|
|
2015-04-01 17:28:33 +00:00
|
|
|
\define custom-background-datauri()
|
|
|
|
<$set name="background" value={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}>
|
|
|
|
<$list filter="[<background>is[image]]">
|
2015-04-01 20:08:42 +00:00
|
|
|
`background: url(`
|
2015-04-01 17:28:33 +00:00
|
|
|
<$list filter="[<background>!has[_canonical_uri]]">
|
2017-11-10 17:29:28 +00:00
|
|
|
`"`<$macrocall $name="datauri" title={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}/>`"`
|
2015-04-01 17:28:33 +00:00
|
|
|
</$list>
|
|
|
|
<$list filter="[<background>has[_canonical_uri]]">
|
2017-11-10 17:29:28 +00:00
|
|
|
`"`<$view tiddler={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}} field="_canonical_uri"/>`"`
|
2015-04-01 17:28:33 +00:00
|
|
|
</$list>
|
2015-04-02 11:11:13 +00:00
|
|
|
`) center center;`
|
2015-04-01 20:08:42 +00:00
|
|
|
`background-attachment: `{{$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment}}`;
|
|
|
|
-webkit-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;
|
|
|
|
-moz-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;
|
|
|
|
-o-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;
|
|
|
|
background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;`
|
2015-04-01 17:28:33 +00:00
|
|
|
</$list>
|
|
|
|
</$set>
|
|
|
|
\end
|
|
|
|
|
2020-11-08 22:30:31 +00:00
|
|
|
\define sidebarbreakpoint()
|
|
|
|
<$text text={{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}/>
|
|
|
|
\end
|
|
|
|
|
|
|
|
\define sidebarbreakpoint-minus-one()
|
|
|
|
<$text text={{{ [{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}removesuffix[px]subtract[1]addsuffix[px]] ~[{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}] }}}/>
|
|
|
|
\end
|
|
|
|
|
2015-05-04 18:19:40 +00:00
|
|
|
\define if-fluid-fixed(text,hiddenSidebarText)
|
|
|
|
<$reveal state="$:/themes/tiddlywiki/vanilla/options/sidebarlayout" type="match" text="fluid-fixed">
|
|
|
|
$text$
|
|
|
|
<$reveal state="$:/state/sidebar" type="nomatch" text="yes" default="yes">
|
|
|
|
$hiddenSidebarText$
|
|
|
|
</$reveal>
|
|
|
|
</$reveal>
|
|
|
|
\end
|
|
|
|
|
2016-10-18 07:46:48 +00:00
|
|
|
\define if-editor-height-fixed(then,else)
|
|
|
|
<$reveal state="$:/config/TextEditor/EditorHeight/Mode" type="match" text="fixed">
|
|
|
|
$then$
|
|
|
|
</$reveal>
|
|
|
|
<$reveal state="$:/config/TextEditor/EditorHeight/Mode" type="match" text="auto">
|
|
|
|
$else$
|
|
|
|
</$reveal>
|
|
|
|
\end
|
|
|
|
|
2020-11-22 21:12:19 +00:00
|
|
|
\define set-type-selector-min-width()
|
|
|
|
<$set name="typeLength" value={{{ [all[shadows+tiddlers]prefix[$:/language/Docs/Types/]get[name]length[]maxall[]] }}}>
|
|
|
|
|
|
|
|
.tc-type-selector-dropdown-wrapper {
|
|
|
|
min-width: calc(<<typeLength>>ch + 4em);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-type-selector-dropdown-wrapper input.tc-edit-typeeditor {
|
|
|
|
min-width: <<typeLength>>ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
</$set>
|
|
|
|
\end
|
|
|
|
|
2015-05-04 18:19:40 +00:00
|
|
|
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock
|
2015-04-01 17:28:33 +00:00
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Start with the normalize CSS reset, and then belay some of its effects
|
|
|
|
*/
|
|
|
|
|
|
|
|
{{$:/themes/tiddlywiki/vanilla/reset}}
|
|
|
|
|
|
|
|
*, input[type="search"] {
|
|
|
|
box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2022-08-17 13:54:15 +00:00
|
|
|
/*
|
|
|
|
** Button default styles. Makes them look consistent for all browsers
|
|
|
|
*/
|
2014-03-12 20:05:34 +00:00
|
|
|
html button {
|
|
|
|
line-height: 1.2;
|
2015-04-27 20:46:07 +00:00
|
|
|
color: <<colour button-foreground>>;
|
2020-12-10 17:33:42 +00:00
|
|
|
fill: <<colour button-foreground>>;
|
2015-04-27 20:46:07 +00:00
|
|
|
background: <<colour button-background>>;
|
2022-12-19 08:46:26 +00:00
|
|
|
border-color: <<colour button-border>>;
|
2014-03-12 20:05:34 +00:00
|
|
|
}
|
|
|
|
|
2021-04-25 15:17:32 +00:00
|
|
|
button:disabled svg {
|
|
|
|
fill: <<colour muted-foreground>>;
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Basic element styles
|
|
|
|
*/
|
|
|
|
|
2020-11-24 21:15:37 +00:00
|
|
|
html, body {
|
2014-07-06 15:55:51 +00:00
|
|
|
font-family: {{$:/themes/tiddlywiki/vanilla/settings/fontfamily}};
|
2015-02-16 21:27:11 +00:00
|
|
|
text-rendering: optimizeLegibility; /* Enables kerning and ligatures etc. */
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-04-14 20:30:42 +00:00
|
|
|
html:-webkit-full-screen {
|
|
|
|
background-color: <<colour page-background>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:00:57 +00:00
|
|
|
body.tc-body {
|
2014-07-06 15:55:51 +00:00
|
|
|
font-size: {{$:/themes/tiddlywiki/vanilla/metrics/fontsize}};
|
|
|
|
line-height: {{$:/themes/tiddlywiki/vanilla/metrics/lineheight}};
|
2016-08-09 08:36:17 +00:00
|
|
|
word-wrap: break-word;
|
|
|
|
<<custom-background-datauri>>
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour foreground>>;
|
|
|
|
background-color: <<colour page-background>>;
|
2015-05-13 22:59:51 +00:00
|
|
|
fill: <<colour foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2018-01-23 16:49:24 +00:00
|
|
|
<<if-background-attachment """
|
|
|
|
|
|
|
|
body.tc-body {
|
2021-05-19 13:12:12 +00:00
|
|
|
background-color: transparent;
|
2018-01-23 16:49:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
""">>
|
|
|
|
|
2020-12-24 10:37:54 +00:00
|
|
|
/**
|
|
|
|
* Correct the font size and margin on `h1` elements within `section` and
|
|
|
|
* `article` contexts in Chrome, Firefox, and Safari.
|
|
|
|
*/
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2014-03-22 17:32:28 +00:00
|
|
|
line-height: 1.2;
|
2021-07-19 11:54:57 +00:00
|
|
|
font-weight: normal;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
display: block;
|
2014-03-11 08:29:11 +00:00
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
2023-01-15 20:22:52 +00:00
|
|
|
word-break: normal;
|
2013-11-27 12:38:03 +00:00
|
|
|
word-wrap: break-word;
|
2016-04-04 16:27:55 +00:00
|
|
|
white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour pre-background>>;
|
|
|
|
border: 1px solid <<colour pre-border>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 0 3px 2px;
|
2014-03-18 23:38:52 +00:00
|
|
|
border-radius: 3px;
|
2015-02-27 12:46:19 +00:00
|
|
|
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour code-foreground>>;
|
|
|
|
background-color: <<colour code-background>>;
|
|
|
|
border: 1px solid <<colour code-border>>;
|
2016-04-04 16:27:55 +00:00
|
|
|
white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 0 3px 2px;
|
2014-03-18 23:38:52 +00:00
|
|
|
border-radius: 3px;
|
2015-02-27 12:46:19 +00:00
|
|
|
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2013-12-05 16:20:37 +00:00
|
|
|
blockquote {
|
2014-02-17 12:09:10 +00:00
|
|
|
border-left: 5px solid <<colour blockquote-bar>>;
|
2013-12-05 16:20:37 +00:00
|
|
|
margin-left: 25px;
|
|
|
|
padding-left: 10px;
|
2017-04-17 16:53:19 +00:00
|
|
|
quotes: "\201C""\201D""\2018""\2019";
|
|
|
|
}
|
|
|
|
|
2020-04-07 19:39:13 +00:00
|
|
|
blockquote > div {
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2017-04-17 16:53:19 +00:00
|
|
|
blockquote.tc-big-quote {
|
|
|
|
font-family: Georgia, serif;
|
|
|
|
position: relative;
|
|
|
|
background: <<colour pre-background>>;
|
|
|
|
border-left: none;
|
|
|
|
margin-left: 50px;
|
|
|
|
margin-right: 50px;
|
|
|
|
padding: 10px;
|
2021-05-19 13:12:12 +00:00
|
|
|
border-radius: 8px;
|
2017-04-17 16:53:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote.tc-big-quote cite:before {
|
|
|
|
content: "\2014 \2009";
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote.tc-big-quote:before {
|
|
|
|
font-family: Georgia, serif;
|
|
|
|
color: <<colour blockquote-bar>>;
|
|
|
|
content: open-quote;
|
|
|
|
font-size: 8em;
|
|
|
|
line-height: 0.1em;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
vertical-align: -0.4em;
|
|
|
|
position: absolute;
|
2021-05-19 13:12:12 +00:00
|
|
|
left: -50px;
|
|
|
|
top: 42px;
|
2017-04-17 16:53:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote.tc-big-quote:after {
|
|
|
|
font-family: Georgia, serif;
|
|
|
|
color: <<colour blockquote-bar>>;
|
|
|
|
content: close-quote;
|
|
|
|
font-size: 8em;
|
|
|
|
line-height: 0.1em;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
vertical-align: -0.4em;
|
|
|
|
position: absolute;
|
2021-05-19 13:12:12 +00:00
|
|
|
right: -80px;
|
|
|
|
bottom: -20px;
|
2013-12-05 16:20:37 +00:00
|
|
|
}
|
|
|
|
|
2013-12-11 13:12:56 +00:00
|
|
|
dl dt {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
|
|
|
|
2015-04-27 20:46:07 +00:00
|
|
|
textarea,
|
|
|
|
input[type=text],
|
2015-04-28 08:12:04 +00:00
|
|
|
input[type=search],
|
2015-04-27 20:46:07 +00:00
|
|
|
input[type=""],
|
|
|
|
input:not([type]) {
|
2015-04-10 16:04:41 +00:00
|
|
|
color: <<colour foreground>>;
|
2022-12-19 08:46:26 +00:00
|
|
|
background: <<colour background>>;
|
2015-04-10 16:04:41 +00:00
|
|
|
}
|
|
|
|
|
Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 16:26:54 +00:00
|
|
|
input[type="checkbox"] {
|
2021-05-19 13:12:12 +00:00
|
|
|
vertical-align: middle;
|
Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 16:26:54 +00:00
|
|
|
}
|
|
|
|
|
2020-07-13 16:42:55 +00:00
|
|
|
input[type="search"]::-webkit-search-decoration,
|
|
|
|
input[type="search"]::-webkit-search-cancel-button,
|
|
|
|
input[type="search"]::-webkit-search-results-button,
|
|
|
|
input[type="search"]::-webkit-search-results-decoration {
|
|
|
|
-webkit-appearance:none;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-muted {
|
2014-07-31 08:28:46 +00:00
|
|
|
color: <<colour muted-foreground>>;
|
2015-04-28 08:12:04 +00:00
|
|
|
}
|
|
|
|
|
2015-03-19 10:52:58 +00:00
|
|
|
svg.tc-image-button {
|
|
|
|
padding: 0px 1px 1px 0px;
|
|
|
|
}
|
|
|
|
|
2017-03-20 22:29:03 +00:00
|
|
|
.tc-icon-wrapper > svg {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
|
2015-05-14 09:16:29 +00:00
|
|
|
kbd {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 3px 5px;
|
|
|
|
font-size: 0.8em;
|
|
|
|
line-height: 1.2;
|
|
|
|
color: <<colour foreground>>;
|
|
|
|
vertical-align: middle;
|
|
|
|
background-color: <<colour background>>;
|
|
|
|
border: solid 1px <<colour muted-foreground>>;
|
|
|
|
border-bottom-color: <<colour muted-foreground>>;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: inset 0 -1px 0 <<colour muted-foreground>>;
|
|
|
|
}
|
|
|
|
|
2020-04-22 09:46:36 +00:00
|
|
|
::selection {
|
2020-09-30 16:59:39 +00:00
|
|
|
background-color: Highlight;
|
|
|
|
color: HighlightText;
|
2020-09-25 13:06:00 +00:00
|
|
|
background-color: <<colour selection-background>>;
|
|
|
|
color: <<colour selection-foreground>>;
|
2020-04-22 09:46:36 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 16:28:36 +00:00
|
|
|
.tc-inline-style {
|
|
|
|
background: <<colour highlight-background>>;
|
|
|
|
color: <<colour highlight-foreground>>;
|
|
|
|
}
|
|
|
|
|
2022-06-17 13:03:36 +00:00
|
|
|
form.tc-form-inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
Markdown likes putting code elements inside pre elements
|
|
|
|
*/
|
|
|
|
pre > code {
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
background-color: inherit;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2022-08-09 16:42:01 +00:00
|
|
|
/*
|
|
|
|
Table defaults
|
|
|
|
*/
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
table {
|
2014-02-17 12:09:10 +00:00
|
|
|
border: 1px solid <<colour table-border>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
width: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
caption-side: bottom;
|
2014-03-11 08:29:11 +00:00
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
2019-10-18 10:01:10 +00:00
|
|
|
/* next 2 elements needed, since normalize 8.0.1 */
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table th, table td {
|
2022-12-19 08:46:26 +00:00
|
|
|
padding: 0 7px 0 7px;
|
2014-02-17 12:09:10 +00:00
|
|
|
border-top: 1px solid <<colour table-border>>;
|
|
|
|
border-left: 1px solid <<colour table-border>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table thead tr td, table th {
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour table-header-background>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
table tfoot tr td {
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour table-footer-background>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2022-08-09 16:42:01 +00:00
|
|
|
/*
|
|
|
|
Table utility classes
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Remove borders from table as used in eg: GettingStarted*/
|
|
|
|
.tc-table-no-border,
|
|
|
|
.tc-table-no-border th,
|
|
|
|
.tc-table-no-border td {
|
|
|
|
border: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* First column in table width will fit to text.*/
|
|
|
|
/* This rule makes most sense with tc-first-link-nowrap*/
|
|
|
|
.tc-first-col-min-width td:nth-child(1) {
|
|
|
|
width: 1%;
|
|
|
|
}
|
|
|
|
|
2022-11-23 21:52:36 +00:00
|
|
|
/*
|
|
|
|
** Utility classes work well with tables but also for other containers
|
|
|
|
*/
|
|
|
|
|
2022-08-09 16:42:01 +00:00
|
|
|
/* First link A element will not wrap */
|
|
|
|
.tc-first-link-nowrap:first-of-type a {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2022-11-23 21:52:36 +00:00
|
|
|
/* Move the table to the center of the container */
|
|
|
|
.tc-center {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-max-width {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-max-width-80 {
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Allow input and textarea to look like the ControlPanel inputs */
|
|
|
|
.tc-edit-max-width input,
|
|
|
|
.tc-edit-max-width textarea {
|
|
|
|
width: 100%;
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
2022-08-09 16:42:01 +00:00
|
|
|
/*
|
|
|
|
CSV parser plugin
|
|
|
|
*/
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-csv-table {
|
2014-03-31 11:41:02 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2022-11-20 17:51:01 +00:00
|
|
|
.tc-csv-table th,
|
|
|
|
.tc-csv-table td {
|
|
|
|
white-space: pre-line;
|
|
|
|
}
|
|
|
|
|
2022-08-09 16:42:01 +00:00
|
|
|
/*
|
|
|
|
Tiddler frame in story river
|
|
|
|
*/
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-frame img,
|
|
|
|
.tc-tiddler-frame svg,
|
|
|
|
.tc-tiddler-frame canvas,
|
|
|
|
.tc-tiddler-frame embed,
|
|
|
|
.tc-tiddler-frame iframe {
|
2013-11-27 12:38:03 +00:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-08-31 13:44:04 +00:00
|
|
|
.tc-tiddler-body > embed,
|
|
|
|
.tc-tiddler-body > iframe {
|
2013-11-27 12:38:03 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 600px;
|
|
|
|
}
|
|
|
|
|
2022-04-25 08:56:34 +00:00
|
|
|
:root {
|
|
|
|
color-scheme: {{{ [{$:/palette}get[color-scheme]] ~light }}};
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Links
|
|
|
|
*/
|
|
|
|
|
2014-12-11 16:34:43 +00:00
|
|
|
button.tc-tiddlylink,
|
2014-08-28 17:13:46 +00:00
|
|
|
a.tc-tiddlylink {
|
2013-11-27 12:38:03 +00:00
|
|
|
text-decoration: none;
|
2021-09-17 14:11:29 +00:00
|
|
|
font-weight: 500;
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour tiddler-link-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
-webkit-user-select: inherit; /* Otherwise the draggable attribute makes links impossible to select */
|
2022-08-31 16:44:31 +00:00
|
|
|
-webkit-touch-callout: none; /* Prevents long presses from bringing up a link preview */
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-lists a.tc-tiddlylink {
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour sidebar-tiddler-link-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-lists a.tc-tiddlylink:hover {
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour sidebar-tiddler-link-foreground-hover>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-12-11 16:34:43 +00:00
|
|
|
button.tc-tiddlylink:hover,
|
2014-08-28 17:13:46 +00:00
|
|
|
a.tc-tiddlylink:hover {
|
2013-11-27 12:38:03 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:13:46 +00:00
|
|
|
a.tc-tiddlylink-resolves {
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:13:46 +00:00
|
|
|
a.tc-tiddlylink-shadow {
|
2013-11-27 12:38:03 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:13:46 +00:00
|
|
|
a.tc-tiddlylink-shadow.tc-tiddlylink-resolves {
|
2013-11-27 12:38:03 +00:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:13:46 +00:00
|
|
|
a.tc-tiddlylink-missing {
|
2013-11-27 12:38:03 +00:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:13:46 +00:00
|
|
|
a.tc-tiddlylink-external {
|
2013-11-27 12:38:03 +00:00
|
|
|
text-decoration: underline;
|
2014-02-23 17:19:58 +00:00
|
|
|
color: <<colour external-link-foreground>>;
|
|
|
|
background-color: <<colour external-link-background>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:13:46 +00:00
|
|
|
a.tc-tiddlylink-external:visited {
|
2014-02-23 17:19:58 +00:00
|
|
|
color: <<colour external-link-foreground-visited>>;
|
|
|
|
background-color: <<colour external-link-background-visited>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:13:46 +00:00
|
|
|
a.tc-tiddlylink-external:hover {
|
2014-02-23 17:19:58 +00:00
|
|
|
color: <<colour external-link-foreground-hover>>;
|
|
|
|
background-color: <<colour external-link-background-hover>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2020-06-11 11:06:49 +00:00
|
|
|
.tc-drop-down a.tc-tiddlylink:hover {
|
|
|
|
color: <<colour tiddler-link-background>>;
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Drag and drop styles
|
|
|
|
*/
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-dragger {
|
2013-11-27 12:38:03 +00:00
|
|
|
position: relative;
|
|
|
|
z-index: -10000;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-dragger-inner {
|
2013-11-27 12:38:03 +00:00
|
|
|
position: absolute;
|
2017-03-12 18:07:59 +00:00
|
|
|
top: -1000px;
|
|
|
|
left: -1000px;
|
2013-11-27 12:38:03 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: 8px 20px;
|
|
|
|
font-size: 16.9px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 20px;
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour dragger-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 1);
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: baseline;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour dragger-background>>;
|
2014-03-18 23:38:52 +00:00
|
|
|
border-radius: 20px;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-dragger-cover {
|
2013-11-27 12:38:03 +00:00
|
|
|
position: absolute;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour page-background>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2021-01-29 15:22:43 +00:00
|
|
|
.tc-page-container > .tc-dropzone {
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-dropzone {
|
2013-11-27 12:38:03 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-dropzone.tc-dragover:before {
|
2013-11-27 12:38:03 +00:00
|
|
|
z-index: 10000;
|
|
|
|
display: block;
|
2015-02-21 11:12:38 +00:00
|
|
|
position: fixed;
|
2013-11-27 12:38:03 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2014-02-17 12:09:10 +00:00
|
|
|
background: <<colour dropzone-background>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
text-align: center;
|
2014-08-19 12:07:57 +00:00
|
|
|
content: "<<lingo DropMessage>>";
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2017-03-20 22:29:03 +00:00
|
|
|
.tc-droppable > .tc-droppable-placeholder {
|
2017-03-19 19:33:56 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-03-20 22:29:03 +00:00
|
|
|
.tc-droppable.tc-dragover > .tc-droppable-placeholder {
|
2017-03-19 19:33:56 +00:00
|
|
|
display: block;
|
|
|
|
border: 2px dashed <<colour dropzone-background>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-draggable {
|
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
2019-03-10 20:05:18 +00:00
|
|
|
.tc-sidebar-tab-open .tc-droppable-placeholder, .tc-tagged-draggable-list .tc-droppable-placeholder,
|
|
|
|
.tc-links-draggable-list .tc-droppable-placeholder {
|
2019-03-02 13:54:23 +00:00
|
|
|
line-height: 2em;
|
|
|
|
height: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-sidebar-tab-open-item {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-sidebar-tab-open .tc-btn-invisible.tc-btn-mini svg {
|
|
|
|
font-size: 0.7em;
|
|
|
|
fill: <<colour muted-foreground>>;
|
|
|
|
}
|
|
|
|
|
2015-02-08 19:40:15 +00:00
|
|
|
/*
|
|
|
|
** Plugin reload warning
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-plugin-reload-warning {
|
|
|
|
z-index: 1000;
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background: <<colour alert-background>>;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Buttons
|
|
|
|
*/
|
|
|
|
|
2016-04-22 07:36:29 +00:00
|
|
|
button svg, button img, label svg, label img {
|
2014-07-29 11:06:04 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:28:32 +00:00
|
|
|
.tc-btn-invisible {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
2020-12-16 16:20:14 +00:00
|
|
|
cursor: pointer;
|
2019-09-03 08:50:24 +00:00
|
|
|
color: <<colour foreground>>;
|
2020-12-16 16:20:14 +00:00
|
|
|
fill: <<colour foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2021-05-23 17:13:04 +00:00
|
|
|
button:disabled.tc-btn-invisible {
|
2023-07-22 11:41:19 +00:00
|
|
|
cursor: default;
|
2021-05-23 17:13:04 +00:00
|
|
|
color: <<colour muted-foreground>>;
|
|
|
|
}
|
|
|
|
|
2015-07-02 07:57:06 +00:00
|
|
|
.tc-btn-boxed {
|
|
|
|
font-size: 0.6em;
|
|
|
|
padding: 0.2em;
|
|
|
|
margin: 1px;
|
|
|
|
background: none;
|
|
|
|
border: 1px solid <<colour tiddler-controls-foreground>>;
|
|
|
|
border-radius: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
html body.tc-body .tc-btn-boxed svg {
|
|
|
|
font-size: 1.6666em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-btn-boxed:hover {
|
2015-07-02 15:59:35 +00:00
|
|
|
background: <<colour muted-foreground>>;
|
|
|
|
color: <<colour background>>;
|
2015-07-02 07:57:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
html body.tc-body .tc-btn-boxed:hover svg {
|
2015-07-02 15:59:35 +00:00
|
|
|
fill: <<colour background>>;
|
2015-07-02 07:57:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-btn-rounded {
|
2015-07-02 15:59:35 +00:00
|
|
|
font-size: 0.5em;
|
|
|
|
line-height: 2;
|
|
|
|
padding: 0em 0.3em 0.2em 0.4em;
|
2015-07-02 07:57:06 +00:00
|
|
|
margin: 1px;
|
2015-07-02 15:59:35 +00:00
|
|
|
border: 1px solid <<colour muted-foreground>>;
|
|
|
|
background: <<colour muted-foreground>>;
|
|
|
|
color: <<colour background>>;
|
2015-07-02 07:57:06 +00:00
|
|
|
border-radius: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
html body.tc-body .tc-btn-rounded svg {
|
|
|
|
font-size: 1.6666em;
|
2015-07-02 15:59:35 +00:00
|
|
|
fill: <<colour background>>;
|
2015-07-02 07:57:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-btn-rounded:hover {
|
2015-07-02 15:59:35 +00:00
|
|
|
border: 1px solid <<colour muted-foreground>>;
|
2015-07-02 07:57:06 +00:00
|
|
|
background: <<colour background>>;
|
2015-07-02 15:59:35 +00:00
|
|
|
color: <<colour muted-foreground>>;
|
2015-07-02 07:57:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
html body.tc-body .tc-btn-rounded:hover svg {
|
2015-07-02 15:59:35 +00:00
|
|
|
fill: <<colour muted-foreground>>;
|
2015-07-02 07:57:06 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 16:29:23 +00:00
|
|
|
.tc-btn-icon svg {
|
2014-01-20 11:21:12 +00:00
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
2014-02-17 12:09:10 +00:00
|
|
|
fill: <<colour muted-foreground>>;
|
2014-01-20 11:21:12 +00:00
|
|
|
}
|
|
|
|
|
2021-05-24 18:24:37 +00:00
|
|
|
|
2014-10-11 14:26:51 +00:00
|
|
|
.tc-btn-text {
|
2021-05-24 18:24:37 +00:00
|
|
|
margin-left: 7px;
|
2014-10-11 14:26:51 +00:00
|
|
|
}
|
|
|
|
|
2018-04-24 21:08:20 +00:00
|
|
|
/* used for documentation "fake" buttons */
|
|
|
|
.tc-btn-standard {
|
|
|
|
line-height: 1.8;
|
|
|
|
color: #667;
|
|
|
|
background-color: #e0e0e0;
|
|
|
|
border: 1px solid #888;
|
|
|
|
padding: 2px 1px 2px 1px;
|
|
|
|
margin: 1px 4px 1px 4px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:30:12 +00:00
|
|
|
.tc-btn-big-green {
|
2015-03-30 19:20:42 +00:00
|
|
|
display: inline-block;
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 8px;
|
2013-12-05 16:20:37 +00:00
|
|
|
margin: 4px 8px 4px 8px;
|
2014-02-17 12:09:10 +00:00
|
|
|
background: <<colour download-background>>;
|
|
|
|
color: <<colour download-foreground>>;
|
|
|
|
fill: <<colour download-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
border: none;
|
2019-07-08 09:14:32 +00:00
|
|
|
border-radius: 2px;
|
2013-11-27 12:38:03 +00:00
|
|
|
font-size: 1.2em;
|
|
|
|
line-height: 1.4em;
|
2015-03-25 08:38:06 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-btn-big-green svg,
|
|
|
|
.tc-btn-big-green img {
|
2015-03-30 19:20:42 +00:00
|
|
|
height: 2em;
|
|
|
|
width: 2em;
|
2015-03-25 08:38:06 +00:00
|
|
|
vertical-align: middle;
|
2015-05-03 15:24:02 +00:00
|
|
|
fill: <<colour download-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2019-07-30 12:49:40 +00:00
|
|
|
.tc-primary-btn {
|
2021-05-19 13:12:12 +00:00
|
|
|
background: <<colour primary>>;
|
2019-07-30 12:49:40 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-lists input {
|
2014-03-25 21:53:18 +00:00
|
|
|
color: <<colour foreground>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-lists button {
|
2014-03-12 20:05:34 +00:00
|
|
|
color: <<colour sidebar-button-foreground>>;
|
2014-08-02 11:16:14 +00:00
|
|
|
fill: <<colour sidebar-button-foreground>>;
|
2014-03-12 20:05:34 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-lists button.tc-btn-mini {
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour sidebar-muted-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-lists button.tc-btn-mini:hover {
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour sidebar-muted-foreground-hover>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2020-12-07 17:29:42 +00:00
|
|
|
.tc-sidebar-lists button small {
|
|
|
|
color: <<colour foreground>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:47:43 +00:00
|
|
|
button svg.tc-image-button, button .tc-image-button img {
|
2013-11-29 17:11:48 +00:00
|
|
|
height: 1em;
|
2014-07-28 10:29:06 +00:00
|
|
|
width: 1em;
|
2013-11-29 17:11:48 +00:00
|
|
|
}
|
|
|
|
|
2015-09-18 16:29:52 +00:00
|
|
|
.tc-unfold-banner {
|
2015-09-18 18:45:18 +00:00
|
|
|
position: absolute;
|
2015-09-18 16:29:52 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
width: 100%;
|
2016-04-29 16:02:05 +00:00
|
|
|
width: calc(100% + 2px);
|
|
|
|
margin-left: -43px;
|
2015-09-18 16:29:52 +00:00
|
|
|
text-align: center;
|
2015-09-18 18:45:18 +00:00
|
|
|
border-top: 2px solid <<colour tiddler-info-background>>;
|
|
|
|
margin-top: 4px;
|
2015-09-18 16:29:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-unfold-banner:hover {
|
|
|
|
background: <<colour tiddler-info-background>>;
|
2015-09-18 18:45:18 +00:00
|
|
|
border-top: 2px solid <<colour tiddler-info-border>>;
|
2015-09-18 16:29:52 +00:00
|
|
|
}
|
|
|
|
|
2015-09-18 18:45:18 +00:00
|
|
|
.tc-unfold-banner svg, .tc-fold-banner svg {
|
2015-09-18 16:29:52 +00:00
|
|
|
height: 0.75em;
|
|
|
|
fill: <<colour tiddler-controls-foreground>>;
|
|
|
|
}
|
|
|
|
|
2015-09-18 18:45:18 +00:00
|
|
|
.tc-unfold-banner:hover svg, .tc-fold-banner:hover svg {
|
2015-09-18 16:29:52 +00:00
|
|
|
fill: <<colour tiddler-controls-foreground-hover>>;
|
|
|
|
}
|
|
|
|
|
2015-09-18 18:45:18 +00:00
|
|
|
.tc-fold-banner {
|
|
|
|
position: absolute;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
width: 23px;
|
|
|
|
text-align: center;
|
|
|
|
margin-left: -35px;
|
2016-04-29 16:02:05 +00:00
|
|
|
top: 6px;
|
|
|
|
bottom: 6px;
|
2015-09-18 18:45:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-fold-banner:hover {
|
|
|
|
background: <<colour tiddler-info-background>>;
|
|
|
|
}
|
|
|
|
|
2020-11-08 22:30:31 +00:00
|
|
|
@media (max-width: <<sidebarbreakpoint-minus-one>>) {
|
2016-05-11 17:09:54 +00:00
|
|
|
|
2015-09-18 18:45:18 +00:00
|
|
|
.tc-unfold-banner {
|
|
|
|
position: static;
|
2016-04-29 16:02:05 +00:00
|
|
|
width: calc(100% + 59px);
|
|
|
|
}
|
2015-09-18 18:45:18 +00:00
|
|
|
|
|
|
|
.tc-fold-banner {
|
|
|
|
width: 16px;
|
|
|
|
margin-left: -16px;
|
2016-04-29 16:02:05 +00:00
|
|
|
font-size: 0.75em;
|
2015-09-18 18:45:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Tags and missing tiddlers
|
|
|
|
*/
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tag-list-item {
|
2014-02-06 12:48:10 +00:00
|
|
|
position: relative;
|
2013-11-27 12:38:03 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tags-wrapper {
|
2013-11-27 12:38:03 +00:00
|
|
|
margin: 4px 0 14px 0;
|
|
|
|
}
|
|
|
|
|
2021-01-29 18:16:41 +00:00
|
|
|
.tc-tags-wrapper .tc-tag-list-item {
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-missing-tiddler-label {
|
2013-11-27 12:38:03 +00:00
|
|
|
font-style: italic;
|
|
|
|
font-weight: normal;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 11.844px;
|
|
|
|
line-height: 14px;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
2020-07-14 11:32:51 +00:00
|
|
|
.tc-block-tags-dropdown > .tc-btn-invisible:hover {
|
|
|
|
background-color: <<colour primary>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
button.tc-tag-label, span.tc-tag-label {
|
2013-11-27 12:38:03 +00:00
|
|
|
display: inline-block;
|
2014-11-02 21:22:45 +00:00
|
|
|
padding: 0.16em 0.7em;
|
2013-11-27 12:38:03 +00:00
|
|
|
font-size: 0.9em;
|
2021-07-19 11:54:57 +00:00
|
|
|
font-weight: normal;
|
2013-11-27 12:38:03 +00:00
|
|
|
line-height: 1.2em;
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour tag-foreground>>;
|
2022-07-09 07:35:38 +00:00
|
|
|
white-space: break-spaces;
|
2013-11-27 12:38:03 +00:00
|
|
|
vertical-align: baseline;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour tag-background>>;
|
2014-10-31 10:02:09 +00:00
|
|
|
border-radius: 1em;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2019-09-07 08:27:00 +00:00
|
|
|
.tc-sidebar-scrollable .tc-tag-label {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2014-09-27 15:56:59 +00:00
|
|
|
.tc-untagged-separator {
|
|
|
|
border: 0;
|
|
|
|
height: 1px;
|
|
|
|
background: <<colour tab-divider>>;
|
|
|
|
}
|
|
|
|
|
2014-10-02 13:41:40 +00:00
|
|
|
button.tc-untagged-label {
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour untagged-background>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tag-label svg, .tc-tag-label img {
|
2013-11-27 12:38:03 +00:00
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
2021-05-19 13:12:12 +00:00
|
|
|
margin-right: 3px;
|
2019-11-07 12:39:14 +00:00
|
|
|
margin-bottom: 1px;
|
2020-06-11 11:07:23 +00:00
|
|
|
vertical-align: bottom;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2019-06-26 11:34:18 +00:00
|
|
|
.tc-edit-tags button.tc-remove-tag-button svg {
|
|
|
|
font-size: 0.7em;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2014-11-18 14:07:00 +00:00
|
|
|
.tc-tag-manager-table .tc-tag-label {
|
|
|
|
}
|
|
|
|
|
2014-11-03 22:07:00 +00:00
|
|
|
.tc-tag-manager-tag {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-12-01 13:59:39 +00:00
|
|
|
button.tc-btn-invisible.tc-remove-tag-button {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2020-07-13 16:42:55 +00:00
|
|
|
.tc-tag-button-selected,
|
2020-10-28 11:59:36 +00:00
|
|
|
.tc-list-item-selected a.tc-tiddlylink, a.tc-list-item-selected {
|
2020-07-13 16:42:55 +00:00
|
|
|
background-color: <<colour primary>>;
|
|
|
|
color: <<colour tiddler-background>>;
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Page layout
|
|
|
|
*/
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-topbar {
|
2014-03-25 21:54:06 +00:00
|
|
|
position: fixed;
|
|
|
|
z-index: 1200;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-topbar-left {
|
2014-04-19 10:32:56 +00:00
|
|
|
left: 29px;
|
|
|
|
top: 5px;
|
2014-03-25 21:54:06 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-topbar-right {
|
2014-04-19 10:32:56 +00:00
|
|
|
top: 5px;
|
|
|
|
right: 29px;
|
2014-03-25 21:54:06 +00:00
|
|
|
}
|
|
|
|
|
2020-11-20 14:00:56 +00:00
|
|
|
@media (max-width: <<sidebarbreakpoint-minus-one>>) {
|
|
|
|
|
|
|
|
.tc-topbar-right {
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-topbar button {
|
2014-03-25 21:54:06 +00:00
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-topbar svg {
|
2014-03-25 21:54:06 +00:00
|
|
|
fill: <<colour muted-foreground>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-topbar button:hover svg {
|
2014-03-25 21:54:06 +00:00
|
|
|
fill: <<colour foreground>>;
|
|
|
|
}
|
|
|
|
|
2020-11-09 18:18:30 +00:00
|
|
|
@media (max-width: <<sidebarbreakpoint-minus-one>>) {
|
|
|
|
|
|
|
|
.tc-show-sidebar-btn svg.tc-image-chevron-left, .tc-hide-sidebar-btn svg.tc-image-chevron-right {
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:27:03 +00:00
|
|
|
.tc-sidebar-header {
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour sidebar-foreground>>;
|
2014-06-21 10:49:42 +00:00
|
|
|
fill: <<colour sidebar-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:13:46 +00:00
|
|
|
.tc-sidebar-header .tc-title a.tc-tiddlylink-resolves {
|
2021-07-19 11:54:57 +00:00
|
|
|
font-weight: normal;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-header .tc-sidebar-lists p {
|
2013-11-27 12:38:03 +00:00
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-header .tc-missing-tiddler-label {
|
2014-02-23 17:19:58 +00:00
|
|
|
color: <<colour sidebar-foreground>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-advanced-search input {
|
2014-03-10 18:16:10 +00:00
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-search a svg {
|
2014-10-07 21:11:43 +00:00
|
|
|
width: 1.2em;
|
|
|
|
height: 1.2em;
|
|
|
|
vertical-align: middle;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-page-controls {
|
2013-11-27 12:38:03 +00:00
|
|
|
margin-top: 14px;
|
2014-07-28 10:29:06 +00:00
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 16:26:54 +00:00
|
|
|
.tc-page-controls .tc-drop-down {
|
2021-05-19 13:12:12 +00:00
|
|
|
font-size: 1rem;
|
Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 16:26:54 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-page-controls button {
|
2014-07-28 10:29:06 +00:00
|
|
|
margin-right: 0.5em;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-page-controls a.tc-tiddlylink:hover {
|
2013-11-27 12:38:03 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-page-controls img {
|
2014-07-31 17:07:37 +00:00
|
|
|
width: 1em;
|
|
|
|
}
|
|
|
|
|
2015-07-18 11:22:35 +00:00
|
|
|
.tc-page-controls svg {
|
2014-02-17 12:09:10 +00:00
|
|
|
fill: <<colour sidebar-controls-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2015-07-18 11:22:35 +00:00
|
|
|
.tc-page-controls button:hover svg, .tc-page-controls a:hover svg {
|
2014-02-23 23:09:58 +00:00
|
|
|
fill: <<colour sidebar-controls-foreground-hover>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2020-11-13 18:00:37 +00:00
|
|
|
.tc-sidebar-lists .tc-menu-list-item {
|
2013-11-27 12:38:03 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-menu-list-count {
|
2013-11-27 12:38:03 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-menu-list-subitem {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding-left: 7px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:26:21 +00:00
|
|
|
.tc-story-river {
|
2013-11-27 12:38:03 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2020-11-08 22:30:31 +00:00
|
|
|
@media (max-width: <<sidebarbreakpoint-minus-one>>) {
|
2014-03-25 14:29:16 +00:00
|
|
|
|
2014-08-28 16:27:03 +00:00
|
|
|
.tc-sidebar-header {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 14px;
|
2015-09-09 16:12:36 +00:00
|
|
|
min-height: 32px;
|
2014-12-10 15:29:03 +00:00
|
|
|
margin-top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};
|
2020-11-09 18:18:30 +00:00
|
|
|
transition: min-height {{$:/config/AnimationDuration}}ms ease-in-out, padding-top {{$:/config/AnimationDuration}}ms ease-in-out, padding-bottom {{$:/config/AnimationDuration}}ms ease-in-out;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
2020-11-09 18:18:30 +00:00
|
|
|
|
|
|
|
<<if-no-sidebar """
|
|
|
|
|
|
|
|
.tc-sidebar-header {
|
|
|
|
min-height: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
""">>
|
2013-11-27 12:38:03 +00:00
|
|
|
|
2014-08-28 16:26:21 +00:00
|
|
|
.tc-story-river {
|
2013-11-27 12:38:03 +00:00
|
|
|
position: relative;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-08 22:30:31 +00:00
|
|
|
@media (min-width: <<sidebarbreakpoint>>) {
|
2014-03-25 14:29:16 +00:00
|
|
|
|
2014-08-28 18:13:21 +00:00
|
|
|
.tc-message-box {
|
2014-03-25 14:29:16 +00:00
|
|
|
margin: 21px -21px 21px -21px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-scrollable {
|
2013-11-27 12:38:03 +00:00
|
|
|
position: fixed;
|
2014-07-06 15:55:51 +00:00
|
|
|
top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};
|
|
|
|
left: {{$:/themes/tiddlywiki/vanilla/metrics/storyright}};
|
2013-11-27 12:38:03 +00:00
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: auto;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
margin: 0 0 0 -42px;
|
2014-04-14 17:37:09 +00:00
|
|
|
padding: 71px 0 28px 42px;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2016-08-15 18:47:26 +00:00
|
|
|
html[dir="rtl"] .tc-sidebar-scrollable {
|
|
|
|
left: auto;
|
|
|
|
right: {{$:/themes/tiddlywiki/vanilla/metrics/storyright}};
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:26:21 +00:00
|
|
|
.tc-story-river {
|
2013-11-27 12:38:03 +00:00
|
|
|
position: relative;
|
2014-07-06 15:55:51 +00:00
|
|
|
left: {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}};
|
|
|
|
top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};
|
|
|
|
width: {{$:/themes/tiddlywiki/vanilla/metrics/storywidth}};
|
2014-04-09 21:19:27 +00:00
|
|
|
padding: 42px 42px 42px 42px;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
2014-04-12 16:14:27 +00:00
|
|
|
|
|
|
|
<<if-no-sidebar "
|
|
|
|
|
2014-08-28 16:26:21 +00:00
|
|
|
.tc-story-river {
|
2016-04-29 16:02:05 +00:00
|
|
|
width: calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}});
|
2014-04-12 16:14:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
">>
|
|
|
|
|
2020-11-23 18:06:46 +00:00
|
|
|
.tc-story-river.tc-static-story-river {
|
|
|
|
margin-right: 0;
|
|
|
|
padding-right: 42px;
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
2014-07-09 14:22:53 +00:00
|
|
|
|
2014-08-28 18:00:57 +00:00
|
|
|
body.tc-body {
|
2014-07-09 14:22:53 +00:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-header, .tc-topbar {
|
2013-11-27 12:38:03 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:26:21 +00:00
|
|
|
.tc-story-river {
|
2014-07-09 16:00:41 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-story-river .tc-tiddler-frame {
|
2014-07-09 16:00:41 +00:00
|
|
|
margin: 0;
|
|
|
|
border: none;
|
2016-07-20 21:09:41 +00:00
|
|
|
padding: 0;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
** Tiddler styles
|
|
|
|
*/
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-frame {
|
2015-09-18 18:45:18 +00:00
|
|
|
position: relative;
|
2013-11-27 12:38:03 +00:00
|
|
|
margin-bottom: 28px;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour tiddler-background>>;
|
2014-02-22 11:00:51 +00:00
|
|
|
border: 1px solid <<colour tiddler-border>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2015-03-22 10:15:43 +00:00
|
|
|
{{$:/themes/tiddlywiki/vanilla/sticky}}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-info {
|
2021-01-29 14:34:06 +00:00
|
|
|
overflow: hidden;
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 14px 42px 14px 42px;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour tiddler-info-background>>;
|
|
|
|
border-top: 1px solid <<colour tiddler-info-border>>;
|
|
|
|
border-bottom: 1px solid <<colour tiddler-info-border>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-info p {
|
2014-08-02 11:16:14 +00:00
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tiddler-info .tc-tab-buttons button.tc-tab-selected {
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour tiddler-info-tab-background>>;
|
|
|
|
border-bottom: 1px solid <<colour tiddler-info-tab-background>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2020-11-20 14:00:56 +00:00
|
|
|
@media (max-width: <<sidebarbreakpoint-minus-one>>) {
|
|
|
|
|
|
|
|
.tc-tiddler-info {
|
|
|
|
padding: 14px 14px 14px 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-view-field-table {
|
2013-11-27 12:38:03 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-view-field-name {
|
2013-11-27 12:38:03 +00:00
|
|
|
width: 1%; /* Makes this column be as narrow as possible */
|
2021-12-08 19:29:02 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: top;
|
2013-11-27 12:38:03 +00:00
|
|
|
text-align: right;
|
|
|
|
font-style: italic;
|
2021-07-19 11:54:57 +00:00
|
|
|
font-weight: normal;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-view-field-value {
|
2021-06-14 09:37:04 +00:00
|
|
|
word-break: break-all;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2020-11-08 22:30:31 +00:00
|
|
|
@media (max-width: <<sidebarbreakpoint-minus-one>>) {
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-frame {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 14px 14px 14px 14px;
|
2020-11-20 14:00:56 +00:00
|
|
|
margin-bottom: .5em;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-info {
|
2013-11-27 12:38:03 +00:00
|
|
|
margin: 0 -14px 0 -14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-08 22:30:31 +00:00
|
|
|
@media (min-width: <<sidebarbreakpoint>>) {
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-frame {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 28px 42px 42px 42px;
|
2014-07-06 15:55:51 +00:00
|
|
|
width: {{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}};
|
2014-11-26 11:22:04 +00:00
|
|
|
border-radius: 2px;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-04-12 16:14:27 +00:00
|
|
|
<<if-no-sidebar "
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-frame {
|
2014-04-14 17:37:09 +00:00
|
|
|
width: 100%;
|
2014-04-12 16:14:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
">>
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-info {
|
2013-11-27 12:38:03 +00:00
|
|
|
margin: 0 -42px 0 -42px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-site-title,
|
2014-08-28 16:21:40 +00:00
|
|
|
.tc-titlebar {
|
2021-07-19 11:54:57 +00:00
|
|
|
font-weight: normal;
|
2013-11-27 12:38:03 +00:00
|
|
|
font-size: 2.35em;
|
2020-11-25 16:27:31 +00:00
|
|
|
line-height: 1.35em;
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour tiddler-title-foreground>>;
|
2014-06-15 07:37:58 +00:00
|
|
|
margin: 0;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2015-04-02 11:39:08 +00:00
|
|
|
.tc-site-title {
|
|
|
|
color: <<colour site-title-foreground>>;
|
|
|
|
}
|
|
|
|
|
2014-11-22 09:43:01 +00:00
|
|
|
.tc-tiddler-title-icon {
|
|
|
|
vertical-align: middle;
|
2020-04-15 11:35:35 +00:00
|
|
|
margin-right: .1em;
|
2014-11-22 09:43:01 +00:00
|
|
|
}
|
|
|
|
|
2023-07-21 13:44:49 +00:00
|
|
|
.tc-tiddler-title-icon svg {
|
|
|
|
width: 0.9em;
|
|
|
|
height: 0.9em;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-system-title-prefix {
|
2014-03-13 17:40:53 +00:00
|
|
|
color: <<colour muted-foreground>>;
|
|
|
|
}
|
|
|
|
|
2014-11-08 17:51:35 +00:00
|
|
|
.tc-titlebar h2 {
|
|
|
|
font-size: 1em;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:21:40 +00:00
|
|
|
.tc-titlebar img {
|
2013-11-27 12:38:03 +00:00
|
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-subtitle {
|
2013-11-27 12:38:03 +00:00
|
|
|
font-size: 0.9em;
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour tiddler-subtitle-foreground>>;
|
2021-07-19 11:54:57 +00:00
|
|
|
font-weight: normal;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2020-04-15 11:35:35 +00:00
|
|
|
.tc-subtitle .tc-tiddlylink {
|
|
|
|
margin-right: .3em;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-missing .tc-title {
|
2021-05-19 13:12:12 +00:00
|
|
|
font-style: italic;
|
|
|
|
font-weight: normal;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-frame .tc-tiddler-controls {
|
2013-11-27 12:38:03 +00:00
|
|
|
float: right;
|
2022-08-17 13:54:15 +00:00
|
|
|
padding: 3px; /* make space for outline */
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-controls .tc-drop-down {
|
2014-07-28 10:29:06 +00:00
|
|
|
font-size: 0.6em;
|
|
|
|
}
|
|
|
|
|
2014-11-21 17:07:03 +00:00
|
|
|
.tc-tiddler-controls .tc-drop-down .tc-drop-down {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
2017-07-11 13:42:05 +00:00
|
|
|
.tc-tiddler-controls > span > button,
|
|
|
|
.tc-tiddler-controls > span > span > button,
|
|
|
|
.tc-tiddler-controls > span > span > span > button {
|
2013-11-27 12:38:03 +00:00
|
|
|
vertical-align: baseline;
|
2014-11-23 16:32:29 +00:00
|
|
|
margin-left:5px;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2015-07-18 11:22:35 +00:00
|
|
|
.tc-tiddler-controls button svg, .tc-tiddler-controls button img,
|
|
|
|
.tc-search button svg, .tc-search a svg {
|
2014-02-17 12:09:10 +00:00
|
|
|
fill: <<colour tiddler-controls-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2016-09-13 18:26:37 +00:00
|
|
|
.tc-tiddler-controls button svg, .tc-tiddler-controls button img {
|
|
|
|
height: 0.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-search button svg, .tc-search a svg {
|
2021-05-19 13:12:12 +00:00
|
|
|
height: 1.2em;
|
|
|
|
width: 1.2em;
|
|
|
|
margin: 0 0.25em;
|
2016-09-13 18:26:37 +00:00
|
|
|
}
|
|
|
|
|
2015-02-20 22:42:14 +00:00
|
|
|
.tc-tiddler-controls button.tc-selected svg,
|
|
|
|
.tc-page-controls button.tc-selected svg {
|
2014-02-17 12:09:10 +00:00
|
|
|
fill: <<colour tiddler-controls-foreground-selected>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2015-07-18 11:22:35 +00:00
|
|
|
.tc-tiddler-controls button.tc-btn-invisible:hover svg,
|
|
|
|
.tc-search button:hover svg, .tc-search a:hover svg {
|
2014-02-17 12:09:10 +00:00
|
|
|
fill: <<colour tiddler-controls-foreground-hover>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-controls {
|
2013-11-27 12:38:03 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-help { /* Help prompts within tiddler template */
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour muted-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
margin-top: 14px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-help a.tc-tiddlylink {
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour very-muted-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2016-04-22 07:36:29 +00:00
|
|
|
.tc-tiddler-frame .tc-edit-texteditor {
|
2013-11-27 12:38:03 +00:00
|
|
|
width: 100%;
|
2016-04-22 07:36:29 +00:00
|
|
|
margin: 4px 0 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tiddler-frame input.tc-edit-texteditor,
|
|
|
|
.tc-tiddler-frame textarea.tc-edit-texteditor,
|
2022-03-17 17:06:24 +00:00
|
|
|
.tc-tiddler-frame iframe.tc-edit-texteditor,
|
|
|
|
.tc-tiddler-frame select.tc-edit-texteditor {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 3px 3px 3px 3px;
|
2014-02-17 12:09:10 +00:00
|
|
|
border: 1px solid <<colour tiddler-editor-border>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
line-height: 1.3em;
|
2017-06-29 15:55:49 +00:00
|
|
|
font-family: {{$:/themes/tiddlywiki/vanilla/settings/editorfontfamily}};
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2020-11-28 14:07:46 +00:00
|
|
|
.tc-tiddler-frame input.tc-edit-texteditor,
|
2022-03-17 17:06:24 +00:00
|
|
|
.tc-tiddler-frame textarea.tc-edit-texteditor,
|
|
|
|
.tc-tiddler-frame iframe.tc-edit-texteditor {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tiddler-frame input.tc-edit-texteditor,
|
|
|
|
.tc-tiddler-frame select.tc-edit-texteditor,
|
2020-11-28 14:07:46 +00:00
|
|
|
.tc-tiddler-frame textarea.tc-edit-texteditor {
|
|
|
|
background-color: <<colour tiddler-editor-background>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tiddler-frame iframe.tc-edit-texteditor {
|
2020-11-28 21:13:18 +00:00
|
|
|
background-color: <<colour tiddler-background>>;
|
2020-11-28 14:07:46 +00:00
|
|
|
}
|
|
|
|
|
2022-04-01 10:42:16 +00:00
|
|
|
.tc-tiddler-frame .tc-edit-fields input.tc-edit-fieldeditor,
|
|
|
|
.tc-tiddler-frame .tc-edit-fields select.tc-edit-fieldeditor,
|
|
|
|
.tc-tiddler-frame .tc-edit-fields textarea.tc-edit-fieldeditor {
|
|
|
|
margin: 0;
|
|
|
|
padding: 2px 3px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-tiddler-frame .tc-binary-warning {
|
2014-05-02 08:43:39 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 5em;
|
|
|
|
text-align: center;
|
|
|
|
padding: 3em 3em 6em 3em;
|
|
|
|
background: <<colour alert-background>>;
|
|
|
|
border: 1px solid <<colour alert-border>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
canvas.tc-edit-bitmapeditor {
|
2014-02-17 12:09:10 +00:00
|
|
|
border: 6px solid <<colour tiddler-editor-border-image>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
cursor: crosshair;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
margin-top: 6px;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-bitmapeditor-width {
|
2013-11-27 12:38:03 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-bitmapeditor-height {
|
2013-11-27 12:38:03 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2015-09-26 10:22:17 +00:00
|
|
|
.tc-tiddler-body {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2014-09-10 20:56:43 +00:00
|
|
|
.tc-tiddler-frame .tc-tiddler-body {
|
2014-10-22 07:32:36 +00:00
|
|
|
font-size: {{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}};
|
|
|
|
line-height: {{$:/themes/tiddlywiki/vanilla/metrics/bodylineheight}};
|
2014-09-10 20:56:43 +00:00
|
|
|
}
|
|
|
|
|
2014-10-10 19:32:12 +00:00
|
|
|
.tc-titlebar, .tc-tiddler-edit-title {
|
2014-10-05 11:44:06 +00:00
|
|
|
overflow: hidden; /* https://github.com/Jermolene/TiddlyWiki5/issues/282 */
|
|
|
|
}
|
|
|
|
|
2015-05-03 15:24:02 +00:00
|
|
|
html body.tc-body.tc-single-tiddler-window {
|
|
|
|
margin: 1em;
|
2015-05-03 16:05:34 +00:00
|
|
|
background: <<colour tiddler-background>>;
|
2015-05-03 15:24:02 +00:00
|
|
|
}
|
|
|
|
|
2015-05-06 17:09:22 +00:00
|
|
|
.tc-single-tiddler-window img,
|
|
|
|
.tc-single-tiddler-window svg,
|
|
|
|
.tc-single-tiddler-window canvas,
|
|
|
|
.tc-single-tiddler-window embed,
|
|
|
|
.tc-single-tiddler-window iframe {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2016-04-22 07:36:29 +00:00
|
|
|
/*
|
|
|
|
** Editor
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-editor-toolbar {
|
2016-05-11 17:09:54 +00:00
|
|
|
margin-top: 8px;
|
2016-04-22 07:36:29 +00:00
|
|
|
}
|
|
|
|
|
2023-10-17 10:54:20 +00:00
|
|
|
.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview .tc-editor-toolbar,
|
|
|
|
.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden .tc-editor-toolbar {
|
|
|
|
grid-area: toolbar;
|
|
|
|
}
|
|
|
|
|
2016-04-22 07:36:29 +00:00
|
|
|
.tc-editor-toolbar button {
|
|
|
|
vertical-align: middle;
|
|
|
|
background-color: <<colour tiddler-controls-foreground>>;
|
2019-07-07 16:00:17 +00:00
|
|
|
color: <<colour tiddler-controls-foreground-selected>>;
|
2016-04-22 07:36:29 +00:00
|
|
|
fill: <<colour tiddler-controls-foreground-selected>>;
|
2016-04-29 16:02:05 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 3px;
|
2016-05-11 17:09:54 +00:00
|
|
|
margin: 2px 0 2px 4px;
|
2016-04-22 07:36:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-editor-toolbar button.tc-text-editor-toolbar-item-adjunct {
|
2016-05-11 17:09:54 +00:00
|
|
|
margin-left: 1px;
|
2016-04-29 16:02:05 +00:00
|
|
|
width: 1em;
|
2016-05-11 17:09:54 +00:00
|
|
|
border-radius: 8px;
|
2016-04-22 07:36:29 +00:00
|
|
|
}
|
|
|
|
|
2016-04-29 16:18:58 +00:00
|
|
|
.tc-editor-toolbar button.tc-text-editor-toolbar-item-start-group {
|
2016-05-11 17:09:54 +00:00
|
|
|
margin-left: 11px;
|
2016-04-29 16:18:58 +00:00
|
|
|
}
|
|
|
|
|
2016-04-22 07:36:29 +00:00
|
|
|
.tc-editor-toolbar button.tc-selected {
|
|
|
|
background-color: <<colour primary>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-editor-toolbar button svg {
|
2016-04-29 16:02:05 +00:00
|
|
|
width: 1.6em;
|
|
|
|
height: 1.2em;
|
2016-04-22 07:36:29 +00:00
|
|
|
}
|
|
|
|
|
2023-06-13 10:22:11 +00:00
|
|
|
.tc-editor-toolbar .tc-drop-down button.tc-btn-mini {
|
|
|
|
padding: 2px 4px;
|
2023-06-08 07:32:56 +00:00
|
|
|
}
|
|
|
|
|
2016-04-22 07:36:29 +00:00
|
|
|
.tc-editor-toolbar button:hover {
|
|
|
|
background-color: <<colour tiddler-controls-foreground-selected>>;
|
|
|
|
fill: <<colour background>>;
|
2018-10-24 09:33:16 +00:00
|
|
|
color: <<colour background>>;
|
2016-04-22 07:36:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-editor-toolbar .tc-text-editor-toolbar-more {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-editor-toolbar .tc-text-editor-toolbar-more button {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 3px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2016-04-29 17:54:41 +00:00
|
|
|
.tc-editor-toolbar .tc-search-results {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-08-29 16:48:32 +00:00
|
|
|
.tc-editor-toolbar button.tc-editortoolbar-stamp-button + .tc-popup .tc-drop-down > p {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-editor-toolbar button.tc-editortoolbar-stamp-button + .tc-popup .tc-drop-down a.tc-tiddlylink {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2015-05-04 18:19:40 +00:00
|
|
|
/*
|
|
|
|
** Adjustments for fluid-fixed mode
|
|
|
|
*/
|
|
|
|
|
2020-11-08 22:30:31 +00:00
|
|
|
@media (min-width: <<sidebarbreakpoint>>) {
|
2015-05-04 18:19:40 +00:00
|
|
|
|
|
|
|
<<if-fluid-fixed text:"""
|
|
|
|
|
|
|
|
.tc-story-river {
|
2015-05-04 20:35:11 +00:00
|
|
|
padding-right: 0;
|
2015-05-04 18:19:40 +00:00
|
|
|
position: relative;
|
|
|
|
width: auto;
|
|
|
|
left: 0;
|
2015-08-30 18:12:34 +00:00
|
|
|
margin-left: {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}};
|
2015-05-04 18:19:40 +00:00
|
|
|
margin-right: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tiddler-frame {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-sidebar-scrollable {
|
|
|
|
left: auto;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};
|
|
|
|
}
|
|
|
|
|
2023-02-10 21:27:20 +00:00
|
|
|
body.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
|
2015-05-04 20:35:11 +00:00
|
|
|
width: 100%;
|
|
|
|
width: calc(100% - 42px);
|
|
|
|
}
|
|
|
|
|
2015-05-04 18:19:40 +00:00
|
|
|
""" hiddenSidebarText:"""
|
|
|
|
|
|
|
|
.tc-story-river {
|
2015-05-04 20:35:11 +00:00
|
|
|
padding-right: 3em;
|
2015-05-04 18:19:40 +00:00
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2023-02-10 21:27:20 +00:00
|
|
|
body.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
|
2015-05-04 20:35:11 +00:00
|
|
|
width: 100%;
|
|
|
|
width: calc(100% - 84px);
|
|
|
|
}
|
|
|
|
|
2015-05-04 18:19:40 +00:00
|
|
|
""">>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-02-23 17:54:38 +00:00
|
|
|
/*
|
|
|
|
** Toolbar buttons
|
|
|
|
*/
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-page-controls svg.tc-image-new-button {
|
2021-05-19 13:12:12 +00:00
|
|
|
fill: <<colour toolbar-new-button>>;
|
2014-02-23 17:54:38 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-page-controls svg.tc-image-options-button {
|
2021-05-19 13:12:12 +00:00
|
|
|
fill: <<colour toolbar-options-button>>;
|
2014-02-23 17:54:38 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-page-controls svg.tc-image-save-button {
|
2021-05-19 13:12:12 +00:00
|
|
|
fill: <<colour toolbar-save-button>>;
|
2014-02-23 17:54:38 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-controls button svg.tc-image-info-button {
|
2021-05-19 13:12:12 +00:00
|
|
|
fill: <<colour toolbar-info-button>>;
|
2014-02-23 17:54:38 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-controls button svg.tc-image-edit-button {
|
2021-05-19 13:12:12 +00:00
|
|
|
fill: <<colour toolbar-edit-button>>;
|
2014-02-23 17:54:38 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-controls button svg.tc-image-close-button {
|
2021-05-19 13:12:12 +00:00
|
|
|
fill: <<colour toolbar-close-button>>;
|
2014-02-23 17:54:38 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-controls button svg.tc-image-delete-button {
|
2021-05-19 13:12:12 +00:00
|
|
|
fill: <<colour toolbar-delete-button>>;
|
2014-02-23 17:54:38 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-controls button svg.tc-image-cancel-button {
|
2021-05-19 13:12:12 +00:00
|
|
|
fill: <<colour toolbar-cancel-button>>;
|
2014-02-23 17:54:38 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-controls button svg.tc-image-done-button {
|
2021-05-19 13:12:12 +00:00
|
|
|
fill: <<colour toolbar-done-button>>;
|
2014-02-23 17:54:38 +00:00
|
|
|
}
|
|
|
|
|
2022-12-04 16:25:13 +00:00
|
|
|
.tc-page-controls svg.tc-image-layout-button {
|
|
|
|
fill: <<colour toolbar-options-button>>;
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Tiddler edit mode
|
|
|
|
*/
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-edit-frame em.tc-edit {
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour muted-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-type-dropdown a.tc-tiddlylink-missing {
|
2013-11-27 12:38:03 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
2020-01-30 15:39:38 +00:00
|
|
|
.tc-type-selector .tc-edit-typeeditor {
|
2020-06-11 11:14:09 +00:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2020-08-10 08:25:14 +00:00
|
|
|
.tc-type-selector-dropdown-wrapper {
|
2020-06-11 11:14:09 +00:00
|
|
|
display: inline-block;
|
2020-01-30 15:39:38 +00:00
|
|
|
}
|
|
|
|
|
2020-11-22 21:12:19 +00:00
|
|
|
<<set-type-selector-min-width>>
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-tags {
|
2014-02-17 12:09:10 +00:00
|
|
|
border: 1px solid <<colour tiddler-editor-border>>;
|
2013-11-30 10:55:45 +00:00
|
|
|
padding: 4px 8px 4px 8px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-add-tag {
|
2013-11-30 10:55:45 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-edit-add-tag .tc-add-tag-name input {
|
2013-11-30 10:55:45 +00:00
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
2016-12-18 20:43:26 +00:00
|
|
|
.tc-edit-add-tag .tc-keyboard {
|
|
|
|
display:inline;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-edit-tags .tc-tag-label {
|
2013-11-30 10:55:45 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-tags-list {
|
2013-11-27 12:38:03 +00:00
|
|
|
margin: 14px 0 14px 0;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:13:21 +00:00
|
|
|
.tc-remove-tag-button {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding-left: 4px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
.tc-tiddler-preview {
|
2013-11-27 12:38:03 +00:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2023-10-17 10:54:20 +00:00
|
|
|
.tc-tiddler-editor {
|
|
|
|
display: grid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview {
|
|
|
|
grid-template-areas:
|
|
|
|
"toolbar toolbar"
|
|
|
|
"editor preview";
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden {
|
|
|
|
grid-template-areas:
|
|
|
|
"toolbar"
|
|
|
|
"editor";
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview .tc-tiddler-preview-preview {
|
|
|
|
grid-area: preview;
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
word-break: normal;
|
2014-02-17 12:09:10 +00:00
|
|
|
border: 1px solid <<colour tiddler-editor-border>>;
|
2016-09-22 10:37:22 +00:00
|
|
|
margin: 4px 0 3px 3px;
|
2018-12-02 20:57:13 +00:00
|
|
|
padding: 3px 3px 3px 3px;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2016-10-18 07:46:48 +00:00
|
|
|
<<if-editor-height-fixed then:"""
|
|
|
|
|
|
|
|
.tc-tiddler-preview-preview {
|
|
|
|
overflow-y: scroll;
|
|
|
|
height: {{$:/config/TextEditor/EditorHeight/Height}};
|
|
|
|
}
|
|
|
|
|
|
|
|
""">>
|
|
|
|
|
2023-10-17 10:54:20 +00:00
|
|
|
.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview .tc-edit-texteditor,
|
|
|
|
.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden .tc-edit-texteditor {
|
|
|
|
grid-area: editor;
|
2016-04-22 07:36:29 +00:00
|
|
|
}
|
|
|
|
|
2023-10-17 10:54:20 +00:00
|
|
|
.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview canvas.tc-edit-bitmapeditor,
|
|
|
|
.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden canvas.tc-edit-bitmapeditor {
|
|
|
|
grid-area: editor;
|
|
|
|
max-width: 100%;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-fields {
|
2013-11-27 12:38:03 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-11-18 18:02:40 +00:00
|
|
|
.tc-edit-fields.tc-edit-fields-small {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2013-11-27 12:38:03 +00:00
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-fields table, .tc-edit-fields tr, .tc-edit-fields td {
|
2013-11-27 12:38:03 +00:00
|
|
|
border: none;
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-fields > tbody > .tc-edit-field:nth-child(odd) {
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour tiddler-editor-fields-odd>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-fields > tbody > .tc-edit-field:nth-child(even) {
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour tiddler-editor-fields-even>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-field-name {
|
2013-11-27 12:38:03 +00:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-field-value input {
|
2013-11-27 12:38:03 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-field-remove {
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-field-remove svg {
|
2013-11-27 12:38:03 +00:00
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
2014-02-17 12:09:10 +00:00
|
|
|
fill: <<colour muted-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2020-06-11 11:18:31 +00:00
|
|
|
.tc-edit-field-add-name-wrapper input.tc-edit-texteditor {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-edit-field-add-name-wrapper {
|
2013-11-27 12:38:03 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2014-11-06 18:24:33 +00:00
|
|
|
.tc-edit-field-add-value {
|
|
|
|
display: inline-block;
|
2020-11-08 22:30:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: <<sidebarbreakpoint>>) {
|
|
|
|
|
|
|
|
.tc-edit-field-add-value {
|
|
|
|
width: 35%;
|
|
|
|
}
|
|
|
|
|
2014-11-06 18:24:33 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
.tc-edit-field-add-button {
|
2013-11-27 12:38:03 +00:00
|
|
|
display: inline-block;
|
|
|
|
width: 10%;
|
|
|
|
}
|
|
|
|
|
2021-05-19 20:52:43 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
** Tiddler editor dropzone
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-dropzone-editor {
|
|
|
|
position:relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-dropzone-editor.tc-dragover .tc-editor-toolbar::after{
|
|
|
|
z-index: 10000;
|
|
|
|
top:0;
|
|
|
|
left:0;
|
|
|
|
right:0;
|
|
|
|
height: 100%;
|
|
|
|
background: <<colour dropzone-background>>;
|
|
|
|
content: "<<lingo DropMessage>>";
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
background-color: <<color background>>;
|
|
|
|
border: 4px dashed <<color modal-border>>;
|
2021-07-19 11:54:57 +00:00
|
|
|
font-weight: bold;
|
2021-05-19 20:52:43 +00:00
|
|
|
font-size: 150%;
|
|
|
|
opacity: 0.8;
|
|
|
|
color: <<color foreground>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-editor-importpopup {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-editor-import {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
background: <<color pre-background>>;
|
|
|
|
box-shadow: 2px 2px 10px <<colour foreground>>;
|
|
|
|
padding: 10px;
|
|
|
|
width: 96%;
|
|
|
|
border: 1px solid <<color tiddler-controls-foreground>>;
|
|
|
|
text-align:center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-editor-import img {
|
|
|
|
max-height: 500px;
|
|
|
|
}
|
|
|
|
|
2014-10-06 08:18:29 +00:00
|
|
|
/*
|
|
|
|
** Storyview Classes
|
|
|
|
*/
|
|
|
|
|
2020-04-15 11:35:35 +00:00
|
|
|
.tc-viewswitcher .tc-image-button {
|
|
|
|
margin-right: .3em;
|
|
|
|
}
|
|
|
|
|
2023-02-10 21:27:20 +00:00
|
|
|
.tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
|
2014-10-06 08:18:29 +00:00
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2015-05-11 19:57:02 +00:00
|
|
|
}
|
|
|
|
|
2020-11-08 22:30:31 +00:00
|
|
|
@media (min-width: <<sidebarbreakpoint>>) {
|
2015-05-11 19:57:02 +00:00
|
|
|
|
2023-02-10 21:27:20 +00:00
|
|
|
.tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
|
2015-05-11 19:57:02 +00:00
|
|
|
width: calc(100% - 84px);
|
|
|
|
}
|
|
|
|
|
2014-10-06 08:18:29 +00:00
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Dropdowns
|
|
|
|
*/
|
|
|
|
|
2014-08-28 21:22:40 +00:00
|
|
|
.tc-btn-dropdown {
|
2014-07-17 17:39:54 +00:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2014-08-28 21:22:40 +00:00
|
|
|
.tc-btn-dropdown svg, .tc-btn-dropdown img {
|
2013-11-27 12:38:03 +00:00
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
2014-02-17 12:09:10 +00:00
|
|
|
fill: <<colour muted-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-drop-down-wrapper {
|
2014-08-09 12:12:23 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-drop-down {
|
2014-11-27 23:03:26 +00:00
|
|
|
min-width: 380px;
|
2014-02-17 12:09:10 +00:00
|
|
|
border: 1px solid <<colour dropdown-border>>;
|
|
|
|
background-color: <<colour dropdown-background>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 7px 0 7px 0;
|
|
|
|
margin: 4px 0 0 0;
|
|
|
|
white-space: nowrap;
|
2014-07-31 17:07:37 +00:00
|
|
|
text-shadow: none;
|
|
|
|
line-height: 1.4;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-11-21 17:07:03 +00:00
|
|
|
.tc-drop-down .tc-drop-down {
|
|
|
|
margin-left: 14px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-drop-down button svg, .tc-drop-down a svg {
|
2014-07-28 10:29:06 +00:00
|
|
|
fill: <<colour foreground>>;
|
|
|
|
}
|
|
|
|
|
2021-04-25 15:17:32 +00:00
|
|
|
.tc-drop-down button:disabled svg {
|
|
|
|
fill: <<colour muted-foreground>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-drop-down button.tc-btn-invisible:hover svg {
|
2020-08-11 17:54:17 +00:00
|
|
|
fill: <<colour background>>;
|
2014-07-28 10:29:06 +00:00
|
|
|
}
|
|
|
|
|
2020-03-30 14:24:05 +00:00
|
|
|
.tc-drop-down .tc-drop-down-info {
|
|
|
|
padding-left: 14px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-drop-down p {
|
2013-12-30 12:38:45 +00:00
|
|
|
padding: 0 14px 0 14px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-drop-down svg {
|
2014-08-02 10:58:55 +00:00
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-drop-down img {
|
2014-08-02 10:58:55 +00:00
|
|
|
width: 1em;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-drop-down a, .tc-drop-down button {
|
2013-11-27 12:38:03 +00:00
|
|
|
display: block;
|
|
|
|
padding: 0 14px 0 14px;
|
2014-07-28 10:29:06 +00:00
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
2014-07-30 21:25:52 +00:00
|
|
|
color: <<colour foreground>>;
|
2014-07-31 17:07:37 +00:00
|
|
|
line-height: 1.4;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2016-04-29 17:54:41 +00:00
|
|
|
.tc-drop-down .tc-tab-set .tc-tab-buttons button {
|
|
|
|
display: inline-block;
|
2021-05-19 13:12:12 +00:00
|
|
|
width: auto;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2016-04-29 17:54:41 +00:00
|
|
|
}
|
|
|
|
|
2015-05-05 17:53:30 +00:00
|
|
|
.tc-drop-down .tc-prompt {
|
2016-05-11 17:09:54 +00:00
|
|
|
padding: 0 14px;
|
2015-05-05 17:53:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-drop-down .tc-chooser {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-drop-down .tc-chooser .tc-swatches-horiz {
|
|
|
|
font-size: 0.4em;
|
|
|
|
padding-left: 1.2em;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-drop-down .tc-file-input-wrapper {
|
2014-08-02 20:37:46 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-drop-down .tc-file-input-wrapper button {
|
2014-08-02 20:37:46 +00:00
|
|
|
color: <<colour foreground>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-drop-down a:hover, .tc-drop-down button:hover, .tc-drop-down .tc-file-input-wrapper:hover button {
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour tiddler-link-background>>;
|
|
|
|
background-color: <<colour tiddler-link-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-drop-down .tc-tab-buttons button {
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour dropdown-tab-background>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-drop-down .tc-tab-buttons button.tc-tab-selected {
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour dropdown-tab-background-selected>>;
|
|
|
|
border-bottom: 1px solid <<colour dropdown-tab-background-selected>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-drop-down-bullet {
|
2014-08-01 21:07:07 +00:00
|
|
|
display: inline-block;
|
|
|
|
width: 0.5em;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-drop-down .tc-tab-contents a {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 0 0.5em 0 0.5em;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-block-dropdown-wrapper {
|
2013-11-27 12:38:03 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-block-dropdown {
|
2013-11-27 12:38:03 +00:00
|
|
|
position: absolute;
|
2014-11-27 23:03:26 +00:00
|
|
|
min-width: 220px;
|
2014-02-17 12:09:10 +00:00
|
|
|
border: 1px solid <<colour dropdown-border>>;
|
|
|
|
background-color: <<colour dropdown-background>>;
|
2014-09-03 13:08:51 +00:00
|
|
|
padding: 7px 0;
|
2013-11-27 12:38:03 +00:00
|
|
|
margin: 4px 0 0 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
z-index: 1000;
|
2015-12-20 08:53:29 +00:00
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-block-dropdown.tc-search-drop-down {
|
|
|
|
margin-left: -12px;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-block-dropdown a {
|
2013-11-27 12:38:03 +00:00
|
|
|
display: block;
|
|
|
|
padding: 4px 14px 4px 14px;
|
|
|
|
}
|
|
|
|
|
2015-12-20 08:53:29 +00:00
|
|
|
.tc-block-dropdown.tc-search-drop-down a {
|
|
|
|
display: block;
|
|
|
|
padding: 0px 10px 0px 10px;
|
|
|
|
}
|
|
|
|
|
2016-02-05 18:44:43 +00:00
|
|
|
.tc-drop-down .tc-dropdown-item-plain,
|
|
|
|
.tc-block-dropdown .tc-dropdown-item-plain {
|
|
|
|
padding: 4px 14px 4px 7px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-drop-down .tc-dropdown-item,
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-block-dropdown .tc-dropdown-item {
|
2014-06-06 08:32:45 +00:00
|
|
|
padding: 4px 14px 4px 7px;
|
|
|
|
color: <<colour muted-foreground>>;
|
|
|
|
}
|
|
|
|
|
2020-05-06 08:46:29 +00:00
|
|
|
.tc-block-dropdown a.tc-tiddlylink:hover {
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour tiddler-link-background>>;
|
|
|
|
background-color: <<colour tiddler-link-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2015-12-20 08:53:29 +00:00
|
|
|
.tc-search-results {
|
2016-04-29 16:02:05 +00:00
|
|
|
padding: 0 7px 0 7px;
|
2015-12-20 08:53:29 +00:00
|
|
|
}
|
|
|
|
|
2016-04-22 07:36:29 +00:00
|
|
|
.tc-image-chooser, .tc-colour-chooser {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-image-chooser a,
|
|
|
|
.tc-colour-chooser a {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2016-04-29 16:02:05 +00:00
|
|
|
text-align: center;
|
2016-04-22 07:36:29 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-image-chooser a {
|
|
|
|
border: 1px solid <<colour muted-foreground>>;
|
|
|
|
padding: 2px;
|
|
|
|
margin: 2px;
|
|
|
|
width: 4em;
|
|
|
|
height: 4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-colour-chooser a {
|
|
|
|
padding: 3px;
|
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
2016-04-29 16:02:05 +00:00
|
|
|
vertical-align: middle;
|
2016-04-22 07:36:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-image-chooser a:hover,
|
|
|
|
.tc-colour-chooser a:hover {
|
|
|
|
background: <<colour primary>>;
|
|
|
|
padding: 0px;
|
|
|
|
border: 3px solid <<colour primary>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-image-chooser a svg,
|
|
|
|
.tc-image-chooser a img {
|
2016-04-29 16:02:05 +00:00
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
max-width: 3.5em;
|
|
|
|
max-height: 3.5em;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: auto;
|
2016-04-22 07:36:29 +00:00
|
|
|
}
|
|
|
|
|
2022-12-07 17:14:12 +00:00
|
|
|
/* Make search dropdown visible on small screens. issue #7003 */
|
|
|
|
@media (max-width: <<sidebarbreakpoint>>) {
|
|
|
|
|
|
|
|
.tc-sidebar-search .tc-block-dropdown-wrapper {
|
|
|
|
position: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Modals
|
|
|
|
*/
|
|
|
|
|
2014-08-28 16:34:02 +00:00
|
|
|
.tc-modal-wrapper {
|
2014-05-26 21:33:42 +00:00
|
|
|
position: fixed;
|
|
|
|
overflow: auto;
|
|
|
|
overflow-y: scroll;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2016-05-01 14:41:36 +00:00
|
|
|
z-index: 900;
|
2014-05-26 21:33:42 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 16:34:02 +00:00
|
|
|
.tc-modal-backdrop {
|
2013-11-27 12:38:03 +00:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1000;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour modal-backdrop>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 16:34:02 +00:00
|
|
|
.tc-modal {
|
2013-11-27 12:38:03 +00:00
|
|
|
z-index: 1100;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour modal-background>>;
|
|
|
|
border: 1px solid <<colour modal-border>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 55em) {
|
2014-08-28 16:34:02 +00:00
|
|
|
.tc-modal {
|
2013-12-24 09:44:40 +00:00
|
|
|
position: fixed;
|
2013-11-27 12:38:03 +00:00
|
|
|
top: 1em;
|
|
|
|
left: 1em;
|
|
|
|
right: 1em;
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:34:02 +00:00
|
|
|
.tc-modal-body {
|
2013-11-27 12:38:03 +00:00
|
|
|
overflow-y: auto;
|
|
|
|
max-height: 400px;
|
2015-04-09 10:03:06 +00:00
|
|
|
max-height: 60vh;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 55em) {
|
2014-08-28 16:34:02 +00:00
|
|
|
.tc-modal {
|
2015-04-09 10:03:06 +00:00
|
|
|
position: fixed;
|
|
|
|
top: 2em;
|
|
|
|
left: 25%;
|
2014-05-26 21:33:42 +00:00
|
|
|
width: 50%;
|
2015-04-09 10:03:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-modal-body {
|
|
|
|
overflow-y: auto;
|
|
|
|
max-height: 400px;
|
|
|
|
max-height: 60vh;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:34:02 +00:00
|
|
|
.tc-modal-header {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 9px 15px;
|
2014-02-17 12:09:10 +00:00
|
|
|
border-bottom: 1px solid <<colour modal-header-border>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 16:34:02 +00:00
|
|
|
.tc-modal-header h3 {
|
2013-11-27 12:38:03 +00:00
|
|
|
margin: 0;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
|
2015-03-18 11:46:28 +00:00
|
|
|
.tc-modal-header img, .tc-modal-header svg {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:34:02 +00:00
|
|
|
.tc-modal-body {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:34:02 +00:00
|
|
|
.tc-modal-footer {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 14px 15px 15px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
text-align: right;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour modal-footer-background>>;
|
|
|
|
border-top: 1px solid <<colour modal-footer-border>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2021-06-27 15:24:06 +00:00
|
|
|
.tc-modal-prevent-scroll {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2020-11-23 17:06:24 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
** Centered modals
|
|
|
|
*/
|
|
|
|
.tc-modal-centered .tc-modal {
|
|
|
|
width: auto;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%) !important;
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Notifications
|
|
|
|
*/
|
|
|
|
|
2014-08-28 17:21:08 +00:00
|
|
|
.tc-notification {
|
2013-11-27 12:38:03 +00:00
|
|
|
position: fixed;
|
|
|
|
top: 14px;
|
2014-04-07 18:01:08 +00:00
|
|
|
right: 42px;
|
2014-11-23 17:10:44 +00:00
|
|
|
z-index: 1300;
|
2013-11-27 12:38:03 +00:00
|
|
|
max-width: 280px;
|
|
|
|
padding: 0 14px 0 14px;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour notification-background>>;
|
|
|
|
border: 1px solid <<colour notification-border>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
** Tabs
|
|
|
|
*/
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tab-set.tc-vertical {
|
2014-05-27 18:06:27 +00:00
|
|
|
display: -webkit-flex;
|
2014-05-12 07:41:47 +00:00
|
|
|
display: flex;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tab-buttons {
|
2013-11-27 12:38:03 +00:00
|
|
|
font-size: 0.85em;
|
|
|
|
padding-top: 1em;
|
2014-09-27 09:13:36 +00:00
|
|
|
margin-bottom: -2px;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tab-buttons.tc-vertical {
|
2014-05-14 18:37:37 +00:00
|
|
|
z-index: 100;
|
2014-05-12 07:41:47 +00:00
|
|
|
display: block;
|
|
|
|
padding-top: 14px;
|
2014-05-11 17:47:14 +00:00
|
|
|
vertical-align: top;
|
|
|
|
text-align: right;
|
|
|
|
margin-bottom: inherit;
|
|
|
|
margin-right: -1px;
|
2014-05-12 07:41:47 +00:00
|
|
|
max-width: 33%;
|
2014-05-27 18:06:27 +00:00
|
|
|
-webkit-flex: 0 0 auto;
|
2014-05-12 07:41:47 +00:00
|
|
|
flex: 0 0 auto;
|
2014-05-11 17:47:14 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tab-buttons button.tc-tab-selected {
|
2014-02-23 17:19:58 +00:00
|
|
|
color: <<colour tab-foreground-selected>>;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour tab-background-selected>>;
|
|
|
|
border-left: 1px solid <<colour tab-border-selected>>;
|
|
|
|
border-top: 1px solid <<colour tab-border-selected>>;
|
|
|
|
border-right: 1px solid <<colour tab-border-selected>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tab-buttons button {
|
2014-02-23 17:19:58 +00:00
|
|
|
color: <<colour tab-foreground>>;
|
2014-05-14 18:37:37 +00:00
|
|
|
padding: 3px 5px 3px 5px;
|
2015-12-29 08:12:06 +00:00
|
|
|
margin-right: 0.3em;
|
2021-07-19 11:54:57 +00:00
|
|
|
font-weight: normal;
|
2014-02-23 17:19:58 +00:00
|
|
|
border: none;
|
|
|
|
background: inherit;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour tab-background>>;
|
|
|
|
border-left: 1px solid <<colour tab-border>>;
|
|
|
|
border-top: 1px solid <<colour tab-border>>;
|
|
|
|
border-right: 1px solid <<colour tab-border>>;
|
2014-11-26 11:22:04 +00:00
|
|
|
border-top-left-radius: 2px;
|
|
|
|
border-top-right-radius: 2px;
|
2017-08-15 14:48:54 +00:00
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tab-buttons.tc-vertical button {
|
2014-05-11 17:47:14 +00:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 3px;
|
2015-12-29 08:12:06 +00:00
|
|
|
margin-right: 0;
|
2014-05-11 17:47:14 +00:00
|
|
|
text-align: right;
|
|
|
|
background-color: <<colour tab-background>>;
|
|
|
|
border-left: 1px solid <<colour tab-border>>;
|
|
|
|
border-bottom: 1px solid <<colour tab-border>>;
|
|
|
|
border-right: none;
|
2014-11-26 11:22:04 +00:00
|
|
|
border-top-left-radius: 2px;
|
|
|
|
border-bottom-left-radius: 2px;
|
2017-08-15 14:48:54 +00:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2014-05-11 17:47:14 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tab-buttons.tc-vertical button.tc-tab-selected {
|
2014-05-11 17:47:14 +00:00
|
|
|
background-color: <<colour tab-background-selected>>;
|
|
|
|
border-right: 1px solid <<colour tab-background-selected>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tab-divider {
|
2014-02-17 12:09:10 +00:00
|
|
|
border-top: 1px solid <<colour tab-divider>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tab-divider.tc-vertical {
|
2014-05-11 17:47:14 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tab-content {
|
2014-06-21 10:17:04 +00:00
|
|
|
margin-top: 14px;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-tab-content.tc-vertical {
|
2014-05-11 17:47:14 +00:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2014-05-12 07:41:47 +00:00
|
|
|
padding-top: 0;
|
2014-05-11 17:47:14 +00:00
|
|
|
padding-left: 14px;
|
|
|
|
border-left: 1px solid <<colour tab-border>>;
|
2014-08-13 16:06:18 +00:00
|
|
|
-webkit-flex: 1 0 70%;
|
|
|
|
flex: 1 0 70%;
|
2019-10-20 09:45:27 +00:00
|
|
|
overflow: auto;
|
2014-04-09 21:19:27 +00:00
|
|
|
}
|
|
|
|
|
2014-11-26 15:39:10 +00:00
|
|
|
.tc-sidebar-lists .tc-tab-buttons {
|
|
|
|
margin-bottom: -1px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-lists .tc-tab-buttons button.tc-tab-selected {
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour sidebar-tab-background-selected>>;
|
2014-02-23 17:19:58 +00:00
|
|
|
color: <<colour sidebar-tab-foreground-selected>>;
|
|
|
|
border-left: 1px solid <<colour sidebar-tab-border-selected>>;
|
|
|
|
border-top: 1px solid <<colour sidebar-tab-border-selected>>;
|
|
|
|
border-right: 1px solid <<colour sidebar-tab-border-selected>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-lists .tc-tab-buttons button {
|
2014-02-23 17:19:58 +00:00
|
|
|
background-color: <<colour sidebar-tab-background>>;
|
|
|
|
color: <<colour sidebar-tab-foreground>>;
|
|
|
|
border-left: 1px solid <<colour sidebar-tab-border>>;
|
|
|
|
border-top: 1px solid <<colour sidebar-tab-border>>;
|
|
|
|
border-right: 1px solid <<colour sidebar-tab-border>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-lists .tc-tab-divider {
|
2014-02-23 17:19:58 +00:00
|
|
|
border-top: 1px solid <<colour sidebar-tab-divider>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2016-10-18 08:23:19 +00:00
|
|
|
.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button {
|
2015-09-27 21:53:40 +00:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour sidebar-tab-background>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
border-top: none;
|
|
|
|
border-left: none;
|
|
|
|
border-bottom: none;
|
|
|
|
border-right: 1px solid #ccc;
|
2014-05-11 17:47:14 +00:00
|
|
|
margin-bottom: inherit;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2016-10-18 08:23:19 +00:00
|
|
|
.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button.tc-tab-selected {
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour sidebar-tab-background-selected>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2016-11-29 08:36:07 +00:00
|
|
|
/*
|
|
|
|
** Manager
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-manager-wrapper {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-controls {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-control {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
2022-07-09 07:35:38 +00:00
|
|
|
.tc-manager-control select {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2016-11-29 08:36:07 +00:00
|
|
|
.tc-manager-list {
|
|
|
|
width: 100%;
|
|
|
|
border-top: 1px solid <<colour muted-foreground>>;
|
|
|
|
border-left: 1px solid <<colour muted-foreground>>;
|
|
|
|
border-right: 1px solid <<colour muted-foreground>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-list-item {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-list-item-heading {
|
2021-05-19 13:12:12 +00:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
2016-11-29 08:36:07 +00:00
|
|
|
border-bottom: 1px solid <<colour muted-foreground>>;
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-list-item-heading-selected {
|
|
|
|
font-weight: bold;
|
|
|
|
color: <<colour background>>;
|
|
|
|
fill: <<colour background>>;
|
|
|
|
background-color: <<colour foreground>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-list-item-heading:hover {
|
|
|
|
background: <<colour primary>>;
|
|
|
|
color: <<colour background>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-list-item-content {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-list-item-content-sidebar {
|
2021-05-19 13:12:12 +00:00
|
|
|
flex: 1 0;
|
|
|
|
background: <<colour tiddler-editor-background>>;
|
|
|
|
border-right: 0.5em solid <<colour muted-foreground>>;
|
|
|
|
border-bottom: 0.5em solid <<colour muted-foreground>>;
|
|
|
|
white-space: nowrap;
|
2016-11-29 08:36:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-list-item-content-item-heading {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
2021-05-19 13:12:12 +00:00
|
|
|
background: <<colour muted-foreground>>;
|
2016-11-29 08:36:07 +00:00
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 0.6em;
|
|
|
|
font-weight: bold;
|
2021-05-19 13:12:12 +00:00
|
|
|
padding: 0.5em 0 0.5em 0;
|
2016-11-29 08:36:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-list-item-content-item-body {
|
|
|
|
padding: 0 0.5em 0 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-list-item-content-item-body > pre {
|
|
|
|
margin: 0.5em 0 0.5em 0;
|
|
|
|
border: none;
|
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-list-item-content-tiddler {
|
2021-05-19 13:12:12 +00:00
|
|
|
flex: 3 1;
|
|
|
|
border-left: 0.5em solid <<colour muted-foreground>>;
|
|
|
|
border-right: 0.5em solid <<colour muted-foreground>>;
|
|
|
|
border-bottom: 0.5em solid <<colour muted-foreground>>;
|
2016-11-29 08:36:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-list-item-content-item-body > table {
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-list-item-content-item-body > table td {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-icon-editor > button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-manager-icon-editor > button > svg,
|
|
|
|
.tc-manager-icon-editor > button > button {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2020-10-28 16:03:04 +00:00
|
|
|
/*
|
|
|
|
** Import table
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-import-table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-11-08 23:21:01 +00:00
|
|
|
.tc-import-table svg.tc-image-edit-button {
|
|
|
|
max-width: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-import-table th:first-of-type {
|
|
|
|
width: 10%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-import-table th:last-of-type {
|
|
|
|
width: 30%;
|
|
|
|
}
|
|
|
|
|
2020-11-18 15:50:40 +00:00
|
|
|
.tc-import-table .tc-row-disabled {
|
|
|
|
background: <<colour very-muted-foreground>>10;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-import-table .tc-row-warning {
|
|
|
|
background: <<colour diff-delete-background>>50;
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Alerts
|
|
|
|
*/
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-alerts {
|
2014-02-14 07:53:41 +00:00
|
|
|
position: fixed;
|
2020-03-30 14:24:05 +00:00
|
|
|
top: 28px;
|
2014-02-14 07:53:41 +00:00
|
|
|
left: 0;
|
2020-03-30 14:24:05 +00:00
|
|
|
right: 0;
|
|
|
|
max-width: 50%;
|
2014-02-14 07:53:41 +00:00
|
|
|
z-index: 20000;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-alert {
|
2014-02-14 07:53:41 +00:00
|
|
|
position: relative;
|
2020-03-30 14:24:05 +00:00
|
|
|
margin: 14px;
|
|
|
|
padding: 7px;
|
|
|
|
border: 1px solid <<colour alert-border>>;
|
2014-02-17 12:09:10 +00:00
|
|
|
background-color: <<colour alert-background>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-alert-toolbar {
|
2014-02-14 07:53:41 +00:00
|
|
|
position: absolute;
|
2020-03-30 14:24:05 +00:00
|
|
|
top: 7px;
|
|
|
|
right: 7px;
|
2021-05-19 13:12:12 +00:00
|
|
|
line-height: 0;
|
2014-02-14 07:53:41 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-alert-toolbar svg {
|
2014-02-17 12:09:10 +00:00
|
|
|
fill: <<colour alert-muted-foreground>>;
|
2014-02-15 17:36:49 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-alert-subtitle {
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour alert-muted-foreground>>;
|
2014-02-14 07:53:41 +00:00
|
|
|
font-weight: bold;
|
2021-05-19 13:12:12 +00:00
|
|
|
font-size: 0.8em;
|
|
|
|
margin-bottom: 0.5em;
|
2020-03-30 14:24:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-alert-body > p {
|
|
|
|
margin: 0;
|
2014-02-14 07:53:41 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-alert-highlight {
|
2015-02-27 12:46:19 +00:00
|
|
|
color: <<colour alert-highlight>>;
|
2014-02-14 10:29:26 +00:00
|
|
|
}
|
2014-02-14 07:53:41 +00:00
|
|
|
|
2020-11-08 22:30:31 +00:00
|
|
|
@media (min-width: <<sidebarbreakpoint>>) {
|
2015-05-18 17:48:22 +00:00
|
|
|
|
|
|
|
.tc-static-alert {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-static-alert-inner {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
2013-11-29 22:44:16 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:53:02 +00:00
|
|
|
.tc-static-alert-inner {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 0 2px 2px 42px;
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour static-alert-foreground>>;
|
2013-11-27 12:38:03 +00:00
|
|
|
}
|
|
|
|
|
2018-08-23 17:02:39 +00:00
|
|
|
/*
|
|
|
|
** Floating drafts list
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-drafts-list {
|
|
|
|
z-index: 2000;
|
|
|
|
position: fixed;
|
|
|
|
font-size: 0.8em;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-drafts-list a {
|
|
|
|
margin: 0 0.5em;
|
|
|
|
padding: 4px 4px;
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
border: 1px solid <<colour background>>;
|
2022-03-23 13:06:08 +00:00
|
|
|
border-bottom: none;
|
2018-08-23 17:02:39 +00:00
|
|
|
background: <<colour dirty-indicator>>;
|
|
|
|
color: <<colour background>>;
|
|
|
|
fill: <<colour background>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-drafts-list a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
background: <<colour foreground>>;
|
|
|
|
color: <<colour background>>;
|
|
|
|
fill: <<colour background>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-drafts-list a svg {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
|
|
|
|
2013-11-27 12:38:03 +00:00
|
|
|
/*
|
|
|
|
** Control panel
|
|
|
|
*/
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-control-panel td {
|
2013-11-27 12:38:03 +00:00
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:08:31 +00:00
|
|
|
.tc-control-panel table, .tc-control-panel table input, .tc-control-panel table textarea {
|
2013-11-27 12:38:03 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
2013-11-27 21:30:11 +00:00
|
|
|
|
2014-08-28 18:13:21 +00:00
|
|
|
.tc-plugin-info {
|
2019-09-19 12:20:07 +00:00
|
|
|
display: flex;
|
2021-12-07 13:17:15 +00:00
|
|
|
text-shadow: none;
|
2014-08-08 09:01:21 +00:00
|
|
|
border: 1px solid <<colour muted-foreground>>;
|
2019-09-19 12:20:07 +00:00
|
|
|
fill: <<colour muted-foreground>>;
|
2019-09-25 15:16:28 +00:00
|
|
|
background-color: <<colour background>>;
|
2015-03-18 11:46:28 +00:00
|
|
|
margin: 0.5em 0 0.5em 0;
|
|
|
|
padding: 4px;
|
2021-05-19 13:12:12 +00:00
|
|
|
align-items: center;
|
2014-08-08 09:01:21 +00:00
|
|
|
}
|
|
|
|
|
2021-12-07 21:30:38 +00:00
|
|
|
.tc-sidebar-lists a.tc-tiddlylink.tc-plugin-info {
|
|
|
|
color: <<colour tiddler-link-foreground>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2019-09-25 15:16:28 +00:00
|
|
|
.tc-plugin-info-sub-plugins .tc-plugin-info {
|
2021-05-19 13:12:12 +00:00
|
|
|
margin: 0.5em;
|
2020-04-09 10:06:54 +00:00
|
|
|
background: <<colour background>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-plugin-info-sub-plugin-indicator {
|
|
|
|
margin: -16px 1em 0 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-plugin-info-sub-plugin-indicator button {
|
|
|
|
color: <<colour background>>;
|
|
|
|
background: <<colour foreground>>;
|
|
|
|
border-radius: 8px;
|
2021-05-19 13:12:12 +00:00
|
|
|
padding: 2px 7px;
|
|
|
|
font-size: 0.75em;
|
2019-09-25 15:16:28 +00:00
|
|
|
}
|
|
|
|
|
2019-09-25 20:56:54 +00:00
|
|
|
.tc-plugin-info-sub-plugins .tc-plugin-info-dropdown {
|
|
|
|
margin-left: 1em;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:13:21 +00:00
|
|
|
.tc-plugin-info-disabled {
|
2014-08-15 20:10:40 +00:00
|
|
|
background: -webkit-repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px);
|
|
|
|
background: repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px);
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:13:21 +00:00
|
|
|
.tc-plugin-info-disabled:hover {
|
2014-08-15 20:10:40 +00:00
|
|
|
background: -webkit-repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px);
|
|
|
|
background: repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px);
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:13:21 +00:00
|
|
|
a.tc-tiddlylink.tc-plugin-info:hover {
|
2014-08-09 10:54:07 +00:00
|
|
|
text-decoration: none;
|
|
|
|
background-color: <<colour primary>>;
|
|
|
|
color: <<colour background>>;
|
2014-11-14 09:46:24 +00:00
|
|
|
fill: <<colour foreground>>;
|
|
|
|
}
|
|
|
|
|
2020-08-11 17:54:17 +00:00
|
|
|
a.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk > svg {
|
|
|
|
fill: <<colour background>>;
|
2014-08-09 10:54:07 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:13:21 +00:00
|
|
|
.tc-plugin-info-chunk {
|
2021-05-19 13:12:12 +00:00
|
|
|
margin: 2px;
|
2019-09-19 12:20:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-plugin-info-chunk.tc-plugin-info-toggle {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
2019-09-20 13:30:52 +00:00
|
|
|
line-height: 1;
|
2019-09-19 12:20:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-plugin-info-chunk.tc-plugin-info-icon {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
2019-09-20 13:30:52 +00:00
|
|
|
line-height: 1;
|
2014-08-08 16:19:48 +00:00
|
|
|
}
|
|
|
|
|
2019-09-19 12:20:07 +00:00
|
|
|
.tc-plugin-info-chunk.tc-plugin-info-description {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-plugin-info-chunk.tc-plugin-info-buttons {
|
|
|
|
font-size: 0.8em;
|
|
|
|
line-height: 1.2;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
2021-05-19 13:12:12 +00:00
|
|
|
text-align: right;
|
2019-09-19 12:20:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-plugin-info-chunk.tc-plugin-info-description h1 {
|
2015-03-18 11:46:28 +00:00
|
|
|
font-size: 1em;
|
2019-09-19 12:20:07 +00:00
|
|
|
line-height: 1.2;
|
2015-03-18 11:46:28 +00:00
|
|
|
margin: 2px 0 2px 0;
|
|
|
|
}
|
|
|
|
|
2019-09-19 12:20:07 +00:00
|
|
|
.tc-plugin-info-chunk.tc-plugin-info-description h2 {
|
2015-03-18 11:46:28 +00:00
|
|
|
font-size: 0.8em;
|
2019-09-19 12:20:07 +00:00
|
|
|
line-height: 1.2;
|
2015-03-18 11:46:28 +00:00
|
|
|
margin: 2px 0 2px 0;
|
|
|
|
}
|
|
|
|
|
2019-09-19 12:20:07 +00:00
|
|
|
.tc-plugin-info-chunk.tc-plugin-info-description div {
|
2015-03-23 11:36:11 +00:00
|
|
|
font-size: 0.7em;
|
2019-09-19 12:20:07 +00:00
|
|
|
line-height: 1.2;
|
2015-03-18 11:46:28 +00:00
|
|
|
margin: 2px 0 2px 0;
|
|
|
|
}
|
|
|
|
|
2019-09-19 12:20:07 +00:00
|
|
|
.tc-plugin-info-chunk.tc-plugin-info-toggle img, .tc-plugin-info-chunk.tc-plugin-info-toggle svg {
|
2019-09-20 13:30:52 +00:00
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2015-08-02 10:38:25 +00:00
|
|
|
}
|
|
|
|
|
2019-09-19 12:20:07 +00:00
|
|
|
.tc-plugin-info-chunk.tc-plugin-info-icon img, .tc-plugin-info-chunk.tc-plugin-info-icon svg {
|
2014-11-14 09:46:24 +00:00
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
2015-03-18 11:46:28 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:13:21 +00:00
|
|
|
.tc-plugin-info-dropdown {
|
2014-08-09 10:54:07 +00:00
|
|
|
border: 1px solid <<colour muted-foreground>>;
|
2019-09-28 10:49:09 +00:00
|
|
|
background: <<colour background>>;
|
2015-03-18 11:46:28 +00:00
|
|
|
margin-top: -8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-plugin-info-dropdown-message {
|
|
|
|
background: <<colour message-background>>;
|
|
|
|
padding: 0.5em 1em 0.5em 1em;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-plugin-info-dropdown-body {
|
2019-09-28 09:06:18 +00:00
|
|
|
padding: 1em 1em 0 1em;
|
2019-09-28 10:49:09 +00:00
|
|
|
background: <<colour background>>;
|
2019-09-28 09:06:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-plugin-info-sub-plugins {
|
2020-04-09 10:06:54 +00:00
|
|
|
padding: 0.5em;
|
2021-05-19 13:12:12 +00:00
|
|
|
margin: 0 1em 1em 1em;
|
2020-04-09 10:06:54 +00:00
|
|
|
background: <<colour notification-background>>;
|
2014-08-09 10:54:07 +00:00
|
|
|
}
|
|
|
|
|
2020-04-09 10:06:54 +00:00
|
|
|
.tc-install-plugin {
|
2019-09-19 12:20:07 +00:00
|
|
|
font-weight: bold;
|
|
|
|
background: green;
|
|
|
|
color: white;
|
|
|
|
fill: white;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
2020-04-13 09:04:14 +00:00
|
|
|
.tc-install-plugin.tc-reinstall-downgrade {
|
|
|
|
background: red;
|
|
|
|
}
|
|
|
|
|
2020-04-09 10:06:54 +00:00
|
|
|
.tc-install-plugin.tc-reinstall {
|
2019-09-19 12:20:07 +00:00
|
|
|
background: blue;
|
|
|
|
}
|
|
|
|
|
2020-04-13 09:04:14 +00:00
|
|
|
.tc-install-plugin.tc-reinstall-upgrade {
|
|
|
|
background: orange;
|
|
|
|
}
|
2019-09-19 12:20:07 +00:00
|
|
|
|
Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 16:26:54 +00:00
|
|
|
.tc-check-list {
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-check-list .tc-image-button {
|
|
|
|
height: 1.5em;
|
|
|
|
}
|
|
|
|
|
2013-11-27 21:30:11 +00:00
|
|
|
/*
|
|
|
|
** Message boxes
|
|
|
|
*/
|
|
|
|
|
2014-08-28 18:13:21 +00:00
|
|
|
.tc-message-box {
|
2014-02-17 12:09:10 +00:00
|
|
|
border: 1px solid <<colour message-border>>;
|
|
|
|
background: <<colour message-background>>;
|
2013-11-27 21:30:11 +00:00
|
|
|
padding: 0px 21px 0px 21px;
|
2013-11-28 07:41:28 +00:00
|
|
|
font-size: 12px;
|
|
|
|
line-height: 18px;
|
2014-02-17 12:09:10 +00:00
|
|
|
color: <<colour message-foreground>>;
|
2013-11-27 21:30:11 +00:00
|
|
|
}
|
|
|
|
|
2016-12-15 17:12:57 +00:00
|
|
|
.tc-message-box svg {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2021-05-19 13:12:12 +00:00
|
|
|
vertical-align: text-bottom;
|
2016-12-15 17:12:57 +00:00
|
|
|
}
|
|
|
|
|
2014-09-10 20:56:43 +00:00
|
|
|
/*
|
|
|
|
** Pictures
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-bordered-image {
|
|
|
|
border: 1px solid <<colour muted-foreground>>;
|
|
|
|
padding: 5px;
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
** Floats
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-float-right {
|
2013-11-27 21:30:11 +00:00
|
|
|
float: right;
|
|
|
|
}
|
2014-02-18 13:59:11 +00:00
|
|
|
|
2014-02-20 10:00:38 +00:00
|
|
|
/*
|
|
|
|
** Chooser
|
|
|
|
*/
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-chooser {
|
Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 16:26:54 +00:00
|
|
|
border-right: 1px solid <<colour table-header-background>>;
|
|
|
|
border-left: 1px solid <<colour table-header-background>>;
|
2014-02-20 10:00:38 +00:00
|
|
|
}
|
|
|
|
|
Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 16:26:54 +00:00
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-chooser-item {
|
Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 16:26:54 +00:00
|
|
|
border-bottom: 1px solid <<colour table-header-background>>;
|
|
|
|
border-top: 1px solid <<colour table-header-background>>;
|
|
|
|
padding: 2px 4px 2px 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-drop-down .tc-chooser-item {
|
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-chosen,
|
|
|
|
.tc-chooser-item:hover {
|
|
|
|
background-color: <<colour table-header-background>>;
|
|
|
|
border-color: <<colour table-footer-background>>;
|
2014-02-20 10:00:38 +00:00
|
|
|
}
|
|
|
|
|
Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 16:26:54 +00:00
|
|
|
.tc-chosen .tc-tiddlylink {
|
|
|
|
cursor:default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-chooser-item .tc-tiddlylink {
|
2014-02-20 10:00:38 +00:00
|
|
|
display: block;
|
2014-03-05 04:15:53 +00:00
|
|
|
text-decoration: none;
|
Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 16:26:54 +00:00
|
|
|
background-color: transparent;
|
2014-02-20 10:00:38 +00:00
|
|
|
}
|
|
|
|
|
Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 16:26:54 +00:00
|
|
|
.tc-chooser-item:hover .tc-tiddlylink:hover {
|
2014-02-20 10:00:38 +00:00
|
|
|
text-decoration: none;
|
Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 16:26:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-drop-down .tc-chosen .tc-tiddlylink,
|
|
|
|
.tc-drop-down .tc-chooser-item .tc-tiddlylink:hover {
|
|
|
|
color: <<colour foreground>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-chosen > .tc-tiddlylink:before {
|
|
|
|
margin-left: -10px;
|
|
|
|
position: relative;
|
|
|
|
content: "» ";
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-chooser-item svg,
|
|
|
|
.tc-chooser-item img{
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-language-chooser .tc-image-button img {
|
|
|
|
width: 2em;
|
|
|
|
vertical-align: -0.15em;
|
2014-02-20 10:00:38 +00:00
|
|
|
}
|
|
|
|
|
2014-02-18 13:59:11 +00:00
|
|
|
/*
|
|
|
|
** Palette swatches
|
|
|
|
*/
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-swatches-horiz {
|
2014-02-18 13:59:11 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-swatches-horiz .tc-swatch {
|
2014-02-18 13:59:11 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-swatch {
|
2014-02-18 13:59:11 +00:00
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
2015-05-05 17:53:30 +00:00
|
|
|
margin: 0.4em;
|
|
|
|
border: 1px solid #888;
|
2014-02-18 13:59:11 +00:00
|
|
|
}
|
2014-03-25 14:29:16 +00:00
|
|
|
|
2019-06-26 11:36:13 +00:00
|
|
|
input.tc-palette-manager-colour-input {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2014-06-21 10:17:04 +00:00
|
|
|
/*
|
|
|
|
** Table of contents
|
|
|
|
*/
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-sidebar-lists .tc-table-of-contents {
|
2014-06-21 10:17:04 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2014-03-25 14:29:16 +00:00
|
|
|
|
2023-07-22 11:41:19 +00:00
|
|
|
.tc-table-of-contents button,
|
|
|
|
.tc-table-of-contents .toc-item-muted {
|
2014-08-02 21:49:30 +00:00
|
|
|
color: <<colour sidebar-foreground>>;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-table-of-contents svg {
|
2014-06-21 10:49:42 +00:00
|
|
|
width: 0.7em;
|
|
|
|
height: 0.7em;
|
|
|
|
vertical-align: middle;
|
2014-08-02 21:49:30 +00:00
|
|
|
fill: <<colour sidebar-foreground>>;
|
2014-06-21 10:49:42 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-table-of-contents ol {
|
2014-06-21 10:17:04 +00:00
|
|
|
list-style-type: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-table-of-contents ol ol {
|
2014-06-21 10:17:04 +00:00
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-table-of-contents li {
|
2014-06-21 10:17:04 +00:00
|
|
|
font-size: 1.0em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-table-of-contents li a {
|
2014-06-21 10:17:04 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-table-of-contents li li {
|
2014-06-21 10:17:04 +00:00
|
|
|
font-size: 0.95em;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-table-of-contents li li a {
|
2014-06-21 10:17:04 +00:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-table-of-contents li li li {
|
2014-06-21 10:17:04 +00:00
|
|
|
font-size: 0.95em;
|
2021-07-19 11:54:57 +00:00
|
|
|
font-weight: normal;
|
2014-06-21 10:17:04 +00:00
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-table-of-contents li li li li {
|
2014-06-21 10:17:04 +00:00
|
|
|
font-size: 0.95em;
|
2021-07-19 11:54:57 +00:00
|
|
|
font-weight: normal;
|
2014-06-21 10:17:04 +00:00
|
|
|
}
|
2014-07-30 15:46:13 +00:00
|
|
|
|
2014-11-13 21:39:28 +00:00
|
|
|
.tc-tabbed-table-of-contents {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tabbed-table-of-contents .tc-table-of-contents {
|
|
|
|
z-index: 100;
|
|
|
|
display: inline-block;
|
|
|
|
padding-left: 1em;
|
|
|
|
max-width: 50%;
|
|
|
|
-webkit-flex: 0 0 auto;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
background: <<colour tab-background>>;
|
|
|
|
border-left: 1px solid <<colour tab-border>>;
|
|
|
|
border-top: 1px solid <<colour tab-border>>;
|
|
|
|
border-bottom: 1px solid <<colour tab-border>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item > a,
|
|
|
|
.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item-selected > a {
|
|
|
|
display: block;
|
|
|
|
padding: 0.12em 1em 0.12em 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item > a {
|
|
|
|
border-top: 1px solid <<colour tab-background>>;
|
|
|
|
border-left: 1px solid <<colour tab-background>>;
|
|
|
|
border-bottom: 1px solid <<colour tab-background>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item > a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
border-top: 1px solid <<colour tab-border>>;
|
|
|
|
border-left: 1px solid <<colour tab-border>>;
|
|
|
|
border-bottom: 1px solid <<colour tab-border>>;
|
|
|
|
background: <<colour tab-border>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item-selected > a {
|
|
|
|
border-top: 1px solid <<colour tab-border>>;
|
|
|
|
border-left: 1px solid <<colour tab-border>>;
|
|
|
|
border-bottom: 1px solid <<colour tab-border>>;
|
|
|
|
background: <<colour background>>;
|
|
|
|
margin-right: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item-selected > a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tabbed-table-of-contents .tc-tabbed-table-of-contents-content {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
padding-left: 1.5em;
|
2014-11-13 21:49:19 +00:00
|
|
|
padding-right: 1.5em;
|
2014-11-13 21:39:28 +00:00
|
|
|
border: 1px solid <<colour tab-border>>;
|
|
|
|
-webkit-flex: 1 0 50%;
|
|
|
|
flex: 1 0 50%;
|
|
|
|
}
|
|
|
|
|
2014-07-30 15:46:13 +00:00
|
|
|
/*
|
|
|
|
** Dirty indicator
|
|
|
|
*/
|
|
|
|
|
2023-01-28 09:51:25 +00:00
|
|
|
html body svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-clean {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
html body svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-dirty {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
html body.tc-dirty svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-clean {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
html body.tc-dirty svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-dirty {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2022-07-28 15:20:47 +00:00
|
|
|
html body.tc-dirty span.tc-dirty-indicator, html body.tc-dirty span.tc-dirty-indicator svg {
|
2014-07-30 15:46:13 +00:00
|
|
|
fill: <<colour dirty-indicator>>;
|
2014-07-31 07:07:31 +00:00
|
|
|
color: <<colour dirty-indicator>>;
|
2014-07-30 15:46:13 +00:00
|
|
|
}
|
2014-08-02 10:59:07 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
** File inputs
|
|
|
|
*/
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-file-input-wrapper {
|
2014-08-02 10:59:07 +00:00
|
|
|
position: relative;
|
2014-08-02 11:05:01 +00:00
|
|
|
overflow: hidden;
|
2014-08-02 11:16:14 +00:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2014-08-02 10:59:07 +00:00
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
.tc-file-input-wrapper input[type=file] {
|
2014-08-02 10:59:07 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
font-size: 999px;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
filter: alpha(opacity=0);
|
|
|
|
opacity: 0;
|
|
|
|
outline: none;
|
|
|
|
background: white;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2014-09-24 09:50:38 +00:00
|
|
|
|
2020-12-10 17:09:03 +00:00
|
|
|
::-webkit-file-upload-button {
|
|
|
|
cursor:pointer;
|
|
|
|
}
|
|
|
|
|
2015-03-22 17:35:37 +00:00
|
|
|
/*
|
2015-03-25 11:11:18 +00:00
|
|
|
** Thumbnail macros
|
2015-03-22 17:35:37 +00:00
|
|
|
*/
|
|
|
|
|
2015-03-23 11:36:11 +00:00
|
|
|
.tc-thumbnail-wrapper {
|
2015-03-22 17:35:37 +00:00
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
2015-04-16 17:34:42 +00:00
|
|
|
margin: 6px;
|
2015-03-23 17:29:51 +00:00
|
|
|
vertical-align: top;
|
2015-03-22 19:52:09 +00:00
|
|
|
}
|
|
|
|
|
2015-03-23 11:36:11 +00:00
|
|
|
.tc-thumbnail-right-wrapper {
|
2015-03-22 19:52:09 +00:00
|
|
|
float:right;
|
|
|
|
margin: 0.5em 0 0.5em 0.5em;
|
2015-03-22 17:35:37 +00:00
|
|
|
}
|
|
|
|
|
2015-03-23 16:05:25 +00:00
|
|
|
.tc-thumbnail-image {
|
2016-04-29 16:02:05 +00:00
|
|
|
text-align: center;
|
2015-03-23 19:40:52 +00:00
|
|
|
overflow: hidden;
|
2015-04-16 17:34:42 +00:00
|
|
|
border-radius: 3px;
|
2015-03-23 16:05:25 +00:00
|
|
|
}
|
|
|
|
|
2015-03-23 11:36:11 +00:00
|
|
|
.tc-thumbnail-image svg,
|
|
|
|
.tc-thumbnail-image img {
|
2015-03-23 19:40:52 +00:00
|
|
|
filter: alpha(opacity=1);
|
|
|
|
opacity: 1;
|
2016-04-29 16:02:05 +00:00
|
|
|
min-width: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
max-width: 100%;
|
2015-03-22 17:52:09 +00:00
|
|
|
}
|
|
|
|
|
2015-03-23 11:36:11 +00:00
|
|
|
.tc-thumbnail-wrapper:hover .tc-thumbnail-image svg,
|
|
|
|
.tc-thumbnail-wrapper:hover .tc-thumbnail-image img {
|
2015-03-23 19:40:52 +00:00
|
|
|
filter: alpha(opacity=0.8);
|
|
|
|
opacity: 0.8;
|
2015-03-22 17:35:37 +00:00
|
|
|
}
|
|
|
|
|
2015-03-23 16:05:25 +00:00
|
|
|
.tc-thumbnail-background {
|
|
|
|
position: absolute;
|
2015-04-16 17:34:42 +00:00
|
|
|
border-radius: 3px;
|
2015-03-22 17:52:09 +00:00
|
|
|
}
|
|
|
|
|
2015-03-23 16:05:25 +00:00
|
|
|
.tc-thumbnail-icon svg,
|
|
|
|
.tc-thumbnail-icon img {
|
2015-03-23 19:40:52 +00:00
|
|
|
width: 3em;
|
|
|
|
height: 3em;
|
2015-05-13 07:22:52 +00:00
|
|
|
<<filter "drop-shadow(2px 2px 4px rgba(0,0,0,0.3))">>
|
2015-03-22 17:35:37 +00:00
|
|
|
}
|
|
|
|
|
2015-03-23 16:05:25 +00:00
|
|
|
.tc-thumbnail-wrapper:hover .tc-thumbnail-icon svg,
|
|
|
|
.tc-thumbnail-wrapper:hover .tc-thumbnail-icon img {
|
|
|
|
fill: #fff;
|
2015-05-13 07:22:52 +00:00
|
|
|
<<filter "drop-shadow(3px 3px 4px rgba(0,0,0,0.6))">>
|
2015-03-23 16:05:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-thumbnail-icon {
|
2015-03-22 17:35:37 +00:00
|
|
|
position: absolute;
|
2015-04-01 13:08:16 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2015-04-10 16:01:18 +00:00
|
|
|
display: -webkit-flex;
|
2015-05-10 08:25:37 +00:00
|
|
|
-webkit-align-items: center;
|
|
|
|
-webkit-justify-content: center;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2015-03-22 17:35:37 +00:00
|
|
|
}
|
|
|
|
|
2015-03-23 11:36:11 +00:00
|
|
|
.tc-thumbnail-caption {
|
2015-03-22 18:01:46 +00:00
|
|
|
position: absolute;
|
2015-03-23 19:40:52 +00:00
|
|
|
background-color: #777;
|
|
|
|
color: #fff;
|
2015-03-22 18:01:46 +00:00
|
|
|
text-align: center;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
2015-03-23 19:40:52 +00:00
|
|
|
filter: alpha(opacity=0.9);
|
|
|
|
opacity: 0.9;
|
|
|
|
line-height: 1.4;
|
2015-04-16 17:34:42 +00:00
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
2015-03-22 18:01:46 +00:00
|
|
|
}
|
|
|
|
|
2015-03-23 11:36:11 +00:00
|
|
|
.tc-thumbnail-wrapper:hover .tc-thumbnail-caption {
|
2015-03-22 18:01:46 +00:00
|
|
|
filter: alpha(opacity=1);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2018-03-16 20:38:35 +00:00
|
|
|
/*
|
|
|
|
** Diffs
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-diff-equal {
|
|
|
|
background-color: <<colour diff-equal-background>>;
|
|
|
|
color: <<colour diff-equal-foreground>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-diff-insert {
|
|
|
|
background-color: <<colour diff-insert-background>>;
|
|
|
|
color: <<colour diff-insert-foreground>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-diff-delete {
|
|
|
|
background-color: <<colour diff-delete-background>>;
|
|
|
|
color: <<colour diff-delete-foreground>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-diff-invisible {
|
|
|
|
background-color: <<colour diff-invisible-background>>;
|
|
|
|
color: <<colour diff-invisible-foreground>>;
|
|
|
|
}
|
|
|
|
|
2018-04-03 16:50:57 +00:00
|
|
|
.tc-diff-tiddlers th {
|
|
|
|
text-align: right;
|
|
|
|
background: <<colour background>>;
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-diff-tiddlers pre {
|
2021-05-19 13:12:12 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
background: none;
|
2018-04-03 16:50:57 +00:00
|
|
|
}
|
|
|
|
|
2014-09-24 09:50:38 +00:00
|
|
|
/*
|
|
|
|
** Errors
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-error {
|
|
|
|
background: #f00;
|
|
|
|
color: #fff;
|
2017-06-28 16:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
** Tree macro
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-tree div {
|
2021-05-19 13:12:12 +00:00
|
|
|
padding-left: 14px;
|
2017-06-28 16:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tree ol {
|
2021-05-19 13:12:12 +00:00
|
|
|
list-style-type: none;
|
|
|
|
padding-left: 0;
|
|
|
|
margin-top: 0;
|
2017-06-28 16:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tree ol ol {
|
2021-05-19 13:12:12 +00:00
|
|
|
padding-left: 1em;
|
2017-06-28 16:44:15 +00:00
|
|
|
}
|
|
|
|
|
2021-05-19 13:12:12 +00:00
|
|
|
.tc-tree button {
|
|
|
|
color: #acacac;
|
2017-06-28 16:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tree svg {
|
2021-05-19 13:12:12 +00:00
|
|
|
fill: #acacac;
|
2017-06-28 16:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tree span svg {
|
2021-05-19 13:12:12 +00:00
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
vertical-align: baseline;
|
2017-06-28 16:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tree li span {
|
2021-05-19 13:12:12 +00:00
|
|
|
color: lightgray;
|
2017-06-28 16:44:15 +00:00
|
|
|
}
|
2018-07-19 16:25:35 +00:00
|
|
|
|
|
|
|
select {
|
2021-05-19 13:12:12 +00:00
|
|
|
color: <<colour select-tag-foreground>>;
|
|
|
|
background: <<colour select-tag-background>>;
|
2018-07-19 16:25:35 +00:00
|
|
|
}
|
|
|
|
|
Improve translink macro, fixes 4877 (#7425)
* Improve translink macro
Changes:
- Change styles to adapt colours to the current palette, instead of hard-coded white inside black box with grey borders.
- Simplify the design to a single div (inspired by the Community links on tiddlywiki.com), instead of two nested contrasting divs.
Comments:
- I found pre-border and pre-background to be the most consistently readable across the default palettes (better than relying on e.g. tiddler-border, tiddler-background, page-background, code-border, code-background). Cupertino Dark, Gruvbox Dark, Nord, Solar Flare, Spartan Day, Spartan Night, Spartan Day, and Twilight have same or very similar pre-border and pre-background colours, so if the macro is nested (translinking a tiddler that contains a translink), the inner frames are not distinguishable, but I think it's an acceptable edge case.
- Padding is defined separately for block and inline modes of the macro to make it appear consistent.
* Update translink macro
Change the `<h1>` styling so that it is only applied to the transcluded tiddler's title and not to any potential `<h1>` in its text.
* Update translink macro
Change the class-constructing filter so that the empty message is displayed with consistent padding in block mode.
* Update translink.tid
* Add styles for translink macro to vanilla/base.tid
Split `pre` element styling, to allow part of it be reused with `.tc-pre-border` (used by translink macro).
Add `.tc-big-bold` class under Other utility classes (used by translink macro).
* Update base.tid
Add `.tc-big-bold` class under Other utility classes (used by translink macro).
* Update translink.tid
Update `tc-pre-border` class name to match the one in vanilla/base.tid
* Update translink.tid
Simplify by always wrapping transclusion in `<p>` element (adjusts padding when inline mode or tiddler missing).
* Update translink.tid
Localise missing tiddler message (`$:/language/MissingTiddler/Hint`)
* Update vanilla/base.tid
- Modify class `tc-pre-background`, so that it can be applied to elements other than `pre`. The styling of `pre` remains unchanged, it is only split into two parts, for one part to be reused in the `tc-pre-background` class (used e.g. in translink macro).
- Add `tc-big-v-gap` and `tc-big-bold` in the *Other utility classes* section (used e.g. in translink macro).
* Update translink.tid
Improve styling to depend only on classes specified in vanilla/base.tid
* Update base.tid
Update class `tc-translink` and CSS selectors to make styling the translink macro easier
* Update translink.tid
Change the classes of elements, so that changing the style is possible by modifying the stylesheet only
* Update base.tid
Add selectors to support new inline mode in translink macro
* Update translink.tid
Change behaviour of the inline mode, now the whole macro is inline, not just the transcluded text.
* Update base.tid
Fix padding of tc-translink class to account for multiline inline content.
* Update base.tid
Remove pseudo-element parentheses from inline translink macro
* Update translink.tid
Add parentheses around inline macro
2023-05-10 20:57:15 +00:00
|
|
|
/*
|
|
|
|
** Translink macro
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-translink {
|
|
|
|
background-color: <<colour pre-background>>;
|
|
|
|
border: 1px solid <<colour pre-border>>;
|
|
|
|
padding: 0 3px;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tc-translink > div {
|
|
|
|
margin: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tc-translink > div > a:first-child > h1 {
|
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.tc-translink > a:first-child {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2022-09-10 10:03:40 +00:00
|
|
|
/*
|
|
|
|
** Classes for displaying globals
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-global-tiddler-body {
|
|
|
|
padding: 0.25em;
|
|
|
|
border: 1px solid <<colour foreground>>;
|
|
|
|
background-color: <<colour muted-foreground>>;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-global-tiddler-body-heading {
|
|
|
|
margin: 0 0 0.25em 0;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-global-tiddler-body-type {
|
|
|
|
margin: 0 0 0.25em 0;
|
|
|
|
border-bottom: 1px solid <<colour foreground>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-global-tiddler-body-details {
|
|
|
|
background-color: <<colour background>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-global-tiddler-body pre {
|
|
|
|
margin: 0;
|
|
|
|
border: 1px solid <<colour foreground>>;
|
|
|
|
}
|
|
|
|
|
2019-11-22 12:08:53 +00:00
|
|
|
/*
|
|
|
|
** Utility classes for SVG icons
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-fill-background {
|
|
|
|
fill: <<colour background>>;
|
2020-04-22 09:46:36 +00:00
|
|
|
}
|
2020-10-28 11:57:08 +00:00
|
|
|
|
2023-05-02 16:07:16 +00:00
|
|
|
.tc-network-activity-background {
|
|
|
|
fill: <<colour network-activity-foreground>>;
|
|
|
|
}
|
|
|
|
|
2023-04-10 15:25:01 +00:00
|
|
|
/*
|
|
|
|
** Test Cases
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-testcase-wrapper {
|
|
|
|
border: 1px solid <<colour foreground>>;
|
|
|
|
background-color: <<colour muted-foreground>>;
|
2023-04-10 21:00:28 +00:00
|
|
|
border-radius: 6px;
|
2023-04-10 15:25:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-testcase-header {
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
padding: 0 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-testcase-header > h2,
|
|
|
|
.tc-testcase-source > pre {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-testcase-source > pre {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-testcase-panes {
|
|
|
|
background: <<colour background>>;
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
padding: 0.5em;
|
2023-04-11 17:08:47 +00:00
|
|
|
border-bottom-left-radius: 6px;
|
|
|
|
border-bottom-right-radius: 6px;
|
2023-04-10 15:25:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-testcase-source {
|
2023-04-10 21:00:28 +00:00
|
|
|
flex: 1 0 49%;
|
2023-04-10 15:25:01 +00:00
|
|
|
min-width: 250px;
|
|
|
|
}
|
|
|
|
|
2023-04-17 10:47:45 +00:00
|
|
|
.tc-testcase-source .tc-field-table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-04-10 21:00:28 +00:00
|
|
|
.tc-testcase-divider {
|
|
|
|
flex: 0 0 2%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-testcase-source .tc-tab-buttons {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2023-04-10 15:25:01 +00:00
|
|
|
.tc-testcase-output {
|
2023-04-10 21:00:28 +00:00
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid <<colour muted-foreground>>;
|
|
|
|
flex: 1 0 49%;
|
2023-04-10 15:25:01 +00:00
|
|
|
min-width: 250px;
|
2023-04-10 21:00:28 +00:00
|
|
|
padding: 0.25em;
|
2023-04-10 15:25:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-10-29 13:01:17 +00:00
|
|
|
/*
|
|
|
|
** Flexbox utility classes
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tc-flex {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-flex-column {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-flex-row {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-flex-grow-1 {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-flex-grow-2 {
|
|
|
|
flex-grow: 2;
|
|
|
|
}
|
|
|
|
|
2020-10-28 11:57:08 +00:00
|
|
|
/*
|
|
|
|
** Other utility classes
|
|
|
|
*/
|
|
|
|
|
2023-01-17 14:57:49 +00:00
|
|
|
/* Horizontal gaps */
|
|
|
|
|
2021-03-29 15:45:12 +00:00
|
|
|
.tc-tiny-gap {
|
|
|
|
margin-left: .25em;
|
|
|
|
margin-right: .25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tiny-gap-left {
|
|
|
|
margin-left: .25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-tiny-gap-right {
|
|
|
|
margin-right: .25em;
|
|
|
|
}
|
|
|
|
|
2020-10-28 11:57:08 +00:00
|
|
|
.tc-small-gap {
|
|
|
|
margin-left: .5em;
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-small-gap-left {
|
|
|
|
margin-left: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-small-gap-right {
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-big-gap {
|
|
|
|
margin-left: 1em;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-big-gap-left {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-big-gap-right {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2020-11-08 23:21:01 +00:00
|
|
|
|
|
|
|
.tc-word-break {
|
|
|
|
word-break: break-all;
|
2020-11-09 18:18:30 +00:00
|
|
|
}
|
2023-01-17 14:57:49 +00:00
|
|
|
|
|
|
|
/* Vertical gaps */
|
|
|
|
|
|
|
|
.tc-tiny-v-gap-bottom {
|
|
|
|
margin-bottom: 3px;
|
Improve translink macro, fixes 4877 (#7425)
* Improve translink macro
Changes:
- Change styles to adapt colours to the current palette, instead of hard-coded white inside black box with grey borders.
- Simplify the design to a single div (inspired by the Community links on tiddlywiki.com), instead of two nested contrasting divs.
Comments:
- I found pre-border and pre-background to be the most consistently readable across the default palettes (better than relying on e.g. tiddler-border, tiddler-background, page-background, code-border, code-background). Cupertino Dark, Gruvbox Dark, Nord, Solar Flare, Spartan Day, Spartan Night, Spartan Day, and Twilight have same or very similar pre-border and pre-background colours, so if the macro is nested (translinking a tiddler that contains a translink), the inner frames are not distinguishable, but I think it's an acceptable edge case.
- Padding is defined separately for block and inline modes of the macro to make it appear consistent.
* Update translink macro
Change the `<h1>` styling so that it is only applied to the transcluded tiddler's title and not to any potential `<h1>` in its text.
* Update translink macro
Change the class-constructing filter so that the empty message is displayed with consistent padding in block mode.
* Update translink.tid
* Add styles for translink macro to vanilla/base.tid
Split `pre` element styling, to allow part of it be reused with `.tc-pre-border` (used by translink macro).
Add `.tc-big-bold` class under Other utility classes (used by translink macro).
* Update base.tid
Add `.tc-big-bold` class under Other utility classes (used by translink macro).
* Update translink.tid
Update `tc-pre-border` class name to match the one in vanilla/base.tid
* Update translink.tid
Simplify by always wrapping transclusion in `<p>` element (adjusts padding when inline mode or tiddler missing).
* Update translink.tid
Localise missing tiddler message (`$:/language/MissingTiddler/Hint`)
* Update vanilla/base.tid
- Modify class `tc-pre-background`, so that it can be applied to elements other than `pre`. The styling of `pre` remains unchanged, it is only split into two parts, for one part to be reused in the `tc-pre-background` class (used e.g. in translink macro).
- Add `tc-big-v-gap` and `tc-big-bold` in the *Other utility classes* section (used e.g. in translink macro).
* Update translink.tid
Improve styling to depend only on classes specified in vanilla/base.tid
* Update base.tid
Update class `tc-translink` and CSS selectors to make styling the translink macro easier
* Update translink.tid
Change the classes of elements, so that changing the style is possible by modifying the stylesheet only
* Update base.tid
Add selectors to support new inline mode in translink macro
* Update translink.tid
Change behaviour of the inline mode, now the whole macro is inline, not just the transcluded text.
* Update base.tid
Fix padding of tc-translink class to account for multiline inline content.
* Update base.tid
Remove pseudo-element parentheses from inline translink macro
* Update translink.tid
Add parentheses around inline macro
2023-05-10 20:57:15 +00:00
|
|
|
}
|