11e6a2182f70087553b64ea136b6555fe80c23e7
[roojs1] / examples / bootstrap / bootstrap-overrides.css
1 /* Some overrides from default bootstrap styles */
2
3 h1,h2,h3,h4,h5,h6{
4         font-weight: normal;
5         font-family: 'Open Sans', sans-serif;
6 }
7
8 /* COMPONENTS */
9
10
11 /* labels */
12 .label, .badge {
13         font-weight: lighter;
14         font-size: 90%;
15 }
16 .label-success, .badge-success {
17         background-color: rgb(129, 189, 130);
18 }
19 .label-info, .badge-info {
20         background-color: rgb(104, 163, 213);
21 }
22
23 /* alerts */
24 .alert [class^="icon-"], 
25 .alert [class*=" icon-"] {
26         font-size: 27px;
27         position: relative;
28         top: 4px;
29         margin-bottom: 8px;
30         margin-right: 17px;
31         display: inline-block;
32         color: #f1c359;
33 }
34 .alert-success [class^="icon-"], 
35 .alert-success [class*=" icon-"] {
36         color: #81ad53;
37 }
38 .alert-info [class^="icon-"], 
39 .alert-info [class*=" icon-"] {
40         color: #4993c6;
41 }
42 .alert-danger [class^="icon-"], 
43 .alert-danger [class*=" icon-"] {
44         color: #d5393e;
45 }
46
47
48 /* code*/
49 code {
50         color: rgb(78, 153, 223);
51 }
52
53
54 /* HTML ELEMENTS */
55 input,
56 button,
57 select,
58 textarea {
59   font-family: "Open Sans", Arial;
60 }
61 input[type="text"],
62 input[type="password"],
63 textarea {      
64         font-size: 13px;
65         -webkit-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075);
66            -moz-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075);
67                         box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075);
68
69         /*border: none;
70         -webkit-box-shadow: inset rgba(112, 112, 112, 0.3) 0 1px 1px,inset rgba(0,0,0,0.3) 0 0 1px,rgba(255,255,255,0.4) 0 1px 0;
71         -moz-box-shadow: inset rgba(112, 112, 112, 0.3) 0 1px 1px,inset rgba(0,0,0,0.3) 0 0 1px,rgba(255,255,255,0.4) 0 1px 0;
72         box-shadow: inset rgba(112, 112, 112, 0.3) 0 1px 1px,inset rgba(0,0,0,0.3) 0 0 1px,rgba(255,255,255,0.4) 0 1px 0;
73         -webkit-border-radius: 4px;
74         -moz-border-radius: 4px;
75         -ms-border-radius: 4px;
76         -o-border-radius: 4px;
77         border-radius: 4px;*/
78 }
79 .inline-input input[type="text"],
80 .inline-input input[type="password"],
81 input[type="text"].inline-input,
82 input[type="password"].inline-input {
83         background: #fff;
84         border-top: 0 none;
85         border-left: 0 none;
86         border-right: 0 none;
87         border-bottom: 1px solid #d0dde9;
88         border-radius: 0;
89         box-shadow: none;
90         border-color: #dee3ea;
91 }
92 .inline-input input[type="text"]:focus,
93 .inline-input input[type="password"]:focus,
94 input[type="text"].inline-input:focus,
95 input[type="password"].inline-input:focus {
96         box-shadow: none;
97         border-color: #5d6a80;
98 }
99 .inline-input input[type="text"]:hover,
100 .inline-input input[type="password"]:hover,
101 input[type="text"].inline-input:hover,
102 input[type="password"].inline-input:hover {
103         border-color: #959fb0;
104 }
105
106 input[type="text"]:focus,
107 input[type="password"]:focus,
108 textarea:focus{ 
109         border-color: #A2CEF0;
110         -webkit-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
111            -moz-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
112                         box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
113
114         /*-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
115            -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
116                         box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);*/
117 }
118 input[type="reset"]{
119         text-transform: uppercase;
120         border:0 none;
121         background: none;
122         text-decoration: underline;
123         font-size: 12px;
124 }
125 textarea{
126         background: #fff;
127         border-color: #dee3ea;
128 }
129 select{
130         margin: 0;
131         height: 24px;
132         border-color: #d0dde9;
133         border-radius: 2px;
134         font-size: 13px;
135 }
136 input[type="file"] {
137         font-size: 12px;
138         line-height: 12px;
139         display: inline-block;
140 }
141
142 input[disabled], textarea[disabled], input[readonly], textarea[readonly] {
143         color: rgb(177, 177, 177);
144 }
145 /* native placeholders */
146 input:-moz-placeholder,
147 textarea:-moz-placeholder {
148   color: #9ba0a5;
149   font-family: "Open Sans", Arial;
150   font-size: 13px;
151 }
152
153 input:-ms-input-placeholder,
154 textarea:-ms-input-placeholder {
155   color: #9ba0a5;
156   font-family: "Open Sans", Arial;
157   font-size: 12px;
158 }
159
160 input::-webkit-input-placeholder,
161 textarea::-webkit-input-placeholder {
162   color: #9ba0a5;
163   font-family: "Open Sans", Arial;
164   font-size: 12px;
165 }
166
167
168 /* PREPEND & APPEND INPUT */
169 .input-group input, 
170 .input-group input, 
171 .input-group .uneditable-input, 
172 .input-group .uneditable-input {
173         border: 1px solid #d6e2eb;
174 }
175 .input-group .input-group-addon {
176         background-color: #f2f5f9;
177         border: 1px solid #d6e2eb;
178         padding: 4px 8px;
179         font-size: 13px;
180 }
181
182 /* NAVBAR */
183 .navbar-inverse {
184         min-height: 48px;
185         margin-bottom: 0px;
186         border-radius: 0px;
187         border-bottom: 1px solid #191e23;
188
189         background: #2c3742; /* Old browsers */
190         background: -moz-linear-gradient(top,  #2c3742 0%, #28303a 100%); /* FF3.6+ */
191         background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2c3742), color-stop(100%,#28303a)); /* Chrome,Safari4+ */
192         background: -webkit-linear-gradient(top,  #2c3742 0%,#28303a 100%); /* Chrome10+,Safari5.1+ */
193         background: -o-linear-gradient(top,  #2c3742 0%,#28303a 100%); /* Opera 11.10+ */
194         background: -ms-linear-gradient(top,  #2c3742 0%,#28303a 100%); /* IE10+ */
195         background: linear-gradient(to bottom,  #2c3742 0%,#28303a 100%); /* W3C */
196         filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c3742', endColorstr='#28303a',GradientType=0 ); /* IE6-9 */
197 }
198 /* navbar-nav*/
199 .navbar-inverse .navbar-nav {
200         padding-right: 20px;
201 }
202 /* menu toggler */
203 .navbar-inverse .navbar-toggle {
204         float: left;
205         margin-top: 10px;
206         margin-left: 15px;
207 }
208 /* navbar brand*/
209 .navbar-inverse .navbar-brand {
210         color: #ffffff;
211         text-transform: uppercase;
212         font-weight: lighter;
213         padding: 11px 20px;
214 }
215 .navbar-inverse .navbar-brand strong {
216         font-weight: normal;
217 }
218 /* navbar links */
219 .navbar-inverse .nav > li > a {
220         padding: 13px 15px 8px;
221         border-left: 1px solid #101417;
222         color: rgb(214, 214, 214);
223         outline: 0px;
224         height: 46px;
225         transition: background .1s linear;
226         -moz-transition: background .1s linear; /* Firefox 4 */
227         -webkit-transition: background .1s linear; /* Safari and Chrome */
228         -o-transition: background .1s linear;  /* Opera */
229 }
230 .navbar-inverse .nav > li > a:hover {
231         background: rgba(25, 31, 36,0.6);
232 }
233 /* dropdown caret */
234 .dropdown .caret {
235         position: relative;
236         top: -1px;      
237 }
238 /* dropdown active */
239 .dropdown.open > a, 
240 .dropdown.open > a:hover, 
241 .dropdown.open > a:focus {
242         border-color: #101417;
243 }
244 /* dropdown menu */
245 .dropdown-menu > li > a {
246         font-size: 13px;
247         outline: none;
248 }
249 .dropdown-menu > li > a:hover,
250 .dropdown-menu > li > a:focus,
251 .dropdown-submenu:hover > a,
252 .dropdown-submenu:focus > a {
253         background: rgb(60, 91, 121) !important;
254 }
255
256
257 /* PAGINATION */
258 .pagination > li > a, .pagination > li > span {
259         font-weight: 600;
260 }
261 .pagination.inverse a,
262 .pagination.inverse span {
263         background-color: #333e4a;
264         color: #fff;
265         border-top-color: #333e4a;
266         border-bottom-color: #333e4a;
267         border-right-color: #566676;
268         border-left-color: #566676;
269
270 .pagination.inverse a:hover,
271 .pagination.inverse span:hover {
272         background-color: #000;
273 }
274 .pagination.inverse > li.active > a {
275         color: #3b9ff3;
276         background-color: #212b36;
277         border-right-color: #212b36;
278         border-left-color: #212b36;
279 }
280
281 /* TABLES*/
282
283 .table thead{
284         border-top:1px solid #dee3ea;
285 }
286 .table-hover tbody tr:hover > td,
287 .table-hover tbody tr:hover > th {
288   background-color: #f5fafc;
289 }
290 .table th.sortable {
291         cursor: pointer;
292 }
293 .table th.sortable:hover {
294         text-decoration: underline;
295 }
296 .table thead th{
297         font-weight: bold;
298         position: relative;
299         padding-bottom: 20px !important;
300         padding-top: 5px !important;
301         text-transform: uppercase;
302         font-size: 11px;
303         vertical-align: top !important;
304         border-bottom: 0px !important;
305 }
306 .table td{
307         color: #526273;
308         border-top-color: #edf2f7 !important;
309         vertical-align: middle !important;
310 }
311 .table th.align-right,
312 .table td.align-right {
313         text-align: right;
314         padding-right: 10px !important;
315 }
316 table tr.first td{
317         border-top: 0 none;
318 }
319 table th span.line{
320         position: absolute;
321         top: 0;
322         left: -8px;
323         border-left: 1px solid #dee3ea;
324         height: 10px;
325 }
326
327 /* modals */
328 .modal-backdrop.in {
329         opacity: 0.5 !important;
330 }
331
332
333 /* override navbar toggle */
334 @media (max-width: 768px) {
335   .navbar-toggle {
336     display: block !important;
337   }
338 }
339
340