-
Notifications
You must be signed in to change notification settings - Fork 988
/
survey.css
77 lines (70 loc) · 1.89 KB
/
survey.css
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
/*!
* Style for public survey
* This file is part of LimeSurvey API for template
*
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
*/
/**
* Used in answers : bootsrap fix (specific single choice list)
*/
/* Some tools
*/
.js .ls-js-hidden{display: none !important;}
.no-js .ls-no-js-hidden{display: none !important;}
/* Using http://webaim.org/techniques/css/invisiblecontent/ technique : better with less part (to be more easily updatable by template ? : can use initial) */
.js .ls-js-hidden-sr{
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}
/* For relanceOnOff ? */
.ls-irrelevant {display: none !important;}
/* Todo : default asterisk : why not put directly <i class fa> inside ?
*/
/*
.asterisk {}
.asterisk:before {
content: "\f069";
display: inline-block;
font-family: FontAwesome;
font-size: inherit;
line-height:1;
}
*/
/** ls-label-xs-visibility : set sr-only by default : template can reinit it with initial */
.ls-label-xs-visibility{
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}
/**
* The answers part
* BS use px size, use rem to easily update body font-size : @link http://caniuse.com/rem/embed/
**/
/* ls-input-group-extra : near same behaviour than BS input-group-addon without border/background and with rem(can be easily done in template) */
.ls-input-group-extra {
display: table-cell;
}
.ls-input-group-extra {
width: 1%;
white-space: nowrap;
vertical-align: middle;
}
.ls-input-group-extra {
padding: 0.6rem 1.2rem;
font-size: inherit;/* 1.4rem; BS use 10px for html and 14px for body */
font-weight: normal;
line-height: 1;
text-align: center;
border: 1px hidden transparent;
}
/* in inline form : width need to be auto */
.form-inline .input-group .ls-input-group-extra{width: auto;white-space: initial;}