1/** 2 * This file provides styles for the recent changes (?do=recent) and 3 * old revisions (?do=revisions). 4 */ 5 6/*____________ list of revisions / recent changes ____________*/ 7 8/* select type of revisions (media/pages) */ 9.dokuwiki .changeType { 10 margin-bottom: .5em; 11} 12 13.dokuwiki form.changes ul li { 14 list-style: none; 15 margin-left: 0; 16} 17[dir=rtl] .dokuwiki form.changes ul li { 18 margin-right: 0; 19} 20.dokuwiki form.changes ul li span, 21.dokuwiki form.changes ul li a { 22 vertical-align: middle; 23} 24.dokuwiki form.changes ul li span.user a { 25 vertical-align: bottom; 26} 27.dokuwiki form.changes ul li.minor { 28 opacity: .7; 29} 30 31.dokuwiki form.changes li span.date { 32} 33.dokuwiki form.changes li a.diff_link { 34 vertical-align: baseline; 35} 36.dokuwiki form.changes li a.revisions_link { 37 vertical-align: baseline; 38} 39.dokuwiki form.changes li a.wikilink1, 40.dokuwiki form.changes li a.wikilink2 { 41} 42.dokuwiki form.changes li span.sum { 43 font-weight: bold; 44} 45.dokuwiki form.changes li span.user { 46} 47 48/*____________ size differences ____________*/ 49 50.dokuwiki form.changes li .sizechange { 51 font-size: 80%; 52 border-radius: .2em; 53 padding: .1em .2em; 54 /* cannot use non-guaranteed style.ini colour placeholders, dark templates need to overwrite */ 55 background-color: #ddd; 56} 57 58.dokuwiki form.changes li .sizechange.positive { 59 background-color: rgba(64,192,87,.15); 60 color: var(--color-green-3); 61} 62.dokuwiki form.changes li .sizechange.negative { 63 background-color: rgba(250,82,82,.15); 64 color: var(--color-red-3); 65} 66 67/*____________ page navigator ____________*/ 68 69.dokuwiki div.pagenav { 70 text-align: center; 71 margin: 1.4em 0; 72} 73.dokuwiki div.pagenav-prev, 74.dokuwiki div.pagenav-next { 75 display: inline; 76 margin: 0 .5em; 77} 78 79#page__revisions ul li { 80 padding: 0.25rem 0; 81} 82 83/* diff custom icon */ 84 85.dokuwiki form.changes li a.diff_link, 86.dokuwiki form.changes li a.revisions_link, 87a:has(img[title="Show differences to current revisions"]), 88a:has(img[title="Old revisions"]) { 89 vertical-align: middle; 90 display: inline-block; 91 width: 1rem; 92 height: 1rem; 93} 94 95.dokuwiki form.changes li a.diff_link img, 96.dokuwiki form.changes li a.revisions_link img, 97a:has(img[title="Show differences to current revisions"]) img, 98a:has(img[title="Old revisions"]) img { 99 display: none; 100} 101 102.dokuwiki form.changes li a.diff_link::before, 103.dokuwiki form.changes li a.revisions_link::before, 104a:has(img[title="Show differences to current revisions"])::before { 105 width: 16px; 106 height: 16px; 107} 108 109.dokuwiki form.changes li a.diff_link::before, 110a:has(img[title="Show differences to current revisions"])::before { 111 content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-stereo-glasses" width="16" height="16" viewBox="0 0 24 24" stroke-width="2" stroke="%23696969" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M8 3h-2l-3 9" /><path d="M16 3h2l3 9" /><path d="M3 12v7a1 1 0 0 0 1 1h4.586a1 1 0 0 0 .707 -.293l2 -2a1 1 0 0 1 1.414 0l2 2a1 1 0 0 0 .707 .293h4.586a1 1 0 0 0 1 -1v-7h-18z" /><path d="M7 16h1" /><path d="M16 16h1" /></svg>'); 112} 113.dokuwiki form.changes li a.diff_link:hover::before, 114a:hover:has(img[title="Show differences to current revisions"])::before { 115 content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-stereo-glasses" width="16" height="16" viewBox="0 0 24 24" stroke-width="2" stroke="%23828282" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M8 3h-2l-3 9" /><path d="M16 3h2l3 9" /><path d="M3 12v7a1 1 0 0 0 1 1h4.586a1 1 0 0 0 .707 -.293l2 -2a1 1 0 0 1 1.414 0l2 2a1 1 0 0 0 .707 .293h4.586a1 1 0 0 0 1 -1v-7h-18z" /><path d="M7 16h1" /><path d="M16 16h1" /></svg>'); 116} 117 118.dokuwiki form.changes li a.revisions_link::before, 119a:has(img[title="Old revisions"])::before { 120 content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clock-share" width="16" height="16" viewBox="0 0 24 24" stroke-width="2" stroke="%23696969" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M20.943 13.016a9 9 0 1 0 -8.915 7.984" /><path d="M16 22l5 -5" /><path d="M21 21.5v-4.5h-4.5" /><path d="M12 7v5l2 2" /></svg>'); 121} 122.dokuwiki form.changes li a.revisions_link:hover::before, 123a:hover:has(img[title="Old revisions"])::before { 124 content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clock-share" width="16" height="16" viewBox="0 0 24 24" stroke-width="2" stroke="%23828282" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M20.943 13.016a9 9 0 1 0 -8.915 7.984" /><path d="M16 22l5 -5" /><path d="M21 21.5v-4.5h-4.5" /><path d="M12 7v5l2 2" /></svg>'); 125}