Sha256: acbfe44bd288d426ffb1dbff09e465a78c18004025a261c675aee52447e2a5b1

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

$box_stripe_color: $secondary !default;

.box {
  border: 1px solid $border-color;
  box-shadow: $box-shadow-sm;
  &:hover {
    box-shadow: $box-shadow-lg;
    cursor: pointer
  }
  border-top: 3px solid $box_stripe_color;
}

.box-top {
  display: flex;
  min-height: 60px;
  flex-direction: column;
  justify-content: center;
  overflow: auto;
  h1, h2, h3, h4, h5, h6, div, span, a {
    white-space: nowrap;
    overflow:  hidden;
    text-overflow: ellipsis;
  }
}

.box-middle {
  min-height: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  justify-content: center;
  img {
    object-fit: contain;
    height: 130px;
    width: 190px;
  }
  i {
    display: flex;
    justify-content: center;
    min-height: 130px;
    align-items: center;
    font-size: 70px;
    color: $text-muted;
  }
}

.box-bottom {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

// card-list in which items are in box view
.card-list-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

// wrapper around box in list context
.item-box {
  display: flex;
  padding: 1rem 0;
  vertical-align: top;
  justify-content: center;
}

.box, .item-box {
  min-width: 320px;
  max-width: 400px;
  width: 100%
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
card-mod-bar_and_box-0.18.1 assets/style/box.scss
card-mod-bar_and_box-0.18.0 assets/style/box.scss