@import './color.scss';

/* CSS box */
.sd-box {
  position: relative;
  border-radius: 3px;
  background: #FFF;
  border-top: 1px solid $secondaryLight;
  width: 100%;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  &.sd-box-primary {
    border-top-color: $primary!important;
  }
  &.sd-box-success {
    border-top-color: $success!important;
  }
  &.sd-box-info {
    border-top-color: $info!important;
  }
  &.sd-box-warning {
    border-top-color: $warning!important;
  }
  &.sd-box-danger {
    border-top-color: $danger!important;
  }
  &.box-shadow-none {
    box-shadow: none;
  }
}

.sd-box-header {
  color: #444;
  display: block;
  padding: .5rem;
  position: relative;
  border-bottom: 1px solid #f4f4f4;
  .sd-box-title {
    display: inline-block;
    font-size: 1.2rem;
    margin: 0;
    line-height: 1;
  }
}

.sd-box-body {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  padding: .5rem;
  background-color: #FFF;
}

.sd-box-footer {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-top: 1px solid #f4f4f4;
  padding: .5rem;
  background-color: #FFF;
}