inline.scss
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Inline form editing
// Hide the label and allow the field to take the full width
div.DTE_Inline {
position: relative;
display: table;
width: 100%;
div.DTE_Inline_Field,
div.DTE_Inline_Buttons {
display: table-cell;
vertical-align: middle;
div.DTE_Field {
padding: 0;
>label {
display: none;
}
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
width: 100%;
}
}
div.DTE_Form_Buttons button {
margin: -6px 0 -6px 4px;
padding: 5px;
}
}
// Have the input types take up full space, taking into account the cell padding
div.DTE_Field input[type="color"],
div.DTE_Field input[type="date"],
div.DTE_Field input[type="datetime"],
div.DTE_Field input[type="datetime-local"],
div.DTE_Field input[type="email"],
div.DTE_Field input[type="month"],
div.DTE_Field input[type="number"],
div.DTE_Field input[type="password"],
div.DTE_Field input[type="search"],
div.DTE_Field input[type="tel"],
div.DTE_Field input[type="text"],
div.DTE_Field input[type="time"],
div.DTE_Field input[type="url"],
div.DTE_Field input[type="week"] {
margin: -6px 0;
}
div.DTE_Field_Error,
div.DTE_Form_Error {
font-size: 11px;
line-height: 1.2em;
padding: 0;
margin-top: 10px;
&:empty {
margin-top: 0;
}
}
}
// Responsive integration
span.dtr-data div.DTE_Inline {
display: inline-table;
}