1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 19:10:28 +00:00

Style tweaks for tags

This commit is contained in:
Jeremy Ruston 2013-02-08 09:23:54 +00:00
parent 6584939114
commit 652088009b
2 changed files with 5 additions and 3 deletions

View File

@ -80,18 +80,20 @@ a.tw-tiddlylink-missing {
border: none;
}
.label {
.tw-tag-label {
display: inline-block;
padding: 2px 4px;
font-size: 11.844px;
font-weight: bold;
line-height: 14px;
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;
vertical-align: baseline;
background-color: #999999;
border: 1px solid rgba(0,0,0,0.22);
<<border-radius 3px>>
<<box-shadow "inset 1px 1px 0 rgba(255,255,255,0.22)">>
}
.edit-header {

View File

@ -1,6 +1,6 @@
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">
<$view field="title" format="link" />
----