Sha256: 540bc1940b66c29fe582af8405b5650cccde3051efdb9f36beb99a283b6c8d07

Contents?: true

Size: 883 Bytes

Versions: 1

Compression:

Stored size: 883 Bytes

Contents

//
// Cards
// --------------------------------------------------

.card {
  margin: $bar-side-spacing;
  overflow: hidden;
  background-color: $card-bg;
  border: $border-default;
  border-radius: $border-radius;
}


// Cards with table-views
// --------------------------------------------------
.card .table-view {
  margin-bottom: 0;
  border-top: 0;
  border-bottom: 0;

  // Rounding first divider on carded lists and remove border on the top
  .table-view-divider:first-child {
    top: 0;
    border-top-left-radius: $border-radius;
    border-top-right-radius: $border-radius;
  }

  // Rounding last divider on carded table views
  .table-view-divider:last-child {
    border-bottom-left-radius: $border-radius;
    border-bottom-right-radius: $border-radius;
  }
}
// Remove the bottom border from last table cell
.card .table-view-cell:last-child {
  border-bottom: 0;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ratchet-sass-2.0.2 vendor/assets/stylesheets/cards.scss