1/** 2 * LESS for MediaList plugin for DokuWiki 3 */ 4 5.dokuwiki { 6 div.medialist { 7 div.mediamanager { 8 float: right; 9 font-size: 80%; 10 } 11 } 12 13 div.info { 14 margin-left: 3em; 15 max-width: 60%; 16 } 17 18 ul.medialist { 19 list-style: none; 20 margin-left: 0; 21 li { 22 margin-left: 1.2em; 23 text-indent: -1.2em; 24 } 25 input[type=checkbox] { 26 font-size: 100%; 27 opacity: 0.00; 28 width: 1.2em; 29 } 30 input[type=checkbox]+label { 31 &::before { 32 content: "\2610"; // ☐ ballot box 33 display: inline-block; 34 opacity: 0.40; 35 vertical-align: top; 36 } 37 } 38 input[type=checkbox]:checked+label { 39 &::before { 40 content: "\2611"; // ☑ ballot box with check 41 } 42 } 43 a.linked { 44 font-weight: bold; 45 } 46 span.mediainfo { 47 font-size: 90%; 48 } 49 } 50 51} 52 53