Commit 390660d3 authored by Kjetil Thuen's avatar Kjetil Thuen

Move styling out of plugin

parent 365ecd7e
......@@ -31,6 +31,11 @@
parameter object
*/
#listSightScope {
width: 100%;
left: 0;
min-height: 1em;
z-index: -2;
padding: 0px;
background-color: rgba(0,0,0,1);
}
......@@ -40,6 +45,10 @@
color: white;
margin-bottom: 0.5em;
overflow: auto;
width: 70%;
left: 15%;
z-index: 2;
max-height: 70%;
}
</style>
<script src="lib/jquery/jquery.js"></script>
......@@ -216,7 +225,7 @@
// Apply the plugin and pass it the callback to be called for selected elements
$('#philosopherList').listEntryInfo({
extendedInfoFunc: display_philosopher_article,
rememberLastSelected: true
rememberLastSelected: false
});
});
}
......
......@@ -221,11 +221,6 @@
}
$('<div></div>').attr('id', settings.sightScopeId).css({
width: '100%',
left: 0,
'min-height': '1em',
'z-index': '-2',
padding: '0px',
position: 'fixed',
top: settings.minTopDistance + "px",
display: 'none',
......@@ -234,11 +229,7 @@
if ($("#" + settings.itemInfoDivId).length === 0) {
$('<div></div>').attr('id', settings.itemInfoDivId).css({
position: 'fixed',
width: '70%',
left: '15%',
'z-index': 2,
display: 'none',
'max-height': '70%',
top: settings.minTopDistance + $('#' + settings.sightScopeId).height() + "px",
}).insertAfter(peekedList);
}
......
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