mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
parent
a1ec52c5cb
commit
995f0e7f29
@ -16,7 +16,7 @@ $(currentTiddler)$/icon
|
||||
$:/config/Plugins/Disabled/$(currentTiddler)$
|
||||
\end
|
||||
\define plugin-table-body(type,disabledMessage)
|
||||
<div class="tw-plugin-info-chunk">
|
||||
<div class="tc-plugin-info-chunk">
|
||||
<$reveal type="nomatch" state=<<popup-state>> text="yes">
|
||||
<$button class="tc-btn-invisible btn-dropdown" set=<<popup-state>> setTo="yes">
|
||||
{{$:/core/images/right-arrow}}
|
||||
@ -28,12 +28,12 @@ $:/config/Plugins/Disabled/$(currentTiddler)$
|
||||
</$button>
|
||||
</$reveal>
|
||||
</div>
|
||||
<div class="tw-plugin-info-chunk">
|
||||
<div class="tc-plugin-info-chunk">
|
||||
<$transclude tiddler=<<currentTiddler>> subtiddler=<<plugin-icon-title>>>
|
||||
<$transclude tiddler="$:/core/images/plugin-generic-$type$"/>
|
||||
</$transclude>
|
||||
</div>
|
||||
<div class="tw-plugin-info-chunk">
|
||||
<div class="tc-plugin-info-chunk">
|
||||
<div>
|
||||
''<$view field="description"><$view field="title"/></$view>'' $disabledMessage$
|
||||
</div>
|
||||
@ -50,17 +50,17 @@ $:/config/Plugins/Disabled/$(currentTiddler)$
|
||||
<$list filter="[!has[draft.of]plugin-type[$type$]sort[description]]" emptyMessage=<<lingo "Empty/Hint">>>
|
||||
<$set name="popup-state" value=<<popup-state-macro>>>
|
||||
<$reveal type="nomatch" state=<<plugin-disable-title>> text="yes">
|
||||
<$link to={{!!title}} class="tw-plugin-info">
|
||||
<$link to={{!!title}} class="tc-plugin-info">
|
||||
<<plugin-table-body type:"$type$">>
|
||||
</$link>
|
||||
</$reveal>
|
||||
<$reveal type="match" state=<<plugin-disable-title>> text="yes">
|
||||
<$link to={{!!title}} class="tw-plugin-info tw-plugin-info-disabled">
|
||||
<$link to={{!!title}} class="tc-plugin-info tc-plugin-info-disabled">
|
||||
<<plugin-table-body type:"$type$" disabledMessage:"<$macrocall $name='lingo' title='Disabled/Status'/>">>
|
||||
</$link>
|
||||
</$reveal>
|
||||
<$reveal type="match" text="yes" state=<<popup-state>>>
|
||||
<div class="tw-plugin-info-dropdown">
|
||||
<div class="tc-plugin-info-dropdown">
|
||||
<$list filter="[all[current]] -[[$:/core]]">
|
||||
<div style="float:right;">
|
||||
<$reveal type="nomatch" state=<<plugin-disable-title>> text="yes">
|
||||
|
@ -4,7 +4,7 @@ tags: $:/tags/EditTemplate
|
||||
\define lingo-base() $:/language/EditTemplate/Body/
|
||||
<$list filter="[is[current]has[_canonical_uri]]">
|
||||
|
||||
<div class="tw-message-box">
|
||||
<div class="tc-message-box">
|
||||
|
||||
<<lingo External/Hint>>
|
||||
|
||||
|
@ -3,7 +3,7 @@ tags: $:/tags/EditTemplate
|
||||
|
||||
\define lingo-base() $:/language/EditTemplate/Shadow/
|
||||
<$list filter="[all[current]get[draft.of]is[shadow]!is[tiddler]]">
|
||||
<div class="tw-message-box">
|
||||
<div class="tc-message-box">
|
||||
|
||||
<<lingo Warning>>
|
||||
|
||||
@ -11,7 +11,7 @@ tags: $:/tags/EditTemplate
|
||||
</$list>
|
||||
|
||||
<$list filter="[all[current]get[draft.of]is[shadow]is[tiddler]]">
|
||||
<div class="tw-message-box">
|
||||
<div class="tc-message-box">
|
||||
|
||||
<<lingo OverriddenWarning>>
|
||||
|
||||
|
@ -3,7 +3,7 @@ tags: $:/tags/ViewTemplate $:/tags/EditTemplate
|
||||
|
||||
\define lingo-base() $:/language/ClassicWarning/
|
||||
<$list filter="[all[current]type[text/x-tiddlywiki]]">
|
||||
<div class="tw-message-box">
|
||||
<div class="tc-message-box">
|
||||
|
||||
<<lingo Hint>>
|
||||
|
||||
|
@ -12,7 +12,7 @@ This is version <<version-link>> of ~TiddlyWiki, a major reboot designed [[for t
|
||||
|
||||
//~TiddlyWiki is a free, open source project that depends on [[your love and support|HelpingTiddlyWiki]] for its survival//.
|
||||
|
||||
<div class="tw-message-box">
|
||||
<div class="tc-message-box">
|
||||
|
||||
<a class="tw-message-icon" href="http://tiddlywiki.com/" target="_blank">{{TiddlyWiki Classic.png}}</a>
|
||||
|
||||
|
@ -51,7 +51,7 @@ Rules copied from Snow White
|
||||
text-shadow: 0 1px 0 rgba(255,255,255, 0.8);
|
||||
}
|
||||
|
||||
.tw-message-box img {
|
||||
.tc-message-box img {
|
||||
<<box-shadow "1px 1px 3px rgba(0,0,0,0.5)">>
|
||||
}
|
||||
|
||||
@ -77,7 +77,7 @@ Seamless modifications
|
||||
}
|
||||
|
||||
/* Stop message boxes from bleeding into the tiddler frame padding */
|
||||
body.tc-body .tw-message-box {
|
||||
body.tc-body .tc-message-box {
|
||||
margin: 21px 0 21px 0;
|
||||
}
|
||||
|
||||
|
@ -97,10 +97,10 @@ canvas.tc-edit-bitmapeditor {
|
||||
<<background-linear-gradient "left, rgb(236,236,236) 0%, rgb(248,248,248) 100%">>
|
||||
}
|
||||
|
||||
.tw-message-box img {
|
||||
.tc-message-box img {
|
||||
<<box-shadow "1px 1px 3px rgba(0,0,0,0.5)">>
|
||||
}
|
||||
|
||||
.tw-plugin-info {
|
||||
.tc-plugin-info {
|
||||
<<box-shadow "2px 2px 4px rgba(0,0,0,0.2)">>
|
||||
}
|
||||
|
@ -466,7 +466,7 @@ button.tw-tag-label, span.tw-tag-label {
|
||||
|
||||
@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
|
||||
|
||||
.tw-message-box {
|
||||
.tc-message-box {
|
||||
margin: 21px -21px 21px -21px;
|
||||
}
|
||||
|
||||
@ -780,7 +780,7 @@ canvas.tc-edit-bitmapeditor {
|
||||
margin-right: 7px;
|
||||
}
|
||||
|
||||
.tw-remove-tag-button {
|
||||
.tc-remove-tag-button {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
@ -1248,7 +1248,7 @@ canvas.tc-edit-bitmapeditor {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.tw-plugin-info {
|
||||
.tc-plugin-info {
|
||||
display: block;
|
||||
border: 1px solid <<colour muted-foreground>>;
|
||||
background-colour: <<colour background>>;
|
||||
@ -1256,37 +1256,37 @@ canvas.tc-edit-bitmapeditor {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.tw-plugin-info-disabled {
|
||||
.tc-plugin-info-disabled {
|
||||
background: -webkit-repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px);
|
||||
background: repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px);
|
||||
}
|
||||
|
||||
.tw-plugin-info-disabled:hover {
|
||||
.tc-plugin-info-disabled:hover {
|
||||
background: -webkit-repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px);
|
||||
background: repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px);
|
||||
}
|
||||
|
||||
a.tc-tiddlylink.tw-plugin-info:hover {
|
||||
a.tc-tiddlylink.tc-plugin-info:hover {
|
||||
text-decoration: none;
|
||||
background-color: <<colour primary>>;
|
||||
color: <<colour background>>;
|
||||
}
|
||||
|
||||
.tw-plugin-info-chunk {
|
||||
.tc-plugin-info-chunk {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.tw-plugin-info img {
|
||||
.tc-plugin-info img {
|
||||
width: 3em;
|
||||
}
|
||||
|
||||
.tw-plugin-info svg {
|
||||
.tc-plugin-info svg {
|
||||
width: 3em;
|
||||
height: 3em;
|
||||
}
|
||||
|
||||
.tw-plugin-info-dropdown {
|
||||
.tc-plugin-info-dropdown {
|
||||
border: 1px solid <<colour muted-foreground>>;
|
||||
padding: 1em 1em 1em 1em;
|
||||
margin-top: -1em;
|
||||
@ -1296,7 +1296,7 @@ a.tc-tiddlylink.tw-plugin-info:hover {
|
||||
** Message boxes
|
||||
*/
|
||||
|
||||
.tw-message-box {
|
||||
.tc-message-box {
|
||||
border: 1px solid <<colour message-border>>;
|
||||
background: <<colour message-background>>;
|
||||
padding: 0px 21px 0px 21px;
|
||||
@ -1305,7 +1305,7 @@ a.tc-tiddlylink.tw-plugin-info:hover {
|
||||
color: <<colour message-foreground>>;
|
||||
}
|
||||
|
||||
.tw-message-box img {
|
||||
.tc-message-box img {
|
||||
float: right;
|
||||
width: 150px;
|
||||
margin: 0px 0px 12px 12px;
|
||||
|
Loading…
Reference in New Issue
Block a user