Forked from an inaccessible project.
-
Paulina Nogal authoredPaulina Nogal authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
term-container.component.scss 2.90 KiB
@import 'assets/material-theme.scss';
.term-container {
height: 550px;
display: flex;
flex-direction: column;
background-color: #eef1f3;
padding: 0;
transition: all 0.2s ease-out;
&.no-scrolling {
height: auto;
}
}
.term-description {
&:focus {
outline: 2px solid #5e9ed6;
outline: -webkit-focus-ring-color auto 5px;
}
}
/deep/.mat-tab-label,
/deep/.mat-tab-label-active {
min-width: 0 !important;
padding: 0px 10px !important;
margin: 3px !important;
&:focus {
outline: 2px solid #5e9ed6;
outline: -webkit-focus-ring-color auto 5px !important;
}
}
/deep/.mat-tab-header {
border-bottom: solid #e0e4e7 1px;
}
// Fixes for IE11 ugh.
.mat-tab-group {
height: 100%;
min-height: 0;
}
.course-list-wrapper {
position: relative;
display: block;
height: 100%;
display: flex;
flex-direction: column;
min-height: 0;
}
.course-list {
height: 100%;
flex: 1 1 100%;
padding: 10px;
// background-color: teal;
overflow-y: scroll;
&:after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
pointer-events: none;
// box-shadow: inset 0px 7px 12px -5px rgba(50, 50, 50, 0.1);
}
}
.no-courses {
font-weight: bold;
text-align: center;
}
.term-inner {
padding: 4px 8px 4px 8px;
}
.term-header {
margin: 0;
h2 {
margin: 0;
}
h3 {
font-weight: 400;
padding-left: 6px;
}
.mat-icon-button {
line-height: 20px;
margin-left: 5px;
color: #2879a8;
&:hover {
opacity: 0.8;
}
&:focus {
outline: 2px solid #5e9ed6;
outline: -webkit-focus-ring-color auto 5px;
}
}
}
.credit-overload-warning {
margin-top: 0;
color: #ff8000;
}
.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;
width: 100%;
box-sizing: border-box;
button {
width: 100%;
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.1);
color: #2879a8;
text-transform: uppercase;
}
}
.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 #ef6c00;
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;
}