SPR-742: help toggle in content
This commit is contained in:
parent
89a4c45d5c
commit
575c6e7eaa
4 changed files with 38 additions and 0 deletions
35
css/plugins/folded.less
Normal file
35
css/plugins/folded.less
Normal file
|
@ -0,0 +1,35 @@
|
|||
/**
|
||||
* This file provides styles for the toggle "folded"
|
||||
*/
|
||||
|
||||
|
||||
/* + + + + + global + + + + + */
|
||||
|
||||
#dokuwiki__content {
|
||||
a.folder {
|
||||
background: transparent url("svg.php?svg=down.svg&f=existing") right center no-repeat;
|
||||
color: @ini_existing;
|
||||
padding-right: 20px;
|
||||
|
||||
&.open {
|
||||
background-image: url("svg.php?svg=up.svg&f=existing");
|
||||
}
|
||||
}
|
||||
|
||||
div.folded {
|
||||
box-shadow: @box-shadow-colored;
|
||||
border: 1px solid fade(@ini_existing, 50%);
|
||||
border-radius: 0;
|
||||
margin-top: -.7rem;
|
||||
margin-bottom: .7rem;
|
||||
padding: .5em;
|
||||
|
||||
p {
|
||||
margin: .5rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
span.folded {
|
||||
border: 1px dotted @ini_border;
|
||||
}
|
||||
}
|
1
img/down.svg
Normal file
1
img/down.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M7,10L12,15L17,10H7Z" /></svg>
|
After Width: | Height: | Size: 315 B |
1
img/up.svg
Normal file
1
img/up.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M7,15L12,10L17,15H7Z" /></svg>
|
After Width: | Height: | Size: 315 B |
|
@ -98,6 +98,7 @@ css/plugins/tagging.less = all
|
|||
css/plugins/include.less = all
|
||||
css/plugins/edittable.less = all
|
||||
css/plugins/extension__manager.less = all
|
||||
css/plugins/folded.less = all
|
||||
|
||||
|
||||
; _____________ print styles _____________
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue