Repository :
http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
---------------------------------------------------------------
commit 0bf47905b5796fb99e27ab62afccd4a89f48976b
Author: Johan Cwiklinski <johan(a)x-tnd.be>
Date: Mon Nov 5 19:58:22 2012 +0100
Style homepage ling as other menu entries
---------------------------------------------------------------
fedocal/static/calendar-small.png | Bin 0 -> 1040 bytes
fedocal/static/fedocal.css | 30 ++++++++++++++++++++++++++++++
fedocal/templates/master.html | 6 +++---
3 files changed, 33 insertions(+), 3 deletions(-)
diff --git a/fedocal/static/calendar-small.png b/fedocal/static/calendar-small.png
new file mode 100644
index 0000000..53abbca
Binary files /dev/null and b/fedocal/static/calendar-small.png differ
diff --git a/fedocal/static/fedocal.css b/fedocal/static/fedocal.css
index 7754360..d0d40ad 100644
--- a/fedocal/static/fedocal.css
+++ b/fedocal/static/fedocal.css
@@ -185,3 +185,33 @@ section nav {
.ui-menu-item {
white-space: nowrap;
}
+
+#home {
+ cursor: pointer;
+ position: relative;
+ margin-top: 2px;
+ padding: .5em .5em .5em 2.2em;
+ border: 1px solid #dddddd;
+ background-color: #fff;
+ background-image: url("calendar-small.png"),
url(fedocal/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png);
+ background-position: .5em 50%, 50% 50%;
+ background-repeat: no-repeat, repeat-x;
+ color: #3C6EB4;
+ font-size: 1.1em;
+ font-family: Helvetica,Arial,sans-serif;
+}
+
+#home:hover {
+ border: 1px solid #3c6eb4;
+ background-color: #3c6eb4;
+ background-image: url("calendar-small.png"),
url(fedocal/images/ui-bg_highlight-soft_25_3c6eb4_1x100.png);
+ color: #fff;
+}
+
+#home a {
+ color: #3C6EB4;
+}
+
+#home:hover a {
+ color: #fff;
+}
diff --git a/fedocal/templates/master.html b/fedocal/templates/master.html
index ed2d9fb..895d7cb 100644
--- a/fedocal/templates/master.html
+++ b/fedocal/templates/master.html
@@ -37,9 +37,9 @@
<aside id="mainmenu">
{% autoescape off%}{{ curmonth_cal }}{% endautoescape %}
- <ul class="checkmark-list">
- <li><a
href="{{url_for('index')}}">Home</a></li>
- </ul>
+ <h4 id="home" class="ui-corner-all
ui-helper-reset">
+ <a href="{{url_for('index')}}">Home</a>
+ </h4>
<div id="accordion">
<h4>Calendars</h4>
<ul id="calendars_menu" class="checkmark-list">