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
RevLine 
[11011]1/* Customized Bootstrap styles */
2
[10917]3body {
4    background-color: #f5f5f5;
[10961]5    padding-top: 52px;
[10917]6}
7
[10961]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
[11097]25.navbar-inverse {
26  border-color: #FFFFFF;
27}
28
[11021]29.kofa-langselect img {
30    margin-top: -10px;
31    margin-bottom: -10px;
32}
33
[11030]34.breadcrumb , .wfstatus {
[10917]35    background-color: #fff;
[10960]36    margin-bottom: 0px;
37    margin-top: 0px;
38    padding: 2px 15px;
[10917]39}
40
[11032]41.breadcrumb > li {
42    display: inline;
43}
44
45.breadcrumb > li + li:before {
46    content: "/";
47    padding: 0px;
48}
49
[11011]50.well {
51    padding: 0px 5px 20px 5px;
52    margin-bottom: 10px;
53    background-image: None;
54    background-color: #fff;
[11030]55    filter: None;
[11011]56}
57
58.alert {
59  margin-bottom: 10px;
60  margin-top: 10px;
61}
62
[10977]63
[11011]64/* Kofa styles */
65
[10973]66.kofa-sidebar,
[11030]67.kofa-content-narrow,
68.kofa-content-wide,
69.kofa-breadcrumbs-box-short,
70.kofa-breadcrumbs-box-long,
71.kofa-student-status-box {
[10960]72    padding: 0px 5px 0px 5px;
73}
74
[11011]75.workflow {
[11030]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;
[10917]83}
84
[11030]85.kofa-breadcrumbs-box-short .well,
86.kofa-breadcrumbs-box-long .well,
87.kofa-student-status-box .well {
[10970]88    padding: 5px 5px 5px 5px;
89}
90
[10960]91.kofa-content-wide .well, .kofa-content-narrow .well {
[10999]92    padding: 10px 20px 10px 20px;
[10917]93}
94
[10994]95.kofa-content-desc {
96    color: #BFBFBF;
97    font-size: 18px;
98}
99
[12437]100.wfstatus, .wfstatus-sub {
[11033]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
[11102]110.separator {
[11107]111    font-size: 16px;
112    color: #404040;
113    font-weight: bold;
114    line-height: 36px;
[11102]115}
116
[10971]117/* Sidebar */
118
[10917]119.kofa-sidebar-title {
120    text-transform: none;
121    font-size: 14px;
122    color: #555;
[10963]123    font-weight: bold;
[10960]124    padding: 15px 0px 10px 8px;
[10917]125}
[10957]126
[10963]127.sidebar-nav .nav  > li > a {
[10969]128    padding: 3px 15px;
[10963]129}
130
[10971]131/* Buttons */
132
[11558]133input.btn {
[11719]134    padding: 6px 12px;
[11558]135    margin-right: 4px;
[10971]136}
137
[11558]138input.btn-sm {
139  padding: 5px 10px;
140}
141
[11559]142input.btn-xs {
143  padding: 1px 10px;
144}
145
[11005]146.table-condensed .btn {
147    margin: 0px;
148    font-size: 12px;
149}
150
151
[10971]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;
[11003]164    display: inline-block;
[10971]165}
166
[12901]167/* Documentation link*/
168
169div.documentation {
170    margin-top: -20px;
171    text-align: right;
172}
173
[10957]174/* Kofa forms */
175
[10992]176.form-table {
177    width: 100%;
178}
179
[10999]180.form-table td {
[10992]181    padding: 5px 0px 5px 4px;
182    border-top: none;
183}
184
[11551]185.value select, .phone-input, .ac-input,
[11053]186.textType, textarea,
187.dataTables_filter input,
[11118]188.dataTables_length select,
[11053]189.ordered-selection-field select {
[10957]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;
[11011]197    margin: 0px 4px 0px 0px;
[11431]198    width: 100%;
[10957]199}
200
[11431]201.dataTables_length select {
202    width: 90px;
203}
204
[11551]205.value select:focus, .phone-input:focus, .ac-input:focus,
[11055]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
[11026]215.value select, .half {
216    width: 50%;
217}
218
[11003]219textarea {
220    font-family: Courier,"Courier New",monospace;
221}
222
[10992]223.fieldname {
224    width: 25%;
225}
226
[10999]227.form-table td {
228    vertical-align: bottom;
229}
230
231.form-table td.fieldname {
232    vertical-align: top;
233}
234
[10989]235.form-inline select {
236    width: 100%;
237}
238
[10957]239.phone-input {
[11551]240    width: 30%;
[10957]241}
242
[11551]243.ac-series {
244    width: 50px;
245}
246
247.ac-number {
248    width: 110px;
249}
250
[10957]251.hint {
252    padding: 0px 0px 5px 0px;
253    color: #bfbfbf;
[10973]254}
255
[10985]256.error {
[10987]257    color: red;
[10985]258}
[10973]259
[11019]260.datepicker-le-year {
261    width: 50%;
262}
263
[11730]264.datepicker-short {
265    width: 15%;
266}
267
[11020]268.ui-widget-header .ui-icon {
269    background-image: url("../img/ui-icons_222222_256x240.png");
270}
271
272
[10987]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
[10989]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; }
[10992]297.paginate_disabled_next { background: url('../img/forward_disabled.png') no-repeat top right; }
[10989]298
[11464]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
[12437]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
[10973]343/* Smartphone styles */
344
345@media (max-width: 767px) {
346
347  .kofa-sidebar,
[11030]348  .kofa-content-narrow ,
349  .kofa-breadcrumbs-box-short,
350  .kofa-breadcrumbs-box-long,
351  .kofa-student-status-box {
[10973]352      padding: 0px 0px 0px 0px;
353  }
354
355  .kofa-content-wide {
356      padding: 0px 0px 0px 0px;
357  }
358
[11032]359  .value select, .half {
360      width: 100%;
361  }
[11031]362
[10957]363}
Note: See TracBrowser for help on using the repository browser.