Skip to content

Commit

Permalink
fix(scss): missing parenthesis in state mixins call
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Sep 16, 2019
1 parent e295e20 commit 4f0e9a1
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion scss/_badge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

// Boosted mod
.badge[href] {
@include focus {
@include focus() {
outline-color: $white;
outline-offset: -1px;

Expand Down
6 changes: 3 additions & 3 deletions scss/_o-nav-local.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

.nav .nav-link,
.nav .dropdown-toggle {
@include focus {
@include focus() {
outline: 1px dotted;
outline-offset: -1px;
}
Expand All @@ -53,7 +53,7 @@
}

.nav-link {
@include focus {
@include focus() {
outline-offset: -2px;
}
display: block;
Expand All @@ -73,7 +73,7 @@
border-bottom-color: $gray-900;

.nav-link {
@include hover-focus {
@include hover-focus() {
color: theme-color("primary");
}

Expand Down
10 changes: 5 additions & 5 deletions scss/_o-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
.nav-link:not(.disabled) {
&,
&.dropdown-toggle {
@include focus {
@include focus() {
outline-width: 1px;
outline-style: dotted;
outline-offset: -6px;
Expand Down Expand Up @@ -219,11 +219,11 @@
}

.nav-link {
@include active {
@include active() {
background-color: $nav-pills-link-active-bg;
}

@include hover {
@include hover() {
color: $nav-pills-link-active-color;
cursor: default;
background-color: $nav-pills-link-active-bg;
Expand All @@ -233,7 +233,7 @@
}
}

@include focus {
@include focus() {
color: $nav-pills-focus-link-color;
background-color: $nav-pills-focus-link-bg;
outline: none;
Expand All @@ -254,7 +254,7 @@
margin: 0;

.nav-link {
@include focus {
@include focus() {
outline: 1px dotted #000;
outline-offset: -2px;
}
Expand Down
2 changes: 1 addition & 1 deletion scss/_o-navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

.nav-link,
.dropdown-toggle {
@include focus {
@include focus() {
outline-offset: .5rem;
}

Expand Down
2 changes: 1 addition & 1 deletion scss/_o-scroll-up.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
}
}

@include hover-focus {
@include hover-focus() {
color: $primary;
.o-scroll-up-icon {
color: #fff;
Expand Down
6 changes: 3 additions & 3 deletions scss/_o-switches.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
}

.o-switch .checkbox {
@include focus {
@include focus() {
+ .toggle::before {
outline: 1px dotted #fff;
}
Expand Down Expand Up @@ -158,7 +158,7 @@
border-color: theme-color("primary");
}

@include hover {
@include hover() {
&:not(:active) {
color: theme-color("primary");
background-color: transparent;
Expand Down Expand Up @@ -194,7 +194,7 @@
outline-color: #000;
}

@include hover {
@include hover() {
&:not(:active) {
color: #000;
background-color: #fff;
Expand Down
2 changes: 1 addition & 1 deletion scss/_o-tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ caption {
color: #000;
text-decoration: none;

@include hover-focus {
@include hover-focus() {
color: theme-color("primary");
text-decoration: underline;
}
Expand Down
2 changes: 1 addition & 1 deletion scss/mixins/_list-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
background-color: $background;

&.list-group-item-action {
@include hover-focus {
@include hover-focus() {
// Boosted mod
@if $state == "secondary" or $state == "dark" {
color: $white;
Expand Down

0 comments on commit 4f0e9a1

Please sign in to comment.