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

Last change on this file since 13099 was 12901, checked in by Henrik Bettermann, 10 years ago

Add link ‘Kofa Docs for this page’ at the end of the content box which refers to the corresponding section of the Kofa Documentation.

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