source: main/waeup.kofa/trunk/layout/static/css/base.css @ 14843

Last change on this file since 14843 was 13936, checked in by Henrik Bettermann, 8 years ago

Divide editscorespage.pt into two parts, one for file upload and one for table form.

Add Help modal.

File size: 6.5 KB
Line 
1/* Customized Bootstrap styles */
2
3body {
4    background-color: #f5f5f5;
5    padding-top: 52px;
6}
7
8.navbar-fixed-top, .navbar {
9    min-height:40px;
10}
11
12.navbar-nav > li > a, .navbar-brand {
13    padding-top:10px;
14    padding-bottom:10px;
15}
16
17.navbar-toggle {
18    padding: 4px 10px;
19}
20
21.navbar-nav.navbar-right:last-child {
22  margin-right: -5px;
23}
24
25.navbar-inverse {
26  border-color: #FFFFFF;
27}
28
29.kofa-langselect img {
30    margin-top: -10px;
31    margin-bottom: -10px;
32}
33
34.breadcrumb , .wfstatus, .maintenance-warning {
35    background-color: #fff;
36    margin-bottom: 0px;
37    margin-top: 0px;
38    padding: 2px 15px;
39}
40
41.breadcrumb > li {
42    display: inline;
43}
44
45.breadcrumb > li + li:before {
46    content: "/";
47    padding: 0px;
48}
49
50.well {
51    padding: 0px 5px 20px 5px;
52    margin-bottom: 10px;
53    background-image: None;
54    background-color: #fff;
55    filter: None;
56}
57
58.alert {
59  margin-bottom: 10px;
60  margin-top: 10px;
61}
62
63
64/* Kofa styles */
65
66.kofa-sidebar,
67.kofa-content-narrow,
68.kofa-content-wide,
69.kofa-breadcrumbs-box-short,
70.kofa-breadcrumbs-box-long,
71.kofa-student-status-box,
72.kofa-maintenance {
73    padding: 0px 5px 0px 5px;
74}
75
76.workflow {
77    border:1px solid #1fdf00;
78    background-color:#bbffb6;
79    font-family: courier;
80    font-size: 100%;
81    padding: 4px;
82    margin-bottom: 8px;
83    line-height: 16px;
84}
85
86.kofa-breadcrumbs-box-short .well,
87.kofa-breadcrumbs-box-long .well,
88.kofa-student-status-box .well,
89.kofa-maintenance .well {
90    padding: 5px 5px 5px 5px;
91}
92
93.kofa-content-wide .well, .kofa-content-narrow .well {
94    padding: 10px 20px 10px 20px;
95}
96
97.kofa-content-desc {
98    color: #BFBFBF;
99    font-size: 18px;
100}
101
102.wfstatus, .wfstatus-sub {
103    text-align: center;
104    background-color: #909090;
105    color: white;
106}
107
108.kofa-student-status-box .well {
109    background-color: #909090;
110}
111
112.maintenance-warning {
113    text-align: center;
114}
115
116.kofa-maintenance .well {
117    background-color: red;
118}
119
120.separator {
121    font-size: 16px;
122    color: #404040;
123    font-weight: bold;
124    line-height: 36px;
125}
126
127/* Sidebar */
128
129.kofa-sidebar-title {
130    text-transform: none;
131    font-size: 14px;
132    color: #555;
133    font-weight: bold;
134    padding: 15px 0px 10px 8px;
135}
136
137.sidebar-nav .nav  > li > a {
138    padding: 3px 15px;
139}
140
141/* Buttons */
142
143input.btn {
144    padding: 6px 12px;
145}
146
147input.btn-sm {
148  padding: 5px 10px;
149}
150
151input.btn-xs {
152  padding: 1px 10px;
153}
154
155.table-condensed .btn {
156    margin: 0px;
157    font-size: 12px;
158}
159
160
161/* Content actionbar */
162
163div.actionbar {
164    margin-top: -6px;
165    margin-left: -10px;
166    margin-bottom: 0px;
167}
168
169.actionbar .btn-default {
170    margin-bottom: 4px;
171    padding: 4px 8px;
172    margin: 0px 0px 4px 0px;
173    display: inline-block;
174}
175
176/* Documentation link*/
177
178div.documentation {
179    margin-top: -20px;
180    text-align: right;
181}
182
183/* Kofa forms */
184
185.form-table {
186    width: 100%;
187}
188
189.form-table td {
190    padding: 5px 0px 5px 4px;
191    border-top: none;
192}
193
194.value select, .phone-input, .ac-input,
195.textType, textarea,
196.dataTables_filter input,
197.dataTables_length select,
198.ordered-selection-field select {
199    background-color: #FFFFFF;
200    border: 1px solid #CCCCCC;
201    border-radius: 4px;
202    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
203    color: #555555;
204    padding: 6px 12px;
205    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
206    margin: 0px 4px 0px 0px;
207    width: 100%;
208}
209
210.dataTables_length select {
211    width: 90px;
212}
213
214.value select:focus, .phone-input:focus, .ac-input:focus,
215.textType:focus, textarea:focus,
216.dataTables_filter input:focus,
217.ordered-selection-field select:focus {
218  border-color: #66afe9;
219  outline: 0;
220  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
221          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
222}
223
224.value select, .half {
225    width: 50%;
226}
227
228textarea {
229    font-family: Courier,"Courier New",monospace;
230}
231
232.fieldname {
233    width: 25%;
234}
235
236.form-table td {
237    vertical-align: bottom;
238}
239
240.form-table td.fieldname {
241    vertical-align: top;
242}
243
244.form-inline select {
245    width: 100%;
246}
247
248.phone-input {
249    width: 30%;
250}
251
252.ac-series {
253    width: 50px;
254}
255
256.ac-number {
257    width: 110px;
258}
259
260.hint {
261    padding: 0px 0px 5px 0px;
262    color: #bfbfbf;
263}
264
265.error {
266    color: red;
267}
268
269.datepicker-le-year {
270    width: 50%;
271}
272
273.datepicker-short {
274    width: 15%;
275}
276
277.ui-widget-header .ui-icon {
278    background-image: url("../img/ui-icons_222222_256x240.png");
279}
280
281
282 /* dataTables stuff */
283
284.dataTables_wrapper {
285    min-height: 50px;
286    margin-bottom: 50px;
287}
288
289.dataTables_filter input {
290    width: 60%;
291}
292
293.sorting { background: url('../img/sort_both.png') no-repeat center right; }
294.sorting_asc { background: url('../img/sort_asc.png') no-repeat center right; }
295.sorting_desc { background: url('../img/sort_desc.png') no-repeat center right; }
296
297.sorting_asc_disabled { background: url('../img/sort_asc_disabled.png') no-repeat center right; }
298.sorting_desc_disabled { background: url('../img/sort_desc_disabled.png') no-repeat center right; }
299
300.paginate_enabled_previous { background: url('../img/back_enabled.png') no-repeat top left; }
301.paginate_enabled_previous:hover { background: url('../img/back_enabled_hover.png') no-repeat top left; }
302.paginate_disabled_previous { background: url('../img/back_disabled.png') no-repeat top left; }
303
304.paginate_enabled_next { background: url('../img/forward_enabled.png') no-repeat top right; }
305.paginate_enabled_next:hover { background: url('../img/forward_enabled_hover.png') no-repeat top right; }
306.paginate_disabled_next { background: url('../img/forward_disabled.png') no-repeat top right; }
307
308/* Scroll icons */
309
310#toTop-right {
311        display:none;
312        text-decoration:none;
313        position:fixed;
314        bottom:-4px;
315        right:-4px;
316        outline:none;
317}
318
319.scroll-up {
320  background: url("../img/scroll_up.png") no-repeat scroll left top rgba(0, 0, 0, 0);
321  padding: 25px;
322}
323
324#toBottom-right {
325        display:none;
326        text-decoration:none;
327        position:fixed;
328        top:47px;
329        right:-4px;
330        outline:none;
331}
332
333.scroll-down {
334  background: url("../img/scroll_down.png") no-repeat scroll left top rgba(0, 0, 0, 0);
335  padding: 25px;
336}
337
338 /* docutils stuff */
339
340.section h1 {
341    font-size: 30px}
342
343.section h2 {
344    font-size: 24px}
345
346.section h3 {
347    font-size: 18px}
348
349.section h4 {
350    font-size: 14px}
351
352/* Smartphone styles */
353
354@media (max-width: 767px) {
355
356  .kofa-sidebar,
357  .kofa-content-narrow ,
358  .kofa-breadcrumbs-box-short,
359  .kofa-breadcrumbs-box-long,
360  .kofa-student-status-box {
361      padding: 0px 0px 0px 0px;
362  }
363
364  .kofa-content-wide {
365      padding: 0px 0px 0px 0px;
366  }
367
368  .value select, .half {
369      width: 100%;
370  }
371
372}
Note: See TracBrowser for help on using the repository browser.