Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
styling in-content nav, and sidebar widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbacon committed Jun 29, 2015
1 parent a09bb34 commit 5ca9fc8
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 7 deletions.
13 changes: 8 additions & 5 deletions sass/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
.home #content {
@include widgets(".home #content");
}
#page-sidebar {
@include widgets(".home #content");
}
.subpage {
@include widgets(".subpage");
}
Expand Down Expand Up @@ -66,24 +69,24 @@ code {
}
.hentry {
margin: 0 0 1.5em;
}
}
.byline,
.updated {
display: none;
}
}
.single .byline,
.group-blog .byline {
display: inline;
}
}
.page-content,
.entry-content,
.entry-summary {
margin: 1.5em 0 0;
}
}
.page-links {
clear: both;
margin: 0 0 1.5em;
}
}

.nav-next {
text-align:right;
Expand Down
17 changes: 16 additions & 1 deletion sass/_nav.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
/* NAV
--------------------------------------------------------------*/
#nav-tabs .nav-tabs {
border-bottom:0;

& > li.active > a,
& > li.active > a:hover,
& > li.active > a:focus {
background-color:$navbar-default-bg;
border-bototm:1px solid $navbar-default-bg;
position:relative;
bottom:-1px;
z-index:9999;
}
}


#primary-nav {
a.external {
Expand Down Expand Up @@ -134,4 +148,5 @@ $nav-z: 9999;

#mega-menu-wrap-primary {
//margin-bottom: $grid-gutter-width;
}
}

29 changes: 28 additions & 1 deletion sass/_widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
}
}

a{
a {
@if $parent == "#mega-footer" {
color: $megafooter-widget-link-color;
} @else if $parent == "#maxmegamenu" {
Expand All @@ -134,6 +134,15 @@
}
}
}

.nav-pills .active a {
color: $component-active-color;
&:hover {
color: $component-active-color;
background-color: $component-active-bg;
}
}



form {
Expand Down Expand Up @@ -188,6 +197,24 @@
}

}
.nav-tabs {
margin:0;
li {
margin-bottom:-1px;
list-style-type:none;

&.active a {
color:$text-color;
}
}
}
.nav-pills {
margin:0;
li {
margin:0;
list-style-type:none;
}
}

}
* html .widget.widget_dpe_fp_widget .dpe-flexible-posts li a{
Expand Down

0 comments on commit 5ca9fc8

Please sign in to comment.