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

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

Decrease size of scroll icons and merge scroll.css with base.css.

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