Codeminer42/cm42-central

View on GitHub
app/assets/stylesheets/new_board/_column.scss

Summary

Maintainability
Test Coverage

.Column {
  background-color: $darkgrey-11;
  flex: 1;
  height: auto;
  min-height: 100vh;
  margin-left: 1px;
  margin-right: 1px;

  &__body {
    height: 100%;
  }

  &__header {
    height: 43px;
    min-width: 276px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: $darkgrey-12;
    border: 1px solid $black;
    border-radius: 2px 2px 0 0;
    padding: 4px 4px 4px 10px;
    color: $white;
    font-size: 12px;
  }

  &__name {
    color: $white;
    font-size: 12px;
    margin-top: 0;
    margin-bottom: 0;
  }

  &__actions {
    display: flex;
    align-items: center;
  }

  &__btn-close {
    outline: 0;
    background: transparent;
    border-width: 0;
    padding: 7px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;

    &:hover {
        background-color: $column-btn-close-hover;
      }
    &:active {
        background-color: $column-btn-close-active;
      }
  }

  &__btn-add-story {
    background-color: inherit;
    border: none;
    align-items: center;
    font-size: 13px;
    padding: 4px 10px;
    margin: 0 5px;
  }
}