mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Fix formatting of plugin listing in control panel
And make some minor tweaks across the plugin chooser too
This commit is contained in:
parent
d91fcd990e
commit
db2ed63e54
@ -19,24 +19,24 @@ $:/config/Plugins/Disabled/$(currentTiddler)$
|
|||||||
\end
|
\end
|
||||||
|
|
||||||
\define plugin-table-body(type,disabledMessage,default-popup-state)
|
\define plugin-table-body(type,disabledMessage,default-popup-state)
|
||||||
<div class="tc-plugin-info-chunk tc-small-icon">
|
<div class="tc-plugin-info-chunk tc-plugin-info-toggle">
|
||||||
<$reveal type="nomatch" state=<<popup-state>> text="yes" default="""$default-popup-state$""">
|
<$reveal type="nomatch" state=<<popup-state>> text="yes" default="""$default-popup-state$""">
|
||||||
<$button class="tc-btn-invisible tc-btn-dropdown" set=<<popup-state>> setTo="yes">
|
<$button class="tc-btn-invisible tc-btn-dropdown" set=<<popup-state>> setTo="yes">
|
||||||
{{$:/core/images/right-arrow}}
|
{{$:/core/images/chevron-right}}
|
||||||
</$button>
|
</$button>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
<$reveal type="match" state=<<popup-state>> text="yes" default="""$default-popup-state$""">
|
<$reveal type="match" state=<<popup-state>> text="yes" default="""$default-popup-state$""">
|
||||||
<$button class="tc-btn-invisible tc-btn-dropdown" set=<<popup-state>> setTo="no">
|
<$button class="tc-btn-invisible tc-btn-dropdown" set=<<popup-state>> setTo="no">
|
||||||
{{$:/core/images/down-arrow}}
|
{{$:/core/images/chevron-down}}
|
||||||
</$button>
|
</$button>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
</div>
|
</div>
|
||||||
<div class="tc-plugin-info-chunk">
|
<div class="tc-plugin-info-chunk tc-plugin-info-icon">
|
||||||
<$transclude tiddler=<<currentTiddler>> subtiddler=<<plugin-icon-title>>>
|
<$transclude tiddler=<<currentTiddler>> subtiddler=<<plugin-icon-title>>>
|
||||||
<$transclude tiddler="$:/core/images/plugin-generic-$type$"/>
|
<$transclude tiddler="$:/core/images/plugin-generic-$type$"/>
|
||||||
</$transclude>
|
</$transclude>
|
||||||
</div>
|
</div>
|
||||||
<div class="tc-plugin-info-chunk">
|
<div class="tc-plugin-info-chunk tc-plugin-info-description">
|
||||||
<h1>
|
<h1>
|
||||||
''<$view field="description"><$view field="title"/></$view>'' $disabledMessage$
|
''<$view field="description"><$view field="title"/></$view>'' $disabledMessage$
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -26,12 +26,12 @@ $:/state/add-plugin-info/$(connectionTiddler)$/$(assetInfo)$
|
|||||||
<div class="tc-plugin-info-chunk tc-plugin-info-toggle">
|
<div class="tc-plugin-info-chunk tc-plugin-info-toggle">
|
||||||
<$reveal type="nomatch" state=<<popup-state>> text="yes">
|
<$reveal type="nomatch" state=<<popup-state>> text="yes">
|
||||||
<$button class="tc-btn-invisible tc-btn-dropdown" set=<<popup-state>> setTo="yes">
|
<$button class="tc-btn-invisible tc-btn-dropdown" set=<<popup-state>> setTo="yes">
|
||||||
{{$:/core/images/right-arrow}}
|
{{$:/core/images/chevron-right}}
|
||||||
</$button>
|
</$button>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
<$reveal type="match" state=<<popup-state>> text="yes">
|
<$reveal type="match" state=<<popup-state>> text="yes">
|
||||||
<$button class="tc-btn-invisible tc-btn-dropdown" set=<<popup-state>> setTo="no">
|
<$button class="tc-btn-invisible tc-btn-dropdown" set=<<popup-state>> setTo="no">
|
||||||
{{$:/core/images/down-arrow}}
|
{{$:/core/images/chevron-down}}
|
||||||
</$button>
|
</$button>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2107,11 +2107,13 @@ a.tc-tiddlylink.tc-plugin-info:hover .tc-plugin-info > .tc-plugin-info-chunk > s
|
|||||||
.tc-plugin-info-chunk.tc-plugin-info-toggle {
|
.tc-plugin-info-chunk.tc-plugin-info-toggle {
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tc-plugin-info-chunk.tc-plugin-info-icon {
|
.tc-plugin-info-chunk.tc-plugin-info-icon {
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tc-plugin-info-chunk.tc-plugin-info-description {
|
.tc-plugin-info-chunk.tc-plugin-info-description {
|
||||||
@ -2145,8 +2147,8 @@ a.tc-tiddlylink.tc-plugin-info:hover .tc-plugin-info > .tc-plugin-info-chunk > s
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tc-plugin-info-chunk.tc-plugin-info-toggle img, .tc-plugin-info-chunk.tc-plugin-info-toggle svg {
|
.tc-plugin-info-chunk.tc-plugin-info-toggle img, .tc-plugin-info-chunk.tc-plugin-info-toggle svg {
|
||||||
width: 1.5em;
|
width: 1em;
|
||||||
height: 1.5em;
|
height: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tc-plugin-info-chunk.tc-plugin-info-icon img, .tc-plugin-info-chunk.tc-plugin-info-icon svg {
|
.tc-plugin-info-chunk.tc-plugin-info-icon img, .tc-plugin-info-chunk.tc-plugin-info-icon svg {
|
||||||
|
Loading…
Reference in New Issue
Block a user