diff --git a/static/css/calendar.css b/static/css/calendar.css index 7a587f8..a41634a 100644 --- a/static/css/calendar.css +++ b/static/css/calendar.css @@ -120,7 +120,7 @@ html[xmlns] .clearfix { .calendar .clndr .clndr-table .header-days { height: 30px; font-size: 10px; - background: #0D70A6; + background: #506EE4; } .calendar .clndr .clndr-table .header-days .header-day { vertical-align: middle; @@ -139,8 +139,7 @@ html[xmlns] .clearfix { vertical-align: top; } .calendar .clndr .clndr-table tr .day { - border-left: 1px solid #000000; - border-top: 1px solid #000000; + border: 1px solid #000000; width: 100%; height: inherit; } @@ -149,23 +148,15 @@ html[xmlns] .clearfix { } .calendar .clndr .clndr-table tr .day.today, .calendar .clndr .clndr-table tr .day.my-today { - background: #9AD6E3; -} -.calendar .clndr .clndr-table tr .day.today:hover, -.calendar .clndr .clndr-table tr .day.my-today:hover { - background: #72c6d8; -} -.calendar .clndr .clndr-table tr .day.today.event, -.calendar .clndr .clndr-table tr .day.my-today.event { - background: #a7dbc1; + box-shadow: inset 0 0 0 2px black; } .calendar .clndr .clndr-table tr .day.event, .calendar .clndr .clndr-table tr .day.my-event { - background: #B4E09F; + background: #a0b3ff; } .calendar .clndr .clndr-table tr .day.event:hover, .calendar .clndr .clndr-table tr .day.my-event:hover { - background: #96d478; + background: #91a3eb; } .calendar .clndr .clndr-table tr .day.inactive, .calendar .clndr .clndr-table tr .day.my-inactive { @@ -228,3 +219,28 @@ html[xmlns] .clearfix { opacity: 0.5; cursor: default; } + +/* +.calendar .clndr .clndr-table tr .day.selected { + outline: 2px dotted black; + outline-offset: -4px; +} +*/ + +.calendar { + height: 578px; + overflow: hidden; +} + +.clndr > .clndr-main > .events { + display: none; + + position: relative; + top: -541px; + height: 541px; + background: #fff; +} + +.clndr > .clndr-main.show-event-menu > .events { + display: block; +} \ No newline at end of file diff --git a/static/css/custom.css b/static/css/custom.css index 64cdbaf..71b1071 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -12,3 +12,12 @@ html, body { padding: 8px; } +.content { + display: grid; + grid-template-columns: repeat(4, 25%); + grid-template-rows: repeat(4, 25%); + grid-column-gap: 8px; + grid-row-gap: 8px; + margin-right: 20px; +} + diff --git a/templates/layout/dash.html b/templates/layout/dash.html index cc0ed3a..241d047 100644 --- a/templates/layout/dash.html +++ b/templates/layout/dash.html @@ -17,7 +17,9 @@
{% include 'layout/includes/top_nav.html' %} +
{% block content %}{% endblock %} +
diff --git a/templates/modules/calendar.html b/templates/modules/calendar.html index 577ebe5..110a244 100644 --- a/templates/modules/calendar.html +++ b/templates/modules/calendar.html @@ -1,21 +1,89 @@ -
+
+ + +
+ {% endblock %} \ No newline at end of file