1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00

Fix whitespace in themes (#5700)

This commit is contained in:
Mario Pietsch 2021-05-19 15:12:12 +02:00 committed by GitHub
parent dbd3f835bf
commit ec1df7edf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 83 additions and 83 deletions

View File

@ -8,17 +8,17 @@ Placeholder for a more thorough refinement of Snow White
*/ */
@font-face { @font-face {
font-family: "Arvo"; font-family: "Arvo";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: local("Arvo"), url(<<datauri "$:/themes/tiddlywiki/starlight/arvo.woff">>) format("woff"); src: local("Arvo"), url(<<datauri "$:/themes/tiddlywiki/starlight/arvo.woff">>) format("woff");
} }
html body, .tc-sidebar-scrollable-backdrop { html body, .tc-sidebar-scrollable-backdrop {
font-family: "Arvo", "Times"; font-family: "Arvo", "Times";
background: url(<<datauri "$:/themes/tiddlywiki/starlight/ltbg.jpg">>); background: url(<<datauri "$:/themes/tiddlywiki/starlight/ltbg.jpg">>);
} }
.tc-page-controls svg { .tc-page-controls svg {
<<filter "drop-shadow(1px 1px 2px rgba(255,255,255,0.9))">> <<filter "drop-shadow(1px 1px 2px rgba(255,255,255,0.9))">>
} }

View File

@ -82,17 +82,17 @@ tags: [[$:/tags/Stylesheet]]
} }
html body.tc-body .tc-tiddler-frame .tc-tiddler-info { html body.tc-body .tc-tiddler-frame .tc-tiddler-info {
margin: 0 -13px 0 -13px; margin: 0 -13px 0 -13px;
} }
html body.tc-body .tc-tiddler-frame .tc-fold-banner { html body.tc-body .tc-tiddler-frame .tc-fold-banner {
width: 13px; width: 13px;
margin-left: -15px; margin-left: -15px;
} }
html body.tc-body .tc-tiddler-frame .tc-unfold-banner { html body.tc-body .tc-tiddler-frame .tc-unfold-banner {
margin-left: -13px; margin-left: -13px;
margin-top: -4px; margin-top: -4px;
} }
} }

View File

@ -76,7 +76,7 @@ $else$
} }
input[type="search"] { input[type="search"] {
outline-offset: initial; outline-offset: initial;
} }
html button { html button {
@ -119,7 +119,7 @@ body.tc-body {
<<if-background-attachment """ <<if-background-attachment """
body.tc-body { body.tc-body {
background-color: transparent; background-color: transparent;
} }
""">> """>>
@ -182,7 +182,7 @@ blockquote.tc-big-quote {
margin-left: 50px; margin-left: 50px;
margin-right: 50px; margin-right: 50px;
padding: 10px; padding: 10px;
border-radius: 8px; border-radius: 8px;
} }
blockquote.tc-big-quote cite:before { blockquote.tc-big-quote cite:before {
@ -198,8 +198,8 @@ blockquote.tc-big-quote:before {
margin-right: 0.25em; margin-right: 0.25em;
vertical-align: -0.4em; vertical-align: -0.4em;
position: absolute; position: absolute;
left: -50px; left: -50px;
top: 42px; top: 42px;
} }
blockquote.tc-big-quote:after { blockquote.tc-big-quote:after {
@ -211,8 +211,8 @@ blockquote.tc-big-quote:after {
margin-right: 0.25em; margin-right: 0.25em;
vertical-align: -0.4em; vertical-align: -0.4em;
position: absolute; position: absolute;
right: -80px; right: -80px;
bottom: -20px; bottom: -20px;
} }
dl dt { dl dt {
@ -234,7 +234,7 @@ input:not([type]) {
} }
input[type="checkbox"] { input[type="checkbox"] {
vertical-align: middle; vertical-align: middle;
} }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-decoration,
@ -597,7 +597,7 @@ html body.tc-body .tc-btn-rounded:hover svg {
} }
.tc-primary-btn { .tc-primary-btn {
background: <<colour primary>>; background: <<colour primary>>;
} }
.tc-sidebar-lists input { .tc-sidebar-lists input {
@ -750,7 +750,7 @@ button.tc-untagged-label {
.tc-tag-label svg, .tc-tag-label img { .tc-tag-label svg, .tc-tag-label img {
height: 1em; height: 1em;
width: 1em; width: 1em;
margin-right: 3px; margin-right: 3px;
margin-bottom: 1px; margin-bottom: 1px;
vertical-align: bottom; vertical-align: bottom;
} }
@ -859,7 +859,7 @@ button.tc-btn-invisible.tc-remove-tag-button {
} }
.tc-page-controls .tc-drop-down { .tc-page-controls .tc-drop-down {
font-size: 1rem; font-size: 1rem;
} }
.tc-page-controls button { .tc-page-controls button {
@ -1118,8 +1118,8 @@ button.tc-btn-invisible.tc-remove-tag-button {
} }
.tc-tiddler-missing .tc-title { .tc-tiddler-missing .tc-title {
font-style: italic; font-style: italic;
font-weight: normal; font-weight: normal;
} }
.tc-tiddler-frame .tc-tiddler-controls { .tc-tiddler-frame .tc-tiddler-controls {
@ -1151,9 +1151,9 @@ button.tc-btn-invisible.tc-remove-tag-button {
} }
.tc-search button svg, .tc-search a svg { .tc-search button svg, .tc-search a svg {
height: 1.2em; height: 1.2em;
width: 1.2em; width: 1.2em;
margin: 0 0.25em; margin: 0 0.25em;
} }
.tc-tiddler-controls button.tc-selected svg, .tc-tiddler-controls button.tc-selected svg,
@ -1369,39 +1369,39 @@ html body.tc-body.tc-single-tiddler-window {
*/ */
.tc-page-controls svg.tc-image-new-button { .tc-page-controls svg.tc-image-new-button {
fill: <<colour toolbar-new-button>>; fill: <<colour toolbar-new-button>>;
} }
.tc-page-controls svg.tc-image-options-button { .tc-page-controls svg.tc-image-options-button {
fill: <<colour toolbar-options-button>>; fill: <<colour toolbar-options-button>>;
} }
.tc-page-controls svg.tc-image-save-button { .tc-page-controls svg.tc-image-save-button {
fill: <<colour toolbar-save-button>>; fill: <<colour toolbar-save-button>>;
} }
.tc-tiddler-controls button svg.tc-image-info-button { .tc-tiddler-controls button svg.tc-image-info-button {
fill: <<colour toolbar-info-button>>; fill: <<colour toolbar-info-button>>;
} }
.tc-tiddler-controls button svg.tc-image-edit-button { .tc-tiddler-controls button svg.tc-image-edit-button {
fill: <<colour toolbar-edit-button>>; fill: <<colour toolbar-edit-button>>;
} }
.tc-tiddler-controls button svg.tc-image-close-button { .tc-tiddler-controls button svg.tc-image-close-button {
fill: <<colour toolbar-close-button>>; fill: <<colour toolbar-close-button>>;
} }
.tc-tiddler-controls button svg.tc-image-delete-button { .tc-tiddler-controls button svg.tc-image-delete-button {
fill: <<colour toolbar-delete-button>>; fill: <<colour toolbar-delete-button>>;
} }
.tc-tiddler-controls button svg.tc-image-cancel-button { .tc-tiddler-controls button svg.tc-image-cancel-button {
fill: <<colour toolbar-cancel-button>>; fill: <<colour toolbar-cancel-button>>;
} }
.tc-tiddler-controls button svg.tc-image-done-button { .tc-tiddler-controls button svg.tc-image-done-button {
fill: <<colour toolbar-done-button>>; fill: <<colour toolbar-done-button>>;
} }
/* /*
@ -1645,10 +1645,10 @@ html body.tc-body.tc-single-tiddler-window {
.tc-drop-down .tc-tab-set .tc-tab-buttons button { .tc-drop-down .tc-tab-set .tc-tab-buttons button {
display: inline-block; display: inline-block;
width: auto; width: auto;
margin-bottom: 0px; margin-bottom: 0px;
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
} }
.tc-drop-down .tc-prompt { .tc-drop-down .tc-prompt {
@ -2075,9 +2075,9 @@ html body.tc-body.tc-single-tiddler-window {
} }
.tc-manager-list-item-heading { .tc-manager-list-item-heading {
display: block; display: block;
width: 100%; width: 100%;
text-align: left; text-align: left;
border-bottom: 1px solid <<colour muted-foreground>>; border-bottom: 1px solid <<colour muted-foreground>>;
padding: 3px; padding: 3px;
} }
@ -2099,22 +2099,22 @@ html body.tc-body.tc-single-tiddler-window {
} }
.tc-manager-list-item-content-sidebar { .tc-manager-list-item-content-sidebar {
flex: 1 0; flex: 1 0;
background: <<colour tiddler-editor-background>>; background: <<colour tiddler-editor-background>>;
border-right: 0.5em solid <<colour muted-foreground>>; border-right: 0.5em solid <<colour muted-foreground>>;
border-bottom: 0.5em solid <<colour muted-foreground>>; border-bottom: 0.5em solid <<colour muted-foreground>>;
white-space: nowrap; white-space: nowrap;
} }
.tc-manager-list-item-content-item-heading { .tc-manager-list-item-content-item-heading {
display: block; display: block;
width: 100%; width: 100%;
text-align: left; text-align: left;
background: <<colour muted-foreground>>; background: <<colour muted-foreground>>;
text-transform: uppercase; text-transform: uppercase;
font-size: 0.6em; font-size: 0.6em;
font-weight: bold; font-weight: bold;
padding: 0.5em 0 0.5em 0; padding: 0.5em 0 0.5em 0;
} }
.tc-manager-list-item-content-item-body { .tc-manager-list-item-content-item-body {
@ -2128,10 +2128,10 @@ html body.tc-body.tc-single-tiddler-window {
} }
.tc-manager-list-item-content-tiddler { .tc-manager-list-item-content-tiddler {
flex: 3 1; flex: 3 1;
border-left: 0.5em solid <<colour muted-foreground>>; border-left: 0.5em solid <<colour muted-foreground>>;
border-right: 0.5em solid <<colour muted-foreground>>; border-right: 0.5em solid <<colour muted-foreground>>;
border-bottom: 0.5em solid <<colour muted-foreground>>; border-bottom: 0.5em solid <<colour muted-foreground>>;
} }
.tc-manager-list-item-content-item-body > table { .tc-manager-list-item-content-item-body > table {
@ -2208,7 +2208,7 @@ html body.tc-body.tc-single-tiddler-window {
position: absolute; position: absolute;
top: 7px; top: 7px;
right: 7px; right: 7px;
line-height: 0; line-height: 0;
} }
.tc-alert-toolbar svg { .tc-alert-toolbar svg {
@ -2218,8 +2218,8 @@ html body.tc-body.tc-single-tiddler-window {
.tc-alert-subtitle { .tc-alert-subtitle {
color: <<colour alert-muted-foreground>>; color: <<colour alert-muted-foreground>>;
font-weight: bold; font-weight: bold;
font-size: 0.8em; font-size: 0.8em;
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
.tc-alert-body > p { .tc-alert-body > p {
@ -2304,11 +2304,11 @@ html body.tc-body.tc-single-tiddler-window {
background-color: <<colour background>>; background-color: <<colour background>>;
margin: 0.5em 0 0.5em 0; margin: 0.5em 0 0.5em 0;
padding: 4px; padding: 4px;
align-items: center; align-items: center;
} }
.tc-plugin-info-sub-plugins .tc-plugin-info { .tc-plugin-info-sub-plugins .tc-plugin-info {
margin: 0.5em; margin: 0.5em;
background: <<colour background>>; background: <<colour background>>;
} }
@ -2320,8 +2320,8 @@ html body.tc-body.tc-single-tiddler-window {
color: <<colour background>>; color: <<colour background>>;
background: <<colour foreground>>; background: <<colour foreground>>;
border-radius: 8px; border-radius: 8px;
padding: 2px 7px; padding: 2px 7px;
font-size: 0.75em; font-size: 0.75em;
} }
.tc-plugin-info-sub-plugins .tc-plugin-info-dropdown { .tc-plugin-info-sub-plugins .tc-plugin-info-dropdown {
@ -2351,7 +2351,7 @@ a.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk > svg {
} }
.tc-plugin-info-chunk { .tc-plugin-info-chunk {
margin: 2px; margin: 2px;
} }
.tc-plugin-info-chunk.tc-plugin-info-toggle { .tc-plugin-info-chunk.tc-plugin-info-toggle {
@ -2375,7 +2375,7 @@ a.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk > svg {
line-height: 1.2; line-height: 1.2;
flex-grow: 0; flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
text-align: right; text-align: right;
} }
.tc-plugin-info-chunk.tc-plugin-info-description h1 { .tc-plugin-info-chunk.tc-plugin-info-description h1 {
@ -2426,7 +2426,7 @@ a.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk > svg {
.tc-plugin-info-sub-plugins { .tc-plugin-info-sub-plugins {
padding: 0.5em; padding: 0.5em;
margin: 0 1em 1em 1em; margin: 0 1em 1em 1em;
background: <<colour notification-background>>; background: <<colour notification-background>>;
} }
@ -2475,7 +2475,7 @@ a.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk > svg {
.tc-message-box svg { .tc-message-box svg {
width: 1em; width: 1em;
height: 1em; height: 1em;
vertical-align: text-bottom; vertical-align: text-bottom;
} }
/* /*
@ -2861,10 +2861,10 @@ body.tc-dirty span.tc-dirty-indicator, body.tc-dirty span.tc-dirty-indicator svg
} }
.tc-diff-tiddlers pre { .tc-diff-tiddlers pre {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: none; border: none;
background: none; background: none;
} }
/* /*
@ -2881,40 +2881,40 @@ body.tc-dirty span.tc-dirty-indicator, body.tc-dirty span.tc-dirty-indicator svg
*/ */
.tc-tree div { .tc-tree div {
padding-left: 14px; padding-left: 14px;
} }
.tc-tree ol { .tc-tree ol {
list-style-type: none; list-style-type: none;
padding-left: 0; padding-left: 0;
margin-top: 0; margin-top: 0;
} }
.tc-tree ol ol { .tc-tree ol ol {
padding-left: 1em; padding-left: 1em;
} }
.tc-tree button { .tc-tree button {
color: #acacac; color: #acacac;
} }
.tc-tree svg { .tc-tree svg {
fill: #acacac; fill: #acacac;
} }
.tc-tree span svg { .tc-tree span svg {
width: 1em; width: 1em;
height: 1em; height: 1em;
vertical-align: baseline; vertical-align: baseline;
} }
.tc-tree li span { .tc-tree li span {
color: lightgray; color: lightgray;
} }
select { select {
color: <<colour select-tag-foreground>>; color: <<colour select-tag-foreground>>;
background: <<colour select-tag-background>>; background: <<colour select-tag-background>>;
} }
/* /*