From d0b074e6523c56d540e5d4bad3062c85884d47b5 Mon Sep 17 00:00:00 2001 From: Sean Johnson Date: Tue, 10 Jul 2018 18:45:53 -0700 Subject: [PATCH] Added fillable data-running attribute. --- src/styl/abilities/fillable.styl | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/src/styl/abilities/fillable.styl b/src/styl/abilities/fillable.styl index 318bbaa..8d32a98 100644 --- a/src/styl/abilities/fillable.styl +++ b/src/styl/abilities/fillable.styl @@ -1,19 +1,22 @@ @require "ability-settings.styl"; -fillable() { +fillable() //padding: 0; - .fillable-content { - transition: top $fillable-animation-time, right $fillable-animation-time, bottom $fillable-animation-time, left $fillable-animation-time; - z-index: 100; - } + .fillable-content + transition: top $fillable-animation-time, right $fillable-animation-time, bottom $fillable-animation-time, left $fillable-animation-time + z-index: 100 - &[data-filled="true"] { - .fillable-content { - position: fixed; - } - } -} + &[data-running="true"] + .fillable-content + position: fixed -.fillable { - fillable(); -} \ No newline at end of file + &[data-filled="true"] + .fillable-content + position: fixed + top: 0 + right: 0 + bottom: 0 + left: 0 + +.fillable + fillable()