Skip to:
Content

BuddyPress.org

Changeset 9933


Ignore:
Timestamp:
06/11/2015 04:43:21 AM (11 years ago)
Author:
johnjamesjacoby
Message:

Theme Compat: Remove braces from $text-color @if conditions.

This change brings twentyfifteen.scss and twentyfourteen.scss into alignment with SCSS best practices.
See: ​http://sass-lang.com/documentation/file.SASS_REFERENCE.html#_9

Fixes #6474. (trunk)

Location:
trunk/src/bp-templates/bp-legacy/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss

    r9905 r9933  
    103103@mixin message-box($background, $text-color: null) {
    104104
    105         @if($text-color) {
     105        @if $text-color {
    106106                // if a param was passed through
    107107                $text-color: $text-color;
  • trunk/src/bp-templates/bp-legacy/css/twentyfourteen.scss

    r9905 r9933  
    105105@mixin message-box($background, $text-color: null) {
    106106
    107         @if($text-color) {
     107        @if $text-color {
    108108                // if a param was passed through
    109109                $text-color: $text-color;
Note: See TracChangeset for help on using the changeset viewer.