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