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

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

Adjustments for smart phones.

File size: 2.1 KB
Line 
1body {
2    background-color: #f5f5f5;
3    padding-top: 52px;
4}
5
6.navbar-fixed-top, .navbar {
7    min-height:40px;
8}
9
10.navbar-nav > li > a, .navbar-brand {
11    padding-top:10px;
12    padding-bottom:10px;
13}
14
15.navbar-toggle {
16    padding: 4px 10px;
17}
18
19.navbar-nav.navbar-right:last-child {
20  margin-right: -5px;
21}
22
23.breadcrumb {
24    background-color: #fff;
25    margin-bottom: 0px;
26    margin-top: 0px;
27    padding: 2px 15px;
28}
29
30.kofa-sidebar,
31.kofa-content-narrow , .kofa-breadcrumbs-box {
32    padding: 0px 5px 0px 5px;
33}
34
35.kofa-content-wide {
36    padding: 5px 25px 5px 25px;
37}
38
39.well {
40    background-color: #fff;
41    padding: 10px 5px 20px 5px;
42    margin-bottom: 10px;
43}
44
45.kofa-breadcrumbs-box .well {
46    padding: 5px 5px 5px 5px;
47}
48
49.kofa-content-wide .well, .kofa-content-narrow .well {
50    padding: 0px 15px 10px 15px;
51}
52
53/* Sidebar */
54
55.kofa-sidebar-title {
56    text-transform: none;
57    font-size: 14px;
58    color: #555;
59    font-weight: bold;
60    padding: 15px 0px 10px 8px;
61}
62
63.sidebar-nav .nav  > li > a {
64    padding: 3px 15px;
65}
66
67/* Buttons */
68
69.btn {
70    margin: 4px;
71}
72
73/* Content actionbar */
74
75div.actionbar {
76    margin-top: -6px;
77    margin-left: -10px;
78    margin-bottom: 0px;
79}
80
81.actionbar .btn-default {
82    background-color: #FFFFFF;
83    border-color: #CCCCCC;
84    color: #333333;
85    margin-bottom: 4px;
86    padding: 4px 8px;
87    margin: 0px 0px 4px 0px;
88}
89
90.actionbar  .btn-default:hover {
91  color: #333333;
92  background-color: #ebebeb;
93  border-color: #adadad;
94}
95
96
97/* Kofa forms */
98
99select, .textType, textarea {
100    background-color: #FFFFFF;
101    border: 1px solid #CCCCCC;
102    border-radius: 4px;
103    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
104    color: #555555;
105    padding: 6px 12px;
106    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
107    width: 100%
108}
109
110.phone-input {
111    width: 25%
112}
113
114.hint {
115    padding: 0px 0px 5px 0px;
116    color: #bfbfbf;
117}
118
119
120/* Smartphone styles */
121
122
123@media (max-width: 767px) {
124
125  body {
126      padding-top: 40px;
127  }
128
129  .kofa-sidebar,
130  .kofa-content-narrow , .kofa-breadcrumbs-box {
131      padding: 0px 0px 0px 0px;
132  }
133
134  .kofa-content-wide {
135      padding: 0px 0px 0px 0px;
136  }
137
138}
Note: See TracBrowser for help on using the repository browser.