Sha256: 1e80f47bb8804d8e1f099309c0af50b5cebc0a7624966a91f9cc8ee3dd56f14b

Contents?: true

Size: 1.55 KB

Versions: 22

Compression:

Stored size: 1.55 KB

Contents

// Mixin for generating new styles
@mixin btn-styles($btn-color, $btn-states-color) {
  border-color: $btn-color;
  color: $btn-color;
  
  &:hover,
  &:focus,
  &:active,
  &.active,
  .open > &.dropdown-toggle {
    background-color: $btn-color;
    color: $fill-font-color;
    border-color: $btn-color;
    .caret{
        border-top-color: $fill-font-color;
    }
  }
  
  &.disabled,
  &:disabled,
  &[disabled],
  fieldset[disabled] & {
    &,
    &:hover,
    &:focus,
    &.focus,
    &:active,
    &.active {
      background-color: $transparent-bg;
      border-color: $btn-color;
    }
  }
  

  &.btn-fill {
    color: $white-color;
    background-color: $btn-color;
    @include opacity(1);  

    &:hover,
    &:focus,
    &:active,
    &.active,
    .open > &.dropdown-toggle{
        background-color: $btn-states-color;
        color: $white-color;
        border-color: $btn-states-color;
    }
    
    .caret{
        border-top-color: $white-color;
    }
  }
  
  &.btn-simple {
    &:hover,
    &:focus,
    &:active,
    &.active,
    .open > &.dropdown-toggle{
        background-color: $transparent-bg;
        color: $btn-states-color;
    }
    
    .caret{
        border-top-color: $white-color;
    }
  }  
  
  .caret{
      border-top-color: $btn-color;
  }
}


@mixin btn-size($padding-vertical, $padding-horizontal, $font-size, $border, $line-height){
   font-size: $font-size;
   border-radius: $border;
   padding: $padding-vertical $padding-horizontal;
    
   &.btn-simple{
       padding: $padding-vertical + 2 $padding-horizontal; 
   }
    
}

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
creative_tim-1.0.13 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-1.0.12 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-1.0.11 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-1.0.10 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-1.0.9 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-1.0.8 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-1.0.7 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-1.0.5 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-1.0.4 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-1.0.3 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-1.0.2 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-1.0.1 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-1.0.0 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-0.0.3 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative_tim-0.0.2 vendor/assets/stylesheets/creative-tim/paper_dashboard/sass/paper/mixins/_buttons.scss
creative-dashpaper-gem-0.0.7 vendor/assets/stylesheets/creative-tim/paper/mixins/_buttons.scss
creative-dashpaper-gem-0.0.6 vendor/assets/stylesheets/creative-tim/paper/mixins/_buttons.scss
creative-dashpaper-gem-0.0.5 vendor/assets/stylesheets/creative-paper-dash/paper/mixins/_buttons.scss
creative-dashpaper-gem-0.0.4 vendor/assets/stylesheets/paper/mixins/_buttons.scss
creative-dashpaper-gem-0.0.3 vendor/assets/stylesheets/paper/mixins/_buttons.scss