1/** 2 * The input entry form 3 */ 4#dw__editform .struct { 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_json { 117 border: 1px solid @ini_border; 118 border-top: none; 119 display: block; 120 padding: 2em; 121 122 fieldset { 123 margin-bottom: 1em; 124 } 125} 126 127/** 128 * The Schema Editor 129 */ 130#plugin__struct_editor { 131 table.inline { 132 width: 100%; 133 border-top: none; 134 135 tr:first-child { 136 border-top: none; 137 138 th { 139 border-top: none; 140 } 141 } 142 } 143 144 tr.disabled { 145 td { 146 opacity: 0.5; 147 } 148 149 // collapse config block 150 td.config > div { 151 overflow: auto; 152 height: 2em; 153 div.jsoneditor-outer { 154 margin: 0; 155 padding: 0; 156 } 157 } 158 159 td.isenabled { 160 opacity: 1; 161 } 162 } 163} 164 165/** 166 * In page output 167 */ 168#plugin__struct_output { 169 margin-right: 16em; // space for the TOC 170 border: 1px solid @ini_border; 171 margin-bottom: 1.2em; 172 173 div.table { 174 margin: 0; 175 176 table { 177 font-size: 90%; 178 width: 100%; 179 border: none; 180 margin: 0; 181 182 td, th { 183 background-color: transparent; 184 vertical-align: top; 185 border: none; 186 } 187 188 tbody th { 189 width: 20%; 190 text-align: right; 191 192 &::after { 193 content: ':'; 194 } 195 } 196 197 thead th { 198 background-color: @ini_background_alt; 199 text-align: center; 200 font-size: 110%; 201 font-weight: normal; 202 } 203 } 204 } 205} 206 207/** 208 * Aggregation 209 */ 210.structaggregation { 211 table th { 212 a { 213 color: @ini_link; 214 font-weight: bold; 215 216 &.sort-up::before { 217 content: '↑'; 218 } 219 &.sort-down::before { 220 content: '↓'; 221 } 222 } 223 224 input { 225 width: 20px; 226 background-image: url(../../tpl/dokuwiki/images/search.png); 227 background-repeat: no-repeat; 228 background-position: 2px center; 229 padding-left: 20px; 230 } 231 232 input:not([value]) { 233 opacity: 0.5; 234 } 235 236 input:focus { 237 width: auto; 238 opacity: 1; 239 } 240 } 241} 242 243