@warn"`#{$active_class}` isn't a valid string. A valid string is needed to correctly be interpolated as a CSS class. CSS classes cannot start with a number or consist of only numbers. CSS will not be generated for the active state of this navigation component."
}
@else{
&.#{$active_class}>a{
background:$active-bg;
}
}
>a{
background:$bg;
color:$font-color;
@iftype-of($padding)!=number{
@warn"`#{$padding}` was read as #{type-of($padding)}";
@if$accordion-navigation-padding!=null{
@warn"#{$padding} was read as a #{type-of($padding)}";
@warn"`#{$padding}` isn't a valid number. $accordion-navigation-padding (#{$accordion-navigation-padding}) will be used instead.)";
padding:$accordion-navigation-padding;
}
@else{
@warn"`#{$padding}` isn't a valid number and $accordion-navigation-padding is missing. A value of `null` is returned to not output an invalid value for padding";
padding:null;
}
}
@else{
padding:$padding;
}
display:block;
font-family:$font-family;
@iftype-of($font-size)!=number{
@warn"`#{$font-size}` was read as a #{type-of($font-size)}";
@if$accordion-navigation-font-size!=null{
@warn"`#{$font-size}` is not a valid number. The value of $accordion-navigation-font-size will be used instead (#{$accordion-navigation-font-size}).";
font-size:$accordion-navigation-font-size;
}
@else{
@warn"`#{$font-size}` is not a valid number and the default value of $accordion-navigation-font-size is not defined. A value of `null` will be returned to not generate an invalid value for font-size.";
@warn"#{$padding} was read as a #{type-of($padding)}";
@if$accordion-content-padding!=null{
@warn"`#{$padding}` isn't a valid number. $accordion-content-padding used instead";
padding:$accordion-content-padding;
}@else{
@warn"`#{$padding}` isn't a valid number and the default value of $accordion-content-padding is not defined. A value of `null` is returned to not output an invalid value for padding.";
padding:null;
}
}@else{
padding:$padding;
}
@iftype-of($active_class)!="string"{
@warn"`#{$active_class}` isn't a valid string. A valid string is needed to correctly be interpolated as a CSS class. CSS classes cannot start with a number or consist of only numbers. CSS will not be generated for the active state of the content. "