Skip to content
Snippets Groups Projects
Forked from an inaccessible project.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
term-container.component.scss 1.73 KiB
@import 'assets/material-theme.scss';

.term-container {
  height: 100%;
  background-color: #eef1f3;
  padding: 0;
  transition: all 0.2s ease-out;
}

.term-body {
  padding-bottom: 50px;
}

.add-course-button {
  text-transform: uppercase;
}

.term-inner {
  padding: 4px 8px 4px 8px;
}

.term-header {
  margin: 0;

  h2 {
    margin: 0;
  }
  h3 {
    font-weight: 400;
  }

  .mat-icon-button {
    line-height: 20px;
    margin-left: 5px;
    color: #2879a8;
    &:hover,
    &:focus {
      opacity: 0.8;
    }
  }
}

.term-container h2 {
  color: #494949;
  font-weight: 400;
  font-size: 18px;
}

.credits {
  display: flex;
  // justify-content: flex-end;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
}

.add-new-wrapper {
  border-top: solid #e0e4e7 1px;
  padding: 8px;
  position: absolute;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;

  button {
    width: 100%;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.1);
    color: #2879a8;
  }
}

.add-note-icon {
  color: map-get($uw-primary, 500);
}

.note-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: solid 1.2px #f7c376;
  background-color: white;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 10px;

  &:hover {
    cursor: pointer;
    border-color: #0679a8;
    box-shadow: 0 1px 5px 1px rgba(0, 0, 0, 0.25);
  }

  p {
    margin: 0;
    padding: 0;
  }
  .note-excerpt {
    height: 32px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

.note-item-loading {
  background: #eee;
  border-color: #888;

  mat-progress-spinner {
    position: absolute;
    top: 8px;
    right: 8px;
  }
}

.no-courses {
  text-align: center;
  padding: 25px 0;
  font-weight: bold;
}