Skip to content

Commit

Permalink
[FIX] Scope rule handling (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
devtomtom committed Sep 26, 2019
1 parent 7c5eb88 commit 89b56c1
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ Scoping.prototype.scopeRules = function(oRules) {
if (sSelector2) {
aNewSelectors.push(sSelector2);
}
} else {
// scope name already exists
aNewSelectors.push(sSelector);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@
.myRule8 {
display: block;
}

.sapContrast .sapMNLI {
background: #000000;
}

.sapContrast .sapMNLG-GroupHeader {
background: #000000;
}

.sapContrast .sapMNLG-Body .sapMNLI {
background: #000000;
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@
.myRule8 {
display: block;
}

.sapContrast .sapMNLI {
background: #000000;
}

.sapContrast .sapMNLG-GroupHeader {
background: #000000;
}

.sapContrast .sapMNLG-Body .sapMNLI {
background: #000000;
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,18 @@
.myRule8 {
display: block;
}

.sapContrast {
.sapMNLI {
background: #000000;
}
.sapMNLG-GroupHeader {
background: #000000;
}

.sapMNLG-Body {
.sapMNLI {
background: darken(#000000,5);
}
}
}

0 comments on commit 89b56c1

Please sign in to comment.