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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
|
/* ==== editable-form ==== */
/* class for single editable element */
.editable-wrap {
display: inline-block;
white-space: pre;
margin: 0;
}
/* remove bottom-margin for bootstrap */
.editable-wrap .editable-controls,
.editable-wrap .editable-error {
margin-bottom: 0;
}
/* remove bottom-margin of inputs */
.editable-wrap .editable-controls > input,
.editable-wrap .editable-controls > select,
.editable-wrap .editable-controls > textarea {
margin-bottom: 0;
}
/* keep buttons on the same line */
.editable-wrap .editable-input {
display: inline-block;
}
.editable-buttons {
display: inline-block;
vertical-align: top;
}
.editable-buttons button {
margin-left: 5px;
}
/* in bootstrap width: 100% => buttons go outside the box */
.editable-input.editable-has-buttons {
width: auto;
}
/* ==== editable-text ==== */
/* fix padding issue on typeahead */
.editable-text {
white-space: nowrap;
}
/* ==== editable-bsdate ==== */
/* fix padding issue on bsdate popup */
.editable-bsdate {
white-space: nowrap;
}
/* ==== editable-bstime ==== */
/* fix padding issue on bstime */
.editable-bstime {
white-space: nowrap;
}
/* workaround for bootstrap that sets width: 100% and inputs become too wide */
.editable-bstime .editable-input input[type="text"] {
width: 46px;
}
/* less padding for .well */
.editable-bstime .well-small {
margin-bottom: 0;
padding: 10px;
}
/* ==== editable-range ==== */
.editable-range output {
display: inline-block;
min-width: 30px;
vertical-align: top;
text-align: center;
}
/* ==== editable-color ==== */
.editable-color input[type="color"] {
width: 50px;
}
/* ==== editable-checkbox ==== */
/* ==== editable-checklist ==== */
/* ==== editable-radiolist ==== */
.editable-checkbox label span,
.editable-checklist label span,
.editable-radiolist label span {
margin-left: 7px;
margin-right: 10px;
}
/* ==== element ==== */
/* hiding element */
.editable-hide {
display: none !important;
}
.editable-click,
a.editable-click {
text-decoration: none;
color: #428bca;
border-bottom: dashed 1px #428bca;
}
.editable-click:hover,
a.editable-click:hover {
text-decoration: none;
color: #2a6496;
border-bottom-color: #2a6496;
}
/* editable-empty */
.editable-empty,
.editable-empty:hover,
.editable-empty:focus,
a.editable-empty,
a.editable-empty:hover,
a.editable-empty:focus {
font-style: italic;
color: #DD1144;
text-decoration: none;
}
/* ui-bootstrap editable popover */
.ui-popover-wrapper a {
/* make the link always show up */
display: inline !important;
}
.ui-popover-wrapper form {
display: none !important;
}
/* editable popover */
.popover-wrapper > a {
/* make the link always show up */
display: inline !important;
}
.popover-wrapper {
/* make absolutely positioned children constrained to this box*/
display: inline;
position: relative;
}
.popover-wrapper form {
position: absolute;
top: -53px;
background: #FFF;
border: 1px solid #AAA;
border-radius: 5px;
padding: 7px;
width: auto;
display: inline-block;
left: 50%;
z-index: 101;
}
.popover-wrapper form:before {
content:"";
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #AAA;
position:absolute;
bottom:-10px;
}
.popover-wrapper form:after {
content:"";
width:0;
height:0;
border-left: 9px solid transparent;
border-right: 9px solid transparent;
border-top: 9px solid #FFF;
position:absolute;
bottom:-9px;
}
@media screen and (max-width: 750px) {
.popover-wrapper form {
margin-left: -60px;
}
.popover-wrapper form:before {
left:50px;
}
.popover-wrapper form:after {
left:51px;
}
}
@media screen and (min-width: 750px) {
.popover-wrapper form {
margin-left: -110px;
}
.popover-wrapper form:before {
left:100px;
}
.popover-wrapper form:after {
left:101px;
}
}
|