Sha256: 371328dfcc4693ffe0c5be34759f24e7ea120d016af82b9509452d87359791b3

Contents?: true

Size: 811 Bytes

Versions: 23

Compression:

Stored size: 811 Bytes

Contents

@mixin color_button($color: #ffffff, $bg_color: #3190e7) {
  display: inline-block;
  position: relative;

  /*font-family: "Open Sans" !important;*/
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  text-decoration: none !important;
  text-shadow: none;
  color: $color !important;

  border: 1px solid $bg_color !important;
  border-radius: 3px !important;
  padding: 13px 15px;
  margin: 0;
  background: $bg_color;
  box-shadow: none;

  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;

  &:hover {
    background-color: darken($bg_color, 10%) !important;
    background-image: none !important;
    color: lighten($color, 10%) !important;
  }
}

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
c80_yax-0.1.0.25 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.24 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.23 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.22 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.21 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.20 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.18 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.17 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.16 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.15 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.14 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.13 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.12 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.11 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.10 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.9 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.8 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.7 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.6 app/assets/stylesheets/c80_yax/_mixins/color_button.scss
c80_yax-0.1.0.5 app/assets/stylesheets/c80_yax/_mixins/color_button.scss