mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
Style tweaks for tags
This commit is contained in:
parent
6584939114
commit
652088009b
@ -80,18 +80,20 @@ a.tw-tiddlylink-missing {
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.tw-tag-label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 2px 4px;
|
padding: 2px 4px;
|
||||||
font-size: 11.844px;
|
font-size: 11.844px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.44);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
background-color: #999999;
|
background-color: #999999;
|
||||||
|
border: 1px solid rgba(0,0,0,0.22);
|
||||||
<<border-radius 3px>>
|
<<border-radius 3px>>
|
||||||
|
<<box-shadow "inset 1px 1px 0 rgba(255,255,255,0.22)">>
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-header {
|
.edit-header {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
title: $:/templates/TagTemplate
|
title: $:/templates/TagTemplate
|
||||||
|
|
||||||
<$button popup="tagpopup" qualifyTiddlerTitles="yes" class="btn-invisible"><$setstyle name="background-color" value={{!!color}} class="label"><$view field="title" format="text" /></$setstyle></$button>
|
<$button popup="tagpopup" qualifyTiddlerTitles="yes" class="btn-invisible"><$setstyle name="background-color" value={{!!color}} class="tw-tag-label"><$view field="title" format="text" /></$setstyle></$button>
|
||||||
<$reveal state="tagpopup" type="popup" position="below" qualifyTiddlerTitles="yes" ><div class="tw-drop-down">
|
<$reveal state="tagpopup" type="popup" position="below" qualifyTiddlerTitles="yes" ><div class="tw-drop-down">
|
||||||
<$view field="title" format="link" />
|
<$view field="title" format="link" />
|
||||||
----
|
----
|
||||||
|
Loading…
Reference in New Issue
Block a user