1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

Clearer current selection for language and storyview

This commit is contained in:
Jermolene 2014-08-01 22:07:07 +01:00
parent 9774c763b1
commit 5291f33c84
3 changed files with 18 additions and 1 deletions

View File

@ -16,12 +16,14 @@ description: {{$:/language/Buttons/Language/Hint}}
<$linkcatcher to="$:/language">
<$list filter="[[$:/languages/en-GB]] [plugin-type[language]sort[title]]">
<$link>
<span class="tw-drop-down-bullet">
<$reveal type="match" state="$:/language" text=<<currentTiddler>>>
&bull;
</$reveal>
<$reveal type="nomatch" state="$:/language" text=<<currentTiddler>>>
&nbsp;
</$reveal>
</span>
<$transclude subtiddler="$:/language/Flag">
<$list filter="[all[current]field:title[$:/languages/en-GB]]">
<$transclude tiddler="$:/core" subtiddler="$:/language/Flag"/>

View File

@ -20,7 +20,17 @@ $:/core/images/storyview-$(storyview)$
<div class="tw-drop-down">
<$linkcatcher to="$:/view">
<$list filter="[storyviews[]]" variable="storyview">
<$link to=<<storyview>>><$transclude tiddler=<<icon>>/> <$text text=<<storyview>>/></$link>
<$link to=<<storyview>>>
<span class="tw-drop-down-bullet">
<$reveal type="match" state="$:/view" text=<<storyview>>>
&bull;
</$reveal>
<$reveal type="nomatch" state="$:/view" text=<<storyview>>>
&nbsp;
</$reveal>
</span>
<$transclude tiddler=<<icon>>/>
<$text text=<<storyview>>/></$link>
</$list>
</$linkcatcher>
</div>

View File

@ -896,6 +896,11 @@ canvas.tw-edit-bitmapeditor {
border-bottom: 1px solid <<colour dropdown-tab-background-selected>>;
}
.tw-drop-down-bullet {
display: inline-block;
width: 0.5em;
}
.tw-drop-down .tw-tab-contents a {
padding: 0 0.5em 0 0.5em;
}