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 li { 327 float: left; 328 list-style: none; 329 margin: 0 1em 0 0; 330 padding: 0; 331 332 .struct_color, .struct_media { 333 a { 334 display: block; 335 height: 100%; 336 } 337 } 338 339 .struct_media a { 340 background-size: cover; 341 background-position: center; 342 box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.5) 343 } 344 } 345} 346 347/** 348 * Lookup Aggregation Editor 349 */ 350.dokuwiki .structlookup { 351 table.inline { 352 min-width: 100%; 353 354 th.action { 355 width: 30px; //16px icon + margins 356 } 357 } 358} 359 360/** 361 * General Output styles 362 */ 363.dokuwiki div.struct_color { 364 width: 1.2em; 365 height: 1.2em; 366 display: inline-block; 367 margin-right: 0.5em; 368} 369 370/** 371 * Inline Editor Overlay 372 */ 373.dokuwiki .struct_inlineditor { 374 position: absolute; 375 top: 0; 376 left: 0; 377 width: 300px; 378 379 background-color: @ini_background; 380 color: @ini_text; 381 border: 1px solid @ini_border; 382 padding: 5px; 383 384 box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5); 385 386 .ctl { 387 margin-top: 5px; 388 } 389 390} 391 392/** 393 * Errors on AJAX 394 */ 395.dokuwiki .structlookup form, 396.dokuwiki .struct_inlineditor { 397 .err { 398 font-size: 90%; 399 margin-top: 5px; 400 padding: 5px; 401 background-color: @ini_highlight; 402 color: @ini_text; 403 text-align: left; 404 } 405} 406