summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2016-04-05 14:48:03 -0300
committerChristian Franke <nobody@nowhere.ws>2016-04-05 14:48:03 -0300
commit6fb1deda0d09fa1be55888e878e6cacef0da1b65 (patch)
tree24f0964d50027d764d05f60563a0fa6265a7d8d1 /public
parentc7b404d07d40a795427dcc7459248d56ec34935a (diff)
Use different template to render tabcalendar
Diffstat (limited to 'public')
-rw-r--r--public/css/sublab.calendar.css7
-rw-r--r--public/js/calendar.js3
2 files changed, 6 insertions, 4 deletions
diff --git a/public/css/sublab.calendar.css b/public/css/sublab.calendar.css
index bb59a18..5e3b15e 100644
--- a/public/css/sublab.calendar.css
+++ b/public/css/sublab.calendar.css
@@ -47,7 +47,6 @@
border-right: 1px solid #1c1e22 ! important;
border-bottom: 1px solid #1c1e22 ! important;
}
-
.tabcal-day {
text-align: right;
}
@@ -70,3 +69,9 @@
.tabcal-cell>ul>li {
padding-left: 4px;
}
+.tabcalendar-event-details .name {
+ font-weight: bold;
+}
+.tabcalendar-event-details .date {
+ font-size: 0.8em;
+}
diff --git a/public/js/calendar.js b/public/js/calendar.js
index d3313af..2f402ae 100644
--- a/public/js/calendar.js
+++ b/public/js/calendar.js
@@ -1,7 +1,4 @@
$(function() {
- cal_list = $('.calendar-listing');
- if (cal_list.length && cal_list[0].classList.contains('expanded'))
- return;
$('.calendar-listing>p').click(function() {
$(this).next().toggle('fast');
return false;