Sha256: 361326b337d56c155561c5315947b121ac9f6b66bd8bddc2309f82411a3d6110

Contents?: true

Size: 1.77 KB

Versions: 81

Compression:

Stored size: 1.77 KB

Contents

=ease_position($time: 0.3s)
  @include transition-property(top left margin-top margin-left max-height)
  @include transition-duration($time)
  @include transition-timing-function(ease-in-out)

=ease_width($time: 0.3s)
  @include transition-property(width)
  @include transition-duration($time)
  @include transition-timing-function(ease-in-out)

=ease_height($time: 0.3s)
  @include transition-property(max-height padding-top padding-bottom)
  @include transition-duration($time)
  @include transition-timing-function(ease-in-out)
  
=ease($time: 0.3s)
  @include transition-property(all)
  @include transition-duration($time)
  @include transition-timing-function(ease-in-out)
  
=shrink_horizontal
  overflow: hidden
  max-width: 0
  padding-left: 0
  padding-right: 0
  border: none

=shrink_vertically
  overflow: hidden
  max-height: 0
  padding-top: 0
  padding-bottom: 0
  border: none

=shrink_direction($direction: right)
  @if $direction  == left
    +shrink_horizontal

  @if $direction  == up
    +shrink_vertically

  @if $direction  == down
    +shrink_vertically

  @if $direction  == right
    +shrink_horizontal


=placed_up
  position: absolute
  width: 10px !important
  height: 10px !important
  overflow: hidden
  top: -99999px

=max_size_box($hsize: 400px, $vsize: 400px)
  max-width: $hsize
  max-height: $vsize

=shrinking($direction: right)
  +max_size_box(50000px, 50000px)

  @if $direction  == left
    +ease_width
    max-height: inherit
    min-width: 0
  @if $direction  == right
    +ease_width
    max-height: inherit
    min-width: 0

  @if $direction  == up
    +ease_height
    max-width: inherit
    min-height: 0

  @if $direction  == down
    +ease_height
    max-width: inherit
    min-height: 0
    
  &:not(.show)
    +shrink_direction($direction)
    z-index: inherit

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
rbbt-rest-1.8.9 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.8 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.7 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.6 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.5 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.4 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.3 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.2 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.1 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.0 share/views/compass/old/elements/movement.sass
rbbt-rest-1.7.20 share/views/compass/old/elements/movement.sass
rbbt-rest-1.7.19 share/views/compass/old/elements/movement.sass
rbbt-rest-1.7.18 share/views/compass/old/elements/movement.sass
rbbt-rest-1.7.17 share/views/compass/old/elements/movement.sass
rbbt-rest-1.7.16 share/views/compass/old/elements/movement.sass
rbbt-rest-1.7.15 share/views/compass/old/elements/movement.sass
rbbt-rest-1.7.14 share/views/compass/old/elements/movement.sass
rbbt-rest-1.7.13 share/views/compass/old/elements/movement.sass
rbbt-rest-1.7.12 share/views/compass/old/elements/movement.sass
rbbt-rest-1.7.11 share/views/compass/old/elements/movement.sass