xref: /plugin/struct/style.less (revision 6af24d3eff33249280549e60e18474e2cc0bf9d0)
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