summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPradeep Saran2012-06-27 22:17:29 (GMT)
committer Pradeep Saran2012-06-27 22:17:29 (GMT)
commit53fb589db5b70ee6ad089045c0586c478c9e50c8 (patch)
treeb8097bb03f580a13561a1f7586b465976e35ff42
Initial commit.7.x-1.0
-rw-r--r--README.txt31
-rw-r--r--favicon.icobin0 -> 1150 bytes
-rw-r--r--images/no-new-posts.pngbin0 -> 3211 bytes
-rw-r--r--images/quote.pngbin0 -> 3219 bytes
-rw-r--r--images/slide-image-1.jpgbin0 -> 69787 bytes
-rw-r--r--images/slide-image-2.jpgbin0 -> 59710 bytes
-rw-r--r--images/slide-image-3.jpgbin0 -> 47563 bytes
-rw-r--r--images/tag.pngbin0 -> 3068 bytes
-rw-r--r--js/custom.js23
-rw-r--r--js/jquery.flexslider-min.js7
-rw-r--r--js/slide.js6
-rw-r--r--logo.pngbin0 -> 4473 bytes
-rw-r--r--professional_theme.info37
-rw-r--r--screenshot.pngbin0 -> 15281 bytes
-rw-r--r--style.css1466
-rw-r--r--template.php115
-rw-r--r--templates/block.tpl.php55
-rw-r--r--templates/comment-wrapper.tpl.php46
-rw-r--r--templates/comment.tpl.php87
-rw-r--r--templates/html.tpl.php14
-rw-r--r--templates/maintenance-page.tpl.php46
-rw-r--r--templates/node--forum.tpl.php116
-rw-r--r--templates/node.tpl.php117
-rw-r--r--templates/page.tpl.php224
-rw-r--r--templates/region.tpl.php5
-rw-r--r--theme-settings.php105
26 files changed, 2500 insertions, 0 deletions
diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..7324f3a
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,31 @@
+About Professional Theme
+====================
+Professional is a drupal responsive theme. The theme is not dependent on
+any core theme. Its very light weight for fast loading with modern look.
+ Responsive support for all devices
+ Simple and clean design
+ Drupal standards compliant
+ Implementation of a Flexi-Slideshow
+ Multi-level drop-down menus
+ Use of Google Web Fonts
+ Footer with 4 regions
+ A total of 10 regions
+ Compatible and tested on IE7, IE8, IE9+, Opera, Firefox, Chrome browsers
+
+Browser compatibility:
+=====================
+The theme has been tested on following browsers. IE7+, Firefox, Google Chrome,
+Opera, Android Phone and Tablet, iPhone, iPad Browsers
+
+Drupal compatibility:
+=====================
+This theme is compatible with Drupal 7.x.x
+
+Developed by
+============
+www.devsaran.com
+
+Help and Support Us
+=====================
+Please consider a small donation
+Paypal ID : donation@devsaran.com \ No newline at end of file
diff --git a/favicon.ico b/favicon.ico
new file mode 100644
index 0000000..f50f6b3
--- /dev/null
+++ b/favicon.ico
Binary files differ
diff --git a/images/no-new-posts.png b/images/no-new-posts.png
new file mode 100644
index 0000000..c0fcbf0
--- /dev/null
+++ b/images/no-new-posts.png
Binary files differ
diff --git a/images/quote.png b/images/quote.png
new file mode 100644
index 0000000..13874d2
--- /dev/null
+++ b/images/quote.png
Binary files differ
diff --git a/images/slide-image-1.jpg b/images/slide-image-1.jpg
new file mode 100644
index 0000000..2f15dd7
--- /dev/null
+++ b/images/slide-image-1.jpg
Binary files differ
diff --git a/images/slide-image-2.jpg b/images/slide-image-2.jpg
new file mode 100644
index 0000000..a71623a
--- /dev/null
+++ b/images/slide-image-2.jpg
Binary files differ
diff --git a/images/slide-image-3.jpg b/images/slide-image-3.jpg
new file mode 100644
index 0000000..bdc8b40
--- /dev/null
+++ b/images/slide-image-3.jpg
Binary files differ
diff --git a/images/tag.png b/images/tag.png
new file mode 100644
index 0000000..9d60f31
--- /dev/null
+++ b/images/tag.png
Binary files differ
diff --git a/js/custom.js b/js/custom.js
new file mode 100644
index 0000000..26ac489
--- /dev/null
+++ b/js/custom.js
@@ -0,0 +1,23 @@
+jQuery(document).ready(function($) {
+ $('.nav-toggle').click(function() {
+ $('#main-menu div ul:first-child').slideToggle(250);
+ return false;
+ });
+ if( ($(window).width() > 640) || ($(document).width() > 640) ) {
+ $('#main-menu li').mouseenter(function() {
+ $(this).children('ul').css('display', 'none').stop(true, true).slideToggle(250).css('display', 'block').children('ul').css('display', 'none');
+ });
+ $('#main-menu li').mouseleave(function() {
+ $(this).children('ul').stop(true, true).fadeOut(250).css('display', 'block');
+ })
+ } else {
+ $('#main-menu li').each(function() {
+ if($(this).children('ul').length)
+ $(this).append('<span class="drop-down-toggle"><span class="drop-down-arrow"></span></span>');
+ });
+ $('.drop-down-toggle').click(function() {
+ $(this).parent().children('ul').slideToggle(250);
+ });
+ }
+
+}); \ No newline at end of file
diff --git a/js/jquery.flexslider-min.js b/js/jquery.flexslider-min.js
new file mode 100644
index 0000000..57e107b
--- /dev/null
+++ b/js/jquery.flexslider-min.js
@@ -0,0 +1,7 @@
+/*
+ * jQuery FlexSlider v1.7
+ * http://flex.madebymufffin.com
+ * Copyright 2011, Tyler Smith
+ * Free to use under the MIT license.
+ */
+(function(a){a.flexslider=function(c,b){var d=c;d.init=function(){d.vars=a.extend({},a.flexslider.defaults,b);d.data("flexslider",true);d.container=a(".slides",d);d.slides=a(".slides > li",d);d.count=d.slides.length;d.animating=false;d.currentSlide=d.vars.slideToStart;d.animatingTo=d.currentSlide;d.atEnd=(d.currentSlide==0)?true:false;d.eventType=("ontouchstart" in document.documentElement)?"touchstart":"click";d.cloneCount=0;d.cloneOffset=0;if(d.vars.controlsContainer!=""){d.controlsContainer=a(d.vars.controlsContainer).eq(a(".slides").index(d.container));d.containerExists=d.controlsContainer.length>0}if(d.vars.manualControls!=""){d.manualControls=a(d.vars.manualControls,((d.containerExists)?d.controlsContainer:d));d.manualExists=d.manualControls.length>0}if(d.vars.randomize){d.slides.sort(function(){return(Math.round(Math.random())-0.5)});d.container.empty().append(d.slides)}if(d.vars.animation.toLowerCase()=="slide"){d.css({overflow:"hidden"});if(d.vars.animationLoop){d.cloneCount=2;d.cloneOffset=1;d.container.append(d.slides.filter(":first").clone().addClass("clone")).prepend(d.slides.filter(":last").clone().addClass("clone"))}d.container.width(((d.count+d.cloneCount)*d.width())+2000);d.newSlides=a(".slides > li",d);setTimeout(function(){d.newSlides.width(d.width()).css({"float":"left"}).show()},100);d.container.css({marginLeft:(-1*(d.currentSlide+d.cloneOffset))*d.width()+"px"})}else{d.slides.css({width:"100%","float":"left",marginRight:"-100%"}).eq(d.currentSlide).fadeIn(400)}if(d.vars.controlNav){if(d.manualExists){d.controlNav=d.manualControls}else{var g=a('<ol class="flex-control-nav"></ol>');var k=1;for(var l=0;l<d.count;l++){g.append("<li><a>"+k+"</a></li>");k++}if(d.containerExists){a(d.controlsContainer).append(g);d.controlNav=a(".flex-control-nav li a",d.controlsContainer)}else{d.append(g);d.controlNav=a(".flex-control-nav li a",d)}}d.controlNav.eq(d.currentSlide).addClass("active");d.controlNav.bind(d.eventType,function(i){i.preventDefault();if(!a(this).hasClass("active")){d.flexAnimate(d.controlNav.index(a(this)),d.vars.pauseOnAction)}})}if(d.vars.directionNav){var f=a('<ul class="flex-direction-nav"><li><a class="prev" href="#">'+d.vars.prevText+'</a></li><li><a class="next" href="#">'+d.vars.nextText+"</a></li></ul>");if(d.containerExists){a(d.controlsContainer).append(f);d.directionNav=a(".flex-direction-nav li a",d.controlsContainer)}else{d.append(f);d.directionNav=a(".flex-direction-nav li a",d)}if(!d.vars.animationLoop){if(d.currentSlide==0){d.directionNav.filter(".prev").addClass("disabled")}else{if(d.currentSlide==d.count-1){d.directionNav.filter(".next").addClass("disabled")}}}d.directionNav.bind(d.eventType,function(i){i.preventDefault();var j=(a(this).hasClass("next"))?d.getTarget("next"):d.getTarget("prev");if(d.canAdvance(j)){d.flexAnimate(j,d.vars.pauseOnAction)}})}if(d.vars.keyboardNav&&a("ul.slides").length==1){a(document).keyup(function(i){if(d.animating){return}else{if(i.keyCode!=39&&i.keyCode!=37){return}else{if(i.keyCode==39){var j=d.getTarget("next")}else{if(i.keyCode==37){var j=d.getTarget("prev")}}if(d.canAdvance(j)){d.flexAnimate(j,d.vars.pauseOnAction)}}}})}if(d.vars.slideshow){if(d.vars.pauseOnHover&&d.vars.slideshow){d.hover(function(){d.pause()},function(){d.resume()})}d.animatedSlides=setInterval(d.animateSlides,d.vars.slideshowSpeed)}if(d.vars.pausePlay){var e=a('<div class="flex-pauseplay"><span></span></div>');if(d.containerExists){d.controlsContainer.append(e);d.pausePlay=a(".flex-pauseplay span",d.controlsContainer)}else{d.append(e);d.pausePlay=a(".flex-pauseplay span",d)}var h=(d.vars.slideshow)?"pause":"play";d.pausePlay.addClass(h).text(h);d.pausePlay.click(function(i){i.preventDefault();(a(this).hasClass("pause"))?d.pause():d.resume()})}if(d.vars.touchSwipe&&"ontouchstart" in document.documentElement){d.each(function(){var i,j=20;isMoving=false;function o(){this.removeEventListener("touchmove",m);i=null;isMoving=false}function m(s){if(isMoving){var p=s.touches[0].pageX,q=i-p;if(Math.abs(q)>=j){o();var r=(q>0)?d.getTarget("next"):d.getTarget("prev");if(d.canAdvance(r)){d.flexAnimate(r,d.vars.pauseOnAction)}}}}function n(p){if(p.touches.length==1){i=p.touches[0].pageX;isMoving=true;this.addEventListener("touchmove",m,false)}}if("ontouchstart" in document.documentElement){this.addEventListener("touchstart",n,false)}})}if(d.vars.animation.toLowerCase()=="slide"){d.sliderTimer;a(window).resize(function(){d.newSlides.width(d.width());d.container.width(((d.count+d.cloneCount)*d.width())+2000);clearTimeout(d.sliderTimer);d.sliderTimer=setTimeout(function(){d.flexAnimate(d.currentSlide)},300)})}d.vars.start(d)};d.flexAnimate=function(f,e){if(!d.animating){d.animating=true;if(e){d.pause()}if(d.vars.controlNav){d.controlNav.removeClass("active").eq(f).addClass("active")}d.atEnd=(f==0||f==d.count-1)?true:false;if(!d.vars.animationLoop){if(f==0){d.directionNav.removeClass("disabled").filter(".prev").addClass("disabled")}else{if(f==d.count-1){d.directionNav.removeClass("disabled").filter(".next").addClass("disabled");d.pause();d.vars.end(d)}else{d.directionNav.removeClass("disabled")}}}d.animatingTo=f;d.vars.before(d);if(d.vars.animation.toLowerCase()=="slide"){if(d.currentSlide==0&&f==d.count-1&&d.vars.animationLoop){d.slideString="0px"}else{if(d.currentSlide==d.count-1&&f==0&&d.vars.animationLoop){d.slideString=(-1*(d.count+1))*d.slides.filter(":first").width()+"px"}else{d.slideString=(-1*(f+d.cloneOffset))*d.slides.filter(":first").width()+"px"}}d.container.animate({marginLeft:d.slideString},d.vars.animationDuration,function(){if(d.currentSlide==0&&f==d.count-1&&d.vars.animationLoop){d.container.css({marginLeft:(-1*d.count)*d.slides.filter(":first").width()+"px"})}else{if(d.currentSlide==d.count-1&&f==0&&d.vars.animationLoop){d.container.css({marginLeft:-1*d.slides.filter(":first").width()+"px"})}}d.animating=false;d.currentSlide=f;d.vars.after(d)})}else{d.slides.eq(d.currentSlide).fadeOut(d.vars.animationDuration);d.slides.eq(f).fadeIn(d.vars.animationDuration,function(){d.animating=false;d.currentSlide=f;d.vars.after(d)})}}};d.animateSlides=function(){if(!d.animating){var e=(d.currentSlide==d.count-1)?0:d.currentSlide+1;d.flexAnimate(e)}};d.pause=function(){clearInterval(d.animatedSlides);if(d.vars.pausePlay){d.pausePlay.removeClass("pause").addClass("play").text("play")}};d.resume=function(){d.animatedSlides=setInterval(d.animateSlides,d.vars.slideshowSpeed);if(d.vars.pausePlay){d.pausePlay.removeClass("play").addClass("pause").text("pause")}};d.canAdvance=function(e){if(!d.vars.animationLoop&&d.atEnd){if(d.currentSlide==0&&e==d.count-1&&d.direction!="next"){return false}else{if(d.currentSlide==d.count-1&&e==0&&d.direction=="next"){return false}else{return true}}}else{return true}};d.getTarget=function(e){d.direction=e;if(e=="next"){return(d.currentSlide==d.count-1)?0:d.currentSlide+1}else{return(d.currentSlide==0)?d.count-1:d.currentSlide-1}};d.init()};a.flexslider.defaults={animation:"fade",slideshow:true,slideshowSpeed:7000,animationDuration:600,directionNav:true,controlNav:true,keyboardNav:true,touchSwipe:true,prevText:"Previous",nextText:"Next",pausePlay:false,randomize:false,slideToStart:0,animationLoop:true,pauseOnAction:true,pauseOnHover:false,controlsContainer:"",manualControls:"",start:function(){},before:function(){},after:function(){},end:function(){}};a.fn.flexslider=function(b){return this.each(function(){if(a(this).find(".slides li").length==1){a(this).find(".slides li").fadeIn(400)}else{if(a(this).data("flexslider")!=true){new a.flexslider(a(this),b)}}})}})(jQuery); \ No newline at end of file
diff --git a/js/slide.js b/js/slide.js
new file mode 100644
index 0000000..84f10c1
--- /dev/null
+++ b/js/slide.js
@@ -0,0 +1,6 @@
+jQuery(document).ready(function($) {
+ $('#slider').flexslider({
+ directionNav: false,
+ keyboardNav: false
+ });
+}); \ No newline at end of file
diff --git a/logo.png b/logo.png
new file mode 100644
index 0000000..0a16f62
--- /dev/null
+++ b/logo.png
Binary files differ
diff --git a/professional_theme.info b/professional_theme.info
new file mode 100644
index 0000000..8710b6d
--- /dev/null
+++ b/professional_theme.info
@@ -0,0 +1,37 @@
+name = Professional Theme
+description = Professional Theme is a responsive Drupal 7 theme. Please consider a <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=donation%40devsaran%2ecom&lc=US&item_name=Donations%20to%20Professional%20Theme&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest" target="_blank">Small Donations</a>. <br/>Paypal ID : donation@devsaran.com. Developed by <a href="http://www.devsaran.com" target="_blank">devsaran.com</a>.
+core = 7.x
+engine = phptemplate
+stylesheets[all][] = style.css
+scripts[] = js/custom.js
+regions[sidebar_first] = First Sidebar
+regions[sidebar_second] = Second Sidebar
+regions[header] = Header
+regions[front_welcome] = Front Welcome
+regions[content] = Content
+regions[content_top] = Content Top
+regions[help] = Help
+regions[footer] = Footer
+regions[footer_first] = First Bottom
+regions[footer_second] = Second Bottom
+regions[footer_third] = Third Bottom
+features[] = logo
+features[] = name
+features[] = slogan
+features[] = node_user_picture
+features[] = comment_user_picture
+features[] = comment_user_verification
+features[] = favicon
+features[] = main_menu
+features[] = secondary_menu
+settings[breadcrumbs] = 1
+settings[slideshow_display] = 1
+settings[slide1_head] = "Sample product"
+settings[slide2_head] = "Sample service"
+settings[slide3_head] = "Sample product and service"
+settings[slide1_desc] = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
+settings[slide2_desc] = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur..."
+settings[slide3_desc] = "Duis aute irure dolor in reprehenderit inLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur..."
+settings[slide1_url] = "node/1"
+settings[slide2_url] = "node/2"
+settings[slide3_url] = "node/3"
diff --git a/screenshot.png b/screenshot.png
new file mode 100644
index 0000000..8821625
--- /dev/null
+++ b/screenshot.png
Binary files differ
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..7c75376
--- /dev/null
+++ b/style.css
@@ -0,0 +1,1466 @@
+@import url("http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin");
+
+/*
+Theme Name:Professional Theme
+Theme URL:http://www.devsaran.com/theme/professional/
+Description: Premium theme released by devsaran.com
+Author:Pradeep Saran
+Author URI:www.devsaran.com
+*/
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, embed,
+figure, figcaption, footer, header, hgroup,
+menu, nav, output, ruby, section, summary,
+time, mark, audio, video {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-size: 100%;
+ font: inherit;
+ vertical-align: baseline;
+}
+/* HTML5 display-role reset for older browsers */
+article, aside, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section {
+ display: block;
+}
+body {
+ line-height: 1;
+}
+ol, ul {
+ list-style: none;
+}
+
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+
+/*
+ Clear Floated Elements
+*/
+
+.clear {
+ clear:both;
+ display:block;
+ overflow:hidden;
+ visibility:hidden;
+ width:0;
+ height:0;
+}
+
+.clear:after {
+ clear:both;
+ content:' ';
+ display:block;
+ font-size:0;
+ line-height:0;
+ visibility:hidden;
+ width:0;
+ height:0;
+}
+
+* html .clear {
+ height:1%;
+}
+
+/*
+ Style HTML Tags
+*/
+
+body {
+ background:#ccc;
+ color:#333;
+ font-family:"Droid Sans", "Helvetica Neue", "Nimbus Sans L", sans-serif;
+ font-size:13px;
+ line-height:1.62em;
+}
+
+a {
+ color:#21759b;
+ text-decoration:none;
+}
+
+a:hover {
+ color:#d54e21;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ margin-bottom:6px;
+ font-weight:bold;
+ line-height:1.62em;
+}
+
+h1 {
+ font-size:32px;
+}
+
+h2 {
+ font-size:24px;
+}
+
+h3 {
+ font-size:18px;
+}
+
+h4 {
+ font-size:16px;
+}
+
+h5 {
+ font-size:15px;
+}
+
+h6 {
+ font-size:14px;
+}
+
+p {
+ margin-bottom:18px;
+}
+
+fieldset {
+ border: 1px solid #ccc;
+ margin: 0 0 1.4615em;
+ padding: 1.5385em;
+}
+
+table {
+ border-collapse:collapse;
+ border-spacing:0;
+ margin-bottom: 15px;
+ width: 100%;
+}
+
+th, tr, td {
+ vertical-align: middle;
+}
+
+.sticky-header th, .sticky-table th {
+ border-bottom: 3px solid #ccc;
+ padding-right: 1em;
+ text-align: left;
+}
+
+
+table {
+ background: #ececec;
+ border: 1px solid #bbbbbb;
+}
+
+th {
+ background: #dbdbdb;
+ padding: 5px 4px;
+ text-shadow: 1px 1px #fff;
+ border-right: 1px solid #c8c7c7;
+ color:#333;
+}
+
+td {
+ background: #ebebeb;
+ color: #747474;
+ text-align: left;
+ padding-left: 4px;
+ border-right: 1px solid #c8c7c7;
+ border-bottom: 1px solid #c8c7c7;
+}
+
+
+input[type=text],
+input[type=password],
+textarea {
+ padding:8px;
+ box-shadow:#F0F0F0 0 1px 3px inset;
+ background:#F9F9F9;
+ border:#EEE 1px solid;
+ color:#999;
+ font-family:"Droid Sans", sans-serif;
+ font-size:13px;
+}
+
+input[type=text]:focus,
+input[type=password]:focus,
+textarea:focus {
+ box-shadow:#EEE 0 1px 3px inset;
+ background:#FFF;
+ color:#333;
+}
+
+textarea {
+ font-size:15px;
+}
+
+input[type=submit],
+input[type=reset],
+input[type=button] {
+ padding:4px 15px;
+ border-radius:15px;
+ box-shadow:#ccc 0 0 3px;
+ background:#f0f0f0;
+ background:-moz-linear-gradient(#F9F9F9, #EEE);
+ background:-webkit-linear-gradient(#F9F9F9, #EEE);
+ background:-o-linear-gradient(#F9F9F9, #EEE);
+ background:-ms-linear-gradient(#F9F9F9, #EEE);
+ background:linear-gradient(#F9F9F9, #EEE);
+ border:none;
+ color:#444;
+ font-family:"Droid Sans", sans-serif;
+ font-size:13px;
+}
+
+input[type=submit]:hover,
+input[type=reset]:hover,
+input[type=button]:hover {
+ box-shadow:#aaa 0 0 5px;
+}
+
+input[type=submit]:focus,
+input[type=reset]:focus,
+input[type=button]:focus {
+ box-shadow:#aaa 0 0 5px;
+ background:-moz-linear-gradient(#EEE, #F9F9F9);
+ background:-webkit-linear-gradient(#EEE, #F9F9F9);
+ background:-o-linear-gradient(#EEE, #F9F9F9);
+ background:-ms-linear-gradient(#EEE, #F9F9F9);
+ background:linear-gradient(#EEE, #F9F9F9);
+}
+
+code {
+ background: #d8d8d8;
+ text-shadow: 1px 1px #fff;
+ border: 1px solid #bbbbbb;
+ display: block;
+ padding: 7px;
+ margin: 5px 0;
+ border-radius: 7px;
+}
+
+mark {
+ background-color:#fdfc9b;
+ font-style:italic;
+ font-weight:bold;
+}
+
+del {
+ text-decoration: line-through;
+}
+
+hr {
+ border:none;
+ border-top:#EEE 1px solid;
+}
+
+dt {
+ font-weight:bold;
+ margin-bottom:24px;
+}
+
+dd {
+ margin-left:30px;
+ margin-bottom:24px;
+}
+
+ul {
+ list-style-type:disc;
+ margin-left:15px;
+ margin-bottom:12px;
+}
+
+ul li {
+ margin-top:4px;
+}
+
+ul ul {
+ list-style-type:square;
+ margin-bottom:0;
+}
+
+ul ul ul {
+ list-style-type:circle;
+}
+
+ol {
+ list-style-type:decimal;
+ margin-left:30px;
+ margin-bottom:24px;
+}
+
+ol ol {
+ list-style: upper-alpha;
+ margin-bottom:0
+}
+
+ol ol ol {
+ list-style: lower-roman;
+}
+
+ol ol ol ol {
+ list-style: lower-alpha;
+}
+
+abbr,
+acronym {
+ border-bottom:#999 1px dotted;
+ cursor:help;
+}
+
+big {
+ font-size:1.3em;
+}
+
+cite,
+em {
+ font-style:italic;
+}
+
+ins {
+ background-color:#fdfc9b;
+ text-decoration:none;
+}
+
+pre {
+ background: #d8d8d8;
+ text-shadow: 1px 1px #fff;
+ border: 1px solid #bbbbbb;
+ padding: 7px;
+ margin: 5px 0;
+ border-radius: 7px;
+}
+
+blockquote, q {
+ quotes:none;
+ border: 1px solid #bbbbbb;
+ background: #d8d8d8 url(images/quote.png) no-repeat;
+ padding: 10px 5px 5px 47px;
+ text-shadow: 1px 1px #fff;
+ margin: 5px 0;
+ border-radius: 7px;
+}
+
+blockquote:before, blockquote:after,
+q:before, q:after {
+ content:'';
+ content:none;
+}
+
+strong {
+ font-weight:bold;
+}
+
+sup,
+sub {
+ height:0;
+ line-height:1;
+ vertical-align:baseline;
+ position:relative;
+ font-size:10px;
+}
+
+sup {
+ bottom:1ex;
+}
+
+sub {
+ top:.5ex;
+}
+
+img,
+video {
+ max-width:100%;
+ height:auto;
+}
+
+video {
+ display:block;
+}
+
+audio {
+ max-width:100%;
+}
+
+.content a img {
+ padding:5px;
+ box-shadow:0 0 3px #EEE;
+ background:#FFF;
+ border:#EEE 1px solid;
+}
+
+.content a:hover img {
+ background:#F0F0F0;
+}
+
+/*
+ Theme Design, Layout and Typography
+*/
+
+#wrapper {
+ position:relative;
+ max-width:1132px;
+ margin:0 auto;
+ box-shadow:0 0 6px #999;
+ background:#e9e9e9;
+ overflow:hidden;
+}
+
+#header {
+ margin:0 1.76%;
+}
+
+#logo {
+ float:left;
+ margin:10px;
+ padding-top: 10px;
+}
+
+#site-title a,
+#site-description {
+ color:#333;
+}
+
+#site-title,
+#site-description {
+ float:left;
+ line-height:100px;
+}
+
+#site-title {
+ margin:0;
+ font-size:28px;
+ font-weight:bold;
+}
+
+#site-description {
+ margin-left:20px;
+ font-size:12px;
+ font-weight:normal;
+}
+
+#main-menu {
+ min-height:40px;
+ box-shadow:0 0 3px #999;
+ background:#444;
+ background:-moz-repeating-linear-gradient(#555, #333 40px);
+ background:-webkit-repeating-linear-gradient(#555, #333 40px);
+ background:-o-repeating-linear-gradient(#555, #333 40px);
+ background:-ms-repeating-linear-gradient(#555, #333 40px);
+ background:repeating-linear-gradient(#555, #333 40px);
+}
+
+#main-menu ul {
+ float:left;
+ padding:0;
+ margin:0;
+ max-width:75%;
+ list-style:none;
+ font-size:13px;
+}
+
+#main-menu li {
+ position:relative;
+ float:left;
+ padding:0;
+ margin:0;
+ line-height:40px;
+}
+
+#main-menu ul li:first-child {
+ padding-left:0;
+}
+
+#main-menu a {
+ display:block;
+ padding:0 20px;
+ color:#f0f0f0;
+ text-align:center;
+ text-decoration:none;
+}
+
+#main-menu a:hover,
+#main-menu li > a.active {
+ background:#777;
+ background:-moz-linear-gradient(#777,#555);
+ background:-webkit-linear-gradient(#777,#555);
+ background:-o-linear-gradient(#777,#555);
+ background:-ms-linear-gradient(#777,#555);
+ background:linear-gradient(#777,#555);
+ color:#fff;
+ text-decoration:none;
+}
+
+#main-menu li > a.active {
+ background:#222;
+ background:-moz-linear-gradient(#252525,#151515);
+ background:-webkit-linear-gradient(#252525,#151515);
+ background:-o-linear-gradient(#252525,#151515);
+ background:-ms-linear-gradient(#252525,#151515);
+ background:linear-gradient(#252525,#151515);
+}
+
+.drop-down-toggle {
+ position:absolute;
+ top:7px;
+ right:16px;
+ display:none;
+ width:20px;
+ height:20px;
+ border-radius:15px;
+ background:#333;
+ background:-moz-linear-gradient(#333,#444);
+ background:-webkit-linear-gradient(#333,#444);
+ background:-o-linear-gradient(#333,#444);
+ background:-ms-linear-gradient(#333,#444);
+ background:linear-gradient(#333,#444);
+ border:#aaa 3px solid;
+}
+
+.drop-down-arrow {
+ display:block;
+ width:0;
+ height:0;
+ margin:8px 0 0 5px;
+ border-top:5px solid #aaa;
+ border-left:transparent 5px solid;
+ border-right:transparent 5px solid;
+}
+
+#main-menu li li {
+ float:none;
+ min-width:190px;
+ padding:0;
+ margin:0;
+}
+
+#main-menu li li a {
+ min-width:150px;
+ margin:0;
+ background:#555;
+ border-top:#5f5f5f 1px solid;
+ font-size:13px;
+ line-height:33px;
+ text-align:left;
+ overflow:hidden;
+}
+
+#main-menu li li:first-child > a {
+ border-top:none;
+}
+
+#main-menu li li a:hover {
+ background:#444;
+}
+
+#main-menu li ul {
+ display:none;
+ position:absolute;
+ z-index:9999;
+ min-width:190px;
+ height:auto;
+ padding:0;
+ margin:0;
+ box-shadow:0 0 3px #333;
+}
+
+#main-menu li ul ul {
+ margin:-33px 0 0 190px !important;
+}
+
+#main-menu li:hover > ul,
+#main-menu li li:hover > ul,
+#main-menu li li li:hover > ul {
+ display:block;
+}
+
+#main-menu .nav-toggle {
+ display:none;
+}
+
+#main-menu ul li.leaf, #main-menu ul li.expanded, #main-menu ul li.collapsed {
+ list-style:none;
+}
+#main-menu ul.menu li {
+ margin: 0;
+}
+
+#main-menu li.expanded, #main-menu li.collapsed, #main-menu li.leaf {
+ margin: 0;
+ padding: 0;
+}
+
+
+#container {
+ margin:1.76%;
+}
+
+#slider {
+ position:relative;
+ margin:0 0 1.83%;
+ box-shadow:0 0 3px #999;
+ background:#ccc;
+ background:-moz-linear-gradient(#ddd,#bbb);
+ background:-webkit-linear-gradient(#ddd,#bbb);
+ background:-o-linear-gradient(#ddd,#bbb);
+ background:-ms-linear-gradient(#ddd,#bbb);
+ background:linear-gradient(#ddd,#bbb);
+}
+
+#slider a:active {
+ outline:none;
+}
+
+.slides,
+.flex-control-nav {
+ margin:0;
+ padding:0;
+ list-style:none;
+}
+
+.slides {
+ width:100%;
+ overflow:hidden;
+}
+
+#slider .slides > li {
+ display:none;
+ position:relative;
+ margin:0;
+}
+
+#slider .slides li:first-child {
+ display:list-item;
+}
+
+.flex-pauseplay span {
+ text-transform:capitalize;
+}
+
+.slides:after {
+ content:".";
+ display:block;
+ clear:both;
+ visibility:hidden;
+ line-height:0;
+ height:0;
+}
+
+.flex-control-nav {
+ position:absolute;
+ right:4%;
+ bottom:7.3%;
+ text-align:center;
+}
+
+.flex-control-nav li {
+ display:inline-block;
+ margin:0 0 0 15px;
+}
+
+.flex-control-nav li:first-child {
+ margin:0;
+}
+
+.flex-control-nav li a {
+ display:block;
+ width:24px;
+ height:24px;
+ box-shadow:0 0 3px #999;
+ cursor:pointer;
+ background:#e9e9e9;
+ color:#333;
+ font-weight:bold;
+ line-height:24px;
+}
+
+.flex-control-nav li a.active,
+.flex-control-nav li a:hover {
+ background:#fff;
+}
+
+#slider .post {
+ padding:1.83%;
+ margin:0;
+ box-shadow:none;
+ background:none;
+}
+
+#slider .entry-container {
+ float:right;
+ max-width:50%;
+}
+
+#slider .slide-image {
+ max-width:49%;
+ padding:0.47%;
+ background:#E9E9E9;
+}
+
+#slider .entry-header,
+#slider .entry-summary {
+ margin-left:5%;
+}
+
+#slider .entry-title{
+ margin-left:0;
+ margin-bottom:15px;
+}
+
+.content-sidebar-wrap {
+ float:left;
+ width:100%;
+}
+
+.content-sidebar-wrap #content {
+ background:#fff;
+ display: inline;
+ margin-bottom: 2.7%;
+ float:right;
+ width:100%;
+ box-shadow:0 0 3px #999;
+}
+
+#sidebar-first {
+ color: #888;
+ float: left;
+}
+
+#sidebar-second {
+ color: #888;
+ float: right;
+}
+
+/* 3 columns */
+
+body.two-sidebars .content-sidebar-wrap {
+ width:80%;
+}
+
+body.two-sidebars #content {
+ width:75%;
+}
+
+body.two-sidebars #sidebar-first {
+ width: 24%;
+}
+
+body.two-sidebars #sidebar-second {
+ width: 19%;
+}
+
+/* 2 columns: sidebar-first */
+
+body.sidebar-first .content-sidebar-wrap {
+ width: 100%;
+}
+
+body.sidebar-first #content {
+ width: 80%;
+}
+
+body.sidebar-first #sidebar-first {
+ width: 19%;
+}
+
+/* 2 columns: sidebar-second */
+
+body.sidebar-second .content-sidebar-wrap {
+ width: 80%;
+}
+
+body.sidebar-second #content {
+ width: 100%;
+}
+
+body.sidebar-second #sidebar-second {
+ width: 19%;
+}
+
+#post-content {
+ padding: 0 20px;
+}
+
+.breadcrumb {
+ margin:0 20px;
+ padding-top:20px;
+ margin-bottom:10px;
+ border-bottom:#eee 1px solid;
+}
+
+#head, #content, #sidebar-second, #sidebar-first {
+ margin-top: 10px;
+}
+
+.node {
+ margin:20px 0;
+}
+
+.node h2.title, .page-title {
+ color: #000;
+ font-size: 20px;
+}
+
+.node h2.title a{
+ color: #000;
+}
+
+.block {
+ margin-bottom:1.5em;
+}
+
+.block > h2{
+ margin:0;
+ font-size:16px;
+ font-weight:bold;
+ letter-spacing:1px;
+}
+
+#sidebar-first .block > h2,
+#sidebar-second .block > h2,
+#head .block > h2,
+#foot .block > h2 {
+ color:#333;
+}
+
+#footer-area .block > h2 {
+ color:#ddd;
+}
+
+#footer-area ul.menu li a.active{
+ color:#ddd;
+}
+
+.submitted {
+ background: #dfdddd;
+ padding: 4px 9px;
+ border-radius: 4px;
+ color: #383838;
+ text-shadow: 1px 1px #fff;
+ clear: both;
+ display: block;
+ margin-bottom: 2px;
+}
+
+.links {
+ color: #000;
+ margin-top: 10px;
+ font-size: 14px;
+}
+
+ul.links {
+ margin:0;
+}
+
+.links li a {
+ background-color: #E7E5E3;
+ color: #100100;
+ padding: 4px 5px;
+ border-radius: 4px;
+ text-shadow: 1px 1px #fff;
+ font-weight: normal;
+}
+
+.links li a:hover {
+ background-color: #D7D5D3;
+ color: #100101;
+}
+
+
+/*-------------------------------------------*
+/* Fix CKEditor style
+/*-------------------------------------------*/
+table.cke_editor {
+ background: transparent;
+ border: 0;
+}
+table.cke_editor td {
+ background: transparent;
+ padding: 0;
+ border: 0;
+}
+
+/*-------------------------------------------*
+/* Poll, Buttons, Form
+/*-------------------------------------------*/
+.poll .vote-form .choices .title {
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 2;
+}
+
+.poll .vote-form .choices {
+ margin: 0;
+}
+
+.form-submit{
+ cursor: pointer;
+ margin:5px;
+}
+
+input.form-checkbox, input.form-radio {
+ vertical-align: baseline;
+}
+
+.form-text {
+ padding: 4px 5px;
+}
+
+/*-------------------------------------------*
+/* Menus and item lists
+/*-------------------------------------------*/
+.item-list ul {
+ margin: 0;
+ padding: 0 0 0 1.5385em;
+}
+
+.item-list ul li {
+ margin: 0;
+ padding: 0;
+}
+
+ul.menu li {
+ margin: 0;
+ padding: 0;
+}
+
+ul.inline {
+ clear: both;
+}
+
+ul.inline li {
+ margin: 0;
+ padding: 0;
+}
+
+/*-------------------------------------------*
+/* Admin Tabs
+/*-------------------------------------------*/
+.tabs-wrapper {
+ border-bottom: 1px solid #b7b7b7;
+ margin: 0 0 5px 0;
+}
+
+ul.primary {
+ border: none;
+ margin: 0;
+ padding: 0;
+}
+
+ul.primary li a {
+ background: none;
+ border: none;
+ display: block;
+ float: left;
+ line-height: 1.5385em;
+ margin: 0;
+ padding: 0 1em;
+ border-radius: 4px 4px 0 0;
+ margin-right: 5px;
+}
+
+ul.primary li a:hover, ul.primary li a.active {
+ background: #666;
+ border: none;
+ color: #fff;
+}
+
+ul.primary li a:hover {
+ background: #888;
+ text-decoration: none;
+}
+
+ul.secondary {
+ background: #666;
+ border-bottom: none;
+ clear: both;
+ margin: 0;
+ padding: 0;
+}
+
+ul.secondary li {
+ border-right: none;
+}
+
+ul.secondary li a, ul.secondary li a:link {
+ border: none;
+ color: #ccc;
+ display: block;
+ float: left;
+ line-height: 1.5385em;
+ padding: 0 1em;
+}
+
+ul.secondary li a:hover, ul.secondary li a.active {
+ background: #888;
+ color: #fff;
+ text-decoration: none;
+}
+
+ul.secondary a.active {
+ border-bottom: none;
+}
+
+/*-------------------------------------------*
+/* Tabs and Tags
+/*-------------------------------------------*/
+.field-name-field-tags {
+ margin: 0 0 10px 0;
+}
+
+.field-name-field-tags a{
+ display: inline-block;
+ background: url(images/tag.png) no-repeat;
+ padding: 0px 8px 0 16px;
+ height: 22px;
+ text-shadow: 1px 1px #fff;
+ border-radius: 2px;
+ font-size: 12px;
+}
+
+.field-name-field-tags a:hover{
+}
+
+.field-name-field-tags .field-item {
+ margin: 0 1em 0 0;
+}
+
+.field-name-field-tags div {
+ display: inline;
+}
+
+#content-container .field-label{
+}
+
+#content-container .field-items .field-item{
+}
+
+/*-------------------------------------------*
+/* Profile
+/*-------------------------------------------*/
+.profile {
+ margin: 1.5385em 0;
+}
+
+.profile dd {
+ margin-bottom: 1.5385em;
+}
+
+.profile h3 {
+ border: none;
+}
+
+.profile dt {
+ margin-bottom: 0;
+}
+
+.password-parent {
+ width: 36em;
+}
+
+/*-------------------------------------------*
+/* comment
+/*-------------------------------------------*/
+#comments {
+ clear: both;
+ margin-top: 14px;
+ padding: 5px;
+ border: 1px solid #dddddd;
+ border-radius: 8px;
+}
+
+.comment {
+ margin-bottom: 1.5em;
+ padding: 5px;
+ border-radius: 7px;
+ min-height: 150px;
+ border-bottom: 1px solid #d9d9d9;
+}
+
+h3.comment-title a{
+ margin-bottom: 5px;
+ font-size: 16px;
+ color: #67696d;
+}
+
+.comment .new {
+ color: red;
+ text-transform: capitalize;
+ margin-left: 1em;
+}
+
+.form-textarea-wrapper textarea {
+ border-radius: 3px;
+}
+
+.comment .submitted {
+ display:inline;
+ background: #e5e5e5;
+}
+
+.comment .user-picture{
+ float: left;
+ padding: 4px;
+ border: 1px solid #d9d9d9;
+ margin-right: 7px;
+ margin-bottom: 7px;
+}
+
+.comment-new-comments{
+ display: none;
+}
+
+/*-------------------------------------------*
+/* Navigation
+/*-------------------------------------------*/
+.item-list .pager {
+}
+
+.item-list .pager li {
+ background: #cfcfcf;
+ border-radius: 3px;
+ margin-right: 4px;
+ text-shadow: 1px 1px #fff;
+}
+
+/*-------------------------------------------*
+/* Forum
+/*-------------------------------------------*/
+.field-name-taxonomy-forums div {
+ display: inline;
+ margin-top: 4px;
+}
+
+.field-name-taxonomy-forums .field-items {
+}
+
+#forum .title {
+ font-size: 16px;
+}
+
+#forum .submitted {
+ font-size: 12px;
+ font-family: Lucida Grande, Verdana, Arial, sans-serif;
+ background: transparent;
+ padding: 0;
+}
+
+#forum .container {
+ background: #a1a1a1;
+ color: #fff;
+}
+
+#forum .container a {
+ color: #000;
+ font-weight: bold;
+}
+
+#forum div.indent {
+ margin-left: 2px;
+}
+
+.forum-starter-picture {
+ float: left;
+ padding: 4px;
+ border: 1px solid #d9d9d9;
+ margin: 5px 7px 5px 0;
+}
+
+#forum th {
+ background: #434343;
+ text-shadow: none;
+ color: #fff;
+}
+
+#forum th a {
+ color: #fff;
+}
+
+#forum td.forum .icon, #forum .icon div {
+ background: url(images/no-new-posts.png) no-repeat;
+ width: 35px;
+ height: 35px;
+}
+
+#forum .name a{
+ font-size: 16px;
+}
+
+#footer {
+ clear:both;
+}
+
+#footer-area {
+ position:relative;
+ padding:1.76% 3.52%;
+ box-shadow:0 0 3px #999;
+ background:#383838;
+ background:-moz-linear-gradient(#444, #333);
+ background:-webkit-linear-gradient(#444, #333);
+ background:-o-linear-gradient(#444, #333);
+ background:-ms-linear-gradient(#444, #333);
+ background:linear-gradient(#444, #333);
+ color:#999;
+}
+
+#footer-area .column {
+ float:left;
+ width:30.8%;
+ margin:0 0 1.9% 3.8%;
+}
+
+#footer-area .column:first-child {
+ margin-left:0;
+}
+
+#footer-area .column-title {
+ color:#e0e0e0;
+}
+
+#footer-area li {
+ border-bottom:#555 1px dashed;
+}
+
+#copyright {
+ clear:both;
+ padding:0 20px;
+ box-shadow:0 -1px 3px #ccc;
+ background:#e0e0e0;
+ background:-moz-linear-gradient(#e3e3e3, #ddd);
+ background:-webkit-linear-gradient(#e3e3e3, #ddd);
+ background:-o-linear-gradient(#e3e3e3, #ddd);
+ background:-ms-linear-gradient(#e3e3e3, #ddd);
+ background:linear-gradient(#e3e3e3, #ddd);
+ color:#999;
+ line-height:40px;
+}
+
+.copyright {
+ float:left;
+ max-width:728px;
+}
+
+.credits {
+ float:right;
+ max-width:370px;
+ margin-right:12px;
+ text-align:right;
+}
+
+#copyright p {
+ margin:0;
+}
+
+#copyright a {
+ color:#7799aa;
+ text-decoration:none;
+}
+
+#copyright a:hover {
+ color:#d54e21;
+}
+
+@media screen and (max-width: 1152px) {
+
+ #wrapper {
+ max-width:960px;
+ }
+
+}
+
+@media screen and (max-width: 960px) {
+
+ .content-sidebar-wrap,
+ #content,
+ #sidebar-first,
+ #sidebar-second {
+ float:none;
+ width:auto !important;
+ }
+
+ #sidebar-first {
+ clear:both;
+ }
+
+ #sidebar-first,
+ #sidebar-second,
+ #head,
+ #foot {
+ padding:0 3.52%;
+ }
+
+}
+
+@media screen and (max-width: 640px) {
+
+ #site-title,
+ #site-description {
+ float:none;
+ margin:0;
+ line-height:1.62em;
+ }
+
+ #site-title {
+ padding-top:18px;
+ }
+
+ #site-description {
+ padding-bottom:18px;
+ }
+
+ #main-menu ul {
+ display:none;
+ }
+
+ #main-menu li ul {
+ position:static;
+ }
+
+ #main-menu li ul ul {
+ margin:0 !important;
+ }
+
+ #main-menu ul,
+ #main-menu li {
+ float:none;
+ max-width:100%;
+ }
+
+ #main-menu a {
+ width:100%;
+ padding:0;
+ background:#444;
+ background:-moz-linear-gradient(#555,#333);
+ background:-webkit-linear-gradient(#555,#333);
+ background:-o-linear-gradient(#555,#333);
+ background:-ms-linear-gradient(#555,#333);
+ background:linear-gradient(#555,#333);
+ }
+
+ #main-menu li li a {
+ text-align:center;
+ }
+
+ #main-menu li li li a {
+ background:#777;
+ border-top-color:#7f7f7f;
+ }
+
+ #main-menu a:hover {
+ background:#888;
+ background:-moz-linear-gradient(#999,#777);
+ background:-webkit-linear-gradient(#999,#777);
+ background:-o-linear-gradient(#999,#777);
+ background:-ms-linear-gradient(#999,#777);
+ background:linear-gradient(#999,#777);
+ }
+
+ #main-menu li:hover > ul,
+ #main-menu li li:hover > ul,
+ #main-menu li li li:hover > ul {
+ display:none;
+ }
+
+ .drop-down-toggle {
+ display:block;
+ }
+
+ #main-menu li li .drop-down-toggle {
+ top:5px;
+ }
+
+ #main-menu .nav-toggle {
+ display:block;
+ font-size:15px;
+ font-weight:bold;
+ line-height:40px;
+ }
+
+ .flex-control-nav li {
+ margin:0 0 0 10px;
+ }
+
+ .flex-control-nav li:first-child {
+ margin:0;
+ }
+
+ .flex-control-nav li a {
+ box-shadow:none;
+ background:rgba(255, 255, 255, 0.75);
+ }
+
+ #slider .entry-container {
+ position:absolute;
+ left:4%;
+ bottom:6.3%;
+ }
+
+ #slider .entry-header,
+ #slider .entry-summary {
+ margin:0;
+ }
+
+ #slider .entry-title {
+ margin-bottom: 0;
+ }
+
+ #slider .entry-title a,
+ #slider .entry-summary{
+ display:inline-block;
+ padding:1% 3%;
+ background:rgba(255, 255, 255, 0.75);
+ }
+
+ #slider .entry-summary {
+ max-width:61.8%;
+ }
+
+ #slider .entry-summary p {
+ max-height:84px;
+ overflow:hidden;
+ }
+
+ #slider .slide-image {
+ float:none;
+ display:block;
+ max-width:100%;
+ padding:0;
+ margin:0;
+ box-shadow:none;
+ }
+
+ .content-sidebar-wrap,
+ #content,
+ #sidebar-first,
+ #sidebar-second {
+ float:none;
+ width:auto;
+ }
+
+ #sidebar-first .block,
+ #sidebar-second .block,
+ #footer-area .column {
+ float:none;
+ width:auto !important;
+ margin-left:0;
+ }
+
+ #sidebar-first {
+ clear:both;
+ }
+
+ #footer-area .column {
+ margin:10px 0;
+ }
+
+ .copyright,
+ .credits {
+ float:none;
+ text-align:left;
+ }
+
+} \ No newline at end of file
diff --git a/template.php b/template.php
new file mode 100644
index 0000000..b46dce7
--- /dev/null
+++ b/template.php
@@ -0,0 +1,115 @@
+<?php
+/**
+ * Implements hook_html_head_alter().
+ * This will overwrite the default meta character type tag with HTML5 version.
+ */
+function professional_theme_html_head_alter(&$head_elements) {
+ $head_elements['system_meta_content_type']['#attributes'] = array(
+ 'charset' => 'utf-8'
+ );
+}
+
+/**
+ * Insert themed breadcrumb page navigation at top of the node content.
+ */
+function professional_theme_breadcrumb($variables) {
+ $breadcrumb = $variables['breadcrumb'];
+ if (!empty($breadcrumb)) {
+ // Use CSS to hide titile .element-invisible.
+ $output = '<h2 class="element-invisible">' . t('You are here') . '</h2>';
+ // comment below line to hide current page to breadcrumb
+ $breadcrumb[] = drupal_get_title();
+ $output .= '<nav class="breadcrumb">' . implode(' ยป ', $breadcrumb) . '</nav>';
+ return $output;
+ }
+}
+
+/**
+ * Override or insert variables into the page template.
+ */
+function professional_theme_preprocess_page(&$vars) {
+ if (isset($vars['main_menu'])) {
+ $vars['main_menu'] = theme('links__system_main_menu', array(
+ 'links' => $vars['main_menu'],
+ 'attributes' => array(
+ 'class' => array('links', 'main-menu', 'clearfix'),
+ ),
+ 'heading' => array(
+ 'text' => t('Main menu'),
+ 'level' => 'h2',
+ 'class' => array('element-invisible'),
+ )
+ ));
+ }
+ else {
+ $vars['main_menu'] = FALSE;
+ }
+ if (isset($vars['secondary_menu'])) {
+ $vars['secondary_menu'] = theme('links__system_secondary_menu', array(
+ 'links' => $vars['secondary_menu'],
+ 'attributes' => array(
+ 'class' => array('links', 'secondary-menu', 'clearfix'),
+ ),
+ 'heading' => array(
+ 'text' => t('Secondary menu'),
+ 'level' => 'h2',
+ 'class' => array('element-invisible'),
+ )
+ ));
+ }
+ else {
+ $vars['secondary_menu'] = FALSE;
+ }
+}
+
+/**
+ * Duplicate of theme_menu_local_tasks() but adds clearfix to tabs.
+ */
+function professional_theme_menu_local_tasks(&$variables) {
+ $output = '';
+
+ if (!empty($variables['primary'])) {
+ $variables['primary']['#prefix'] = '<h2 class="element-invisible">' . t('Primary tabs') . '</h2>';
+ $variables['primary']['#prefix'] .= '<ul class="tabs primary clearfix">';
+ $variables['primary']['#suffix'] = '</ul>';
+ $output .= drupal_render($variables['primary']);
+ }
+ if (!empty($variables['secondary'])) {
+ $variables['secondary']['#prefix'] = '<h2 class="element-invisible">' . t('Secondary tabs') . '</h2>';
+ $variables['secondary']['#prefix'] .= '<ul class="tabs secondary clearfix">';
+ $variables['secondary']['#suffix'] = '</ul>';
+ $output .= drupal_render($variables['secondary']);
+ }
+ return $output;
+}
+
+/**
+ * Override or insert variables into the node template.
+ */
+function professional_theme_preprocess_node(&$variables) {
+ $node = $variables['node'];
+ if ($variables['view_mode'] == 'full' && node_is_page($variables['node'])) {
+ $variables['classes_array'][] = 'node-full';
+ }
+}
+
+function professional_theme_page_alter($page) {
+ // <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
+ $viewport = array(
+ '#type' => 'html_tag',
+ '#tag' => 'meta',
+ '#attributes' => array(
+ 'name' => 'viewport',
+ 'content' => 'width=device-width'
+ )
+ );
+ drupal_add_html_head($viewport, 'viewport');
+}
+
+/**
+ * Add javascript files for front-page jquery slideshow.
+ */
+if (drupal_is_front_page()) {
+ drupal_add_js(drupal_get_path('theme', 'professional_theme') . '/js/jquery.flexslider-min.js');
+ drupal_add_js(drupal_get_path('theme', 'professional_theme') . '/js/slide.js');
+}
diff --git a/templates/block.tpl.php b/templates/block.tpl.php
new file mode 100644
index 0000000..2c4da26
--- /dev/null
+++ b/templates/block.tpl.php
@@ -0,0 +1,55 @@
+<?php
+
+/**
+ * @file
+ * touch theme implementation to display a block.
+ *
+ * Available variables:
+ * - $block->subject: Block title.
+ * - $content: Block content.
+ * - $block->module: Module that generated the block.
+ * - $block->delta: An ID for the block, unique within each module.
+ * - $block->region: The block region embedding the current block.
+ * - $classes: String of classes that can be used to style contextually through
+ * CSS. It can be manipulated through the variable $classes_array from
+ * preprocess functions. The default values can be one or more of the following:
+ * - block: The current template type, i.e., "theming hook".
+ * - block-[module]: The module generating the block. For example, the user module
+ * is responsible for handling the default user navigation block. In that case
+ * the class would be "block-user".
+ * - $title_prefix (array): An array containing additional output populated by
+ * modules, intended to be displayed in front of the main title tag that
+ * appears in the template.
+ * - $title_suffix (array): An array containing additional output populated by
+ * modules, intended to be displayed after the main title tag that appears in
+ * the template.
+ *
+ * Helper variables:
+ * - $classes_array: Array of html class attribute values. It is flattened
+ * into a string within the variable $classes.
+ * - $block_zebra: Outputs 'odd' and 'even' dependent on each block region.
+ * - $zebra: Same output as $block_zebra but independent of any block region.
+ * - $block_id: Counter dependent on each block region.
+ * - $id: Same output as $block_id but independent of any block region.
+ * - $is_front: Flags true when presented in the front page.
+ * - $logged_in: Flags true when the current user is a logged-in member.
+ * - $is_admin: Flags true when the current user is an administrator.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_block()
+ * @see template_process()
+ */
+?>
+<div id="<?php print $block_html_id; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
+
+ <?php print render($title_prefix); ?>
+ <?php if (!empty($block->subject)): ?>
+ <h2 <?php print $title_attributes; ?>><?php print $block->subject ?></h2>
+ <?php endif;?>
+ <?php print render($title_suffix); ?>
+
+ <div class="content"<?php print $content_attributes; ?>>
+ <?php print $content ?>
+ </div>
+
+</div> <!-- /.block -->
diff --git a/templates/comment-wrapper.tpl.php b/templates/comment-wrapper.tpl.php
new file mode 100644
index 0000000..8123910
--- /dev/null
+++ b/templates/comment-wrapper.tpl.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * @file
+ * touch theme implementation to wrap comments.
+ *
+ * Available variables:
+ * - $content: The array of content-related elements for the node. Use
+ * render($content) to print them all, or
+ * print a subset such as render($content['comment_form']).
+ * - $classes: String of classes that can be used to style contextually through
+ * CSS. It can be manipulated through the variable $classes_array from
+ * preprocess functions. The default value has the following:
+ * - comment-wrapper: The current template type, i.e., "theming hook".
+ *
+ * The following variables are provided for contextual information.
+ * - $node: Node object the comments are attached to.
+ * The constants below the variables show the possible values and should be
+ * used for comparison.
+ * - $display_mode
+ * - COMMENT_MODE_FLAT
+ * - COMMENT_MODE_THREADED
+ *
+ * Other variables:
+ * - $classes_array: Array of html class attribute values. It is flattened
+ * into a string within the variable $classes.
+ *
+ * @see template_preprocess_comment_wrapper()
+ * @see theme_comment_wrapper()
+ */
+?>
+<div id="comments" class="<?php print $classes; ?>"<?php print $attributes; ?>>
+ <?php if ($content['comments'] && $node->type != 'forum'): ?>
+ <?php print render($title_prefix); ?>
+ <h2 class="title"><?php print t('Comments'); ?></h2>
+ <?php print render($title_suffix); ?>
+ <?php endif; ?>
+
+ <?php print render($content['comments']); ?>
+
+ <?php if ($content['comment_form']): ?>
+ <section id="comment-form-wrapper">
+ <h2 class="title"><?php print t('Add new comment'); ?></h2>
+ <?php print render($content['comment_form']); ?>
+ </section> <!-- /#comment-form-wrapper -->
+ <?php endif; ?>
+</div> <!-- /#comments -->
diff --git a/templates/comment.tpl.php b/templates/comment.tpl.php
new file mode 100644
index 0000000..29de75d
--- /dev/null
+++ b/templates/comment.tpl.php
@@ -0,0 +1,87 @@
+<?php
+/**
+ * @file
+ * touch theme implementation for comments.
+ *
+ * Available variables:
+ * - $author: Comment author. Can be link or plain text.
+ * - $content: An array of comment items. Use render($content) to print them all, or
+ * print a subset such as render($content['field_example']). Use
+ * hide($content['field_example']) to temporarily suppress the printing of a
+ * given element.
+ * - $created: Formatted date and time for when the comment was created.
+ * Preprocess functions can reformat it by calling format_date() with the
+ * desired parameters on the $comment->created variable.
+ * - $changed: Formatted date and time for when the comment was last changed.
+ * Preprocess functions can reformat it by calling format_date() with the
+ * desired parameters on the $comment->changed variable.
+ * - $new: New comment marker.
+ * - $permalink: Comment permalink.
+ * - $picture: Authors picture.
+ * - $signature: Authors signature.
+ * - $status: Comment status. Possible values are:
+ * comment-unpublished, comment-published or comment-preview.
+ * - $title: Linked title.
+ * - $classes: String of classes that can be used to style contextually through
+ * CSS. It can be manipulated through the variable $classes_array from
+ * preprocess functions. The default values can be one or more of the following:
+ * - comment: The current template type, i.e., "theming hook".
+ * - comment-by-anonymous: Comment by an unregistered user.
+ * - comment-by-node-author: Comment by the author of the parent node.
+ * - comment-preview: When previewing a new or edited comment.
+ * The following applies only to viewers who are registered users:
+ * - comment-unpublished: An unpublished comment visible only to administrators.
+ * - comment-by-viewer: Comment by the user currently viewing the page.
+ * - comment-new: New comment since last the visit.
+ * - $title_prefix (array): An array containing additional output populated by
+ * modules, intended to be displayed in front of the main title tag that
+ * appears in the template.
+ * - $title_suffix (array): An array containing additional output populated by
+ * modules, intended to be displayed after the main title tag that appears in
+ * the template.
+ *
+ * These two variables are provided for context:
+ * - $comment: Full comment object.
+ * - $node: Node object the comments are attached to.
+ *
+ * Other variables:
+ * - $classes_array: Array of html class attribute values. It is flattened
+ * into a string within the variable $classes.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_comment()
+ * @see template_process()
+ * @see theme_comment()
+ */
+?>
+<div class="<?php print $classes . ' ' . $zebra; ?>"<?php print $attributes; ?>>
+
+ <header>
+ <?php print $picture ?>
+
+ <?php print render($title_prefix); ?>
+ <h3 class="comment-title"><?php print $title ?></h3>
+ <?php print render($title_suffix); ?>
+
+ <div class="submitted"><?php print $author; ?> - <?php print $created; ?></div>
+
+ <?php if ($new): ?>
+ <span class="new"><?php print $new ?></span>
+ <?php endif; ?>
+ </header><!-- /.header -->
+
+ <div class="content"<?php print $content_attributes; ?>>
+ <?php hide($content['links']); print render($content); ?>
+ <?php if ($signature): ?>
+ <div class="user-signature clearfix">
+ <?php print $signature ?>
+ </div>
+ <?php endif; ?>
+ </div>
+
+ <?php if (!empty($content['links'])): ?>
+ <footer>
+ <?php print render($content['links']) ?>
+ </footer>
+ <?php endif; ?>
+</div> <!-- /.comment --> \ No newline at end of file
diff --git a/templates/html.tpl.php b/templates/html.tpl.php
new file mode 100644
index 0000000..cb7a78a
--- /dev/null
+++ b/templates/html.tpl.php
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<head>
+<?php print $head; ?>
+<title><?php print $head_title; ?></title>
+<?php print $styles; ?>
+<?php print $scripts; ?>
+<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
+</head>
+<body class="<?php print $classes; ?>"<?php print $attributes; ?>>
+ <?php print $page_top; ?>
+ <?php print $page; ?>
+ <?php print $page_bottom; ?>
+</body>
+</html> \ No newline at end of file
diff --git a/templates/maintenance-page.tpl.php b/templates/maintenance-page.tpl.php
new file mode 100644
index 0000000..0297b64
--- /dev/null
+++ b/templates/maintenance-page.tpl.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * @file
+ * Default theme implementation to display a single Drupal page while offline.
+ *
+ * All the available variables are mirrored in page.tpl.php. Some may be left
+ * blank but they are provided for consistency.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_maintenance_page()
+ */
+?>
+<!DOCTYPE html>
+<html lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>">
+
+<head>
+ <?php print $head; ?>
+ <title><?php print $head_title; ?></title>
+ <?php print $styles; ?>
+ <?php print $scripts; ?>
+</head>
+
+<body class="<?php print $classes; ?>" <?php print $attributes;?>>
+
+<div id="wrapper">
+ <header id="header" role="banner">
+ <?php if ($logo): ?><div id="logo"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><img src="<?php print $logo; ?>"/></a></div><?php endif; ?>
+ <h1 id="site-title"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>
+ <div id="site-description"><?php print $site_slogan; ?></div>
+ <div class="clear"></div>
+ </header>
+
+ <div id="container">
+ <div id="content">
+ <section id="main" role="main" class="clearfix">
+ <?php print $messages; ?>
+ <a id="main-content"></a>
+ <?php if ($title): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
+ <?php print $content; ?>
+ </section> <!-- /#main -->
+ </div>
+ </div>
+</div>
+
+</body>
+</html>
diff --git a/templates/node--forum.tpl.php b/templates/node--forum.tpl.php
new file mode 100644
index 0000000..be0e96e
--- /dev/null
+++ b/templates/node--forum.tpl.php
@@ -0,0 +1,116 @@
+<?php
+/**
+ * @file
+ * Default theme implementation to display a node.
+ *
+ * Available variables:
+ * - $title: the (sanitized) title of the node.
+ * - $content: An array of node items. Use render($content) to print them all, or
+ * print a subset such as render($content['field_example']). Use
+ * hide($content['field_example']) to temporarily suppress the printing of a
+ * given element.
+ * - $user_picture: The node author's picture from user-picture.tpl.php.
+ * - $date: Formatted creation date. Preprocess functions can reformat it by
+ * calling format_date() with the desired parameters on the $created variable.
+ * - $name: Themed username of node author output from theme_username().
+ * - $node_url: Direct url of the current node.
+ * - $terms: the themed list of taxonomy term links output from theme_links().
+ * - $display_submitted: whether submission information should be displayed.
+ * - $classes: String of classes that can be used to style contextually through
+ * CSS. It can be manipulated through the variable $classes_array from
+ * preprocess functions. The default values can be one or more of the following:
+ * - node: The current template type, i.e., "theming hook".
+ * - node-[type]: The current node type. For example, if the node is a
+ * "Blog entry" it would result in "node-blog". Note that the machine
+ * name will often be in a short form of the human readable label.
+ * - node-teaser: Nodes in teaser form.
+ * - node-preview: Nodes in preview mode.
+ * The following are controlled through the node publishing options.
+ * - node-promoted: Nodes promoted to the front page.
+ * - node-sticky: Nodes ordered above other non-sticky nodes in teaser listings.
+ * - node-unpublished: Unpublished nodes visible only to administrators.
+ * - $title_prefix (array): An array containing additional output populated by
+ * modules, intended to be displayed in front of the main title tag that
+ * appears in the template.
+ * - $title_suffix (array): An array containing additional output populated by
+ * modules, intended to be displayed after the main title tag that appears in
+ * the template.
+ *
+ * Other variables:
+ * - $node: Full node object. Contains data that may not be safe.
+ * - $type: Node type, i.e. story, page, blog, etc.
+ * - $comment_count: Number of comments attached to the node.
+ * - $uid: User ID of the node author.
+ * - $created: Time the node was published formatted in Unix timestamp.
+ * - $classes_array: Array of html class attribute values. It is flattened
+ * into a string within the variable $classes.
+ * - $zebra: Outputs either "even" or "odd". Useful for zebra striping in
+ * teaser listings.
+ * - $id: Position of the node. Increments each time it's output.
+ *
+ * Node status variables:
+ * - $view_mode: View mode, e.g. 'full', 'teaser'...
+ * - $teaser: Flag for the teaser state (shortcut for $view_mode == 'teaser').
+ * - $page: Flag for the full page state.
+ * - $promote: Flag for front page promotion state.
+ * - $sticky: Flags for sticky post setting.
+ * - $status: Flag for published status.
+ * - $comment: State of comment settings for the node.
+ * - $readmore: Flags true if the teaser content of the node cannot hold the
+ * main body content.
+ * - $is_front: Flags true when presented in the front page.
+ * - $logged_in: Flags true when the current user is a logged-in member.
+ * - $is_admin: Flags true when the current user is an administrator.
+ *
+ * Field variables: for each field instance attached to the node a corresponding
+ * variable is defined, e.g. $node->body becomes $body. When needing to access
+ * a field's raw values, developers/themers are strongly encouraged to use these
+ * variables. Otherwise they will have to explicitly specify the desired field
+ * language, e.g. $node->body['en'], thus overriding any language negotiation
+ * rule that was previously applied.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_node()
+ * @see template_process()
+ */
+?>
+<?php if (!$page): ?>
+ <article id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
+<?php endif; ?>
+ <?php if (!$page): ?>
+ <header>
+ <?php endif; ?>
+ <?php print render($title_prefix); ?>
+ <?php if (!$page): ?>
+ <h2 class="title" <?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
+ <?php endif; ?>
+ <?php print render($title_suffix); ?>
+
+ <?php if ($display_submitted): ?>
+ <div class="submitted"><?php print $submitted; ?></div>
+ <?php endif; ?>
+
+ <?php if (!$page): ?>
+ </header>
+ <?php endif; ?>
+<div class="forum-starter-picture"><?php print $user_picture; ?></div>
+ <div class="content"<?php print $content_attributes; ?>>
+ <?php
+ // Hide comments, tags, and links now so that we can render them later.
+ hide($content['comments']);
+ hide($content['links']);
+ hide($content['field_tags']);
+ print render($content);
+ ?>
+ </div>
+
+ <?php if (!empty($content['field_tags']) || !empty($content['links'])): ?>
+ <footer>
+ <?php print render($content['field_tags']); ?>
+ <?php print render($content['links']); ?>
+ </footer>
+ <?php endif; ?>
+ <?php print render($content['comments']); ?>
+<?php if (!$page): ?>
+ </article> <!-- /.node -->
+<?php endif; ?>
diff --git a/templates/node.tpl.php b/templates/node.tpl.php
new file mode 100644
index 0000000..522ff01
--- /dev/null
+++ b/templates/node.tpl.php
@@ -0,0 +1,117 @@
+<?php
+/**
+ * @file
+ * Default theme implementation to display a node.
+ *
+ * Available variables:
+ * - $title: the (sanitized) title of the node.
+ * - $content: An array of node items. Use render($content) to print them all, or
+ * print a subset such as render($content['field_example']). Use
+ * hide($content['field_example']) to temporarily suppress the printing of a
+ * given element.
+ * - $user_picture: The node author's picture from user-picture.tpl.php.
+ * - $date: Formatted creation date. Preprocess functions can reformat it by
+ * calling format_date() with the desired parameters on the $created variable.
+ * - $name: Themed username of node author output from theme_username().
+ * - $node_url: Direct url of the current node.
+ * - $terms: the themed list of taxonomy term links output from theme_links().
+ * - $display_submitted: whether submission information should be displayed.
+ * - $classes: String of classes that can be used to style contextually through
+ * CSS. It can be manipulated through the variable $classes_array from
+ * preprocess functions. The default values can be one or more of the following:
+ * - node: The current template type, i.e., "theming hook".
+ * - node-[type]: The current node type. For example, if the node is a
+ * "Blog entry" it would result in "node-blog". Note that the machine
+ * name will often be in a short form of the human readable label.
+ * - node-teaser: Nodes in teaser form.
+ * - node-preview: Nodes in preview mode.
+ * The following are controlled through the node publishing options.
+ * - node-promoted: Nodes promoted to the front page.
+ * - node-sticky: Nodes ordered above other non-sticky nodes in teaser listings.
+ * - node-unpublished: Unpublished nodes visible only to administrators.
+ * - $title_prefix (array): An array containing additional output populated by
+ * modules, intended to be displayed in front of the main title tag that
+ * appears in the template.
+ * - $title_suffix (array): An array containing additional output populated by
+ * modules, intended to be displayed after the main title tag that appears in
+ * the template.
+ *
+ * Other variables:
+ * - $node: Full node object. Contains data that may not be safe.
+ * - $type: Node type, i.e. story, page, blog, etc.
+ * - $comment_count: Number of comments attached to the node.
+ * - $uid: User ID of the node author.
+ * - $created: Time the node was published formatted in Unix timestamp.
+ * - $classes_array: Array of html class attribute values. It is flattened
+ * into a string within the variable $classes.
+ * - $zebra: Outputs either "even" or "odd". Useful for zebra striping in
+ * teaser listings.
+ * - $id: Position of the node. Increments each time it's output.
+ *
+ * Node status variables:
+ * - $view_mode: View mode, e.g. 'full', 'teaser'...
+ * - $teaser: Flag for the teaser state (shortcut for $view_mode == 'teaser').
+ * - $page: Flag for the full page state.
+ * - $promote: Flag for front page promotion state.
+ * - $sticky: Flags for sticky post setting.
+ * - $status: Flag for published status.
+ * - $comment: State of comment settings for the node.
+ * - $readmore: Flags true if the teaser content of the node cannot hold the
+ * main body content.
+ * - $is_front: Flags true when presented in the front page.
+ * - $logged_in: Flags true when the current user is a logged-in member.
+ * - $is_admin: Flags true when the current user is an administrator.
+ *
+ * Field variables: for each field instance attached to the node a corresponding
+ * variable is defined, e.g. $node->body becomes $body. When needing to access
+ * a field's raw values, developers/themers are strongly encouraged to use these
+ * variables. Otherwise they will have to explicitly specify the desired field
+ * language, e.g. $node->body['en'], thus overriding any language negotiation
+ * rule that was previously applied.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_node()
+ * @see template_process()
+ */
+?>
+<?php if (!$page): ?>
+ <article id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
+<?php endif; ?>
+ <?php if (!$page): ?>
+ <header>
+ <?php endif; ?>
+ <?php print render($title_prefix); ?>
+ <?php if (!$page): ?>
+ <h2 class="title" <?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
+ <?php endif; ?>
+ <?php print render($title_suffix); ?>
+
+ <?php if ($display_submitted): ?>
+ <span class="submitted"><?php print $submitted; ?></span>
+ <?php endif; ?>
+
+ <?php if (!$page): ?>
+ </header>
+ <?php endif; ?>
+
+ <div class="content <?php print $classes_array['1']; ?>"<?php print $content_attributes; ?>>
+ <?php
+ // Hide comments, tags, and links now so that we can render them later.
+ hide($content['comments']);
+ hide($content['links']);
+ hide($content['field_tags']);
+ print render($content);
+ ?>
+ </div>
+
+ <?php if (!empty($content['field_tags']) || !empty($content['links'])): ?>
+ <footer>
+ <?php print render($content['field_tags']); ?>
+ <?php print render($content['links']); ?>
+ </footer>
+ <?php endif; ?>
+
+ <?php print render($content['comments']); ?>
+<?php if (!$page): ?>
+ </article> <!-- /.node -->
+<?php endif; ?>
diff --git a/templates/page.tpl.php b/templates/page.tpl.php
new file mode 100644
index 0000000..2e7fdf3
--- /dev/null
+++ b/templates/page.tpl.php
@@ -0,0 +1,224 @@
+<?php
+/**
+ * @file
+ * Default theme implementation to display a single Drupal page.
+ *
+ * Available variables:
+ *
+ * General utility variables:
+ * - $base_path: The base URL path of the Drupal installation. At the very
+ * least, this will always default to /.
+ * - $directory: The directory the template is located in, e.g. modules/system
+ * or themes/garland.
+ * - $is_front: TRUE if the current page is the front page.
+ * - $logged_in: TRUE if the user is registered and signed in.
+ * - $is_admin: TRUE if the user has permission to main-menu administration pages.
+ *
+ * Site identity:
+ * - $front_page: The URL of the front page. Use this instead of $base_path,
+ * when linking to the front page. This includes the language domain or
+ * prefix.
+ * - $logo: The path to the logo image, as defined in theme configuration.
+ * - $site_name: The name of the site, empty when display has been disabled
+ * in theme settings.
+ * - $site_slogan: The slogan of the site, empty when display has been disabled
+ * in theme settings.
+ *
+ * Navigation:
+ * - $main_menu (array): An array containing the Main menu links for the
+ * site, if they have been configured.
+ * - $secondary_menu (array): An array containing the Secondary menu links for
+ * the site, if they have been configured.
+ * - $breadcrumb: The breadcrumb trail for the current page.
+ *
+ * Page content (in order of occurrence in the default page.tpl.php):
+ * - $title_prefix (array): An array containing additional output populated by
+ * modules, intended to be displayed in front of the main title tag that
+ * appears in the template.
+ * - $title: The page title, for use in the actual HTML content.
+ * - $title_suffix (array): An array containing additional output populated by
+ * modules, intended to be displayed after the main title tag that appears in
+ * the template.
+ * - $messages: HTML for status and error messages. Should be displayed
+ * prominently.
+ * - $tabs (array): Tabs linking to any sub-pages beneath the current page
+ * (e.g., the view and edit tabs when displaying a node).
+ * - $action_links (array): Actions local to the page, such as 'Add menu' on the
+ * menu administration interface.
+ * - $feed_icons: A string of all feed icons for the current page.
+ * - $node: The node object, if there is an automatically-loaded node
+ * associated with the page, and the node ID is the second argument
+ * in the page's path (e.g. node/12345 and node/12345/revisions, but not
+ * comment/reply/12345).
+ *
+ * Regions:
+ * - $page['help']: Dynamic help text, mostly for admin pages.
+ * - $page['content']: The main content of the current page.
+ * - $page['sidebar_first']: Items for the first sidebar.
+ * - $page['sidebar_second']: Items for the second sidebar.
+ * - $page['header']: Items for the header region.
+ * - $page['footer']: Items for the footer region.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_page()
+ * @see template_process()
+ */
+?>
+
+<div id="wrapper">
+ <header id="header" role="banner">
+ <?php if ($logo): ?><div id="logo"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><img src="<?php print $logo; ?>"/></a></div><?php endif; ?>
+ <h1 id="site-title"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>
+ <div id="site-description"><?php print $site_slogan; ?></div>
+ <div class="clear"></div>
+ <nav id="main-menu" role="navigation">
+ <a class="nav-toggle" href="#">Navigation</a>
+ <div class="menu-navigation-container">
+ <?php
+ $main_menu_tree = menu_tree(variable_get('menu_main_links_source', 'main-menu'));
+ print drupal_render($main_menu_tree);
+ ?>
+ </div>
+ <div class="clear"></div>
+ </nav><!-- end main-menu -->
+ </header>
+
+
+ <div id="container">
+
+ <?php if ($is_front): ?>
+ <?php if (theme_get_setting('slideshow_display', 'professional_theme')): ?>
+ <!-- Slides -->
+ <?php
+ $slide1_head = theme_get_setting('slide1_head','professional_theme'); $slide1_desc = theme_get_setting('slide1_desc','professional_theme'); $slide1_url = theme_get_setting('slide1_url','professional_theme');
+ $slide2_head = theme_get_setting('slide2_head','professional_theme'); $slide2_desc = theme_get_setting('slide2_desc','professional_theme'); $slide2_url = theme_get_setting('slide2_url','professional_theme');
+ $slide3_head = theme_get_setting('slide3_head','professional_theme'); $slide3_desc = theme_get_setting('slide3_desc','professional_theme'); $slide3_url = theme_get_setting('slide3_url','professional_theme');
+ ?>
+ <section id="slider">
+ <ul class="slides">
+ <li>
+ <article class="post">
+ <div class="entry-container">
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php print url($slide1_url); ?>"><?php print $slide1_head; ?></a></h2>
+ </header><!-- .entry-header -->
+ <div class="entry-summary">
+ <p><?php print $slide1_desc; ?></p>
+ </div><!-- .entry-summary -->
+ <div class="clear"></div>
+ </div><!-- .entry-container -->
+ <a href="<?php print url($slide1_url); ?>">
+ <img src="<?php print base_path() . drupal_get_path('theme', 'professional_theme') . '/images/slide-image-1.jpg'; ?>" class="slide-image" /></a>
+ <div class="clear"></div>
+ </article>
+ </li>
+
+ <li>
+ <article class="post">
+ <div class="entry-container">
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php print url($slide2_url); ?>"><?php print $slide2_head; ?></a></h2>
+ </header><!-- .entry-header -->
+ <div class="entry-summary">
+ <p><?php print $slide2_desc; ?></p>
+ </div><!-- .entry-summary -->
+ <div class="clear"></div>
+ </div><!-- .entry-container -->
+ <a href="<?php print url($slide2_url); ?>">
+ <img src="<?php print base_path() . drupal_get_path('theme', 'professional_theme') . '/images/slide-image-2.jpg'; ?>" class="slide-image" /></a>
+ <div class="clear"></div>
+ </article>
+ </li>
+
+ <li>
+ <article class="post">
+ <div class="entry-container">
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php print url($slide3_url); ?>"><?php print $slide3_head; ?></a></h2>
+ </header><!-- .entry-header -->
+ <div class="entry-summary">
+ <p><?php print $slide3_desc; ?></p>
+ </div><!-- .entry-summary -->
+ <div class="clear"></div>
+ </div><!-- .entry-container -->
+ <a href="<?php print url($slide3_url); ?>">
+ <img src="<?php print base_path() . drupal_get_path('theme', 'professional_theme') . '/images/slide-image-3.jpg'; ?>" class="slide-image" /></a>
+ <div class="clear"></div>
+ </article>
+ </li>
+ </ul>
+ </section>
+ <?php endif; ?>
+ <?php endif; ?>
+
+
+ <?php if ($page['header']): ?>
+ <div id="head">
+ <?php print render($page['header']); ?>
+ </div>
+ <div class="clear"></div>
+ <?php endif; ?>
+
+ <div class="content-sidebar-wrap">
+
+ <div id="content">
+ <?php if (theme_get_setting('breadcrumbs', 'professional_theme')): ?><div id="breadcrumbs"><?php if ($breadcrumb): print $breadcrumb; endif;?></div><?php endif; ?>
+ <section id="post-content" role="main">
+ <?php print $messages; ?>
+ <?php if ($page['content_top']): ?><div id="content_top"><?php print render($page['content_top']); ?></div><?php endif; ?>
+ <?php print render($title_prefix); ?>
+ <?php if ($title): ?><h1 class="page-title"><?php print $title; ?></h1><?php endif; ?>
+ <?php print render($title_suffix); ?>
+ <?php if (!empty($tabs['#primary'])): ?><div class="tabs-wrapper"><?php print render($tabs); ?></div><?php endif; ?>
+ <?php print render($page['help']); ?>
+ <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
+ <?php print render($page['content']); ?>
+ </section> <!-- /#main -->
+ </div>
+
+ <?php if ($page['sidebar_first']): ?>
+ <aside id="sidebar-first" role="complementary">
+ <?php print render($page['sidebar_first']); ?>
+ </aside> <!-- /#sidebar-first -->
+ <?php endif; ?>
+
+ </div>
+
+ <?php if ($page['sidebar_second']): ?>
+ <aside id="sidebar-second" role="complementary">
+ <?php print render($page['sidebar_second']); ?>
+ </aside> <!-- /#sidebar-first -->
+ <?php endif; ?>
+
+ <div class="clear"></div>
+
+ <?php if ($page['footer']): ?>
+ <div id="foot">
+ <?php print render($page['footer']) ?>
+ </div>
+ <?php endif; ?>
+ </div>
+
+
+
+ <div id="footer">
+ <?php if ($page['footer_first'] || $page['footer_second'] || $page['footer_third']): ?>
+ <div id="footer-area" class="clearfix">
+ <?php if ($page['footer_first']): ?>
+ <div class="column"><?php print render($page['footer_first']); ?></div>
+ <?php endif; ?>
+ <?php if ($page['footer_second']): ?>
+ <div class="column"><?php print render($page['footer_second']); ?></div>
+ <?php endif; ?>
+ <?php if ($page['footer_third']): ?>
+ <div class="column"><?php print render($page['footer_third']); ?></div>
+ <?php endif; ?>
+ </div>
+ <?php endif; ?>
+
+ <div id="copyright">
+ <p class="copyright"><?php print t('Copyright'); ?> &copy; <?php echo date("Y"); ?>, <?php print $site_name; ?> </p> <p class="credits"> <?php print t('Theme by'); ?> <a href="http://www.devsaran.com">Devsaran</a></p>
+ <div class="clear"></div>
+ </div>
+ </div>
+</div> \ No newline at end of file
diff --git a/templates/region.tpl.php b/templates/region.tpl.php
new file mode 100644
index 0000000..012b3e0
--- /dev/null
+++ b/templates/region.tpl.php
@@ -0,0 +1,5 @@
+<?php if (!empty($content)): ?>
+<div class="<?php print $classes; ?>">
+ <?php print $content; ?>
+</div>
+<?php endif; ?> <!-- /.region -->
diff --git a/theme-settings.php b/theme-settings.php
new file mode 100644
index 0000000..4bd2eff
--- /dev/null
+++ b/theme-settings.php
@@ -0,0 +1,105 @@
+<?php
+/**
+ * Implements hook_form_FORM_ID_alter().
+ *
+ * @param $form
+ * The form.
+ * @param $form_state
+ * The form state.
+ */
+function professional_theme_form_system_theme_settings_alter(&$form, &$form_state) {
+
+ $form['prof_settings'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Professional Theme Settings'),
+ '#collapsible' => FALSE,
+ '#collapsed' => FALSE,
+ );
+ $form['prof_settings']['breadcrumbs'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Show breadcrumbs in a page'),
+ '#default_value' => theme_get_setting('breadcrumbs','professional_theme'),
+ '#description' => t("Check this option to show breadcrumbs in page. Uncheck to hide."),
+ );
+ $form['prof_settings']['slideshow'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Front Page Slideshow'),
+ '#collapsible' => TRUE,
+ '#collapsed' => FALSE,
+ );
+ $form['prof_settings']['slideshow']['slideshow_display'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Show slideshow'),
+ '#default_value' => theme_get_setting('slideshow_display','professional_theme'),
+ '#description' => t("Check this option to show Slideshow in front page. Uncheck to hide."),
+ );
+ $form['prof_settings']['slideshow']['slide'] = array(
+ '#markup' => t('You can change the description and URL of each slide in the following Slide Setting fieldsets.'),
+ );
+ $form['prof_settings']['slideshow']['slide1'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Slide 1'),
+ '#collapsible' => TRUE,
+ '#collapsed' => TRUE,
+ );
+ $form['prof_settings']['slideshow']['slide1']['slide1_head'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Slide Headline'),
+ '#default_value' => theme_get_setting('slide1_head','professional_theme'),
+ );
+ $form['prof_settings']['slideshow']['slide1']['slide1_desc'] = array(
+ '#type' => 'textarea',
+ '#title' => t('Slide Description'),
+ '#default_value' => theme_get_setting('slide1_desc','professional_theme'),
+ );
+ $form['prof_settings']['slideshow']['slide1']['slide1_url'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Slide URL'),
+ '#default_value' => theme_get_setting('slide1_url','professional_theme'),
+ );
+ $form['prof_settings']['slideshow']['slide2'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Slide 2'),
+ '#collapsible' => TRUE,
+ '#collapsed' => TRUE,
+ );
+ $form['prof_settings']['slideshow']['slide2']['slide2_head'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Slide Headline'),
+ '#default_value' => theme_get_setting('slide2_head','professional_theme'),
+ );
+ $form['prof_settings']['slideshow']['slide2']['slide2_desc'] = array(
+ '#type' => 'textarea',
+ '#title' => t('Slide Description'),
+ '#default_value' => theme_get_setting('slide2_desc','professional_theme'),
+ );
+ $form['prof_settings']['slideshow']['slide2']['slide2_url'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Slide URL'),
+ '#default_value' => theme_get_setting('slide2_url','professional_theme'),
+ );
+ $form['prof_settings']['slideshow']['slide3'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Slide 3'),
+ '#collapsible' => TRUE,
+ '#collapsed' => TRUE,
+ );
+ $form['prof_settings']['slideshow']['slide3']['slide3_head'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Slide Headline'),
+ '#default_value' => theme_get_setting('slide3_head','professional_theme'),
+ );
+ $form['prof_settings']['slideshow']['slide3']['slide3_desc'] = array(
+ '#type' => 'textarea',
+ '#title' => t('Slide Description'),
+ '#default_value' => theme_get_setting('slide3_desc','professional_theme'),
+ );
+ $form['prof_settings']['slideshow']['slide3']['slide3_url'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Slide URL'),
+ '#default_value' => theme_get_setting('slide3_url','professional_theme'),
+ );
+ $form['prof_settings']['slideshow']['slideimage'] = array(
+ '#markup' => t('To change the Slide Images, Replace the slide-image-1.jpg, slide-image-2.jpg and slide-image-3.jpg in the images folder of the Professional theme folder.'),
+ );
+} \ No newline at end of file