1/** 2 * This file provides the design styles for page revisions 3 * 4 * @author Jana Deutschlaender <deutschlaender@cosmocode.de> 5 */ 6 7 8.dokuwiki { 9 10/* + + + + + list of changes + + + + + */ 11 form.changes { 12 li { 13 .sizechange { 14 color: @color-editBox; 15 16 &.positive { 17 background-color: #cfc; 18 } 19 20 &.negative { 21 background-color: #fdd; 22 } 23 } 24 } 25 26 > .no > ul > li { 27 min-height: @formfield_min-height; 28 vertical-align: baseline; 29 margin-bottom: @small-spacing; 30 31 .li { 32 line-height: 150%; 33 34 > * { 35 min-height: 10px; 36 } 37 } 38 39 a, 40 span, 41 img { 42 vertical-align: baseline; 43 } 44 45 img { 46 margin-left: @small-spacing; 47 margin-right: @small-spacing; 48 } 49 50 input[type="checkbox"] { 51 margin: 0 .5rem .2rem -1.5rem; 52 } 53 54 span.user bdi { 55 a { 56 vertical-align: baseline; 57 } 58 } 59 } 60 } 61 62 63/* + + + + + view of differents + + + + + */ 64 a.difflink { 65 color: @ini_existing; 66 67 * { 68 color: inherit; 69 } 70 } 71 72 .diffnav { 73 a { 74 background-color: @ini_background_site; 75 border: solid 1px @ini_background_site; 76 border-radius: @ini_default_border_radius; 77 color: @ini_nav_menu_color; 78 transition: @transition background-color, @transition color, @transition border-color; 79 80 &::before { 81 background-color: inherit; 82 border: 0 none; 83 color: inherit; 84 } 85 86 &:hover, 87 &:focus, 88 &:active { 89 background-color: @ini_nav_menu_color; 90 border: solid 1px @ini_nav_menu_color; 91 color: @ini_background_site; 92 93 &::before { 94 background-color: inherit; 95 color: inherit; 96 } 97 } 98 } 99 } 100 101 table.diff { 102 background-color: #fff; 103 border: solid 1px #fff; 104 border-top-width: 10px; 105 border-bottom-width: 10px; 106 107 &.diff_inline { 108 border-top-width: 0; 109 110 .diffnav { 111 padding-top: 10px; 112 padding-bottom: 10px; 113 } 114 } 115 116 th { 117 background-color: @ini_background; 118 color: @ini_text; 119 padding-top: 10px; 120 padding-bottom: 10px; 121 122 &.minor { 123 color: #999; 124 } 125 } 126 127 td { 128 &.diff-blockheader { 129 background-color: #cfc; 130 color: @color-editBox; 131 } 132 133 &.diff-context { 134 background-color: #eee; 135 color: @color-editBox; 136 } 137 } 138 139 .diff-addedline { 140 background-color: #cfc; 141 color: @color-editBox; 142 143 strong { 144 background-color: transparent; 145 color: #f00; 146 } 147 } 148 149 .diff-deletedline { 150 background-color: #fdd; 151 color: @color-editBox; 152 153 * { 154 color: inherit; 155 } 156 157 strong { 158 background-color: transparent; 159 color: #f00; 160 } 161 } 162 } 163} 164