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

Last change on this file since 11476 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
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
[11033]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
[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
133.btn {
134    margin: 4px;
[10992]135    font-size: 13px;
[10999]136    display: inline;
[10971]137}
138
[11005]139.table-condensed .btn {
140    margin: 0px;
141    font-size: 12px;
142}
143
144
[10971]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;
[11003]157    display: inline-block;
[10971]158}
159
[10957]160/* Kofa forms */
161
[10992]162.form-table {
163    width: 100%;
164}
165
[10999]166.form-table td {
[10992]167    padding: 5px 0px 5px 4px;
168    border-top: none;
169}
170
[11053]171.value select, .phone-input,
172.textType, textarea,
173.dataTables_filter input,
[11118]174.dataTables_length select,
[11053]175.ordered-selection-field select {
[10957]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;
[11011]183    margin: 0px 4px 0px 0px;
[11431]184    width: 100%;
[10957]185}
186
[11431]187.dataTables_length select {
188    width: 90px;
189}
190
[11055]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
[11026]201.value select, .half {
202    width: 50%;
203}
204
[11003]205textarea {
206    font-family: Courier,"Courier New",monospace;
207}
208
[10992]209.fieldname {
210    width: 25%;
211}
212
[10999]213.form-table td {
214    vertical-align: bottom;
215}
216
217.form-table td.fieldname {
218    vertical-align: top;
219}
220
[10989]221.form-inline select {
222    width: 100%;
223}
224
[10957]225.phone-input {
[10985]226    width: 30%
[10957]227}
228
229.hint {
230    padding: 0px 0px 5px 0px;
231    color: #bfbfbf;
[10973]232}
233
[10985]234.error {
[10987]235    color: red;
[10985]236}
[10973]237
[11019]238.datepicker-le-year {
239    width: 50%;
240}
241
[11020]242.ui-widget-header .ui-icon {
243    background-image: url("../img/ui-icons_222222_256x240.png");
244}
245
246
[10987]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
[10989]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; }
[10992]271.paginate_disabled_next { background: url('../img/forward_disabled.png') no-repeat top right; }
[10989]272
[11464]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
[10973]303/* Smartphone styles */
304
305@media (max-width: 767px) {
306
307  .kofa-sidebar,
[11030]308  .kofa-content-narrow ,
309  .kofa-breadcrumbs-box-short,
310  .kofa-breadcrumbs-box-long,
311  .kofa-student-status-box {
[10973]312      padding: 0px 0px 0px 0px;
313  }
314
315  .kofa-content-wide {
316      padding: 0px 0px 0px 0px;
317  }
318
[11032]319  .value select, .half {
320      width: 100%;
321  }
[11031]322
[10957]323}
Note: See TracBrowser for help on using the repository browser.