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