Sha256: e68817b0c39c356c614eab10f0a88f4533806790e5d0f4713f4fc41901e8cd52

Contents?: true

Size: 1.49 KB

Versions: 20

Compression:

Stored size: 1.49 KB

Contents

$minimal_background: #e3e3e3 !default;
$minimal_border_color: #bbb !default;
$minimal_border_radius: em(3);
$minimal_inset_shadow_color: #f6f6f6 !default;
$minimal_font_color: #333 !default;
$minimal_font_weight: bold !default;
$minimal_font_size: em(12) !default;
$minimal_font_family: "helvetica neue", helvetica, arial, sans-serif !default;
$minimal_padding: em(8) 0 em(9) !default;
$minimal_text_shadow: 0 1px 0 #fff !default;
$minimal_width: em(150) !default;


%minimal {
  background: $minimal_background;
  border: 1px solid $minimal_border_color;
  @include border_radius($minimal_border_radius);
  @include box_shadow(inset 0 0 1px 1px, $minimal_inset_shadow_color);
  color: $minimal_font_color;
  font: $minimal_font_weight $minimal_font_size #{$minimal_font_family};
  line-height: 1em;
  padding: $minimal_padding;
  text-align: center;
  text-shadow: $minimal_text_shadow;
  width: $minimal_width; 
  @media #{$mobile} {
	  width: 100%;
	  line-height: 1.3em;
  }
  &:hover {
	  background: darken($minimal_background, 5);
    @include box_shadow(inset 0 0 1px 1px, darken($minimal_inset_shadow_color, 5));
    color: darken($minimal_font_color, 7);
    cursor: pointer;
  }
  &:active {
	  background: darken($minimal_background, 8);
    @include box_shadow(inset 0 0 1px 1px, darken($minimal_inset_shadow_color, 5));
  }
  &[disabled] {
	  background: transparentize($minimal_background, 0.5);
	  border-color: transparentize($minimal_background, 0.5);
	  color: transparentize($minimal_font_color, 0.5);
  }
}

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
stipe-0.0.4.6 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.4.5 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.4.4 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.4.3 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.4.2 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.4.1 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.4.0 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.3.9 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.3.8 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.3.7 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.3.6 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.3.5 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.3.4 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.3.3 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.3.2 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.3.1 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.3 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.2.9 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.2.8 stylesheets/stipe/buttons/lib/_minimal.scss
stipe-0.0.2.7 stylesheets/stipe/buttons/lib/_minimal.scss