1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-30 09:13:16 +00:00

More conversion of "tw-*" classes to "tc-*"

Part of #764
This commit is contained in:
Jermolene 2014-08-28 19:13:21 +01:00
parent a1ec52c5cb
commit 995f0e7f29
9 changed files with 28 additions and 28 deletions

View File

@ -16,7 +16,7 @@ $(currentTiddler)$/icon
$:/config/Plugins/Disabled/$(currentTiddler)$ $:/config/Plugins/Disabled/$(currentTiddler)$
\end \end
\define plugin-table-body(type,disabledMessage) \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"> <$reveal type="nomatch" state=<<popup-state>> text="yes">
<$button class="tc-btn-invisible btn-dropdown" set=<<popup-state>> setTo="yes"> <$button class="tc-btn-invisible btn-dropdown" set=<<popup-state>> setTo="yes">
{{$:/core/images/right-arrow}} {{$:/core/images/right-arrow}}
@ -28,12 +28,12 @@ $:/config/Plugins/Disabled/$(currentTiddler)$
</$button> </$button>
</$reveal> </$reveal>
</div> </div>
<div class="tw-plugin-info-chunk"> <div class="tc-plugin-info-chunk">
<$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="tw-plugin-info-chunk"> <div class="tc-plugin-info-chunk">
<div> <div>
''<$view field="description"><$view field="title"/></$view>'' $disabledMessage$ ''<$view field="description"><$view field="title"/></$view>'' $disabledMessage$
</div> </div>
@ -50,17 +50,17 @@ $:/config/Plugins/Disabled/$(currentTiddler)$
<$list filter="[!has[draft.of]plugin-type[$type$]sort[description]]" emptyMessage=<<lingo "Empty/Hint">>> <$list filter="[!has[draft.of]plugin-type[$type$]sort[description]]" emptyMessage=<<lingo "Empty/Hint">>>
<$set name="popup-state" value=<<popup-state-macro>>> <$set name="popup-state" value=<<popup-state-macro>>>
<$reveal type="nomatch" state=<<plugin-disable-title>> text="yes"> <$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$">> <<plugin-table-body type:"$type$">>
</$link> </$link>
</$reveal> </$reveal>
<$reveal type="match" state=<<plugin-disable-title>> text="yes"> <$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'/>">> <<plugin-table-body type:"$type$" disabledMessage:"<$macrocall $name='lingo' title='Disabled/Status'/>">>
</$link> </$link>
</$reveal> </$reveal>
<$reveal type="match" text="yes" state=<<popup-state>>> <$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]]"> <$list filter="[all[current]] -[[$:/core]]">
<div style="float:right;"> <div style="float:right;">
<$reveal type="nomatch" state=<<plugin-disable-title>> text="yes"> <$reveal type="nomatch" state=<<plugin-disable-title>> text="yes">

View File

@ -4,7 +4,7 @@ tags: $:/tags/EditTemplate
\define lingo-base() $:/language/EditTemplate/Body/ \define lingo-base() $:/language/EditTemplate/Body/
<$list filter="[is[current]has[_canonical_uri]]"> <$list filter="[is[current]has[_canonical_uri]]">
<div class="tw-message-box"> <div class="tc-message-box">
<<lingo External/Hint>> <<lingo External/Hint>>

View File

@ -3,7 +3,7 @@ tags: $:/tags/EditTemplate
\define lingo-base() $:/language/EditTemplate/Shadow/ \define lingo-base() $:/language/EditTemplate/Shadow/
<$list filter="[all[current]get[draft.of]is[shadow]!is[tiddler]]"> <$list filter="[all[current]get[draft.of]is[shadow]!is[tiddler]]">
<div class="tw-message-box"> <div class="tc-message-box">
<<lingo Warning>> <<lingo Warning>>
@ -11,7 +11,7 @@ tags: $:/tags/EditTemplate
</$list> </$list>
<$list filter="[all[current]get[draft.of]is[shadow]is[tiddler]]"> <$list filter="[all[current]get[draft.of]is[shadow]is[tiddler]]">
<div class="tw-message-box"> <div class="tc-message-box">
<<lingo OverriddenWarning>> <<lingo OverriddenWarning>>

View File

@ -3,7 +3,7 @@ tags: $:/tags/ViewTemplate $:/tags/EditTemplate
\define lingo-base() $:/language/ClassicWarning/ \define lingo-base() $:/language/ClassicWarning/
<$list filter="[all[current]type[text/x-tiddlywiki]]"> <$list filter="[all[current]type[text/x-tiddlywiki]]">
<div class="tw-message-box"> <div class="tc-message-box">
<<lingo Hint>> <<lingo Hint>>

View File

@ -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//. //~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> <a class="tw-message-icon" href="http://tiddlywiki.com/" target="_blank">{{TiddlyWiki Classic.png}}</a>

File diff suppressed because one or more lines are too long

View File

@ -51,7 +51,7 @@ Rules copied from Snow White
text-shadow: 0 1px 0 rgba(255,255,255, 0.8); 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)">> <<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 */ /* 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; margin: 21px 0 21px 0;
} }

View File

@ -97,10 +97,10 @@ canvas.tc-edit-bitmapeditor {
<<background-linear-gradient "left, rgb(236,236,236) 0%, rgb(248,248,248) 100%">> <<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)">> <<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)">> <<box-shadow "2px 2px 4px rgba(0,0,0,0.2)">>
} }

View File

@ -466,7 +466,7 @@ button.tw-tag-label, span.tw-tag-label {
@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { @media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
.tw-message-box { .tc-message-box {
margin: 21px -21px 21px -21px; margin: 21px -21px 21px -21px;
} }
@ -780,7 +780,7 @@ canvas.tc-edit-bitmapeditor {
margin-right: 7px; margin-right: 7px;
} }
.tw-remove-tag-button { .tc-remove-tag-button {
padding-left: 4px; padding-left: 4px;
} }
@ -1248,7 +1248,7 @@ canvas.tc-edit-bitmapeditor {
width: 100%; width: 100%;
} }
.tw-plugin-info { .tc-plugin-info {
display: block; display: block;
border: 1px solid <<colour muted-foreground>>; border: 1px solid <<colour muted-foreground>>;
background-colour: <<colour background>>; background-colour: <<colour background>>;
@ -1256,37 +1256,37 @@ canvas.tc-edit-bitmapeditor {
padding: 8px; padding: 8px;
} }
.tw-plugin-info-disabled { .tc-plugin-info-disabled {
background: -webkit-repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px); 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); 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: -webkit-repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px);
background: 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; text-decoration: none;
background-color: <<colour primary>>; background-color: <<colour primary>>;
color: <<colour background>>; color: <<colour background>>;
} }
.tw-plugin-info-chunk { .tc-plugin-info-chunk {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
.tw-plugin-info img { .tc-plugin-info img {
width: 3em; width: 3em;
} }
.tw-plugin-info svg { .tc-plugin-info svg {
width: 3em; width: 3em;
height: 3em; height: 3em;
} }
.tw-plugin-info-dropdown { .tc-plugin-info-dropdown {
border: 1px solid <<colour muted-foreground>>; border: 1px solid <<colour muted-foreground>>;
padding: 1em 1em 1em 1em; padding: 1em 1em 1em 1em;
margin-top: -1em; margin-top: -1em;
@ -1296,7 +1296,7 @@ a.tc-tiddlylink.tw-plugin-info:hover {
** Message boxes ** Message boxes
*/ */
.tw-message-box { .tc-message-box {
border: 1px solid <<colour message-border>>; border: 1px solid <<colour message-border>>;
background: <<colour message-background>>; background: <<colour message-background>>;
padding: 0px 21px 0px 21px; padding: 0px 21px 0px 21px;
@ -1305,7 +1305,7 @@ a.tc-tiddlylink.tw-plugin-info:hover {
color: <<colour message-foreground>>; color: <<colour message-foreground>>;
} }
.tw-message-box img { .tc-message-box img {
float: right; float: right;
width: 150px; width: 150px;
margin: 0px 0px 12px 12px; margin: 0px 0px 12px 12px;