Skip to content

Commit

Permalink
Added fillable data-running attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjohnsonaz committed Jul 11, 2018
1 parent 9b7e3bd commit d0b074e
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions src/styl/abilities/fillable.styl
Original file line number Diff line number Diff line change
@@ -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();
}
&[data-filled="true"]
.fillable-content
position: fixed
top: 0
right: 0
bottom: 0
left: 0

.fillable
fillable()

0 comments on commit d0b074e

Please sign in to comment.