-
Notifications
You must be signed in to change notification settings - Fork 988
/
adminstyle.css
219 lines (197 loc) · 5.26 KB
/
adminstyle.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
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
/*** Minimized/Maximized Toolbar ***/
.cke_minimized .cke_break,
.cke_minimized .buttonSpan-1,
.cke_minimized .buttonSpan-2,
.cke_minimized .buttonSpan-3,
.cke_minimized .buttonSpan-4,
.cke_minimized .buttonSpan-6,
.cke_minimized .buttonSpan-7,
.cke_minimized .buttonSpan-8,
.cke_minimized .buttonSpan-9,
.cke_minimized .buttonSpan-10,
.cke_minimized .buttonSpan-12,
.cke_minimized .buttonSpan-13,
.cke_minimized .buttonSpan-14 {
display: none;
}
.cke_maximized .buttonSpan-16,
.cke_maximized .buttonSpan-17,
.cke_maximized .buttonSpan-18,
.cke_maximized .buttonSpan-19,
.cke_maximized .buttonSpan-20,
.cke_maximized .buttonSpan-21 {
display: none;
}
/* Some changes to codemirror used on template editor */
.codemirror-ui-button-frame input,.codemirror-ui-button-frame label{
font-size: 0.7em !important;
}
.codemirror-ui-find-bar{
margin-top: 0.2em !important;
}
/* HTML editor */
div.htmleditor {
display: inline-block;
}
.imagelink {
float:left;
}
.imagelink img {
margin-top: 3px;
margin-left: 1px;
margin-right: 1px;
}
.popuptip {
position:absolute;left:-99999em;
}
.menubar a{display:inline-block;}
.menubar select {
margin-bottom: 0px;
}
.qtip-questiontype {
z-index: 100000;
background-color: white;
border: 1px solid #ddd;
max-width: 468px;
width: 468px;
}
#surveydetails td:first-child,
#groupdetails td:first-child,
#questiondetails td:first-child {
width:25%;
font-weight:bold;
text-align:right;
vertical-align:top;
}
#surveydetails td+td,
#groupdetails td+td,
#questiondetails td+td {
text-align:left;
}
/* Some color for information block */
/* Best is to replace in template */
.error{color:#B94A48}
.success{color:#468847}
.warning{color:#C09853}
/******************************************************************************/
/* Bootstrap overrides. */
/******************************************************************************/
label {display: inline-block;}/* override but leave admin template to override again */
/* Fixes li not expanding to size of containing table. (Survey settings add language interface) */
form li {
overflow: hidden;
}
/* Fix padding on table cell */
table td, table th {
padding: 1px;
}
/* Fix select width, bootstrap set it for mobile */
select {
width: auto;
}
/* Fix select and input width, taken from getskeleton and other */
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"]
{
max-width:99%;
}
/* Specific select ?*/
.select{
margin-left: 10px;
}
.select * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* Think this can be in template/adminstyle.css */
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
min-width: 6em;
width:auto;
margin-bottom: 0px;
font-size: 1em;
line-height: 1.5;
}
textarea,select[size]{
height: auto;
}
.ui-jqgrid{clear:both}
.ui-jqgrid-btable.load{opacity:0.5}
.ui-jqgrid select,.ui-jqgrid textarea,.ui-jqgrid input[type="text"]{
padding: 2px;
}
.gridcontrol.disabled{visibility:hidden}
label, legend {
width:auto;
min-height: 26px;
margin-bottom: 0px;
padding: 2px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-size: 1em;
}
/* Make line spacing more compact for advanced question settings */
li label {
line-height: 1em;
margin-top: .4em;
}
/* Fix input height for jqgrid (survey overview) */
div.ui-jqgrid-hbox input, div.ui-jqgrid-hbox input{
height: 18px;
}
/* fix jqgrid th height */
.ui-jqgrid .ui-jqgrid-htable th {
height: auto;
padding: 0 2px;
}
/* Fix height of browsettable */
.browsetable th .qcode {
display: block;
height: auto;
}
.browsetable th .questiontext {
display: block;
height: 3em;
overflow: hidden;
}
.browsetable td span {
min-width:10em;/* This is OK for date time */
}
.ui-tooltip.tooltip-text{min-width:15em}
.templateeditor {
float:left;
width:70%;
padding:1em;
}
/* Make jqgrid pagers fit in IE */
.ui-jqgrid .ui-jqgrid-toppager,
.ui-jqgrid .ui-jqgrid-pager {
height: auto !important;
}
/* some li in form have clear */
.ui-tabs .ui-tabs-nav li{
clear: none !important;
}
/* Make pager not so high */
.ui-jqgrid input,
.ui-jqgrid select {
height: auto;
min-height: 1.4em;
line-height: 1.4em;
display: inline-block;
min-width: 0;
width: auto;
overflow: hidden;
}
legend { line-height: normal; }
/* export tooltips */
.tooltip-export {
display: inline;
}
.tooltip-export .exporttip {
display: none;
}
.popover-content p .exporttip { text-align: left;}
.exporttip li { overflow: visible;}
li input+label { display: inline;}
#resultexport ol, #resultexport ul { margin: 0 0 10px 10px;}