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