mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07:19 +00:00
Clearer current selection for language and storyview
This commit is contained in:
parent
9774c763b1
commit
5291f33c84
@ -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>>>
|
||||
•
|
||||
</$reveal>
|
||||
<$reveal type="nomatch" state="$:/language" text=<<currentTiddler>>>
|
||||
|
||||
</$reveal>
|
||||
</span>
|
||||
<$transclude subtiddler="$:/language/Flag">
|
||||
<$list filter="[all[current]field:title[$:/languages/en-GB]]">
|
||||
<$transclude tiddler="$:/core" subtiddler="$:/language/Flag"/>
|
||||
|
@ -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>>>
|
||||
•
|
||||
</$reveal>
|
||||
<$reveal type="nomatch" state="$:/view" text=<<storyview>>>
|
||||
|
||||
</$reveal>
|
||||
</span>
|
||||
<$transclude tiddler=<<icon>>/>
|
||||
<$text text=<<storyview>>/></$link>
|
||||
</$list>
|
||||
</$linkcatcher>
|
||||
</div>
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user