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