Skip to content
Snippets Groups Projects
audit.component.scss 4.64 KiB
Newer Older
Scott Berg's avatar
Scott Berg committed
$green: #2e7d32;
$red: #c5050c;
$blue: #0479a8;

#audit {
  padding: 20px 100px;

  header {
    h3 {
      font-weight: 500;
      font-size: 1.2rem;
    }
  }
}

.audit-metadata {
  display: flex;
  justify-content: space-between;
  line-height: 0.5rem;
}

.audit-section-controles {
  text-align: center;

  button {
    margin: 20px 40px;
    padding: 0 30px;
  }
}

#audit-header,
.audit-section {
Scott Berg's avatar
Scott Berg committed
  border-bottom: solid 1px #7d7a7a;
  padding: 20px 75px;

  &:last-child {
    border-bottom: none;
  }

  &.no-padding {
    padding: 0;
  }

  &.no-horizontal-padding {
    padding-left: 0;
    padding-right: 0;
  }

  &.no-vertical-padding {
    padding-top: 0;
    background-position: 0;
  }
}

@media screen and (max-width: 1024px) {
  #audit {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .audit-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.indent {
  margin-left: 20px;
}

.tight {
  margin: 2px auto;
}

.faded {
  color: #616161;
}

.text-align-center {
  text-align: center;
}

.text-align-right {
  text-align: right;
}

.text-align-left {
  text-align-last: left;
}

.uppercase {
  text-transform: uppercase;
}

.pre-wrap {
  white-space: pre-wrap;
Scott Berg's avatar
Scott Berg committed
  font-family: 'Consolas', 'SFMono-Regular', 'Liberation Mono', 'Menlo',
    'Courier', monospace;
}

.mat-expansion-panel {
  box-shadow: none;

.requirement-title {
  display: flex;
  justify-content: flex-start;
  font-size: 1.35rem;

  &.status-ok {
Scott Berg's avatar
Scott Berg committed
    color: $green;
Scott Berg's avatar
Scott Berg committed
    color: $red;
  }
}

.requirement-icon-outer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 20px 15px 0 0;
  font-size: 1.75rem;
}

.requirement-toggle {
  font-size: 2rem !important;
  margin-right: 20px;
  color: #000;
  margin-top: -4px;
}

#legend-panel {
  .requirement-toggle {
    margin-right: 0px;
  }
}
Scott Berg's avatar
Scott Berg committed
.content-type {
  margin-bottom: 5px;

  > p {
    margin: 2.5px auto;
Scott Berg's avatar
Scott Berg committed
.content-type-hText {
  text-align: center;
}

.requirement-line {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

.content-type-okSubrequirementTLine,
.content-type-noSubrequirementTLine {
  margin-top: 20px;
  font-weight: bold;
Scott Berg's avatar
Scott Berg committed
}

.content-type-okSubrequirementTLine {
Scott Berg's avatar
Scott Berg committed
}

.content-type-noSubrequirementTLine {
Scott Berg's avatar
Scott Berg committed
}

.tline-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.content-type-okSubrequirementCourses,
.content-type-noSubrequirementCourses {
  color: $blue;
}

.content-type-okSubrequirementNeedsSummaryLine {
  color: $green;
}

.content-type-noSubrequirementNeedsSummaryLine,
.content-type-noRequirementNeedsLine {
  color: $red;
  // margin-left: 20px;
Scott Berg's avatar
Scott Berg committed
  align-items: center;
}

.requirement-icon-outer {
  margin: 20px 15px 0 0;
  font-size: 1.75rem;
}

.content-type {
  margin-bottom: 5px;

  > p {
    margin: 2.5px auto;
  }
}

.content-type-okSubrequirementTLine,
.content-type-noSubrequirementTLine {
  margin-top: 20px;
}

.content-type-okSubrequirementCourses,
.content-type-noSubrequirementCourses {
Scott Berg's avatar
Scott Berg committed
  color: $blue;
  // margin-left: 20px;
}

.content-type-noSubrequirementNeedsSummaryLine,
.content-type-noRequirementNeedsLine {
  color: $red;
  align-items: center;
}

.requirement-icon-outer {
  margin: 20px 15px 0 0;
  font-size: 1.75rem;
}

.content-type {
  margin-bottom: 5px;

  > p {
    margin: 2.5px auto;
  }
}

.content-type-okSubrequirementTLine,
.content-type-noSubrequirementTLine {
  margin-top: 20px;
}

.content-type-okSubrequirementNeedsSummaryLine,
.content-type-noSubrequirementNeedsSummaryLine,
.content-type-noRequirementNeedsLine {
  // margin-left: 20px;
Scott Berg's avatar
Scott Berg committed
  color: $red;
Scott Berg's avatar
Scott Berg committed
.audit-top-section {
  display: flex;
  justify-content: space-between;
  padding: 20px 75px;

  h4 {
    margin-bottom: 10px;
  }

  p {
    margin: 3px auto;
  }

  & > div {
    flex: 0 0 48%;
    width: 48%;
  }
}

.audit-credit-tables {
  display: flex;
  justify-content: space-between;

  > table {
    width: 48%;
  }
}

Scott Berg's avatar
Scott Berg committed
#audit {
  .mat-table {
    border: solid 1px #e3e3e3;
    border-top-width: 0px;
    border-radius: 0 0 5px 5px;
    box-shadow: none;

    caption {
      padding: 10px 20px;
      background-color: #f5f5f5;
      border: solid 1px #e3e3e3;
      border-radius: 5px 5px 0 0;

      color: #7d7a7a;
      font-weight: bold;
      text-align-last: left;
    }
  }
  .mat-header-row {
    th {
      padding-top: 10px;
      padding-bottom: 10px;
    }
  }
Scott Berg's avatar
Scott Berg committed

  .mat-cell,
  .mat-header-cell,
  .mat-footer-cell {
    &.bold {
      font-weight: bold;
    }

    &.text-align-right {
      text-align: right;
    }
  }