2017-11-19 14:57:53 +01:00
|
|
|
/*
|
|
|
|
* As you may have guessed, a little custom css is part of our project.
|
|
|
|
*/
|
|
|
|
|
2017-11-15 21:01:28 +01:00
|
|
|
body {
|
|
|
|
padding-top: 5rem;
|
|
|
|
}
|
|
|
|
|
2017-12-30 12:23:40 +01:00
|
|
|
.container {
|
|
|
|
max-width: 1440px; /* Override bootstrap maximum width */
|
|
|
|
}
|
|
|
|
|
2017-11-16 23:57:21 +01:00
|
|
|
.content-box {
|
2017-12-29 21:00:37 +01:00
|
|
|
padding: 1rem 0.5rem;
|
2017-11-15 21:01:28 +01:00
|
|
|
text-align: center;
|
2017-11-16 23:57:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.chart-box {
|
2017-12-29 22:31:07 +01:00
|
|
|
/*border: 1px solid grey;*/
|
2017-11-16 23:57:21 +01:00
|
|
|
}
|
2017-11-18 12:49:33 +01:00
|
|
|
|
|
|
|
/* This container will allow scaling svg, so we don't need to care about it in d3.js */
|
|
|
|
.svg-container {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
padding-bottom: 100%; /* aspect ratio */
|
|
|
|
vertical-align: top;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-content-responsive {
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0; /* not 10px, but 0 instead */
|
|
|
|
left: 0;
|
|
|
|
}
|
2017-12-11 01:26:27 +01:00
|
|
|
|
|
|
|
.line {
|
|
|
|
fill: none;
|
2017-12-15 14:00:44 +01:00
|
|
|
stroke-width: 2px;
|
2017-12-11 01:26:27 +01:00
|
|
|
}
|
2017-12-22 09:40:26 +01:00
|
|
|
|
2017-12-30 18:38:01 +01:00
|
|
|
#courseSelection li.hover { background-color: rgba(0, 123, 255, 0.3); }
|
|
|
|
#courseSelection li.selected { border-color: #007bff; }
|
|
|
|
|
|
|
|
.frame { width: 100%; height: 185px; padding: 4px; border: 1px solid rgba(0,0,0,.125); border-radius: calc(.25rem - 1px); background-color: rgba(0,0,0,.03); }
|
2017-12-22 09:40:26 +01:00
|
|
|
.frame .slidee { margin: 0; padding: 0; height: 100%; list-style: none; }
|
2017-12-30 18:33:57 +01:00
|
|
|
.frame .slidee li { float: left; margin: 0 5px 0 0; padding: 0; width: 150px; height: 100%; border: 1px solid rgba(0,0,0,.125); background-color: white; }
|
2017-12-22 09:40:26 +01:00
|
|
|
|
|
|
|
.scrollbar {
|
|
|
|
width: 100%;
|
2017-12-29 22:36:53 +01:00
|
|
|
height: 16px;
|
2017-12-29 21:00:37 +01:00
|
|
|
margin-top: 4px;
|
2017-12-30 18:33:57 +01:00
|
|
|
background-color: rgba(0,0,0,.03);
|
|
|
|
border: 1px solid rgba(0,0,0,.125);
|
2017-12-22 09:40:26 +01:00
|
|
|
}
|
|
|
|
.scrollbar .handle {
|
|
|
|
width: 100px; /* overriden if dynamicHandle: 1 */
|
|
|
|
height: 100%;
|
2017-12-30 18:33:57 +01:00
|
|
|
background: #868e96;
|
2017-12-22 09:40:26 +01:00
|
|
|
}
|
|
|
|
|
2017-12-30 18:38:01 +01:00
|
|
|
.scrollbar .handle:hover { background-color: rgba(0, 123, 255, 1); }
|
|
|
|
|
2017-12-29 16:55:54 +01:00
|
|
|
.coursename {
|
|
|
|
font-size: 8pt;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.courseimagecontainer {
|
|
|
|
height: 75%;
|
|
|
|
width: 100%;
|
|
|
|
height: 7em;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.courseimage {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2017-12-29 22:36:53 +01:00
|
|
|
|
2017-12-30 14:51:29 +01:00
|
|
|
.card-body{
|
|
|
|
padding-top: 0.75rem;
|
|
|
|
padding-right: 1.25rem;
|
|
|
|
padding-bottom: 0.5rem;
|
|
|
|
padding-left: 1.25rem;
|
|
|
|
}
|
|
|
|
|
2017-12-29 23:45:10 +01:00
|
|
|
#toggle-btn{
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2017-12-29 22:36:53 +01:00
|
|
|
#icon-up-arrow{
|
|
|
|
width: 1%;
|
|
|
|
height: 1%;
|
|
|
|
}
|