From 63f52dad9e2fbbc7378e6cc4d7d8ebed8be24717 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 8 Feb 2013 11:12:33 +0000 Subject: [PATCH] Tag style tweaks Added a hover effect --- core/styles/base.tid | 16 +++++++++++++++- core/templates/ViewTemplate.tid | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/core/styles/base.tid b/core/styles/base.tid index 120ab63d0..3ba02c199 100644 --- a/core/styles/base.tid +++ b/core/styles/base.tid @@ -80,6 +80,10 @@ a.tw-tiddlylink-missing { border: none; } +.tw-tags-wrapper { + margin: 0.25em 0 1em 0; +} + .tw-tag-label { display: inline-block; padding: 2px 4px; @@ -91,11 +95,15 @@ a.tw-tiddlylink-missing { white-space: nowrap; vertical-align: baseline; background-color: #999999; - border: 1px solid rgba(0,0,0,0.22); + border: 1px solid rgba(0,0,0,0.0); <> <> } +.tw-tag-label:hover { + <> +} + .edit-header { } @@ -167,6 +175,12 @@ a.tw-tiddlylink-missing { padding: 0em 1em 0em 1em; } +.tw-drop-down a:hover { + color: {{$:/core/styles/colourmappings##linkbackground}}; + background-color: {{$:/core/styles/colourmappings##linkforeground}}; + text-decoration: none; +} + .tw-edit-texteditor input, .tw-edit-texteditor textarea { width: 100%; } diff --git a/core/templates/ViewTemplate.tid b/core/templates/ViewTemplate.tid index e671679f6..d6a2c5b36 100644 --- a/core/templates/ViewTemplate.tid +++ b/core/templates/ViewTemplate.tid @@ -11,7 +11,7 @@ modifier: JeremyRuston
<$view field="modifier" format="link"/> <$view field="modified" format="date"/>
-@@.tw-tags-wrapper <$list filter="[is[current]tags[]]" template="$:/templates/TagTemplate" />@@ +
<$list filter="[is[current]tags[]]" template="$:/templates/TagTemplate" />
<$view field="text" format="wikified">