xref: /plugin/struct/style.less (revision 26147f8c0eba4b41504e953950a7f8b8adb04f77)
1#dw__editform .struct {
2
3    margin-bottom: 1em;
4
5    fieldset {
6        width: 100%;
7        padding: 0.5em 0;
8
9        display: table;
10    }
11
12    label {
13        display: table-row;
14        text-align: left;
15
16        &:hover {
17            background-color: @ini_background_alt;
18        }
19
20        span.label {
21            width: 10em;
22            display: table-cell;
23            padding-left: 0.5em;
24            padding-top: 0.25em;
25            padding-bottom: 0.25em;
26        }
27
28        div.input {
29            display: table-cell;
30            padding-left: 11em;
31            padding-top: 0.25em;
32            padding-bottom: 0.25em;
33        }
34    }
35
36    // this should not influence the design
37    .newtemplate {
38        display: inline;
39    }
40    // add some spacing to multi-value fields
41    .multiwrap {
42        display: inline-block;
43        margin: 0 0.25em 0.25em 0;
44    }
45}
46