source: main/waeup.kofa/branches/uli-diazo-themed/layout/static/css/base.css @ 11032

Last change on this file since 11032 was 11032, checked in by Henrik Bettermann, 11 years ago

Adjustments for IE8.

Shorten breadcrumbs.

File size: 4.7 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.kofa-langselect img {
26    margin-top: -10px;
27    margin-bottom: -10px;
28}
29
30.breadcrumb , .wfstatus {
31    background-color: #fff;
32    margin-bottom: 0px;
33    margin-top: 0px;
34    padding: 2px 15px;
35}
36
37.breadcrumb > li {
38    display: inline;
39}
40
41.breadcrumb > li + li:before {
42    content: "/";
43    padding: 0px;
44}
45
46.well {
47    padding: 0px 5px 20px 5px;
48    margin-bottom: 10px;
49    background-image: None;
50    background-color: #fff;
51    filter: None;
52}
53
54.alert {
55  margin-bottom: 10px;
56  margin-top: 10px;
57}
58
59
60/* Kofa styles */
61
62.kofa-sidebar,
63.kofa-content-narrow,
64.kofa-content-wide,
65.kofa-breadcrumbs-box-short,
66.kofa-breadcrumbs-box-long,
67.kofa-student-status-box {
68    padding: 0px 5px 0px 5px;
69}
70
71.workflow {
72    border:1px solid #1fdf00;
73    background-color:#bbffb6;
74    font-family: courier;
75    font-size: 100%;
76    padding: 4px;
77    margin-bottom: 8px;
78    line-height: 16px;
79}
80
81.kofa-breadcrumbs-box-short .well,
82.kofa-breadcrumbs-box-long .well,
83.kofa-student-status-box .well {
84    padding: 5px 5px 5px 5px;
85}
86
87.kofa-content-wide .well, .kofa-content-narrow .well {
88    padding: 10px 20px 10px 20px;
89}
90
91.kofa-content-desc {
92    color: #BFBFBF;
93    font-size: 18px;
94}
95
96/* Sidebar */
97
98.kofa-sidebar-title {
99    text-transform: none;
100    font-size: 14px;
101    color: #555;
102    font-weight: bold;
103    padding: 15px 0px 10px 8px;
104}
105
106.sidebar-nav .nav  > li > a {
107    padding: 3px 15px;
108}
109
110/* Buttons */
111
112.btn {
113    margin: 4px;
114    font-size: 13px;
115    display: inline;
116}
117
118.table-condensed .btn {
119    margin: 0px;
120    font-size: 12px;
121}
122
123
124/* Content actionbar */
125
126div.actionbar {
127    margin-top: -6px;
128    margin-left: -10px;
129    margin-bottom: 0px;
130}
131
132.actionbar .btn-default {
133    margin-bottom: 4px;
134    padding: 4px 8px;
135    margin: 0px 0px 4px 0px;
136    display: inline-block;
137}
138
139/* Kofa forms */
140
141.form-table {
142    width: 100%;
143}
144
145.form-table td {
146    padding: 5px 0px 5px 4px;
147    border-top: none;
148}
149
150.value select, .phone-input, .textType, textarea, .dataTables_filter input {
151    background-color: #FFFFFF;
152    border: 1px solid #CCCCCC;
153    border-radius: 4px;
154    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
155    color: #555555;
156    padding: 6px 12px;
157    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
158    margin: 0px 4px 0px 0px;
159    width: 100%;
160}
161
162.value select, .half {
163    width: 50%;
164}
165
166textarea {
167    font-family: Courier,"Courier New",monospace;
168}
169
170.fieldname {
171    width: 25%;
172}
173
174.form-table td {
175    vertical-align: bottom;
176}
177
178.form-table td.fieldname {
179    vertical-align: top;
180}
181
182.ordered-selection-field select , .inline-selection-field select {
183    width: 100%;
184}
185
186.form-inline select {
187    width: 100%;
188}
189
190.phone-input {
191    width: 30%
192}
193
194.hint {
195    padding: 0px 0px 5px 0px;
196    color: #bfbfbf;
197}
198
199.error {
200    color: red;
201}
202
203.datepicker-le-year {
204    width: 50%;
205}
206
207.ui-widget-header .ui-icon {
208    background-image: url("../img/ui-icons_222222_256x240.png");
209}
210
211
212 /* dataTables stuff */
213
214.dataTables_wrapper {
215    min-height: 50px;
216    margin-bottom: 50px;
217}
218
219.dataTables_length {
220    display: none;
221}
222
223.dataTables_filter input {
224    width: 60%;
225}
226
227.sorting { background: url('../img/sort_both.png') no-repeat center right; }
228.sorting_asc { background: url('../img/sort_asc.png') no-repeat center right; }
229.sorting_desc { background: url('../img/sort_desc.png') no-repeat center right; }
230
231.sorting_asc_disabled { background: url('../img/sort_asc_disabled.png') no-repeat center right; }
232.sorting_desc_disabled { background: url('../img/sort_desc_disabled.png') no-repeat center right; }
233
234.paginate_enabled_previous { background: url('../img/back_enabled.png') no-repeat top left; }
235.paginate_enabled_previous:hover { background: url('../img/back_enabled_hover.png') no-repeat top left; }
236.paginate_disabled_previous { background: url('../img/back_disabled.png') no-repeat top left; }
237
238.paginate_enabled_next { background: url('../img/forward_enabled.png') no-repeat top right; }
239.paginate_enabled_next:hover { background: url('../img/forward_enabled_hover.png') no-repeat top right; }
240.paginate_disabled_next { background: url('../img/forward_disabled.png') no-repeat top right; }
241
242/* Smartphone styles */
243
244@media (max-width: 767px) {
245
246  .kofa-sidebar,
247  .kofa-content-narrow ,
248  .kofa-breadcrumbs-box-short,
249  .kofa-breadcrumbs-box-long,
250  .kofa-student-status-box {
251      padding: 0px 0px 0px 0px;
252  }
253
254  .kofa-content-wide {
255      padding: 0px 0px 0px 0px;
256  }
257
258  .value select, .half {
259      width: 100%;
260  }
261
262}
Note: See TracBrowser for help on using the repository browser.