Sha256: 7f3cab5b0bd9cb81870111ba4c4d0496f5badd8b2d70eeb29b9f3c5189ccaf48

Contents?: true

Size: 1.44 KB

Versions: 20

Compression:

Stored size: 1.44 KB

Contents

@mixin umlaut-container {
  // double left gutter/margin when big enough
  padding-left: $umlautContainerPadding * 2;
  padding-right: $umlautContainerPadding * 2;
  
  // get rid of double left margin at smaller
  @media (max-width: $screen-sm-min) {
    padding: {
      left: $umlautContainerPadding;
      right: $umlautContainerPadding;
    }
  }

  // IE8 and other browsers without media query, 
  // we need to keep it from getting too small,
  // cause it won't use the styles for small. 
  // we use a media query as 'feature detection' in our CSS
  min-width: 600px;
  @media (min-width: 0) {
    min-width: 0;
  }
}

@mixin umlaut_icons {
  background: {
    image: image-url("umlaut_icons.png");
    repeat: no-repeat;
  }
  display: inline-block;
  width: 16px;
  height: 16px;
  line-height: 16px;
  vertical-align: top;
  margin-top: 1px;
}

@mixin iconed-response {
  .response_item  {
    a {
      font-weight: bold;
    }
    i {
      @include umlaut_icons;
    }
  }
}

@mixin umlaut-well($backgroundColor, $borderColor) {
  /* copied from bootstrap well, because we change parts, not worth
     it to override, we change so much and well is so simple.  */
  background-color: $backgroundColor;
  min-height: 20px;

  padding: 12px;
  margin-left: -12px; /* so left edge of text still lines up */
  margin-right: -12px;


  border: 1px solid $borderColor;
  border-radius: $border-radius-base;
  @include box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
}


Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
umlaut-4.1.7 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.1.6 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.1.5 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.1.4 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.1.3 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.1.2 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.1.1 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.1.0 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.1.0.pre3 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.1.0.pre.2 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.1.0.pre.alpha.1 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.0.3 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.0.2 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.0.1 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.0.0 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.0.0.beta5 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.0.0.beta4 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.0.0.beta3 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.0.0.beta2 app/assets/stylesheets/umlaut/_mixins.scss
umlaut-4.0.0.beta1 app/assets/stylesheets/umlaut/_mixins.scss