|
|
|
@ -10,7 +10,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<span class:expanded on:click={toggle} on:keyup={toggle}>{name}</span>
|
|
|
|
<button class:expanded on:click={toggle}>{name}</button>
|
|
|
|
|
|
|
|
|
|
|
|
{#if expanded}
|
|
|
|
{#if expanded}
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
|
@ -27,12 +27,14 @@
|
|
|
|
{/if}
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
<style>
|
|
|
|
span {
|
|
|
|
button {
|
|
|
|
padding: 0 0 0 1.5em;
|
|
|
|
padding: 0 0 0 1.5em;
|
|
|
|
background: url(/tutorial/icons/folder.svg) 0 0.1em no-repeat;
|
|
|
|
background: url(/tutorial/icons/folder.svg) 0 0.1em no-repeat;
|
|
|
|
background-size: 1em 1em;
|
|
|
|
background-size: 1em 1em;
|
|
|
|
font-weight: bold;
|
|
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.expanded {
|
|
|
|
.expanded {
|
|
|
|
|