@import 'variables';

.entity-card-section {
  margin-bottom: 20px;
}
.entity-card-section .title {
  color: $gray-light;
  font-size: 12px;
  font-family: $font-family-sans-serif-bold;
  font-weight: $font-weight-sans-serif-bold;
  flex-grow: 1;
  margin: auto;
}
.entity-card-section .content-header {
  display: flex;
}
.entity-card-section .content {
  margin-top: 5px;
}

.entity-card-section .content-header button.edit-button,
.entity-card-section .content-header button.active-edit-button {
  margin-top: -4px;
  margin-left: 4px;
}

button.edit-button {
  height: 24px;
  width: 24px;
  border: none;
  border-radius: 5px;
  background-color: $gray-light;
  -webkit-mask-image: url('/static/images/icons/Edit.svg');
  mask-image: url('/static/images/icons/Edit.svg');
}
button.edit-button:hover {
  background-color: $gradient-4;
}
button.active-edit-button {
  height: 24px;
  width: 24px;
  border: none;
  border-radius: 5px;
  background-color: $gradient-1;
  background-image: url('/static/images/icons/Edit_Inverted.svg');
  -moz-box-shadow: inset 1px 1px 2px $gradient-4;
  -webkit-box-shadow: inset 1px 1px 2px $gradient-4;
  box-shadow: inset 1px 1px 2px $gradient-4;
}
button.edit-button:focus,
button.active-edit-button:focus {
  outline: none;
  box-shadow: 0 0 1pt 1pt $gradient-4
}


@media (min-width: $screen-md-min) {
  button.edit-button,
  button.active-edit-button {
    float: right;
  }
}
