source: main/ngren.theme/trunk/ngren/theme/ngren_theme/css/style.css @ 10242

Last change on this file since 10242 was 10242, checked in by uli, 11 years ago

Fix background colors of primary buttons and user options.

File size: 14.7 KB
Line 
1/** BASE **/
2body {
3        padding-top: 20px;
4        padding-bottom: 60px;
5        background-color:#f4f4f4;
6        /* background-image: url(../img/p6.png); */
7        background-position: 0 0;
8        background-repeat: repeat;
9}
10
11body, h1, h2, h3, h4, h4, h6 {
12        font-family: 'Open Sans', sans-serif;
13}
14
15h3 {
16        color:#006633;
17        font-size:22.5px;
18}
19
20hr {
21        margin:30px 0;
22}
23
24select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
25        height:16px;
26}
27
28/** COMMON **/
29.border-radius {
30        -webkit-border-radius: 5px;
31        -moz-border-radius: 5px;
32        border-radius: 5px;
33}
34
35.center {
36        text-align:center;
37}
38
39.relative {
40        position:relative;
41}
42
43/** GRADIENT MODULES **/
44.green-gradient {
45        background-color: #005522;
46        background-image: -moz-linear-gradient(top, #006633, #117744);
47        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#006633), to(#117744));
48        background-image: -webkit-linear-gradient(top, #006633, #117744);
49        background-image: -o-linear-gradient(top, #006633, #117744);
50        background-image: linear-gradient(to bottom, #006633, #117744);
51        background-repeat: repeat-x;
52        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff006633', endColorstr='#ff117744', GradientType=0);
53}
54
55.gradient-radius-module {
56        background-color: #005522;
57        background-image: -moz-linear-gradient(top, #FFFFFF, #F2F2F2);
58        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FFFFFF), to(#F2F2F2));
59        background-image: -webkit-linear-gradient(top, #FFFFFF, #F2F2F2);
60        background-image: -o-linear-gradient(top, #FFFFFF, #F2F2F2);
61        background-image: linear-gradient(to bottom, #FFFFFF, #F2F2F2);
62        background-repeat: repeat-x;
63        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffFFFFFF', endColorstr='#ffF2F2F2', GradientType=0);
64
65        -moz-border-radius:5px;
66        -webkit-border-radius:5px;
67        border-radius:5px;
68
69        border:1px solid #D4D4D4;
70}
71
72.white-background {
73        background:#fff;
74        -webkit-border-bottom-right-radius: 5px;
75        -webkit-border-bottom-left-radius: 5px;
76        -moz-border-radius-bottomright: 5px;
77        -moz-border-radius-bottomleft: 5px;
78        border-bottom-right-radius: 5px;
79        border-bottom-left-radius: 5px;
80}
81
82/** STRUCTURE **/
83
84.left-col {
85        width:680px;
86        float:left;
87}
88
89.ie7 .left-col,
90.ie8 .left-col {
91        width: 100%;
92}
93
94.right-col {
95        width:300px;
96        float:right;
97}
98
99.ie7 .right-col,
100.ie8 .right-col {
101        width: 100%;
102}
103
104.ie7 .row-fluid .span6 {
105        width:40%;
106}
107
108/** Header **/
109
110#header-head {
111        height:130px;
112}
113
114#user-options {
115        float:right;
116        padding:10px 20px;
117}
118
119#user-options ul {
120        margin:0;
121}
122
123#user-options ul li {
124        list-style:none;
125        display:inline;
126        text-align: left;
127}
128
129#logo-container {
130        height:90px;
131        margin:20px;
132        text-align:center;
133        float:left;
134}
135
136.ie8 #logo-container,
137.ie8 #logo-container h1,
138.ie7 #logo-container,
139.ie7 #logo-container h1 {
140        width:70%;
141}
142
143#logo-container #logo {
144        float: left;
145        margin: 5px;
146        margin-top: 15px;
147        width: 150px;
148}
149
150#logo-container h1 {
151        float: left;
152        font-size: 27px;
153        position: relative;
154        top: -7px;
155        text-align:left;
156        margin-left:10px;
157}
158
159#logo-container h1 a {
160        color:#444;
161}
162
163#logo-container h1 a:hover {
164        text-decoration:none;
165}
166
167/** Navigation **/
168.navbar .navbar-inner {
169        padding: 0;
170        background-color:inherit;
171        box-shadow:none;
172}
173
174.navbar .nav-container {
175        width:100%;
176        border-top:1px solid #ccc;
177}
178
179.navbar .nav > li > a {
180        border-bottom:3px solid rgba(0,0,0,0);
181}
182
183.navbar .nav > li > a:hover, .navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
184        border-bottom:3px solid #006633;
185        background-image:none;
186        background-color:inherit;
187        box-shadow:none;
188}
189
190.navbar .nav li a {
191        font-weight: bold;
192        text-align: left;
193        border-left: 1px solid rgba(255,255,255,.75);
194        border-right: 1px solid rgba(0,0,0,.1);
195}
196
197.navbar-form {
198        bottom: 8px;
199        position: absolute;
200        right: 8px;
201}
202
203.navbar-form.mobile {
204        position:relative;
205        float:right;
206        top:5px;
207        right:10px;
208}
209
210.navbar-form input[type="text"] {
211        width:200px;
212}
213
214.navbar .nav > li > .dropdown-menu:after,
215.navbar .nav > li > .dropdown-menu:before {
216        display:none;
217}
218
219.navbar .btn-navbar {
220        color:#006633;
221        font-weight:bold;
222        text-shadow:0px 1px 0px #ddd;
223        width:97%;
224        margin:10px;
225}
226
227.navbar .btn-navbar:hover {
228        color:#005522;
229}
230
231.dropdown-menu {
232        top:41px;
233        -webkit-border-radius: 0px;
234        -moz-border-radius: 0px;
235        border-radius: 0px;
236}
237
238.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a {
239        background-color:#006633;
240        background-image: linear-gradient(to bottom, #117744, #006633);
241}
242
243ul.nav li.dropdown:hover > ul.dropdown-menu{
244        display: block;
245}
246
247#user-options a:visited, #user-options a.dropdown-toggle:link {
248        background-color: #449966;
249}
250
251.container .navbar .container {
252        width: auto;
253}
254
255/** Containers **/
256.container {
257        margin: 0 auto;
258        max-width: 1000px;
259}
260
261.curly-shadow {
262        background:#fff;
263        margin-bottom: 24px;
264        position: relative;
265}
266
267.curly-shadow-container {
268        background:url("../img/subtle_dots.png") repeat scroll 0 0 transparent;
269        height:310px;
270}
271
272.curly-shadow:after {
273        bottom: 20px;
274        box-shadow: 6px 11px 4px rgba(0,0,0,0.2);
275        content: "";
276        height: 20px;
277        right: 5px;
278        position: absolute;
279        transform: skew(-14deg) rotate(3deg);
280        width: 70%;
281        z-index: -1;
282}
283
284.curly-shadow:before {
285        bottom: 20px;
286        box-shadow: 6px 11px 4px rgba(0,0,0,0.2);
287        content: "";
288        height: 20px;
289        left: 5px;
290        position: absolute;
291        transform: skew(-14deg) rotate(-3deg);
292        width: 70%;
293        z-index: -1;
294}
295
296/** Content Container **/
297.content-container {
298        padding:20px 40px;
299        margin-bottom:20px;
300        min-height:566px;
301        position:relative;
302}
303
304.post-social {
305        float:right;
306        margin:20px 0;
307}
308
309.post-social div {
310        display:inline;
311}
312
313.post-social .twitter {
314        margin:5px 0;
315}
316
317.post-social .facebook {
318        margin:0px;
319}
320
321.list-left,
322.list-right {
323        list-style:none;
324}
325
326.list-left li,
327.list-right li {
328        margin:10px;
329}
330
331.list-left {
332        float:left;
333}
334
335.list-right {
336        float:right;
337}
338
339/** Footer **/
340.footer {
341        border-top: 1px solid #D4D4D4;
342        float: left;
343        margin-top: 10px;
344        padding: 10px 0;
345        width: 100%;
346}
347
348.footer .section {
349        padding:0 20px;
350        float:right;
351}
352
353.footer .section ul {
354        margin:0;
355}
356
357.footer .section li.title {
358        font-weight:bold;
359}
360
361.footer .section li {
362        margin:5px 0;
363        list-style:none;
364}
365
366.footer .fb-footer {
367        padding:0;
368}
369
370.footer .tw-footer {
371        padding:0;
372}
373
374.footer .copyright {
375        margin:5px 0px;
376        color:#999;
377        float:left;
378}
379
380.footer .address {
381        color: #999999;
382        float: right;
383        margin: 5px;
384        padding:0 20px;
385}
386
387.footer .address ul {
388        margin:0;
389}
390
391.footer .address li {
392        list-style:none;
393}
394
395/** TEXT / TITLES / MESSAGES **/
396h4.title {
397        color:#006633;
398        border-bottom:3px solid #006633;
399        padding-bottom:5px;
400}
401
402
403/** MODULES **/
404/** Home option **/
405.home-option {
406        padding:20px 40px;
407        margin-bottom:20px;
408}
409
410.home-option h3 {
411        color:#006633;
412        font-weight:bold;
413        font-size:16px;
414        line-height:20px;
415}
416
417.home-option h3 a {
418        color:#006633;
419}
420
421.home-option .text {
422        height:40px;
423}
424
425.home-icon {
426        margin:5px;
427        width:78px;
428}
429
430/** Streaming **/
431.streaming {
432        padding:20px 40px;
433        margin-bottom:20px;
434        height:230px;
435        overflow:hidden;
436}
437
438.streaming li {
439        list-style:none;
440        height:110px;
441}
442
443.streaming h4 a {
444        color:#444;
445}
446
447#streaming-news {
448        height:220px;
449        overflow:hidden;
450}
451
452/** Slider **/
453.rslides {
454position: relative;
455list-style: none;
456overflow: hidden;
457width: 100%;
458padding: 0;
459margin: 0;
460}
461
462.rslides li {
463-webkit-backface-visibility: hidden;
464position: absolute;
465display: none;
466width: 100%;
467left: 0;
468top: 0;
469}
470
471.rslides li:first-child {
472position: relative;
473display: block;
474float: left;
475}
476
477.rslides img {
478display: block;
479height: auto;
480float: left;
481width: 100%;
482border: 0;
483}
484
485.rslides {
486margin: 0 auto;
487}
488
489.rslides_container {
490margin-bottom: 50px;
491position: relative;
492float: left;
493width: 100%;
494}
495
496.centered-btns_nav {
497z-index: 3;
498position: absolute;
499-webkit-tap-highlight-color: rgba(0,0,0,0);
500top: 50%;
501left: 0;
502opacity: 0.7;
503text-indent: -9999px;
504overflow: hidden;
505text-decoration: none;
506height: 61px;
507width: 38px;
508background: transparent url("../img/themes.gif") no-repeat left top;
509margin-top: -45px;
510}
511
512.centered-btns_nav:active {
513opacity: 1.0;
514}
515
516.centered-btns_nav.next {
517left: auto;
518background-position: right top;
519right: 0;
520}
521
522.centered-btns_nav:focus {
523outline: none;
524}
525
526.centered-btns_tabs {
527margin-top: 20px;
528text-align: center;
529}
530
531.centered-btns_tabs li {
532display: inline;
533float: none;
534_float: left;
535  *float: left;
536margin-right: 5px;
537}
538
539.centered-btns_tabs a {
540text-indent: -9999px;
541overflow: hidden;
542-webkit-border-radius: 15px;
543-moz-border-radius: 15px;
544border-radius: 15px;
545background: #ccc;
546background: rgba(0,0,0, .2);
547display: inline-block;
548_display: block;
549  *display: block;
550-webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
551-moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
552box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
553width: 9px;
554height: 9px;
555}
556
557.centered-btns_here a {
558background: #222;
559background: rgba(0,0,0, .8);
560}
561
562.slider {
563        height: 310px;
564        position: relative;
565        z-index: 1;
566}
567
568.slider-container {
569        position:relative;
570        height:310px;
571        margin:0px auto;
572        display:block;
573}
574
575.slider-container .slider-image-container {
576        float:right;
577        width:49%;
578        margin:30px 0;
579}
580
581.slider-container .slider-image {
582        border-bottom: 3px solid #006633;
583        border-top: 3px solid #006633;
584        height: 240px;
585}
586
587.slider-container .slider-text {
588        display: block;
589        margin:40px 0;
590        text-align: center;
591        float:left;
592        width:43%;
593}
594
595.slider-container .slider-text .highlight {
596        font-weight:bold;
597        color:#006633;
598        text-shadow:none;
599}
600
601.slider-container .slider-text h3 {
602        font-weight: bold;
603}
604
605.slider-container .slider-text h3 a {
606        color:#006633;
607}
608
609.slider-container .slider-text p {
610        font-size: 16px;
611}
612
613.centered-btns_nav {
614        -webkit-border-top-right-radius: 5px;
615        -webkit-border-bottom-right-radius: 5px;
616        -moz-border-radius-topright: 5px;
617        -moz-border-radius-bottomright: 5px;
618        border-top-right-radius: 5px;
619        border-bottom-right-radius: 5px;
620}
621
622.centered-btns_nav.next {
623        -webkit-border-top-left-radius: 5px;
624        -webkit-border-bottom-left-radius: 5px;
625        -moz-border-radius-topleft: 5px;
626        -moz-border-radius-bottomleft: 5px;
627        border-top-left-radius: 5px;
628        border-bottom-left-radius: 5px;
629
630        -webkit-border-top-right-radius: 0px;
631        -webkit-border-bottom-right-radius: 0px;
632        -moz-border-radius-topright: 0px;
633        -moz-border-radius-bottomright: 0px;
634        border-top-right-radius: 0px;
635        border-bottom-right-radius: 0px;
636}
637
638/** Partners **/
639.full-col {
640        float:left;
641        width:100%;
642}
643
644#partners-tile {
645        height:120px;
646        margin-bottom:30px;
647        padding:0px 50px;
648}
649
650#partners-tile li {
651        display: block;
652        float: left;
653        list-style: none;
654        text-align:center;
655}
656
657#partners-tile li span.title {
658        display:none;
659}
660
661#partners-tile li {
662        margin-right:6%;
663}
664
665#partners-tile li#fme {
666        margin-left:4%;
667}
668
669#partners-tile li#nuc {
670        margin-right:0;
671}
672
673
674#partners-tile li#fme img { margin:28px 0; }
675#partners-tile li#uspf img { margin:25px 0; }
676#partners-tile li#tetfund img { margin:50px 0; }
677#partners-tile li#ncc img { margin:37px 0; }
678#partners-tile li#nuc img { margin:23px 0; }
679
680
681/** Images **/
682.content-container img {
683        margin:5px;
684        border:2px solid #e0e0e0;
685}
686
687.content-container img.left-image {
688        float:left;
689        margin-left:0px;
690        margin-right:10px;
691}
692
693img.about-unique-image {
694        float:none;
695        display:block;
696        margin:20px auto;
697}
698
699/** Gallery **/
700.gallery {
701        margin:0;
702}
703
704.gallery li {
705        list-style:none;
706        display:inline;
707        cursor:pointer;
708}
709
710.gallery img:hover {
711        border:2px solid #006633;
712}
713
714.gallery li .gallery-object {
715        position:relative;
716        display:block;
717        float:left;
718}
719
720.gallery img {
721        width:180px;
722}
723
724.gallery .title {
725        background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
726        bottom: 7px;
727        color: #FFFFFF;
728        font-size: 16px;
729        height: 20px;
730        left: 7px;
731        padding: 5px 0;
732        position: absolute;
733        text-align: center;
734        width: 180px;
735}
736
737/** Buttons **/
738.btn-primary {
739        color: #fff;
740        border: solid 1px #117744;
741        background: #666600;
742        background: -webkit-gradient(linear, left top, left bottom, from(#006633), to(#117744));
743        background: -moz-linear-gradient(top,  #006633,  #117744);
744        filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#006633', endColorstr='#117744');
745}
746
747.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
748    background-color: #449966;
749    color: #FFFFFF;
750}
751
752
753@media (max-width: 1200px) {
754        .left-col, .right-col {
755                width:100%;
756        }
757
758        .content-container {
759                min-height:inherit;
760        }
761
762        .footer .copyright {
763                float:none;
764        }
765}
766
767@media (max-width: 981px) {
768        .slider-container .slider-image {
769                top:0px;
770        }
771
772        #partners-tile {
773                height:140px;
774        }
775
776        #partners-tile li {
777                margin-right:1%;
778        }
779
780        #partners-tile li#fme {
781                margin-left:1%;
782        }
783
784        #partners-tile li img {
785                width:83%;
786        }
787}
788
789@media (max-width: 767px) {
790
791        /** Base **/
792        body {
793                padding-top:20px;
794        }
795
796        /** Header **/
797        .navbar .navbar-inner {
798                padding-bottom:5px;
799        }
800
801        .navbar .btn-navbar {
802                clear:right;
803                float:left;
804                margin-bottom:0px;
805        }
806
807        .nav-collapse, .nav-collapse.collapse {
808                top:7px;
809        }
810
811        /** Modules **/
812        .slider-container .slider-text p {
813                font-size:14px;
814                max-height:145px;
815        }
816
817        .slider-container .slider-text .relative {
818                padding:20px 10px;
819        }
820
821        .home-option {
822                margin-bottom:30px;
823        }
824
825        .home-option .text {
826                height:inherit;
827        }
828
829        #partners-tile {
830                height:inherit;
831        }
832
833        #partners-tile ul {
834        margin:0;
835        }
836
837        #partners-tile li {
838                width:100% !important;
839        }
840
841        #partners-tile li img {
842                width:inherit;
843        }
844
845        /** Footer **/
846        .footer .copyright {
847                display:block;
848                float:none;
849        }
850
851        .footer .section {
852                margin:20px 0;
853                float:none;
854                padding:0;
855        }
856
857        .footer .section li {
858                margin:10px 0;
859        }
860
861        .footer .address {
862                float: none;
863                margin: 5px 0;
864                padding:0;
865        }
866}
867
868@media (max-width: 594px) {
869
870        /** Header **/
871        #logo-container {
872                height:160px;
873                margin:20px 0;
874        }
875
876        #logo-container #logo{
877                float:none;
878        }
879
880        #logo-container h1 {
881                float:none;
882                margin:10px auto;
883                text-align:center;
884                font-size:17px;
885                padding:0 15px;
886        }
887}
888
889@media (max-width: 512px) {
890
891        /** Base **/
892        h1 {
893                font-size:26px;
894                text-align:center;
895        }
896
897        /** Navigation **/
898        .navbar-form {
899                margin:0px;
900                position:relative;
901                left:-10px;
902        }
903
904        .navbar-form input[type="text"] {
905                width:68%;
906                float:left;
907                margin-right:3px;
908        }
909
910        #user-options {
911                padding:10px 20px;
912        }
913
914        /** Containers **/
915        .content-container {
916                padding:20px;
917        }
918
919        /** Modules **/
920        .centered-btns_nav {
921                opacity:0.1 !important;
922        }
923
924        .gallery li .gallery-object {
925                float:none;
926                margin: 0 auto;
927                width:200px;
928        }
929
930        .slider-container .slider-text {
931                width:90%;
932                margin:20px auto;
933                float:none;
934        }
935
936        .slider-container .slider-image {
937                display:none;
938        }
939
940        /** Buttons **/
941        .search-btn {
942                float:right;
943        }
944
945        .navbar .btn-navbar {
946                margin:10px 0 0px 5px;
947                width:96%;
948        }
949
950}
951
952@media (max-width: 320px) {
953
954        /** Modules **/
955        #fb-container {
956                width:260px;
957                overflow:hidden;
958        }
959
960        .fb-like-box {
961                width:260px;
962                overflow:hidden;
963        }
964
965}
Note: See TracBrowser for help on using the repository browser.