Sha256: d9f32a6c6c4b6dc6cf1288850d8ac905cf6e5a6f64332a27de54073e15af5576

Contents?: true

Size: 1.93 KB

Versions: 81

Compression:

Stored size: 1.93 KB

Contents

@import "susy"
@import "base/misc"
@import "base/screen_sizes"
@import "base/colors"
@import "base/material"
@import "base/hide"

=raisable($depth: 1)
  &.show, &.active
    +material($depth)

=border( $size: 1px, $padding: 0.25 ) 
  +rhythm-borders($size,$padding)
  border-color: $subtle-border
  &:hover
    border-color: darken($subtle-border, 20)

=block
  text-overflow: ellipsis
  @media #{$only-small}
    width: 100% 

=padded_block($padsize: 1 of 50, $verticalpad: 1)
  padding: 16px

=medium_size
  @media #{$only-small}
    width: 100% !important
  @media #{$not-very-large}
    width: span(1 of 2)
  @media #{$only-very-large}
    width: span(1 of 3)

=full_block
  +block
  width: 100%
  overflow: show
  text-overflow: show

=large_block
  +block
  @media #{$only-very-large}
    +gallery(1 of 2)

=medium_block
  +block
  @media #{$not-small}
    +gallery(1 of 2)
  @media #{$only-large}
    +gallery(1 of 3)
  &.masonry
    @media #{$only-very-large}
      +gallery(1 of 4)

=small_block
  +block
  @media #{$not-small}
    +gallery(1 of 2)
  @media #{$only-very-large}
    +gallery(1 of 4)
  &.masonry
    +gallery(1 of 2)
    @media #{$only-large}
      +gallery(4 of 12)
    @media #{$only-very-large}
      +gallery(1 of 5)

=ease_margin
  @include transition-property(margin)
  @include transition-duration(3s)
  @include transition-timing-function(ease-in)
=ease_width
  @include transition-property(width)
  @include transition-duration(3s)
  @include transition-timing-function(ease-in)
=ease_height
  @include transition-property(border)
  @include transition-property(max-height)
  @include transition-duration(1s)
  @include transition-timing-function(ease-in)
=ease_color
  @include transition-property(color)
  @include transition-duration(3s)
  @include transition-timing-function(ease-in)

=ease
  @include transition-property(top)
  @include transition-duration(0.6s)
  @include transition-timing-function(ease-in)
  
=boxed
  +padded_block

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
rbbt-rest-1.4.13 share/views/compass/base/blocks.sass