Commit 672b5e4f authored by Kjetil Thuen's avatar Kjetil Thuen

Removed some more css rules better handled by plugin

parent 569fa1c1
......@@ -164,7 +164,7 @@
distanceFromTargetToViewportEnd = viewPortHeight - targetTop - $('#' + settings.targetId).height();
if (distanceFromListEndToBodyEnd < distanceFromTargetToViewportEnd) {
// peekedList.css("padding-bottom", "+=" + (distanceFromTargetToViewportEnd - distanceFromListEndToBodyEnd));
peekedList.css("padding-bottom", "+=" + (distanceFromTargetToViewportEnd - distanceFromListEndToBodyEnd));
}
};
......
......@@ -8,38 +8,25 @@ body {
background-color: rgba(0,0,0,0.8);
}
ul#studies_list li:first-child {
}
ul#studies_list {
width: 80%;
margin: auto;
}
ul#studies_list li:last-child {
margin-bottom: 20em;
}
ul#studies_list li {
color: #5f5a49;
overflow: hidden;
border-bottom: 1px solid #5f5a49;
}
ul#studies_list li.selected {
color: #eee;
}
div.metadata div.abstract {
max-height: 6em;
margin-bottom: 0.5em;
overflow: hidden;
color: white;
padding: 0em 1em 1em 1em;
#studies_list li div.study_title {
margin: 0px;
padding: 0.5em;
z-index: 3;
}
#expander button {
margin: 0 0 1em 1em ;
ul#studies_list li.selected {
color: #eee;
}
#target {
......@@ -50,9 +37,14 @@ div.metadata div.abstract {
background-color: rgba(0,0,0,0.8);
}
#studies_list li div.study_title {
margin: 0px;
padding: 0.5em;
z-index: 3;
#expander button {
margin: 0 0 1em 1em ;
}
div.metadata div.abstract {
max-height: 6em;
margin-bottom: 0.5em;
overflow: hidden;
color: white;
padding: 0em 1em 1em 1em;
}
......@@ -2,6 +2,7 @@ head.js("http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js")
.js("http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.min.js")
.js("http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js")
.js("listPeek.js")
//Precompiled handlebars templates. Compile using handlebars util before deploying
.js("studymetadata_template.js")
.js("studylist_template.js", function() {
var jsondata = {};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment