mirror of
https://github.com/eosswedenorg/apt
synced 2026-06-18 04:50:03 +02:00
Remove the old collapse js/scss code.
This commit is contained in:
parent
854317c90e
commit
a9f2d41f13
4 changed files with 1 additions and 27 deletions
|
|
@ -1,8 +0,0 @@
|
||||||
|
|
||||||
.collapse-trigger {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.collapsed {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
@ -9,7 +9,6 @@
|
||||||
@import "layout/footer";
|
@import "layout/footer";
|
||||||
|
|
||||||
@import "component/button";
|
@import "component/button";
|
||||||
@import "component/collapse";
|
|
||||||
@import "component/search";
|
@import "component/search";
|
||||||
|
|
||||||
@import "misc";
|
@import "misc";
|
||||||
|
|
|
||||||
|
|
@ -23,23 +23,6 @@ Alpine.data('searchComponent', alpine_search)
|
||||||
Alpine.start()
|
Alpine.start()
|
||||||
|
|
||||||
|
|
||||||
// ------------------------------------------
|
|
||||||
// Collapse
|
|
||||||
// ------------------------------------------
|
|
||||||
|
|
||||||
$('.collapse-trigger').click(function() {
|
|
||||||
|
|
||||||
// Find target via "data-target" attribute.
|
|
||||||
var target_id = $(this).attr('data-target');
|
|
||||||
|
|
||||||
if (target_id) {
|
|
||||||
var target = $(document).find('#' + target_id);
|
|
||||||
|
|
||||||
// Toggle "collapsed" class on target.
|
|
||||||
$(target).toggleClass('collapsed');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// ------------------------------------------
|
// ------------------------------------------
|
||||||
// Copy code blocks to clipboard
|
// Copy code blocks to clipboard
|
||||||
// ------------------------------------------
|
// ------------------------------------------
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue