1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-23 15:36:52 +00:00

Improved formatting for control panel plugins

This commit is contained in:
Jermolene 2014-08-08 16:35:17 +01:00
parent 2526bfb078
commit 878689f92e
3 changed files with 8 additions and 4 deletions

View File

@ -31,17 +31,17 @@ $(currentTiddler)$/icon
</div> </div>
<$link to={{!!title}} class="tw-plugin-info-link"> <$link to={{!!title}} class="tw-plugin-info-link">
<div> <div>
<div style="display:inline-block;"> <div style="display:inline-block;vertical-align:middle;">
<$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 style="display:inline-block;"> <div style="display:inline-block;vertical-align:middle;">
<div> <div>
''<$view field="description"><$view field="title"/></$view>'' ''<$view field="description"><$view field="title"/></$view>''
</div> </div>
<div> <div>
<$view field="title"/><br> <$view field="title"/>
</div> </div>
<div> <div>
<$view field="version"/> <$view field="version"/>

View File

@ -100,3 +100,7 @@ canvas.tw-edit-bitmapeditor {
.tw-message-box img { .tw-message-box img {
<<box-shadow "1px 1px 3px rgba(0,0,0,0.5)">> <<box-shadow "1px 1px 3px rgba(0,0,0,0.5)">>
} }
.tw-plugin-info {
<<box-shadow "2px 2px 4px rgba(0,0,0,0.2)">>
}

View File

@ -1239,7 +1239,6 @@ canvas.tw-edit-bitmapeditor {
} }
.tw-plugin-info { .tw-plugin-info {
vertical-align: middle;
border: 1px solid <<colour muted-foreground>>; border: 1px solid <<colour muted-foreground>>;
margin: 1em 0 1em 0; margin: 1em 0 1em 0;
padding: 8px; padding: 8px;
@ -1253,6 +1252,7 @@ canvas.tw-edit-bitmapeditor {
.tw-plugin-info .tw-plugin-info-dropdown-button, .tw-plugin-info .tw-plugin-info-dropdown-button,
.tw-plugin-info .tw-tiddlylink { .tw-plugin-info .tw-tiddlylink {
display: inline-block; display: inline-block;
vertical-align: middle;
} }
/* /*