1 |
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ |
2 |
|
3 |
/* |
4 |
* What follows is the result of much research on cross-browser styling. |
5 |
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, |
6 |
* Kroc Camen, and the H5BP dev community and team. |
7 |
*/ |
8 |
|
9 |
/* ========================================================================== |
10 |
Base styles: opinionated defaults |
11 |
========================================================================== */ |
12 |
|
13 |
html, |
14 |
button, |
15 |
input, |
16 |
select, |
17 |
textarea { |
18 |
color: #222; |
19 |
} |
20 |
|
21 |
html { |
22 |
font-size: 1em; |
23 |
line-height: 1.4; |
24 |
} |
25 |
|
26 |
/* |
27 |
* Remove text-shadow in selection highlight: h5bp.com/i |
28 |
* These selection rule sets have to be separate. |
29 |
* Customize the background color to match your design. |
30 |
*/ |
31 |
|
32 |
::-moz-selection { |
33 |
background: #b3d4fc; |
34 |
text-shadow: none; |
35 |
} |
36 |
|
37 |
::selection { |
38 |
background: #b3d4fc; |
39 |
text-shadow: none; |
40 |
} |
41 |
|
42 |
/* |
43 |
* A better looking default horizontal rule |
44 |
*/ |
45 |
|
46 |
body { |
47 |
/*background: url("/static/img/bg.jpg") no-repeat; |
48 |
background-size: 100%; |
49 |
*/ |
50 |
font-family:'Open Sans'; |
51 |
height: 100%; |
52 |
color: #262525; |
53 |
background-color: #f0f0f0; |
54 |
} |
55 |
|
56 |
hr { |
57 |
display: block; |
58 |
height: 1px; |
59 |
border: 0; |
60 |
border-top: 1px solid #ccc; |
61 |
margin: 1em 0; |
62 |
padding: 0; |
63 |
} |
64 |
.home-icons { |
65 |
padding-left:55px; |
66 |
} |
67 |
.home-page-content { |
68 |
font-size:21px; |
69 |
font-style: normal; |
70 |
font-weight: 400; |
71 |
text-shadow: none; |
72 |
text-align:center; |
73 |
margin-top: 5%; |
74 |
} |
75 |
|
76 |
#main-icons { |
77 |
margin-top: 30px; |
78 |
} |
79 |
|
80 |
a, a:hover, a:active{ |
81 |
color:#262525; |
82 |
} |
83 |
p.western { |
84 |
font-size:20px; |
85 |
} |
86 |
/*.navbar-default { |
87 |
background-color:#262525; |
88 |
} |
89 |
.navbar-default .navbar-nav > .active > a { |
90 |
background-color:none; |
91 |
}*/ |
92 |
.navbar-inverse .navbar-brand { |
93 |
color:#1e9e04; |
94 |
} |
95 |
.navbar-inverse .navbar-brand a:hover { |
96 |
color:#262525; |
97 |
} |
98 |
.navbar-inverse .navbar-nav > li > a { |
99 |
color:#1e9e04; |
100 |
} |
101 |
|
102 |
/* side menu css */ |
103 |
|
104 |
#page-content-wrapper { |
105 |
visibility: hidden; |
106 |
} |
107 |
|
108 |
@media (max-width:767px) { |
109 |
.wrapper { |
110 |
padding-left: 70px; |
111 |
} |
112 |
.sidebar-wrapper { |
113 |
left: 70px; |
114 |
} |
115 |
|
116 |
.wrapper.active .container{ |
117 |
padding-left: 150px; |
118 |
} |
119 |
|
120 |
.wrapper.active .sidebar-wrapper { |
121 |
left: 150px; |
122 |
width: 150px; |
123 |
} |
124 |
|
125 |
} |
126 |
|
127 |
.sidebar-wrapper .row { |
128 |
margin: 10px 0; |
129 |
} |
130 |
|
131 |
.link_disabled { |
132 |
pointer-events: none; |
133 |
cursor: none; |
134 |
color: gray; |
135 |
} |
136 |
|
137 |
@media (max-width:450px) { |
138 |
.thumbnail { |
139 |
height: 350px; |
140 |
} |
141 |
|
142 |
.caption_heading { |
143 |
height: 100px; |
144 |
} |
145 |
|
146 |
} |
147 |
/* -------------end ----------- */ |
148 |
.wrapper.active { |
149 |
padding-left: 0px; |
150 |
// border-right:2px solid #000; |
151 |
// margin-left:90px; |
152 |
} |
153 |
|
154 |
.wrapper.active .sidebar-wrapper { |
155 |
left: 250px; |
156 |
/*border-right:4px solid #727272;*/ |
157 |
} |
158 |
|
159 |
.heading { |
160 |
border-bottom:1px solid #262525; |
161 |
} |
162 |
|
163 |
#message { |
164 |
padding-left: 15px; |
165 |
padding-right: -15px; |
166 |
} |
167 |
|
168 |
|
169 |
.menu-toggle { |
170 |
font-size:18px; |
171 |
color:#000; |
172 |
} |
173 |
.menu-icon { |
174 |
margin-left: -30px; |
175 |
} |
176 |
.main_icon { |
177 |
margin-right:20px; |
178 |
} |
179 |
|
180 |
.personal-info,.server-stats { |
181 |
list-style: none; |
182 |
padding-left: 0; |
183 |
} |
184 |
|
185 |
.progress { |
186 |
|
187 |
height: 5px; |
188 |
} |
189 |
|
190 |
h5 { |
191 |
color: #000; |
192 |
} |
193 |
|
194 |
.radio, .checkbox { |
195 |
color:#000; |
196 |
margin-left: 10px; |
197 |
} |
198 |
.radio label, .checkbox label { |
199 |
font-size:14px; |
200 |
} |
201 |
|
202 |
.sidebar-wrapper { |
203 |
/*transform*/ |
204 |
-webkit-transform: translateZ(0); |
205 |
-moz-transform: translateZ(0); |
206 |
-o-transform: translateZ(0); |
207 |
-ms-transform: translateZ(0); |
208 |
transform: translateZ(0); |
209 |
margin-left: -250px; |
210 |
left: 20px; |
211 |
margin-top: 30px; |
212 |
width: 270px; |
213 |
background: #f0f0f0; |
214 |
position: fixed; |
215 |
height: auto; |
216 |
-ms-overflow-y: auto; |
217 |
overflow-y: auto; |
218 |
z-index: 10000; |
219 |
-webkit-transition: all .4s ease 0s; |
220 |
-moz-transition: all .4s ease 0s; |
221 |
-o-transition: all .4s ease 0s; |
222 |
-ms-transition: all .4s ease 0s; |
223 |
transition: all .4s ease 0s; |
224 |
box-shadow: 1px 1px 1px #262525; |
225 |
border-left: none; |
226 |
padding-right: 5px; |
227 |
padding-left: 10px; |
228 |
} |
229 |
|
230 |
.home-icon-title { |
231 |
/*text-align: center;*/ |
232 |
} |
233 |
.sidebar-link a{ |
234 |
color:#262525; |
235 |
padding-left:10px; |
236 |
font-size:16px; |
237 |
} |
238 |
.sidebar-link a:hover{ |
239 |
color:#262525; |
240 |
} |
241 |
.sidebar-heading { |
242 |
color:#1e9e04; |
243 |
padding-left:10px; |
244 |
font-size:18px; |
245 |
|
246 |
} |
247 |
.row { |
248 |
margin-left: 0; |
249 |
margin-right: 0; |
250 |
} |
251 |
/* main navigation image style */ |
252 |
#ff-icon { |
253 |
background:url("/static/img/frequency-finder.svg") no-repeat; |
254 |
background-size:100%; |
255 |
} |
256 |
|
257 |
#ff-icon.active { |
258 |
background:url("/static/img/frequency-finder-active.svg") no-repeat; |
259 |
background-size:100%; |
260 |
} |
261 |
|
262 |
#ss-icon { |
263 |
background:url("/static/img/signal-strength.svg") no-repeat; |
264 |
background-size:100%; |
265 |
} |
266 |
|
267 |
#ss-icon.active { |
268 |
background:url("/static/img/signal-strength-active.svg") no-repeat; |
269 |
background-size:100%; |
270 |
} |
271 |
|
272 |
#gr-icon { |
273 |
background:url("/static/img/global-radio-policy.svg") no-repeat; |
274 |
background-size:100%; |
275 |
} |
276 |
|
277 |
#gr-icon.active { |
278 |
background:url("/static/img/global-radio-policy-active.svg") no-repeat; |
279 |
background-size:100%; |
280 |
} |
281 |
|
282 |
#mu-icon { |
283 |
background:url("/static/img/mobile-telephony.svg") no-repeat; |
284 |
background-size:100%; |
285 |
} |
286 |
|
287 |
#mu-icon.active { |
288 |
background:url("/static/img/mobile-telephony-active.svg") no-repeat; |
289 |
background-size:100%; |
290 |
} |
291 |
|
292 |
.navicon { |
293 |
width:50px; |
294 |
height:50px; |
295 |
} |
296 |
.icon-resize { |
297 |
padding-top:5px; |
298 |
padding-bottom:5px; |
299 |
} |
300 |
#navpos { |
301 |
margin-left:15%; |
302 |
padding-left:3%; |
303 |
} |
304 |
/* main navigation image style end */ |
305 |
|
306 |
|
307 |
/* |
308 |
* Remove the gap between images, videos, audio and canvas and the bottom of |
309 |
* their containers: h5bp.com/i/440 |
310 |
*/ |
311 |
|
312 |
audio, |
313 |
canvas, |
314 |
img, |
315 |
video { |
316 |
vertical-align: middle; |
317 |
} |
318 |
|
319 |
/* |
320 |
* Remove default fieldset styles. |
321 |
*/ |
322 |
|
323 |
fieldset { |
324 |
border: 0; |
325 |
margin: 0; |
326 |
padding: 0; |
327 |
} |
328 |
|
329 |
/* |
330 |
* Allow only vertical resizing of textareas. |
331 |
*/ |
332 |
|
333 |
textarea { |
334 |
resize: vertical; |
335 |
} |
336 |
|
337 |
/* ========================================================================== |
338 |
Browse Happy prompt |
339 |
========================================================================== */ |
340 |
|
341 |
.browsehappy { |
342 |
margin: 0.2em 0; |
343 |
background: #ccc; |
344 |
color: #000; |
345 |
padding: 0.2em 0; |
346 |
} |
347 |
|
348 |
/* ========================================================================== |
349 |
Author's custom styles |
350 |
========================================================================== */ |
351 |
|
352 |
|
353 |
/* ========================================================================== |
354 |
Helper classes |
355 |
========================================================================== */ |
356 |
|
357 |
/* |
358 |
* Image replacement |
359 |
*/ |
360 |
|
361 |
.ir { |
362 |
background-color: transparent; |
363 |
border: 0; |
364 |
overflow: hidden; |
365 |
/* IE 6/7 fallback */ |
366 |
*text-indent: -9999px; |
367 |
} |
368 |
|
369 |
.ir:before { |
370 |
content: ""; |
371 |
display: block; |
372 |
width: 0; |
373 |
height: 150%; |
374 |
} |
375 |
|
376 |
/* |
377 |
* Hide from both screenreaders and browsers: h5bp.com/u |
378 |
*/ |
379 |
|
380 |
.hidden { |
381 |
display: none !important; |
382 |
visibility: hidden; |
383 |
} |
384 |
|
385 |
/* |
386 |
* Hide only visually, but have it available for screenreaders: h5bp.com/v |
387 |
*/ |
388 |
|
389 |
.visuallyhidden { |
390 |
border: 0; |
391 |
clip: rect(0 0 0 0); |
392 |
height: 1px; |
393 |
margin: -1px; |
394 |
overflow: hidden; |
395 |
padding: 0; |
396 |
position: absolute; |
397 |
width: 1px; |
398 |
} |
399 |
|
400 |
/* |
401 |
* Extends the .visuallyhidden class to allow the element to be focusable |
402 |
* when navigated to via the keyboard: h5bp.com/p |
403 |
*/ |
404 |
|
405 |
.visuallyhidden.focusable:active, |
406 |
.visuallyhidden.focusable:focus { |
407 |
clip: auto; |
408 |
height: auto; |
409 |
margin: 0; |
410 |
overflow: visible; |
411 |
position: static; |
412 |
width: auto; |
413 |
} |
414 |
|
415 |
/* |
416 |
* Hide visually and from screenreaders, but maintain layout |
417 |
*/ |
418 |
|
419 |
.invisible { |
420 |
visibility: hidden; |
421 |
} |
422 |
|
423 |
/* |
424 |
* Clearfix: contain floats |
425 |
* |
426 |
* For modern browsers |
427 |
* 1. The space content is one way to avoid an Opera bug when the |
428 |
* `contenteditable` attribute is included anywhere else in the document. |
429 |
* Otherwise it causes space to appear at the top and bottom of elements |
430 |
* that receive the `clearfix` class. |
431 |
* 2. The use of `table` rather than `block` is only necessary if using |
432 |
* `:before` to contain the top-margins of child elements. |
433 |
*/ |
434 |
|
435 |
.clearfix:before, |
436 |
.clearfix:after { |
437 |
content: " "; /* 1 */ |
438 |
display: table; /* 2 */ |
439 |
} |
440 |
|
441 |
.clearfix:after { |
442 |
clear: both; |
443 |
} |
444 |
|
445 |
/* |
446 |
* For IE 6/7 only |
447 |
* Include this rule to trigger hasLayout and contain floats. |
448 |
*/ |
449 |
|
450 |
.clearfix { |
451 |
*zoom: 1; |
452 |
} |
453 |
|
454 |
/* ========================================================================== |
455 |
EXAMPLE Media Queries for Responsive Design. |
456 |
These examples override the primary ('mobile first') styles. |
457 |
Modify as content requires. |
458 |
========================================================================== */ |
459 |
|
460 |
@media only screen and (min-width: 35em) { |
461 |
/* Style adjustments for viewports that meet the condition */ |
462 |
} |
463 |
|
464 |
@media print, |
465 |
(-o-min-device-pixel-ratio: 5/4), |
466 |
(-webkit-min-device-pixel-ratio: 1.25), |
467 |
(min-resolution: 120dpi) { |
468 |
/* Style adjustments for high resolution devices */ |
469 |
} |
470 |
|
471 |
/* ========================================================================== |
472 |
Print styles. |
473 |
Inlined to avoid required HTTP connection: h5bp.com/r |
474 |
========================================================================== */ |
475 |
|
476 |
@media print { |
477 |
* { |
478 |
background: transparent !important; |
479 |
color: #000 !important; /* Black prints faster: h5bp.com/s */ |
480 |
box-shadow: none !important; |
481 |
text-shadow: none !important; |
482 |
} |
483 |
|
484 |
a, |
485 |
a:visited { |
486 |
text-decoration: underline; |
487 |
} |
488 |
|
489 |
a[href]:after { |
490 |
content: " (" attr(href) ")"; |
491 |
} |
492 |
|
493 |
abbr[title]:after { |
494 |
content: " (" attr(title) ")"; |
495 |
} |
496 |
|
497 |
/* |
498 |
* Don't show links for images, or javascript/internal links |
499 |
*/ |
500 |
|
501 |
.ir a:after, |
502 |
a[href^="javascript:"]:after, |
503 |
a[href^="#"]:after { |
504 |
content: ""; |
505 |
} |
506 |
|
507 |
pre, |
508 |
blockquote { |
509 |
border: 1px solid #999; |
510 |
page-break-inside: avoid; |
511 |
} |
512 |
|
513 |
thead { |
514 |
display: table-header-group; /* h5bp.com/t */ |
515 |
} |
516 |
|
517 |
tr, |
518 |
img { |
519 |
page-break-inside: avoid; |
520 |
} |
521 |
|
522 |
img { |
523 |
max-width: 100% !important; |
524 |
} |
525 |
|
526 |
@page { |
527 |
margin: 0.5cm; |
528 |
} |
529 |
|
530 |
p, |
531 |
h2, |
532 |
h3 { |
533 |
orphans: 3; |
534 |
widows: 3; |
535 |
} |
536 |
|
537 |
h2, |
538 |
h3 { |
539 |
page-break-after: avoid; |
540 |
} |
541 |
} |