1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

Pixel accuracy for restoring pre-refactor layout

Two problems:

* Extraneous whitespace shows up as whitespace in the HTML, making it
hard to style
* Fix some padding
This commit is contained in:
Jermolene 2014-04-09 22:19:27 +01:00
parent df6fe8f852
commit fc407d079c
3 changed files with 9 additions and 7 deletions

View File

@ -7,8 +7,7 @@ tags: $:/tags/PageTemplate
<div class="tw-site-title">{{$:/SiteTitle}}</div> <div class="tw-site-title">{{$:/SiteTitle}}</div>
<div class="tw-site-subtitle">{{$:/SiteSubtitle}}</div> <div class="tw-site-subtitle">{{$:/SiteSubtitle}}</div>
<div class="tw-page-controls"> <div class="tw-page-controls">
<$list filter="[all[tiddlers+shadows]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem"> <$transclude tiddler=<<listItem>>/> <$list filter="[all[tiddlers+shadows]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
</$list>
</div> </div>
{{$:/core/ui/SideBarLists}} {{$:/core/ui/SideBarLists}}
</$reveal> </$reveal>

View File

@ -8,8 +8,7 @@ title: $:/core/ui/SideBarLists
<$link to="" class="btn-invisible">{{$:/core/images/close-button}}</$link> <$link to="" class="btn-invisible">{{$:/core/images/close-button}}</$link>
</$linkcatcher> </$linkcatcher>
</$reveal> </$reveal>
<$reveal state="$:/temp/search" type="match" text=""> &nbsp; <$reveal state="$:/temp/search" type="match" text="">&nbsp;<$link to="$:/AdvancedSearch" class="btn-invisible">&hellip;</$link>
<$link to="$:/AdvancedSearch" class="btn-invisible">&hellip;</$link>
</$reveal> </$reveal>
</div> </div>
<$reveal state="$:/temp/search" type="nomatch" text=""> <$reveal state="$:/temp/search" type="nomatch" text="">

View File

@ -369,7 +369,7 @@ a.tw-tiddlylink-external:hover {
} }
.tw-search { .tw-search {
padding-top: .5em; padding-top: 14px;
} }
.tw-search a svg { .tw-search a svg {
@ -453,7 +453,7 @@ a.tw-tiddlylink-external:hover {
overflow-x: auto; overflow-x: auto;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
margin: 0 0 0 -42px; margin: 0 0 0 -42px;
padding: 99px 0 28px 42px; padding: 84px 0 28px 42px;
} }
.story-river { .story-river {
@ -461,7 +461,7 @@ a.tw-tiddlylink-external:hover {
left: {{$:/themes/tiddlywiki/vanilla/metrics##storyleft}}; left: {{$:/themes/tiddlywiki/vanilla/metrics##storyleft}};
top: {{$:/themes/tiddlywiki/vanilla/metrics##storytop}}; top: {{$:/themes/tiddlywiki/vanilla/metrics##storytop}};
width: {{$:/themes/tiddlywiki/vanilla/metrics##storywidth}}; width: {{$:/themes/tiddlywiki/vanilla/metrics##storywidth}};
padding: 56px 42px 42px 42px; padding: 42px 42px 42px 42px;
} }
} }
@ -968,6 +968,10 @@ canvas.tw-edit-bitmapeditor {
padding-top: 14px; padding-top: 14px;
} }
.tw-sidebar-lists .tw-tab-buttons {
padding-top: 15px;
}
.tw-sidebar-lists .tw-tab-buttons button.tw-tab-selected { .tw-sidebar-lists .tw-tab-buttons button.tw-tab-selected {
background-color: <<colour sidebar-tab-background-selected>>; background-color: <<colour sidebar-tab-background-selected>>;
color: <<colour sidebar-tab-foreground-selected>>; color: <<colour sidebar-tab-foreground-selected>>;