Sha256: 2d24df86d6043390980fadf7966a923c7e82a23c937aabdbeee44933cf2cafc9

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

$mu-erd-border: 2px solid $mu-color-dark-separator;

.mu-erd {
  position: relative;
  width: 100%;
  padding: 15px;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  svg {
    z-index: 0;
    width: 100%;
    height: 100%;
    position: absolute;
  }
}

.mu-erd-entity {
  z-index: 1;
  margin: 20px 0;
  width: 250px;
  min-width: 250px;
  border: $mu-erd-border;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.mu-erd-entity-name {
  padding: 5px 10px;
  list-style: none;
  text-align: center;
  border-bottom: $mu-erd-border;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-color: $mu-color-separator;
  margin: 0;
}

.mu-erd-entity-columns {
  list-style: none;
  padding: 5px 10px;
  margin: 0;
  background-color: white;
  .mu-erd-entity-column {
    display: flex;
    padding: 5px 0;
    flex-flow: row;
    justify-content: space-between;
    border-bottom: 1px dashed $mu-color-dark-separator;
    &:last-child {
      border-bottom: none;
    }
    .mu-erd-entity-column-name {
      text-align: left;
      span {
        margin-left: 5px;
      }
      .mu-erd-pk { color: rgb(196, 173, 44) }
      .mu-erd-fk { color: rgb(184, 184, 184) }
      .mu-erd-pk,
      .mu-erd-fk {
        font-size: 75%;
      };
    }
    .mu-erd-entity-column-type {
      text-align: right;
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mumuki-styles-1.14.0 app/assets/stylesheets/_mu-erd.scss