Sha256: 40d23e0fa698d1b8b962ea376a0b6cdcd31d03fccd16b0af81b19f74cb097634

Contents?: true

Size: 562 Bytes

Versions: 13

Compression:

Stored size: 562 Bytes

Contents

$colors-border: rgba($dark-grey, .25) !default;
$colors-h5-background-color: $grey !default;

@mixin color-block($color) {
  .color {
    box-shadow: 0 0 0 1px $colors-border;
    background-color: $color;
    min-height: 100px;
  }
  h5 {
    @include inline-block;
    background-color: $colors-h5-background-color;
    border-radius: $global-radius;
    font-size: 13px;
    font-family: $code-font;
    padding: 2px 5px 3px;
  }
  h5:after {
    @include inline-block;
    content: ": #{$color};";
    vertical-align: baseline;
    position: relative;
  }
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
woo-0.2.0 app/assets/stylesheets/woo/mixins/_color-block.scss
woo-0.1.12 app/assets/stylesheets/woo/mixins/_color-block.scss
woo-0.1.11 app/assets/stylesheets/woo/mixins/_color-block.scss
woo-0.1.10 app/assets/stylesheets/woo/mixins/_color-block.scss
woo-0.1.9 app/assets/stylesheets/woo/mixins/_color-block.scss
woo-0.1.8 app/assets/stylesheets/woo/mixins/_color-block.scss
woo-0.1.7 app/assets/stylesheets/woo/mixins/_color-block.scss
woo-0.1.6 app/assets/stylesheets/woo/mixins/_color-block.scss
woo-0.1.5 app/assets/stylesheets/woo/mixins/_color-block.scss
woo-0.1.4 app/assets/stylesheets/woo/mixins/_color-block.scss
woo-0.1.3 app/assets/stylesheets/woo/mixins/_color-block.scss
woo-0.1.2 app/assets/stylesheets/woo/mixins/_color-block.scss
woo-0.1.0 app/assets/stylesheets/woo/mixins/_color-block.scss