Chapters fading when all its challenges are completed
Also, removing the decoration after click.
This commit is contained in:
@ -91,17 +91,16 @@
|
|||||||
|
|
||||||
.map-buttons {
|
.map-buttons {
|
||||||
margin-top: -10px;
|
margin-top: -10px;
|
||||||
}
|
& button,
|
||||||
.map-buttons button,
|
& .input-group{
|
||||||
.map-buttons .input-group{
|
|
||||||
width:300px;
|
width:300px;
|
||||||
}
|
}
|
||||||
|
.input-group{
|
||||||
.map-buttons .input-group{
|
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#map-filter {
|
#map-filter {
|
||||||
background:#fff;
|
background:#fff;
|
||||||
@ -134,6 +133,14 @@
|
|||||||
#nested {
|
#nested {
|
||||||
margin:0 15px;
|
margin:0 15px;
|
||||||
}
|
}
|
||||||
|
a:focus {
|
||||||
|
text-decoration: none;
|
||||||
|
color:darkgreen;
|
||||||
|
}
|
||||||
|
a:focus:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
color:#001800;
|
||||||
|
}
|
||||||
h2 > a {
|
h2 > a {
|
||||||
width:100%;
|
width:100%;
|
||||||
display:block;
|
display:block;
|
||||||
@ -156,15 +163,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
div.chapterBlock :before {
|
div.chapterBlock {
|
||||||
|
:before {
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
p {
|
||||||
div.chapterBlock p {
|
|
||||||
text-indent: -15px;
|
text-indent: -15px;
|
||||||
margin-left: 60px;
|
margin-left: 60px;
|
||||||
padding-right: 20px
|
padding-right: 20px
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.challengeBlockDescription {
|
.challengeBlockDescription {
|
||||||
margin:0;
|
margin:0;
|
||||||
|
@ -312,7 +312,7 @@ $(document).ready(function() {
|
|||||||
if ($(div).find('.manip-hidden').length ===
|
if ($(div).find('.manip-hidden').length ===
|
||||||
$(div).find('p').length) {
|
$(div).find('p').length) {
|
||||||
collapseBlock(div);
|
collapseBlock(div);
|
||||||
$(div).find('h3 > a').addClass('faded');
|
$(div).prev('h3').addClass('faded');
|
||||||
$(div).prev('h2').addClass('faded');
|
$(div).prev('h2').addClass('faded');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user