qfq-bs.css.less 8.02 KB
Newer Older
1
2
3
4
@spinner : url(data:image/gif;base64,R0lGODlhEAAQAKIAAP///9bW1szMzL29vXt7e3Nzc2ZmZv4BAiH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBwAHACwAAAAAEAAQAAADPAi6QRQrymJMkcwFatuLXOFt1bWEYBmNq6awGDCicUhjIYzBwTBAmc9CQBSkLJGiYKZi+EgdV60ZCwIjCQAh+QQFBwAHACwAAAYABgAIAAADE3gz1/LCwaYYbYTQYkxpnEdlRwIAIfkEBQcABwAsAAACAAYACAAAAxN4OqMnUKgoVzuEuGJMUZznZE4CACH5BAUHAAcALAIAAAAIAAYAAAMUeKozqyKKQ8iRohhTTjsa91DWkwAAIfkEBQcABwAsBgAAAAgABgAAAxR4RNddxhR3oDxjtHWEF9QHUtmRAAAh+QQFBwAHACwKAAIABgAIAAADFHhE12WmOCjbaviMgYUXzQc225EAACH5BAUHAAcALAoABgAGAAgAAAMTeEqkV8YUBaVjagwnulDel21KAgAh+QQFBwAHACwGAAoACAAGAAADFHiqRKvFmHLGOHGKLU47XPdYz5EAADs=);

@alert_container_id : #qfqAlertContainer;
@spinner_class : spinner;
5
@CodeMirror_border_color: #ccc;
6
7

@{alert_container_id} {
8
  position: fixed;
Rafael Ostertag's avatar
Rafael Ostertag committed
9
10
11
  top: 0;
  left: 0;
  width: 100%;
12
  z-index: 1000;
13
14

  .alert {
15
16
    padding: 30px;
    border-radius: 0px;
17
    margin-bottom: 2px;
18
19
20
    border-top: none;
    border-left: none;
    border-right: none;
21
  }
bbaer's avatar
bbaer committed
22

Carsten  Rose's avatar
Carsten Rose committed
23
  .alert + .alert {
bbaer's avatar
bbaer committed
24
25
    margin-top: -2px;
  }
Rafael Ostertag's avatar
Rafael Ostertag committed
26
27
}

28
29
30
31
32
33
34
i.@{spinner_class} {
  display: inline-block;
  background: @spinner no-repeat;
  //height: image-height(@spinner);
  //width: image-width(@spinner);
  height: 16px;
  width: 16px;
35
36
}

37
38
39
40
.alert-buttons {
  margin-top: 10px;
}

Rafael Ostertag's avatar
Rafael Ostertag committed
41
/*inline elements in horizontal mode are too much left*/
42
43
44
45
46
47
.form-horizontal {
  .form-inline {
    .form-group {
      margin: 0;
    }
  }
Rafael Ostertag's avatar
Rafael Ostertag committed
48

49
50
  /* reduce unwished padding-top offset */
  .checkbox {
51
    padding-top: 7px;
52
  }
53

54
  .checkbox-inline {
55
56
    padding-top: 7px;
    margin-top: 0;
57
58
59
  }

  .radio {
60
    padding-top: 7px;
61
62
63
  }

  .radio-inline {
64
65
    padding-top: 7px;
    margin-top: 0px;
66
67
68
69
70
  }

  input[type=file] {
    display: inline;
  }
71
72
}

73
74
75
76
77
.form-inline {
  .control-label {
    font-weight: normal;
  }
}
78

79
80
81
82
83
84
85
86
87
88
//.form-group.required.control-label:before{
//  color: red;
//  content: "*";
//  position: absolute;
//  margin-left: -10px;
//}

.required-field:after {
  color: #d00;
  content: "*";
89
  //position: absolute;
90
  margin-left: 3px;
91
  //top: 10px;
92
93
}

94
95
96
97
98
99
100
101
102
103
.qfq-table-50 {
  min-width: 50%;
  width: auto;
}

.qfq-table-80 {
  min-width: 80%;
  width: auto;
}

104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
.qfq-form-pill {
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
}

.qfq-form-body {
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

/* adjust BS padding of input elements: center */
.form-group {
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 0;
}

123
124
125
126
127
/* adjust BS padding: Filename (=Text) of the uploaded file should be on the same base line as the label text left of it. */
.uploaded-file {
  padding-top: 4px;
}

128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
.qfq-color-white {
  background-color: #ffffff;
}

.qfq-color-grey-1 {
  background-color: #dedede;
}

.qfq-color-grey-2 {
  background-color: #ededed;
}

.qfq-color-blue-1 {
  background-color: #d2dded;
}

.qfq-color-blue-2 {
  background-color: #e2eeff;
}

.qfq-form-right .qfq-label {
  text-align: right;
  padding-right: 0;
}
152

153
154
155
.qfq-child-margin-top + .qfq-child-margin-top {
  margin-top: 15px;
}
156
157
158
159

.qfq-note {
  padding-top: 7px;
}
160

161
162
163
164
.control-label .small, .control-label small {
  font-weight: normal;
}

bbaer's avatar
bbaer committed
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
// Fabric Plugin classes
.fabric-text {
  width: 100%;
  height: 80px;
}

#text-bg-submit {
  background-color: #ccc;
  height: 24px;
  border: none;
}

.text-bg-toggle {
  width: 24px;
  height: 24px;
  background-size: contain;
  border: none;
}

bbaer's avatar
bbaer committed
184
185
186
187
.color-picker {
  margin-top: 5px;
}

Carsten  Rose's avatar
Carsten Rose committed
188
.color-picker > button {
bbaer's avatar
bbaer committed
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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
  margin-right: 2px;
}

.qfq-fabric-image {
  display: none;
}

// Emoji

.emoji {
  display: inline-block;
  border: none;
  background-color: #fff;
  width: 32px;
  height: 32px;
  margin: 5px;
}

.emoji-dice {
  content: url('../Emoji/1f3b2.svg');
}

.emoji-trophy {
  content: url('../Emoji/1f3c6.svg');
}

.emoji-lightbulb {
  content: url('../Emoji/1f4a1.svg');
}

.emoji-bomb {
  content: url('../Emoji/1f4a3.svg');
}

.emoji-onehundred {
  content: url('../Emoji/1f4af.svg');
}

.emoji-forbidden {
  content: url('../Emoji/1f6ab.svg');
}

.emoji-star {
  content: url('../Emoji/1f31f.svg');
}

.emoji-cookie {
  content: url('../Emoji/1f36a.svg');
}

bbaer's avatar
bbaer committed
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
.emoji-blush {
  content: url('../Emoji/1f60a.svg');
}

.emoji-love {
  content: url('../Emoji/1f60d.svg');
}

.emoji-cool {
  content: url('../Emoji/1f60e.svg');
}

.emoji-tongue {
  content: url('../Emoji/1f61b.svg');
}

.emoji-ehh {
  content: url('../Emoji/1f62c.svg');
}

.emoji-wow {
  content: url('../Emoji/1f62e.svg');
}

.emoji-educated {
  content: url('../Emoji/1f393.svg');
}

.emoji-heart {
  content: url('../Emoji/1f496.svg');
}

.emoji-lol {
  content: url('../Emoji/1f602.svg');
}

.emoji-biggrin {
  content: url('../Emoji/1f603.svg');
}

.emoji-laughing {
  content: url('../Emoji/1f604.svg');
}

.emoji-oops {
  content: url('../Emoji/1f605.svg');
}

.emoji-innocent {
  content: url('../Emoji/1f607.svg');
}

.emoji-evil {
  content: url('../Emoji/1f608.svg');
}

.emoji-shocked {
  content: url('../Emoji/1f631.svg');
}

.emoji-mybad {
  content: url('../Emoji/1f632.svg');
}

.emoji-noreaction {
  content: url('../Emoji/1f636.svg');
}

.emoji-sad {
  content: url('../Emoji/1f641.svg');
}

.emoji-happy {
  content: url('../Emoji/1f642.svg');
}

.emoji-correct {
  content: url('../Emoji/2b55.svg');
}

bbaer's avatar
bbaer committed
319
320
.emoji-zero {
  content: url('../Emoji/30-20e3.svg');
bbaer's avatar
bbaer committed
321
322
}

bbaer's avatar
bbaer committed
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
.emoji-one {
  content: url('../Emoji/31-20e3.svg');
}

.emoji-two {
  content: url('../Emoji/32-20e3.svg');
}

.emoji-three {
  content: url('../Emoji/33-20e3.svg');
}

.emoji-four {
  content: url('../Emoji/34-20e3.svg');
}

.emoji-five {
  content: url('../Emoji/35-20e3.svg');
}

.emoji-six {
  content: url('../Emoji/36-20e3.svg');
}
bbaer's avatar
bbaer committed
346

bbaer's avatar
bbaer committed
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
.emoji-seven {
  content: url('../Emoji/37-20e3.svg');
}

.emoji-eight {
  content: url('../Emoji/38-20e3.svg');
}

.emoji-nine {
  content: url('../Emoji/39-20e3.svg');
}

.emoji-hand {
  content: url('../Emoji/261d.svg');
}

.emoji-checked {
  content: url('../Emoji/2714.svg');
}

.emoji-wrong {
  content: url('../Emoji/274c.svg');
}
bbaer's avatar
bbaer committed
370

371
372
373
374
375
// typeAhead Input: Default Bootstrap column width
.twitter-typeahead {
  display: block !important;
}

376
377
.qfq-cc-style {
  font-size: 0.8em;
378
  color: #777;
Carsten  Rose's avatar
Carsten Rose committed
379
380
381
382
383
  //position: relative;
  //top: -24px;
  //right: 10px;
  //text-align: right;
  //display: block;
384
385
}

386
// TypeAhead Suggestions
387
388
389
390
391
392
393
394
.tt-menu {
  background-color: #fff;
  border-left: 1px solid #66afe9;
  border-right: 1px solid #66afe9;
  border-bottom: 1px solid #66afe9;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  width: 100%;
}

@media (min-width: 768px) {
  .form-horizontal .control-label {
    text-align: unset;
  }
}

.tt-suggestion {
  cursor: pointer;
  cursor: hand;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 6px;
  padding-top: 12px;
412
413
414
}

.tt-suggestion + .tt-suggestion {
415
416
417
418
419
  padding-top: 6px;
}

.tt-suggestion:hover {
  background-color: rgba(102, 175, 233, .6);
420
}
421

422
423
424
425
// Workaround as long as rendering of notes can't be specific.
.qfq-note-no-padding {
  margin-top: -7px;
}
426

427
428
429
430
431
432
433
434
// Mit BB anschauen wie man die NOTE Felder formatiert
//
//.text-input {
//  padding-top: 7px;
//}
//
//.text-note {
//  padding-top: 7px;
435
436
437
438
439
//}

.CodeMirror {
  border: 1px solid @CodeMirror_border_color;
  border-radius: 4px;
Carsten  Rose's avatar
Carsten Rose committed
440
441
442
}

//}
Carsten  Rose's avatar
Carsten Rose committed
443

bbaer's avatar
bbaer committed
444
445
446
447
448
449
450
451
452
453
454
455
456
457
/* classes for toggleable note mockup, bb */
.qfq-icon-inside {
  position: relative;
  top: -22px;
  left: calc(100% - 26px);
}

.qfq-margin-top {
  margin-top: 10px;
}

/* spinning icons */

.text-large-with-margin {
458
459
  font-size: 92px;
  line-height: normal;
bbaer's avatar
bbaer committed
460
461
462
  margin: 0.4em;
}

463
464
465
466
467
468
.qfq-icon-gear {
  height: 190px;
  width: 190px;
  margin: 1em;
}

bbaer's avatar
bbaer committed
469
.glyphicon-spin {
470
471
  -webkit-animation: spin 2350ms infinite linear;
  animation: spin 2350ms infinite linear;
bbaer's avatar
bbaer committed
472
}
Carsten  Rose's avatar
Carsten Rose committed
473

bbaer's avatar
bbaer committed
474
475
476
477
478
479
480
481
482
483
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
Carsten  Rose's avatar
Carsten Rose committed
484

bbaer's avatar
bbaer committed
485
486
487
488
489
490
491
492
493
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
494
495
496
497
}

a.noclick {
  pointer-events: none;
498
499
}