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.43 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.41 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.40 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.30 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.28 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.27 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.23 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.22 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.21 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.20 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.19 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.18 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.17 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.16 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.15 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.14 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.13 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.12 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.11 share/views/compass/old/elements/movement.sass
rbbt-rest-1.8.10 share/views/compass/old/elements/movement.sass