From 26f3a27e22663aa719ff04a777433559d1923b1f Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 28 Aug 2014 22:22:40 +0100 Subject: [PATCH] More classname tweaks Thanks @pmario --- core/ui/ControlPanel/Plugins.tid | 4 ++-- core/ui/EditTemplate/tags.tid | 2 +- core/ui/EditTemplate/type.tid | 2 +- core/ui/ImportListing.tid | 4 ++-- core/ui/TagManager.tid | 2 +- languages/zh-Hant/Modals/Download.tid | 2 +- themes/tiddlywiki/vanilla/base.tid | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/core/ui/ControlPanel/Plugins.tid b/core/ui/ControlPanel/Plugins.tid index a3a4121371..285031d7f4 100644 --- a/core/ui/ControlPanel/Plugins.tid +++ b/core/ui/ControlPanel/Plugins.tid @@ -18,12 +18,12 @@ $:/config/Plugins/Disabled/$(currentTiddler)$ \define plugin-table-body(type,disabledMessage)
<$reveal type="nomatch" state=<> text="yes"> -<$button class="tc-btn-invisible btn-dropdown" set=<> setTo="yes"> +<$button class="tc-btn-invisible tc-btn-dropdown" set=<> setTo="yes"> {{$:/core/images/right-arrow}} <$reveal type="match" state=<> text="yes"> -<$button class="tc-btn-invisible btn-dropdown" set=<> setTo="no"> +<$button class="tc-btn-invisible tc-btn-dropdown" set=<> setTo="no"> {{$:/core/images/down-arrow}} diff --git a/core/ui/EditTemplate/tags.tid b/core/ui/EditTemplate/tags.tid index f9049d6281..b96238c6e3 100644 --- a/core/ui/EditTemplate/tags.tid +++ b/core/ui/EditTemplate/tags.tid @@ -16,7 +16,7 @@ background-color:$(backgroundColor)$;
<$edit-text tiddler="$:/temp/NewTagName" tag="input" default="" placeholder={{$:/language/EditTemplate/Tags/Add/Placeholder}} focusPopup=<> class="tc-edit-texteditor"/> - <$button popup=<> class="tc-btn-invisible btn-dropdown">{{$:/core/images/down-arrow}} + <$button popup=<> class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/down-arrow}} <$button message="tm-add-tag" param={{$:/temp/NewTagName}} set="$:/temp/NewTagName" setTo="" class=""> <> diff --git a/core/ui/EditTemplate/type.tid b/core/ui/EditTemplate/type.tid index 7f624b1f45..fcb617128d 100644 --- a/core/ui/EditTemplate/type.tid +++ b/core/ui/EditTemplate/type.tid @@ -2,7 +2,7 @@ title: $:/core/ui/EditTemplate/type tags: $:/tags/EditTemplate \define lingo-base() $:/language/EditTemplate/ -

<$fieldmangler><> <$edit-text field="type" tag="input" default="" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=<> class="tc-edit-typeeditor"/> <$button popup=<> class="tc-btn-invisible btn-dropdown">{{$:/core/images/down-arrow}} <$button message="tm-remove-field" param="type" class="tc-btn-invisible tc-btn-icon">{{$:/core/images/delete-button}}

+

<$fieldmangler><> <$edit-text field="type" tag="input" default="" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=<> class="tc-edit-typeeditor"/> <$button popup=<> class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/down-arrow}} <$button message="tm-remove-field" param="type" class="tc-btn-invisible tc-btn-icon">{{$:/core/images/delete-button}}

<$reveal state=<> type="nomatch" text="" default=""> diff --git a/core/ui/ImportListing.tid b/core/ui/ImportListing.tid index 2f62ae9dc6..871fae3d97 100644 --- a/core/ui/ImportListing.tid +++ b/core/ui/ImportListing.tid @@ -30,12 +30,12 @@ selection-$(payloadTiddler)$ <$reveal type="nomatch" state=<> text="yes"> -<$button class="tc-btn-invisible btn-dropdown" set=<> setTo="yes"> +<$button class="tc-btn-invisible tc-btn-dropdown" set=<> setTo="yes"> {{$:/core/images/right-arrow}} <$text text=<>/> <$reveal type="match" state=<> text="yes"> -<$button class="tc-btn-invisible btn-dropdown" set=<> setTo="no"> +<$button class="tc-btn-invisible tc-btn-dropdown" set=<> setTo="no"> {{$:/core/images/down-arrow}} <$text text=<>/> diff --git a/core/ui/TagManager.tid b/core/ui/TagManager.tid index 981759abaa..a218fd3d41 100644 --- a/core/ui/TagManager.tid +++ b/core/ui/TagManager.tid @@ -10,7 +10,7 @@ title: $:/TagManager \end \define iconEditor(title)
-<$edit-text field="icon" tag="input" size="20"/> <$button popup=<> class="tc-btn-invisible btn-dropdown">{{$:/core/images/down-arrow}} +<$edit-text field="icon" tag="input" size="20"/> <$button popup=<> class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/down-arrow}} <$reveal state=<> type="popup" position="belowleft" text="" default="">
<$linkcatcher to="$title$!!icon"> diff --git a/languages/zh-Hant/Modals/Download.tid b/languages/zh-Hant/Modals/Download.tid index 29283e9b6a..498caccb55 100644 --- a/languages/zh-Hant/Modals/Download.tid +++ b/languages/zh-Hant/Modals/Download.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/Download type: text/vnd.tiddlywiki subtitle: Download changes -footer: <$button message="tm-close-tiddler" class="btn btn-primary">關閉 +footer: <$button message="tm-close-tiddler">關閉 help: http://tiddlywiki.com/ 您的瀏覽器只支援手動儲存。 diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 2b9f464908..fae5fda621 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -836,11 +836,11 @@ canvas.tc-edit-bitmapeditor { ** Dropdowns */ -.btn-dropdown { +.tc-btn-dropdown { text-align: left; } -.btn-dropdown svg, .btn-dropdown img { +.tc-btn-dropdown svg, .tc-btn-dropdown img { height: 1em; width: 1em; fill: <>;