Make the background darker only in specific cases

This commit is contained in:
Luis Ramos
2020-04-19 20:19:28 +01:00
parent b34fb79d69
commit 77d7d2b804
4 changed files with 10 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
Darkswarm.directive "darkerBackground", ->
restrict: "A"
link: (scope, elm, attr)->
elm.closest('.page-view').toggleClass("with-darker-background", true)