1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

Enable doc section expand/collapse

Closes #170
This commit is contained in:
HarveyKandola 2019-06-05 11:09:24 +01:00
parent 99a5418dba
commit 8baad7e2f0
22 changed files with 229 additions and 102 deletions

View file

@ -438,3 +438,11 @@ icons
.dicon-move-layer-up::before {
content: "\ea5d";
}
.dicon-alpha-order::before {
content: "\ea5e";
}
.dicon-enlarge::before {
content: "\ea5f";
}

View file

@ -20,6 +20,21 @@
}
}
// Allows for icon to be placed top right corner of sidebar zone.
// Expects icon to be placed in the zone.
> .custom-action {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
color: map-get($gray-shades, 500);
font-size: 1rem;
&:hover {
color: map-get($gray-shades, 800);
}
}
> .section {
margin: 0;
padding: 0 7px;

View file

@ -55,6 +55,14 @@
color: map-get($yellow-shades, 700);
}
}
> i.expand {
color: map-get($green-shades, 500);
&:hover {
color: map-get($green-shades, 700);
}
}
}
}