forked from external-repos/pa11y-dashboard
Issue 30 - Refactor date selector navigation to be non-js friendly
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -54,11 +54,13 @@ $(document).ready(function(){
|
||||
// Back to top links
|
||||
toTopLinks.click( function(e){
|
||||
e.preventDefault();
|
||||
$(animateSection($('#top'), -75));
|
||||
$(animateSection($('#top'), -55));
|
||||
});
|
||||
|
||||
switchStandardsList(standardSelect);
|
||||
$('.rules-list-title').addClass('hidden');
|
||||
$('.date-links').removeClass('date-links list-group').addClass('dropdown-menu');
|
||||
$('.dropdown-menu a').removeClass('list-group-item active');
|
||||
|
||||
standardSelect.change( function(){
|
||||
switchStandardsList($(this));
|
||||
|
@@ -17,4 +17,10 @@
|
||||
margin-top:0;
|
||||
border-radius: 3px 3px 0 0;
|
||||
}
|
||||
.dropdown-toggle {
|
||||
display:none;
|
||||
}
|
||||
.show-class {
|
||||
display:block;
|
||||
}
|
||||
}
|
@@ -48,6 +48,26 @@
|
||||
margin-top:0;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
.date-links {
|
||||
.list-unstyled();
|
||||
max-height:190px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.list-group {
|
||||
li .list-group-item {
|
||||
border-radius:0;
|
||||
margin-bottom:-1px;
|
||||
}
|
||||
li:first-child .list-group-item {
|
||||
border-top-left-radius:3px;
|
||||
border-top-right-radius:3px;
|
||||
}
|
||||
li:last-child .list-group-item {
|
||||
border-bottom-left-radius:3px;
|
||||
border-bottom-right-radius:3px;
|
||||
margin-bottom:0;
|
||||
}
|
||||
}
|
||||
.delete-button {
|
||||
position:absolute;
|
||||
top:5px;
|
||||
|
Reference in New Issue
Block a user