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 text-align: left; 12 13 legend { 14 text-align: left; 15 padding-left: 17px; 16 cursor: pointer; 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 div.field { 26 display: none; 27 } 28 29 legend { 30 display: block; 31 background: transparent url(../../images/closed.png) 5px center no-repeat; 32 } 33 } 34 div.field { 35 display: block; 36 37 label { 38 display: inline-block; 39 text-align: left; 40 font-weight: normal; 41 width: 10em; 42 43 &:hover { 44 background-color: @ini_background_alt; 45 } 46 47 span.label { 48 display: block; 49 box-sizing: border-box; 50 padding-left: 0.5em; 51 padding-top: 0.25em; 52 padding-bottom: 0.25em; 53 54 // fixes for bootstrap3 template 55 color: @ini_text; 56 font-size: 100%; 57 text-align: left; 58 } 59 60 span.label.hashint { 61 background: url(../../images/info.png) no-repeat right 5px center; 62 } 63 64 span.input { 65 display: table-cell; 66 padding-left: 0.25em; 67 padding-top: 0.25em; 68 padding-bottom: 0.25em; 69 70 input:not([type='checkbox']):not([type='color']), textarea, select { 71 width: 380px; 72 } 73 } 74 } 75 } 76 77 // this should not influence the design 78 .newtemplate { 79 display: inline; 80 } 81 // add some spacing to multi-value fields 82 .multiwrap { 83 display: inline-block; 84 margin: 0 0.25em 0.25em 0; 85 } 86} 87 88/** 89 * Bureaucracy form adjustments 90 */ 91.dokuwiki form.bureaucracy__plugin label { 92 span { 93 line-height: 2em; 94 } 95 96 span.label { 97 vertical-align: top; 98 99 // fixes for bootstrap3 template 100 color: @ini_text; 101 font-size: 100%; 102 text-align: left; 103 } 104 105 span.input { 106 width: 50%; 107 display: inline-block; 108 text-align: left; 109 padding-left: 0.25em; 110 color: @ini_text; 111 112 input, select, textarea { 113 width: 100%; 114 } 115 116 input[type='checkbox'] { 117 width: auto; 118 margin-right: 0; 119 } 120 121 label { 122 text-align: left; 123 line-height: 1.5em; 124 } 125 } 126} 127 128/** 129 * Tabs in the Schema Editor 130 */ 131#plugin__struct_delete, 132#plugin__struct_json { 133 border: 1px solid @ini_border; 134 border-top: none; 135 display: block; 136 padding: 2em; 137 138 fieldset { 139 margin-bottom: 1em; 140 } 141} 142 143form.struct_newschema { 144 label { 145 display: block; 146 text-align: left; 147 148 span { 149 display: inline-block; 150 width: 45%; 151 text-align: right; 152 padding-right: 1em; 153 } 154 } 155} 156 157/** 158 * The Schema Editor 159 */ 160#plugin__struct_editor { 161 table.inline { 162 width: 100%; 163 border-top: none; 164 165 tr:first-child { 166 border-top: none; 167 168 th { 169 border-top: none; 170 } 171 } 172 } 173 174 tr.disabled { 175 td { 176 opacity: 0.5; 177 } 178 179 // collapse config block 180 td.config > div { 181 overflow: auto; 182 height: 2em; 183 div.jsoneditor-outer { 184 margin: 0; 185 padding: 0; 186 } 187 } 188 189 td.isenabled { 190 opacity: 1; 191 } 192 } 193 fieldset { 194 width: 100%; 195 padding-left: 0; 196 padding-right: 0; 197 margin-bottom: 1em; 198 199 div.jsoneditor { 200 margin: auto; 201 } 202 } 203} 204 205/** 206 * In page output 207 */ 208#plugin__struct_output { 209 margin-right: 16em; // space for the TOC 210 border: 1px solid @ini_border; 211 margin-bottom: 1.2em; 212 213 div.table { 214 margin: 0; 215 216 table { 217 font-size: 90%; 218 width: 100%; 219 border: none; 220 margin: 0; 221 222 td, th { 223 background-color: transparent; 224 vertical-align: top; 225 border: none; 226 } 227 228 tbody th { 229 width: 20%; 230 text-align: right; 231 232 &::after { 233 content: ':'; 234 } 235 } 236 237 thead th { 238 background-color: @ini_background_alt; 239 text-align: center; 240 font-size: 110%; 241 font-weight: normal; 242 } 243 } 244 } 245} 246 247/** 248 * Aggregation 249 */ 250.dokuwiki .structaggregation { 251 252 &.listaggregation > ul li div { 253 display: inline; 254 255 p { 256 display: inline; 257 margin: 0; 258 } 259 } 260 261 table th { 262 a { 263 color: @ini_link; 264 font-weight: bold; 265 266 &.sort-up::before { 267 content: '↑'; 268 } 269 &.sort-down::before { 270 content: '↓'; 271 } 272 273 &.next { 274 float: right; 275 } 276 } 277 278 input { 279 width: 20px; 280 background-image: url(../../tpl/dokuwiki/images/search.png); 281 background-repeat: no-repeat; 282 background-position: 2px center; 283 padding-left: 20px; 284 } 285 286 input:not([value]) { 287 opacity: 0.5; 288 } 289 290 input:focus { 291 width: auto; 292 opacity: 1; 293 } 294 } 295 296 img.media { 297 box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.5); 298 } 299 300 div.table { 301 margin-bottom: 2.4em; 302 } 303 304 a.export { 305 float: left; 306 margin-top: -2.4em; 307 margin-left: 1em; 308 border: 1px solid @ini_border; 309 border-top: none; 310 border-bottom-right-radius: 4px; 311 border-bottom-left-radius: 4px; 312 padding: 2px 5px 2px 22px; 313 background-position-x: 2px; 314 } 315} 316 317.dokuwiki .structcloud { 318 li { 319 float: left; 320 list-style: none; 321 margin: 0 1em 0 0; 322 padding: 0; 323 324 .struct_color, .struct_media { 325 a { 326 display: block; 327 height: 100%; 328 } 329 } 330 331 .struct_media a { 332 background-size: cover; 333 background-position: center; 334 box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.5) 335 } 336 } 337} 338 339/** 340 * Lookup Aggregation Editor 341 */ 342.dokuwiki .structlookup { 343 table.inline { 344 min-width: 100%; 345 346 th.action { 347 width: 30px; //16px icon + margins 348 } 349 } 350} 351 352/** 353 * General Output styles 354 */ 355.dokuwiki div.struct_color { 356 width: 1.2em; 357 height: 1.2em; 358 display: inline-block; 359 margin-right: 0.5em; 360} 361 362/** 363 * Inline Editor Overlay 364 */ 365.dokuwiki .struct_inlineditor { 366 position: absolute; 367 top: 0; 368 left: 0; 369 width: 300px; 370 371 background-color: @ini_background; 372 color: @ini_text; 373 border: 1px solid @ini_border; 374 padding: 5px; 375 376 box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5); 377 378 .ctl { 379 margin-top: 5px; 380 } 381 382} 383 384/** 385 * Errors on AJAX 386 */ 387.dokuwiki .structlookup form, 388.dokuwiki .struct_inlineditor { 389 .err { 390 font-size: 90%; 391 margin-top: 5px; 392 padding: 5px; 393 background-color: @ini_highlight; 394 color: @ini_text; 395 text-align: left; 396 } 397} 398