Sha256: a63e4fe7c462a2ecee4b545bfca876c38aa0ca7423a3032b8140b7ff09736cd0

Contents?: true

Size: 1.17 KB

Versions: 42

Compression:

Stored size: 1.17 KB

Contents

/* Foundation button overrides */
.button{
  &.small{
    padding-top: .5rem;
    padding-bottom: .5rem;

    &.compact{
      padding-left: .5rem;
      padding-right: .5rem;
      letter-spacing: 0;
    }
  }

  &.tiny{
    padding-top: .25rem;
    padding-bottom: .25rem;

    &.compact{
      padding-left: .25rem;
      padding-right: .25rem;
      letter-spacing: 0;
    }
  }

  &.reverse{
    @include modifiers(color);
    @include modifiers(
      background-color,
      (
        primary: $white,
        secondary: $white,
        success: $white,
        warning: $white,
        alert: $white,
      )
    );
  }
}

.button.muted{
  background-color: $medium-gray;
  color: $white;

  &:hover{
    background-color: darken($medium-gray, 10);
  }
}

.button.light{
  color: $white;
}

.button--title{
  margin-bottom: 0;
  float: right;

  &:not(:first-child){
    margin-right: 1rem;
  }
}

.button--double{
  .button:not(:last-child){
    margin-right: 1rem;
  }

  display: flex;
  align-items: center;

  .button{
    margin-bottom: 0;
  }
}

.button--simple{
  margin-bottom: 0;
}

.button--nomargin{
  margin: 0;
}

.button--vote-button{
  flex: .2 1 auto;
  text-align: right;
}

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
decidim-admin-0.27.9 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.27.8 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.27.7 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.27.6 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.26.10 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.26.9 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.27.5 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.26.8 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.27.4 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.27.3 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.26.7 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.26.5 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.27.2 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.27.1 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.26.4 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.27.0 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.26.3 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.27.0.rc2 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.27.0.rc1 app/packs/stylesheets/decidim/admin/modules/_buttons.scss
decidim-admin-0.26.2 app/packs/stylesheets/decidim/admin/modules/_buttons.scss