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 table th { 244 a { 245 color: @ini_link; 246 font-weight: bold; 247 248 &.sort-up::before { 249 content: '↑'; 250 } 251 &.sort-down::before { 252 content: '↓'; 253 } 254 255 &.next { 256 float: right; 257 } 258 } 259 260 input { 261 width: 20px; 262 background-image: url(../../tpl/dokuwiki/images/search.png); 263 background-repeat: no-repeat; 264 background-position: 2px center; 265 padding-left: 20px; 266 } 267 268 input:not([value]) { 269 opacity: 0.5; 270 } 271 272 input:focus { 273 width: auto; 274 opacity: 1; 275 } 276 } 277 278 img.media { 279 box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.5); 280 } 281 282 div.table { 283 margin-bottom: 2.4em; 284 } 285 286 a.export { 287 float: left; 288 margin-top: -2.4em; 289 margin-left: 1em; 290 border: 1px solid @ini_border; 291 border-top: none; 292 border-bottom-right-radius: 4px; 293 border-bottom-left-radius: 4px; 294 padding: 2px 5px 2px 22px; 295 background-position-x: 2px; 296 } 297} 298/** 299 * Lookup Aggregation Editor 300 */ 301.dokuwiki .structlookup { 302 table.inline { 303 min-width: 100%; 304 305 th.action { 306 width: 30px; //16px icon + margins 307 } 308 } 309} 310 311/** 312 * General Output styles 313 */ 314.dokuwiki div.struct_color { 315 width: 1.2em; 316 height: 1.2em; 317 display: inline-block; 318 margin-right: 0.5em; 319} 320 321/** 322 * Inline Editor Overlay 323 */ 324.dokuwiki .struct_inlineditor { 325 position: absolute; 326 top: 0; 327 left: 0; 328 width: 300px; 329 330 background-color: @ini_background; 331 color: @ini_text; 332 border: 1px solid @ini_border; 333 padding: 5px; 334 335 box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.5); 336 337 .ctl { 338 margin-top: 5px; 339 } 340 341} 342 343/** 344 * Errors on AJAX 345 */ 346.dokuwiki .structlookup form, 347.dokuwiki .struct_inlineditor { 348 .err { 349 font-size: 90%; 350 margin-top: 5px; 351 padding: 5px; 352 background-color: @ini_highlight; 353 color: @ini_text; 354 text-align: left; 355 } 356} 357