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