Skip to content

Commit

Permalink
update to latest fullcalendar, update css accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
dxue2012 committed Dec 2, 2015
1 parent 3e31dea commit 78c3b03
Show file tree
Hide file tree
Showing 11 changed files with 1,400 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"chai": "~1.10.0",
"flatstrap": "~3.3.1",
"fontawesome": "~4.0.3",
"fullcalendar": "2.2.4",
"fullcalendar": "2.5.0",
"imagesloaded": "3.0.0",
"jquery-ui": "~1.11.0",
"jquery.cookie": "~1.4.1",
Expand Down
61 changes: 61 additions & 0 deletions course_selection/static/less/calendar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
.fc-unthemed .fc-today {
background-color: white;
}
.calendar {
background-color: white;
}
.fc-event {
border-right-style: none;
border-top-style: none;
border-left-width: 4px;
border-bottom-style: none;
border-radius: 0;
}
.fc-event:hover {
cursor: pointer;
overflow: visible;
}
.fc-event:hover .fc-location {
visibility: visible;
}
.fc-event .fc-location {
visibility: hidden;
}
.cal-unconfirmed {
background: url('../images/stripe.png') repeat #c0c0c0;
opacity: 0.8;
border-left-color: transparent !important;
}
.fc-toolbar {
margin-bottom: 0;
height: 0;
}
.fc-time-grid-event .fc-time,
.fc-time-grid-event .fc-title {
padding: 0 3px;
}
.fc-time-grid-event .fc-title {
font-weight: bold;
}
.fc-slats td {
height: 2.6vh;
}
.fc-time-grid .fc-slats .fc-minor td {
border-top-style: none;
}
.fc-axis {
display: none;
}
.qtip-recal {
border-radius: 4px;
box-shadow: none;
}
/*
.fc-ltr .fc-axis {
color: @calendar-dark-font-color;
}
.fc-day-header {
color: @calendar-dark-font-color;
}
*/
2 changes: 1 addition & 1 deletion course_selection/static/less/calendar.less
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
height: 2.6vh;
}

.fc-slats .fc-minor td {
.fc-time-grid .fc-slats .fc-minor td {
border-top-style: none;
}

Expand Down
7 changes: 7 additions & 0 deletions course_selection/static/less/course-evaluation.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* make course evaluation fill up the entire viewport
*/
#courseEvaluation {
height: 100vh;
width: 100vw;
}
Loading

0 comments on commit 78c3b03

Please sign in to comment.