source: main/kofacustom.pcn/trunk/layout/static/css/base.css @ 14086

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

Adjust to changes made in waeup.kofa.

File size: 6.0 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 {
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/* Kofa forms */
168
169.form-table {
170    width: 100%;
171}
172
173.form-table td {
174    padding: 5px 0px 5px 4px;
175    border-top: none;
176}
177
178.value select, .phone-input, .ac-input,
179.textType, textarea,
180.dataTables_filter input,
181.dataTables_length select,
182.ordered-selection-field select {
183    background-color: #FFFFFF;
184    border: 1px solid #CCCCCC;
185    border-radius: 4px;
186    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
187    color: #555555;
188    padding: 6px 12px;
189    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
190    margin: 0px 4px 0px 0px;
191    width: 100%;
192}
193
194.dataTables_length select {
195    width: 90px;
196}
197
198.value select:focus, .phone-input:focus, .ac-input:focus,
199.textType:focus, textarea:focus,
200.dataTables_filter input:focus,
201.ordered-selection-field select:focus {
202  border-color: #66afe9;
203  outline: 0;
204  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
205          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
206}
207
208.value select, .half {
209    width: 50%;
210}
211
212textarea {
213    font-family: Courier,"Courier New",monospace;
214}
215
216.fieldname {
217    width: 25%;
218}
219
220.form-table td {
221    vertical-align: bottom;
222}
223
224.form-table td.fieldname {
225    vertical-align: top;
226}
227
228.form-inline select {
229    width: 100%;
230}
231
232.phone-input {
233    width: 30%;
234}
235
236.ac-series {
237    width: 50px;
238}
239
240.ac-number {
241    width: 110px;
242}
243
244.hint {
245    padding: 0px 0px 5px 0px;
246    color: #bfbfbf;
247}
248
249.error {
250    color: red;
251}
252
253.datepicker-le-year {
254    width: 50%;
255}
256
257.datepicker-short {
258    width: 15%;
259}
260
261.ui-widget-header .ui-icon {
262    background-image: url("../img/ui-icons_222222_256x240.png");
263}
264
265
266 /* dataTables stuff */
267
268.dataTables_wrapper {
269    min-height: 50px;
270    margin-bottom: 50px;
271}
272
273.dataTables_filter input {
274    width: 60%;
275}
276
277.sorting { background: url('../img/sort_both.png') no-repeat center right; }
278.sorting_asc { background: url('../img/sort_asc.png') no-repeat center right; }
279.sorting_desc { background: url('../img/sort_desc.png') no-repeat center right; }
280
281.sorting_asc_disabled { background: url('../img/sort_asc_disabled.png') no-repeat center right; }
282.sorting_desc_disabled { background: url('../img/sort_desc_disabled.png') no-repeat center right; }
283
284.paginate_enabled_previous { background: url('../img/back_enabled.png') no-repeat top left; }
285.paginate_enabled_previous:hover { background: url('../img/back_enabled_hover.png') no-repeat top left; }
286.paginate_disabled_previous { background: url('../img/back_disabled.png') no-repeat top left; }
287
288.paginate_enabled_next { background: url('../img/forward_enabled.png') no-repeat top right; }
289.paginate_enabled_next:hover { background: url('../img/forward_enabled_hover.png') no-repeat top right; }
290.paginate_disabled_next { background: url('../img/forward_disabled.png') no-repeat top right; }
291
292/* Scroll icons */
293
294#toTop-right {
295        display:none;
296        text-decoration:none;
297        position:fixed;
298        bottom:-4px;
299        right:-4px;
300        outline:none;
301}
302
303.scroll-up {
304  background: url("../img/scroll_up.png") no-repeat scroll left top rgba(0, 0, 0, 0);
305  padding: 25px;
306}
307
308#toBottom-right {
309        display:none;
310        text-decoration:none;
311        position:fixed;
312        top:47px;
313        right:-4px;
314        outline:none;
315}
316
317.scroll-down {
318  background: url("../img/scroll_down.png") no-repeat scroll left top rgba(0, 0, 0, 0);
319  padding: 25px;
320}
321
322/* Smartphone styles */
323
324@media (max-width: 767px) {
325
326  .kofa-sidebar,
327  .kofa-content-narrow ,
328  .kofa-breadcrumbs-box-short,
329  .kofa-breadcrumbs-box-long,
330  .kofa-student-status-box {
331      padding: 0px 0px 0px 0px;
332  }
333
334  .kofa-content-wide {
335      padding: 0px 0px 0px 0px;
336  }
337
338  .value select, .half {
339      width: 100%;
340  }
341
342}
Note: See TracBrowser for help on using the repository browser.