1/** 2 * The input entry form 3 */ 4.dokuwiki .struct_entry_form { 5 margin-bottom: 1em; 6 7 fieldset { 8 width: 100%; 9 padding: 0.5em 0; 10 display: table; 11 12 legend { 13 text-align: left; 14 padding-left: 17px; 15 cursor: pointer; 16 margin-left: 1em; 17 background: transparent url(../../images/open.png) 5px center no-repeat; 18 font-weight: bold; 19 } 20 } 21 22 fieldset.closed { 23 padding: 0; 24 25 * { 26 display: none; 27 } 28 29 legend { 30 display: block; 31 background: transparent url(../../images/closed.png) 5px center no-repeat; 32 } 33 } 34 35 label { 36 display: table-row; 37 text-align: left; 38 39 &:hover { 40 background-color: @ini_background_alt; 41 } 42 43 span.label { 44 width: 10em; 45 display: table-cell; 46 padding-left: 0.5em; 47 padding-top: 0.25em; 48 padding-bottom: 0.25em; 49 } 50 51 span.label.hashint { 52 background: url(../../images/info.png) no-repeat right center; 53 } 54 55 span.input { 56 display: table-cell; 57 padding-left: 0.25em; 58 padding-top: 0.25em; 59 padding-bottom: 0.25em; 60 61 input:not([type='checkbox']), textarea, select { 62 width: 190px; 63 } 64 } 65 } 66 67 // this should not influence the design 68 .newtemplate { 69 display: inline; 70 } 71 // add some spacing to multi-value fields 72 .multiwrap { 73 display: inline-block; 74 margin: 0 0.25em 0.25em 0; 75 } 76} 77 78/** 79 * Bureaucracy form adjustments 80 */ 81.dokuwiki form.bureaucracy__plugin label { 82 span { 83 line-height: 2em; 84 } 85 86 span.label { 87 vertical-align: top; 88 } 89 90 span.input { 91 width: 50%; 92 display: inline-block; 93 text-align: left; 94 padding-left: 0.25em; 95 color: @ini_text; 96 97 input, select, textarea { 98 width: 100%; 99 } 100 101 input[type='checkbox'] { 102 width: auto; 103 margin-right: 0; 104 } 105 106 label { 107 text-align: left; 108 line-height: 1.5em; 109 } 110 } 111} 112 113/** 114 * Tabs in the Schema Editor 115 */ 116#plugin__struct_delete, 117#plugin__struct_json { 118 border: 1px solid @ini_border; 119 border-top: none; 120 display: block; 121 padding: 2em; 122 123 fieldset { 124 margin-bottom: 1em; 125 } 126} 127 128 129form.struct_newschema { 130 label { 131 display: block; 132 text-align: left; 133 134 span { 135 display: inline-block; 136 width: 45%; 137 text-align: right; 138 padding-right: 1em; 139 } 140 } 141} 142 143/** 144 * The Schema Editor 145 */ 146#plugin__struct_editor { 147 table.inline { 148 width: 100%; 149 border-top: none; 150 151 tr:first-child { 152 border-top: none; 153 154 th { 155 border-top: none; 156 } 157 } 158 } 159 160 tr.disabled { 161 td { 162 opacity: 0.5; 163 } 164 165 // collapse config block 166 td.config > div { 167 overflow: auto; 168 height: 2em; 169 div.jsoneditor-outer { 170 margin: 0; 171 padding: 0; 172 } 173 } 174 175 td.isenabled { 176 opacity: 1; 177 } 178 } 179} 180 181/** 182 * In page output 183 */ 184#plugin__struct_output { 185 margin-right: 16em; // space for the TOC 186 border: 1px solid @ini_border; 187 margin-bottom: 1.2em; 188 189 div.table { 190 margin: 0; 191 192 table { 193 font-size: 90%; 194 width: 100%; 195 border: none; 196 margin: 0; 197 198 td, th { 199 background-color: transparent; 200 vertical-align: top; 201 border: none; 202 } 203 204 tbody th { 205 width: 20%; 206 text-align: right; 207 208 &::after { 209 content: ':'; 210 } 211 } 212 213 thead th { 214 background-color: @ini_background_alt; 215 text-align: center; 216 font-size: 110%; 217 font-weight: normal; 218 } 219 } 220 } 221} 222 223/** 224 * Aggregation 225 */ 226.dokuwiki .structaggregation { 227 table th { 228 a { 229 color: @ini_link; 230 font-weight: bold; 231 232 &.sort-up::before { 233 content: '↑'; 234 } 235 &.sort-down::before { 236 content: '↓'; 237 } 238 } 239 240 input { 241 width: 20px; 242 background-image: url(../../tpl/dokuwiki/images/search.png); 243 background-repeat: no-repeat; 244 background-position: 2px center; 245 padding-left: 20px; 246 } 247 248 input:not([value]) { 249 opacity: 0.5; 250 } 251 252 input:focus { 253 width: auto; 254 opacity: 1; 255 } 256 } 257 258 img.media { 259 box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.5); 260 } 261 262} 263 264.dokuwiki .structlookup { 265 table.inline { 266 min-width: 100%; 267 268 th.action { 269 width: 30px; //16px icon + margins 270 } 271 } 272} 273 274.dokuwiki .struct_inlineditor { 275 position: absolute; 276 top: 0; 277 left: 0; 278 width: 300px; 279 280 background-color: @ini_background; 281 color: @ini_text; 282 border: 1px solid @ini_border; 283 padding: 5px; 284 285 box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.5); 286 287 .ctl { 288 margin-top: 5px; 289 } 290 291 .err { 292 font-size: 90%; 293 margin-top: 5px; 294 padding: 5px; 295 background-color: @ini_highlight; 296 color: @ini_text; 297 } 298} 299