xref: /plugin/struct/style.less (revision ececd523e762fd90560e121e3874c7b7a051aad9)
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
11        display: table;
12    }
13
14    label {
15        display: table-row;
16        text-align: left;
17
18        &:hover {
19            background-color: @ini_background_alt;
20        }
21
22        span.label {
23            width: 10em;
24            display: table-cell;
25            padding-left: 0.5em;
26            padding-top: 0.25em;
27            padding-bottom: 0.25em;
28        }
29
30        div.input {
31            display: table-cell;
32            padding-left: 11em;
33            padding-top: 0.25em;
34            padding-bottom: 0.25em;
35        }
36    }
37
38    // this should not influence the design
39    .newtemplate {
40        display: inline;
41    }
42    // add some spacing to multi-value fields
43    .multiwrap {
44        display: inline-block;
45        margin: 0 0.25em 0.25em 0;
46    }
47}
48
49/**
50 * The Schema Editor
51 */
52#plugin__struct {
53    tr.disabled {
54        td {
55            opacity: 0.5;
56        }
57
58        // collapse config block
59        td.config >div {
60            overflow: auto;
61            height: 2em;
62            div.jsoneditor-outer {
63                margin: 0;
64                padding: 0;
65            }
66        }
67
68        td.isenabled {
69            opacity: 1;
70        }
71    }
72}
73