Sha256: 087594316a7af0744f4860c12e6d9b055ec7047f6741c89562929f03978b39d6

Contents?: true

Size: 1.2 KB

Versions: 4

Compression:

Stored size: 1.2 KB

Contents

$card-padding-small: 1rem;

.card-title{
  @include smallcaps;

  font-size: 1rem;

  @include clearfix;

  width: 100%;
}

.card-footer{
  padding: $card-padding;
  border-top: 1px solid rgba(black, .1);

  .button--remove{
    margin-left: auto;
  }
}

.card__icon-open{
  display: none;
}

.card--collapsed{
  .card-section,
  .card-footer{
    display: none;
  }

  .card__icon-close{
    display: none;
  }

  .card__icon-open{
    display: block;
  }
}

.card--list__item{
  display: flex;
  align-items: center;
  padding-left: $card-padding-small;

  .card--list--mini &{
    padding-left: $card-padding-small;
  }

  @include breakpoint(medium){
    padding-left: $card-padding;
  }
}

.card--list__icon{
  display: none;
  fill: $anchor-color;

  @include breakpoint(medium){
    margin-right: 1rem;
    display: block;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }
}

.card--list__text{
  flex-grow: 1;
  flex-shrink: 1;
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  padding: 1rem 1rem 1rem 0;

  .card--list--mini &{
    padding: .5rem .5rem .5rem 0;
  }

  .author{
    margin-top: .3rem;
    margin-right: 1rem;
  }
}

.card--list__heading{
  margin-bottom: 0;
  display: block;
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-admin-0.9.3 app/assets/stylesheets/decidim/admin/modules/_cards.scss
decidim-admin-0.9.2 app/assets/stylesheets/decidim/admin/modules/_cards.scss
decidim-admin-0.9.1 app/assets/stylesheets/decidim/admin/modules/_cards.scss
decidim-admin-0.9.0 app/assets/stylesheets/decidim/admin/modules/_cards.scss