aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Alex Bitney2016-02-07 21:54:55 +0200
committerGravatar Vitaly Takmazov2016-02-07 23:07:56 +0300
commit8012bef3931221133d656c22399c4c8ec582e52e (patch)
tree08811226fad88a27618c1f44d293ae3b94143e14 /src
parent7619efb1a3f7148c9642a11cf181923415da63a4 (diff)
fixed tags display
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/templates/parts/post_form.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main/resources/templates/parts/post_form.html b/src/main/resources/templates/parts/post_form.html
index a5b9f032..c81152c7 100644
--- a/src/main/resources/templates/parts/post_form.html
+++ b/src/main/resources/templates/parts/post_form.html
@@ -11,8 +11,8 @@
<input type="text" class="tags" name="tags" id="post_tags"/><br/>
<input type="submit" class="subm" value="Отправить"/>
</div>
- <div id="newmessage_tags" style="padding-top: 10pt">
- <span style="display: none; background-color: #1277aa; color: white; padding: 2pt 2pt; font-size: 9pt; margin: 2pt 2pt">
+ <div id="newmessage_tags" style="padding-top: 10pt; line-height: 170%;">
+ <span style="display: none; background-color: #ddddd5; color: black; padding: 4pt; font-size: 9pt; cursor: pointer">
sample
</span>
</div>
@@ -45,16 +45,17 @@
}, 50)
};
item.onmouseover = function() {
- item.style.fontStyle = "bold";
- item.style.backgroundColor = "#2ba4e3";
+ item.style.textDecoration = "underline";
+ //item.style.backgroundColor = "#2ba4e3";
};
item.onmouseout = function() {
- item.style.fontStyle = "";
- item.style.backgroundColor = template.style.backgroundColor;
+ item.style.textDecoration = "";
+ //item.style.backgroundColor = template.style.backgroundColor;
};
};
q(nextItem);
mtags.appendChild(nextItem);
+ mtags.appendChild(document.createTextNode(" "));
}
});
newmessage_toggleOpen = function() {}