Skip to content

Commit

Permalink
Updates for New Templates and General Styling
Browse files Browse the repository at this point in the history
  • Loading branch information
briandunnigan authored and briandunnigan committed Feb 17, 2016
1 parent f3cfe4a commit f64fdeb
Show file tree
Hide file tree
Showing 4 changed files with 243 additions and 1 deletion.
2 changes: 1 addition & 1 deletion inc/reg-sidebars.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function custom_searchform($form){

$form = '<div class="searchform"><form action="'.home_url( '/' ).'" method="get" class="form-inline" role="form"><div class="form-group"><fieldset><legend class="sr-only">Search this Site</legend>';
$form .= '<label for="searchfield-'.$search_counter.'" class="sr-only">Search in '.home_url( '/' ).'></label>';
$form .= '<input type="text" name="s" id="searchfield-'.$search_counter.'" value="'.get_search_query().'" class="form-control search" placeholder="Search this site... " />';
$form .= '<input type="text" name="s" id="searchfield-'.$search_counter.'" value="'.get_search_query().'" class="form-control search" title="Search this site... " placeholder="Search this site... " />';
$form .= '<button type="submit" class="btn btn-default" title="Search"><i class="glyphicon glyphicon-search"></i><span class="sr-only">Search</span></button>';
$form .= '</fieldset></div></form></div>';

Expand Down
6 changes: 6 additions & 0 deletions sass/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ $nav-z: 9999;
#mega-menu-primary {margin-bottom:0;}
.mega-sub-menu {
list-style-type:none;

li.mega-menu-item a {
padding-top:7px!important;
padding-bottom:7px !important;
line-height:1.5em!important;
}
}
#megamenu-mobile-title {
font-size:1.3em;
Expand Down
129 changes: 129 additions & 0 deletions sass/_page-builder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,53 @@
border:1px solid #eaeaea;
padding:2em;
margin-bottom:10px;

&.widget_metaslider_widget {
background-color:transparent;
border: none;
padding:0;
}

&.widget_siteorigin-panels-postloop { /*Post Loop Widget */
h2 {
margin-top:12px;
margin-bottom:12px;
}
.content-template-date {
margin-bottom:10px;
display: block;
}
}
&.widget_recent-posts { /*Recent Posts Widget */
.post-date {
display:block;
font-size: 11.5px;
margin-top: 5px;
}
}
&.widget_dpe_fp_widget { /*Flexible Posts Widget */
li {
margin-bottom:0px;
}
}
&.widget_rcpt { /*Recent Custom Posts Type Widget */
ul {
padding-left:0;

.rcpt_item_title {
padding:0px;
}
.rcpt_item_excerpt {
margin:0;
margin-top:10px;
}

.rcpt_item_date {
margin-top:10px;
}
}
}

}
}

Expand All @@ -77,4 +124,86 @@
}
}

.home {
#content {
#page-page-builder-cards {
.panel-grid {
.widget.widget_metaslider_widget {
margin-bottom:0px !important;

ul.flex-direction-nav {
li {
margin:0 !important;
}
}
}
}
}
}
}

body.page-template-page-blank {
.widget {
&.widget_rcpt { /*Recent Custom Posts Type Widget */
ul {
padding-left:0;
list-style-type: none;

.rcpt_item_image {
margin-bottom: 10px;
}

.rcpt_item_excerpt {
margin-top:10px;
}

.rcpt_item_date {
margin-top:10px;
}


li {
margin-bottom:30px;
}
}
}
&.widget_recent-posts { /*Recent Posts Widget */
ul {
padding-left:0;
list-style-type: none;
li {
margin-bottom:15px;

.post-date {
display:block;
font-size: 11.5px;
margin-top: 5px;
}
}
}
}
&.widget_dpe_fp_widget { /*Flexible Posts Widget */
ul {
padding-left:0;
list-style-type: none;

li {
margin-bottom:0px;
}
}
}
}
}

body.home.page-template-page-blank {
h3.widget-title {
margin-bottom:15px !important;
}
}







107 changes: 107 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7372,6 +7372,11 @@ button.close {
.mega-sub-menu {
list-style-type: none;
}
.mega-sub-menu li.mega-menu-item a {
padding-top: 7px !important;
padding-bottom: 7px !important;
line-height: 1.5em !important;
}

#megamenu-mobile-title {
font-size: 1.3em;
Expand Down Expand Up @@ -10667,6 +10672,52 @@ input[type="button"]#footers.btn-block {
padding: 2em;
margin-bottom: 10px;
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_metaslider_widget {
background-color: transparent;
border: none;
padding: 0;
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_siteorigin-panels-postloop {
/*Post Loop Widget */
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_siteorigin-panels-postloop h2 {
margin-top: 12px;
margin-bottom: 12px;
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_siteorigin-panels-postloop .content-template-date {
margin-bottom: 10px;
display: block;
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_recent-posts {
/*Recent Posts Widget */
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_recent-posts .post-date {
display: block;
font-size: 11.5px;
margin-top: 5px;
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_dpe_fp_widget {
/*Flexible Posts Widget */
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_dpe_fp_widget li {
margin-bottom: 0px;
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_rcpt {
/*Recent Custom Posts Type Widget */
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_rcpt ul {
padding-left: 0;
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_rcpt ul .rcpt_item_title {
padding: 0px;
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_rcpt ul .rcpt_item_excerpt {
margin: 0;
margin-top: 10px;
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_rcpt ul .rcpt_item_date {
margin-top: 10px;
}
#page-page-builder-cards #primary #main .panel-grid {
margin-bottom: 0px;
margin-left: -5px;
Expand All @@ -10676,3 +10727,59 @@ input[type="button"]#footers.btn-block {
padding-left: 5px;
padding-right: 5px;
}

.home #content #page-page-builder-cards .panel-grid .widget.widget_metaslider_widget {
margin-bottom: 0px !important;
}
.home #content #page-page-builder-cards .panel-grid .widget.widget_metaslider_widget ul.flex-direction-nav li {
margin: 0 !important;
}

body.page-template-page-blank .widget.widget_rcpt {
/*Recent Custom Posts Type Widget */
}
body.page-template-page-blank .widget.widget_rcpt ul {
padding-left: 0;
list-style-type: none;
}
body.page-template-page-blank .widget.widget_rcpt ul .rcpt_item_image {
margin-bottom: 10px;
}
body.page-template-page-blank .widget.widget_rcpt ul .rcpt_item_excerpt {
margin-top: 10px;
}
body.page-template-page-blank .widget.widget_rcpt ul .rcpt_item_date {
margin-top: 10px;
}
body.page-template-page-blank .widget.widget_rcpt ul li {
margin-bottom: 30px;
}
body.page-template-page-blank .widget.widget_recent-posts {
/*Recent Posts Widget */
}
body.page-template-page-blank .widget.widget_recent-posts ul {
padding-left: 0;
list-style-type: none;
}
body.page-template-page-blank .widget.widget_recent-posts ul li {
margin-bottom: 15px;
}
body.page-template-page-blank .widget.widget_recent-posts ul li .post-date {
display: block;
font-size: 11.5px;
margin-top: 5px;
}
body.page-template-page-blank .widget.widget_dpe_fp_widget {
/*Flexible Posts Widget */
}
body.page-template-page-blank .widget.widget_dpe_fp_widget ul {
padding-left: 0;
list-style-type: none;
}
body.page-template-page-blank .widget.widget_dpe_fp_widget ul li {
margin-bottom: 0px;
}

body.home.page-template-page-blank h3.widget-title {
margin-bottom: 15px !important;
}

0 comments on commit f64fdeb

Please sign in to comment.