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 95 span.input { 96 width: 50%; 97 display: inline-block; 98 text-align: left; 99 padding-left: 0.25em; 100 color: @ini_text; 101 102 input, select, textarea { 103 width: 100%; 104 } 105 106 input[type='checkbox'] { 107 width: auto; 108 margin-right: 0; 109 } 110 111 label { 112 text-align: left; 113 line-height: 1.5em; 114 } 115 } 116} 117 118/** 119 * Tabs in the Schema Editor 120 */ 121#plugin__struct_delete, 122#plugin__struct_json { 123 border: 1px solid @ini_border; 124 border-top: none; 125 display: block; 126 padding: 2em; 127 128 fieldset { 129 margin-bottom: 1em; 130 } 131} 132 133 134form.struct_newschema { 135 label { 136 display: block; 137 text-align: left; 138 139 span { 140 display: inline-block; 141 width: 45%; 142 text-align: right; 143 padding-right: 1em; 144 } 145 } 146} 147 148/** 149 * The Schema Editor 150 */ 151#plugin__struct_editor { 152 table.inline { 153 width: 100%; 154 border-top: none; 155 156 tr:first-child { 157 border-top: none; 158 159 th { 160 border-top: none; 161 } 162 } 163 } 164 165 tr.disabled { 166 td { 167 opacity: 0.5; 168 } 169 170 // collapse config block 171 td.config > div { 172 overflow: auto; 173 height: 2em; 174 div.jsoneditor-outer { 175 margin: 0; 176 padding: 0; 177 } 178 } 179 180 td.isenabled { 181 opacity: 1; 182 } 183 } 184 fieldset { 185 width: 100%; 186 padding-left: 0; 187 padding-right: 0; 188 margin-bottom: 1em; 189 } 190} 191 192/** 193 * In page output 194 */ 195#plugin__struct_output { 196 margin-right: 16em; // space for the TOC 197 border: 1px solid @ini_border; 198 margin-bottom: 1.2em; 199 200 div.table { 201 margin: 0; 202 203 table { 204 font-size: 90%; 205 width: 100%; 206 border: none; 207 margin: 0; 208 209 td, th { 210 background-color: transparent; 211 vertical-align: top; 212 border: none; 213 } 214 215 tbody th { 216 width: 20%; 217 text-align: right; 218 219 &::after { 220 content: ':'; 221 } 222 } 223 224 thead th { 225 background-color: @ini_background_alt; 226 text-align: center; 227 font-size: 110%; 228 font-weight: normal; 229 } 230 } 231 } 232} 233 234/** 235 * Aggregation 236 */ 237.dokuwiki .structaggregation { 238 239 &.listaggregation > ul li div { 240 display: inline; 241 242 p { 243 display: inline; 244 margin: 0; 245 } 246 } 247 248 table th { 249 a { 250 color: @ini_link; 251 font-weight: bold; 252 253 &.sort-up::before { 254 content: '↑'; 255 } 256 &.sort-down::before { 257 content: '↓'; 258 } 259 } 260 261 input { 262 width: 20px; 263 background-image: url(../../tpl/dokuwiki/images/search.png); 264 background-repeat: no-repeat; 265 background-position: 2px center; 266 padding-left: 20px; 267 } 268 269 input:not([value]) { 270 opacity: 0.5; 271 } 272 273 input:focus { 274 width: auto; 275 opacity: 1; 276 } 277 } 278 279 img.media { 280 box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.5); 281 } 282 283 div.table { 284 margin-bottom: 2.4em; 285 } 286 287 a.export { 288 float: left; 289 margin-top: -2.4em; 290 margin-left: 1em; 291 border: 1px solid @ini_border; 292 border-top: none; 293 border-bottom-right-radius: 4px; 294 border-bottom-left-radius: 4px; 295 padding: 2px 5px 2px 22px; 296 background-position-x: 2px; 297 } 298} 299/** 300 * Lookup Aggregation Editor 301 */ 302.dokuwiki .structlookup { 303 table.inline { 304 min-width: 100%; 305 306 th.action { 307 width: 30px; //16px icon + margins 308 } 309 } 310} 311 312/** 313 * General Output styles 314 */ 315.dokuwiki div.struct_color { 316 width: 1.2em; 317 height: 1.2em; 318 display: inline-block; 319 margin-right: 0.5em; 320} 321 322/** 323 * Inline Editor Overlay 324 */ 325.dokuwiki .struct_inlineditor { 326 position: absolute; 327 top: 0; 328 left: 0; 329 width: 300px; 330 331 background-color: @ini_background; 332 color: @ini_text; 333 border: 1px solid @ini_border; 334 padding: 5px; 335 336 box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.5); 337 338 .ctl { 339 margin-top: 5px; 340 } 341 342} 343 344/** 345 * Errors on AJAX 346 */ 347.dokuwiki .structlookup form, 348.dokuwiki .struct_inlineditor { 349 .err { 350 font-size: 90%; 351 margin-top: 5px; 352 padding: 5px; 353 background-color: @ini_highlight; 354 color: @ini_text; 355 text-align: left; 356 } 357} 358