@import "palette.scss";

.mongo-ns-card {
  border:1px solid #ccc;
  margin-bottom:20px;

  &-header{
    background-color: $gray8;
    border-bottom: 1px solid #ccc;
    &-top{
      display: flex;
      flex-direction: row;
      padding:5px;
      clear:both;
      vertical-align:middle;
      justify-content: flex-end;
      align-items:center;
      &-ns{
        font-size:22px;
        padding-left:5px;
        font-weight:bold;
        margin-right:auto;
      }
    }
    &-tabs {
      margin-left: 5px;
      display: flex;
      flex-direction: row;
      &-tab{
        text-transform: uppercase;
        font-weight: bold;
        font-size: 11px;
        display: inline-block;
        padding:4px;
        margin:2px;
        background-color: $gray4;
        cursor:pointer;
        color: $gray7;
        border-radius: 3px;
        &-is-active{
          box-shadow: inset 0 0 0 1px $gray3,inset 0 9px 25px $gray1;
        }
      }
    }
  }
  &-rule{
    padding:10px;
    &-label {
      font-size:12px;
      color:$gray3;
    }

    &-other{
      &-label{
        font-weight: bold;
      }
    }
  }
}
