app/assets/stylesheets/vendor/foundation/components/_dropdown.scss
Property 'margin-bottom' should be placed on separate line from selector Open
Open
> *:last-child { margin-bottom: 0; }
- Exclude checks
0px
should be written without units as 0
Open
Open
@if $f-dropdown-triangle-size != 0px {
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
&.tiny { max-width: 200px; }
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Opening curly brace {
should be preceded by one space Open
Open
&.tiny { max-width: 200px; }
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:after {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:after {
- Exclude checks
Prefer single quoted strings Open
Open
@include exports("dropdown") {
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
@else
should be placed on same line as previous curly brace Open
Open
@else { max-width: $f-dropdown-max-width; }
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&.right:before {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:after {
- Exclude checks
Opening curly brace {
should be preceded by one space Open
Open
&.large { max-width: 800px; }
- Exclude checks
Colon after property should be followed by one space Open
Open
left:0!important;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Properties should be ordered color, display, padding Open
Open
display: block;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
> *:first-child { margin-top: 0; }
- Exclude checks
@else
should be placed on same line as previous curly brace Open
Open
@else if $content == content {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Property 'max-width' should be placed on separate line from selector Open
Open
&.tiny { max-width: 200px; }
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Use //
comments everywhere Open
Open
/* Foundation Dropdowns */
- Exclude checks
Opening curly brace {
should be preceded by one space Open
Open
&.small { max-width: 300px; }
- Exclude checks
Property 'max-width' should be placed on separate line from selector Open
Open
&.small { max-width: 300px; }
- Exclude checks
Opening curly brace {
should be preceded by one space Open
Open
&.medium { max-width: 500px; }
- Exclude checks
Property 'margin-top' should be placed on separate line from selector Open
Open
> *:first-child { margin-top: 0; }
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
&.large { max-width: 800px; }
- Exclude checks
Opening curly brace {
should be preceded by one space Open
Open
&.mega {
- Exclude checks
Colon after property should be followed by one space Open
Open
width:100%!important;
- Exclude checks
! should be preceded by a space, and should not be followed by a space Open
Open
max-width:100%!important;
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&.right:after {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:after {
- Exclude checks
Property 'background' should be placed on separate line from selector Open
Open
&:focus { background: $f-dropdown-list-hover-bg; }
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
&.small { max-width: 300px; }
- Exclude checks
! should be preceded by a space, and should not be followed by a space Open
Open
width:100%!important;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
&.medium { max-width: 500px; }
- Exclude checks
Opening curly brace {
should be preceded by one space Open
Open
&.open{
- Exclude checks
Property 'max-width' should be placed on separate line from selector Open
Open
&.medium { max-width: 500px; }
- Exclude checks
Properties should be ordered max-width, width Open
Open
width:100%!important;
- Exclude checks
Colon after property should be followed by one space Open
Open
max-width:100%!important;
- Exclude checks
Property 'max-width' should be placed on separate line from selector Open
Open
&.large { max-width: 800px; }
- Exclude checks
! should be preceded by a space, and should not be followed by a space Open
Open
left:0!important;
- Exclude checks