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

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

Reinsert dataTables length selector but customise display parameters.

File size: 4.8 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.wfstatus {
97    text-align: center;
98    background-color: #909090;
99    color: white;
100}
101
102.kofa-student-status-box .well {
103    background-color: #909090;
104}
105
106/* Sidebar */
107
108.kofa-sidebar-title {
109    text-transform: none;
110    font-size: 14px;
111    color: #555;
112    font-weight: bold;
113    padding: 15px 0px 10px 8px;
114}
115
116.sidebar-nav .nav  > li > a {
117    padding: 3px 15px;
118}
119
120/* Buttons */
121
122.btn {
123    margin: 4px;
124    font-size: 13px;
125    display: inline;
126}
127
128.table-condensed .btn {
129    margin: 0px;
130    font-size: 12px;
131}
132
133
134/* Content actionbar */
135
136div.actionbar {
137    margin-top: -6px;
138    margin-left: -10px;
139    margin-bottom: 0px;
140}
141
142.actionbar .btn-default {
143    margin-bottom: 4px;
144    padding: 4px 8px;
145    margin: 0px 0px 4px 0px;
146    display: inline-block;
147}
148
149/* Kofa forms */
150
151.form-table {
152    width: 100%;
153}
154
155.form-table td {
156    padding: 5px 0px 5px 4px;
157    border-top: none;
158}
159
160.value select, .phone-input, .textType, textarea, .dataTables_filter input {
161    background-color: #FFFFFF;
162    border: 1px solid #CCCCCC;
163    border-radius: 4px;
164    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
165    color: #555555;
166    padding: 6px 12px;
167    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
168    margin: 0px 4px 0px 0px;
169    width: 100%;
170}
171
172.value select, .half {
173    width: 50%;
174}
175
176textarea {
177    font-family: Courier,"Courier New",monospace;
178}
179
180.fieldname {
181    width: 25%;
182}
183
184.form-table td {
185    vertical-align: bottom;
186}
187
188.form-table td.fieldname {
189    vertical-align: top;
190}
191
192.ordered-selection-field select , .inline-selection-field select {
193    width: 100%;
194}
195
196.form-inline select {
197    width: 100%;
198}
199
200.phone-input {
201    width: 30%
202}
203
204.hint {
205    padding: 0px 0px 5px 0px;
206    color: #bfbfbf;
207}
208
209.error {
210    color: red;
211}
212
213.datepicker-le-year {
214    width: 50%;
215}
216
217.ui-widget-header .ui-icon {
218    background-image: url("../img/ui-icons_222222_256x240.png");
219}
220
221
222 /* dataTables stuff */
223
224.dataTables_wrapper {
225    min-height: 50px;
226    margin-bottom: 50px;
227}
228
229.dataTables_filter input {
230    width: 60%;
231}
232
233.sorting { background: url('../img/sort_both.png') no-repeat center right; }
234.sorting_asc { background: url('../img/sort_asc.png') no-repeat center right; }
235.sorting_desc { background: url('../img/sort_desc.png') no-repeat center right; }
236
237.sorting_asc_disabled { background: url('../img/sort_asc_disabled.png') no-repeat center right; }
238.sorting_desc_disabled { background: url('../img/sort_desc_disabled.png') no-repeat center right; }
239
240.paginate_enabled_previous { background: url('../img/back_enabled.png') no-repeat top left; }
241.paginate_enabled_previous:hover { background: url('../img/back_enabled_hover.png') no-repeat top left; }
242.paginate_disabled_previous { background: url('../img/back_disabled.png') no-repeat top left; }
243
244.paginate_enabled_next { background: url('../img/forward_enabled.png') no-repeat top right; }
245.paginate_enabled_next:hover { background: url('../img/forward_enabled_hover.png') no-repeat top right; }
246.paginate_disabled_next { background: url('../img/forward_disabled.png') no-repeat top right; }
247
248/* Smartphone styles */
249
250@media (max-width: 767px) {
251
252  .kofa-sidebar,
253  .kofa-content-narrow ,
254  .kofa-breadcrumbs-box-short,
255  .kofa-breadcrumbs-box-long,
256  .kofa-student-status-box {
257      padding: 0px 0px 0px 0px;
258  }
259
260  .kofa-content-wide {
261      padding: 0px 0px 0px 0px;
262  }
263
264  .value select, .half {
265      width: 100%;
266  }
267
268}
Note: See TracBrowser for help on using the repository browser.