Skip to content

Commit

Permalink
Button Update
Browse files Browse the repository at this point in the history
Removed widget rules for link styles. They will now inherit from
bootstrap styles for all <a>.

Added rule to always remove text underline from buttons.
  • Loading branch information
andrewmbacon committed Mar 2, 2015
1 parent 6f49495 commit 6582e36
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 30 deletions.
3 changes: 2 additions & 1 deletion sass/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ code {
.entry-footer a {
text-decoration:underline;
}
.nav a {
.nav a,
a.btn {
text-decoration:none!important;
}

Expand Down
16 changes: 0 additions & 16 deletions sass/widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,6 @@
color:$widget-color;
}

a {
@if $parent == "#mega-footer" {
color: $megafooter-widget-link-color;
} @else {
color: $widget-link-color;
}

&:hover {
@if $parent == "#mega-footer" {
color:$megafooter-widget-link-hover;
} @else {
color:$widget-link-hover;
}
}
}

.widget-head {

border:1px solid transparent;
Expand Down
15 changes: 2 additions & 13 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6983,12 +6983,6 @@ button.close {
background-color: white;
color: black;
}
#content .widget a {
color: #428bca;
}
#content .widget a:hover {
color: #2a6496;
}
#content .widget .widget-head {
border: 1px solid transparent;
padding: 0.5em 0.5em 0.5em 1em;
Expand Down Expand Up @@ -7388,7 +7382,8 @@ code {
text-decoration: underline;
}

.nav a {
.nav a,
a.btn {
text-decoration: none !important;
}

Expand Down Expand Up @@ -7890,12 +7885,6 @@ body.sticky .ie8 #footers {
background-color: white;
color: black;
}
#mega-footer .widget a {
color: #428bca;
}
#mega-footer .widget a:hover {
color: #2a6496;
}
#mega-footer .widget .widget-head {
border: 1px solid transparent;
padding: 0.5em 0.5em 0.5em 1em;
Expand Down

0 comments on commit 6582e36

Please sign in to comment.