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 margin-left: 1em; 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 * { 26 display: none; 27 } 28 29 legend { 30 display: block; 31 background: transparent url(../../images/closed.png) 5px center no-repeat; 32 } 33 } 34 35 label { 36 display: table-row; 37 text-align: left; 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 51 span.label.hashint { 52 background: url(../../images/info.png) no-repeat right center; 53 } 54 55 span.input { 56 display: table-cell; 57 padding-left: 0.25em; 58 padding-top: 0.25em; 59 padding-bottom: 0.25em; 60 61 input:not([type='checkbox']), textarea, select { 62 width: 190px; 63 } 64 } 65 } 66 67 // this should not influence the design 68 .newtemplate { 69 display: inline; 70 } 71 // add some spacing to multi-value fields 72 .multiwrap { 73 display: inline-block; 74 margin: 0 0.25em 0.25em 0; 75 } 76} 77 78/** 79 * Bureaucracy form adjustments 80 */ 81.dokuwiki form.bureaucracy__plugin label { 82 span { 83 line-height: 2em; 84 } 85 86 span.label { 87 vertical-align: top; 88 } 89 90 span.input { 91 width: 50%; 92 display: inline-block; 93 text-align: left; 94 padding-left: 0.25em; 95 color: @ini_text; 96 97 input, select, textarea { 98 width: 100%; 99 } 100 101 input[type='checkbox'] { 102 width: auto; 103 margin-right: 0; 104 } 105 106 label { 107 text-align: left; 108 line-height: 1.5em; 109 } 110 } 111} 112 113/** 114 * Tabs in the Schema Editor 115 */ 116#plugin__struct_delete, 117#plugin__struct_json { 118 border: 1px solid @ini_border; 119 border-top: none; 120 display: block; 121 padding: 2em; 122 123 fieldset { 124 margin-bottom: 1em; 125 } 126} 127 128 129form.struct_newschema { 130 label { 131 display: block; 132 text-align: left; 133 134 span { 135 display: inline-block; 136 width: 45%; 137 text-align: right; 138 padding-right: 1em; 139 } 140 } 141} 142 143/** 144 * The Schema Editor 145 */ 146#plugin__struct_editor { 147 table.inline { 148 width: 100%; 149 border-top: none; 150 151 tr:first-child { 152 border-top: none; 153 154 th { 155 border-top: none; 156 } 157 } 158 } 159 160 tr.disabled { 161 td { 162 opacity: 0.5; 163 } 164 165 // collapse config block 166 td.config > div { 167 overflow: auto; 168 height: 2em; 169 div.jsoneditor-outer { 170 margin: 0; 171 padding: 0; 172 } 173 } 174 175 td.isenabled { 176 opacity: 1; 177 } 178 } 179 fieldset { 180 width: 100%; 181 padding-left: 0; 182 padding-right: 0; 183 margin-bottom: 1em; 184 } 185} 186 187/** 188 * In page output 189 */ 190#plugin__struct_output { 191 margin-right: 16em; // space for the TOC 192 border: 1px solid @ini_border; 193 margin-bottom: 1.2em; 194 195 div.table { 196 margin: 0; 197 198 table { 199 font-size: 90%; 200 width: 100%; 201 border: none; 202 margin: 0; 203 204 td, th { 205 background-color: transparent; 206 vertical-align: top; 207 border: none; 208 } 209 210 tbody th { 211 width: 20%; 212 text-align: right; 213 214 &::after { 215 content: ':'; 216 } 217 } 218 219 thead th { 220 background-color: @ini_background_alt; 221 text-align: center; 222 font-size: 110%; 223 font-weight: normal; 224 } 225 } 226 } 227} 228 229/** 230 * Aggregation 231 */ 232.dokuwiki .structaggregation { 233 table th { 234 a { 235 color: @ini_link; 236 font-weight: bold; 237 238 &.sort-up::before { 239 content: '↑'; 240 } 241 &.sort-down::before { 242 content: '↓'; 243 } 244 } 245 246 input { 247 width: 20px; 248 background-image: url(../../tpl/dokuwiki/images/search.png); 249 background-repeat: no-repeat; 250 background-position: 2px center; 251 padding-left: 20px; 252 } 253 254 input:not([value]) { 255 opacity: 0.5; 256 } 257 258 input:focus { 259 width: auto; 260 opacity: 1; 261 } 262 } 263 264 img.media { 265 box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.5); 266 } 267 268} 269/** 270 * Lookup Aggregation Editor 271 */ 272.dokuwiki .structlookup { 273 table.inline { 274 min-width: 100%; 275 276 th.action { 277 width: 30px; //16px icon + margins 278 } 279 } 280} 281 282/** 283 * Inline Editor Overlay 284 */ 285.dokuwiki .struct_inlineditor { 286 position: absolute; 287 top: 0; 288 left: 0; 289 width: 300px; 290 291 background-color: @ini_background; 292 color: @ini_text; 293 border: 1px solid @ini_border; 294 padding: 5px; 295 296 box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.5); 297 298 .ctl { 299 margin-top: 5px; 300 } 301 302} 303 304/** 305 * Errors on AJAX 306 */ 307.dokuwiki .structlookup form, 308.dokuwiki .struct_inlineditor { 309 .err { 310 font-size: 90%; 311 margin-top: 5px; 312 padding: 5px; 313 background-color: @ini_highlight; 314 color: @ini_text; 315 text-align: left; 316 } 317} 318