Merge remote-tracking branch 'origin/master' into feature/brian/pearson-reg
This commit is contained in:
BIN
lms/static/images/bullet-closed.png
Normal file
BIN
lms/static/images/bullet-closed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 230 B |
BIN
lms/static/images/bullet-open.png
Normal file
BIN
lms/static/images/bullet-open.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 219 B |
10
lms/static/js/faq.js
Normal file
10
lms/static/js/faq.js
Normal file
@@ -0,0 +1,10 @@
|
||||
$(document).ready(function() {
|
||||
var open_question = "";
|
||||
var question_id;
|
||||
|
||||
$('.response').click(function(){
|
||||
$(this).toggleClass('opened');
|
||||
answer = $(this).find(".answer");
|
||||
answer.slideToggle('fast');
|
||||
});
|
||||
});
|
||||
@@ -194,9 +194,30 @@
|
||||
margin-bottom: 40px;
|
||||
|
||||
h3 {
|
||||
background: url('/static/images/bullet-closed.png') no-repeat left 0.25em;
|
||||
font-family: $sans-serif;
|
||||
font-weight: 700;
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 10px;
|
||||
padding-left: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.answer {
|
||||
display: none;
|
||||
color: #3c3c3c;
|
||||
padding-left: 16px;
|
||||
font-family: $serif;
|
||||
li {
|
||||
line-height: 1.6em;
|
||||
}
|
||||
}
|
||||
|
||||
// opened states
|
||||
&.opened {
|
||||
|
||||
h3 {
|
||||
background: url('/static/images/bullet-open.png') no-repeat left 0.25em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user