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