Skip to content
Snippets Groups Projects
general.scss 1.93 KiB
Newer Older
Joe Van Boxtel's avatar
Joe Van Boxtel committed
@import 'assets/material-theme.scss';
pnogal's avatar
pnogal committed
body {
    background-color: #ccc;
pnogal's avatar
pnogal committed
    margin: 0px;
}

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

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

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

pnogal's avatar
pnogal committed
.semi-bold {
    font-weight: 700;
}

.btn-primary {
	background-color: map-get($uw-primary, 500);
	color: #fff;
	font-weight: 400;
}

.complete-icon{
    color: #457A3B;
}

.in-progress-icon {
    color: #9CBA99;
}

.problem-icon {
    color: #F7C376;
}

.error-icon {
    color: map-get($uw-accent, 600);
}

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

.favorite-icon {
    color: map-get($uw-accent, 600);
}

#favoriteCourse-dropZone {
    .course-favorite {
        .course-item {
            border: 1px solid #b7b7b7;
            border-radius: 4px;
            padding: 5px 10px;
        }
    }
}

.cdk-drag-placeholder {
	position: relative;
	&:after {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background-color: #C7CACB;
		border-radius: 5px;
	}
}

.cdk-drag-preview {
	.course-wrapper-inner {
		transform: rotate(-3deg);
		border-radius: 5px;
		box-shadow: -3px 3px 3px 2px rgba(0, 0, 0, 0.26);
	}
}

.no-courses {
	padding: 20px 10px;
}

/*

	Note: The follow styles need to be in the global styles file
	and they need !important.

	The following styles switch the display of the terms hidden within the
	mat-expansion-panel. By default they are always displaying flex, causing
	the drop zone hitbox to mess up and register terms that are in closed panels.

	The !important is needed to overwrite the default styles applied by the mat-expansion-panel
	and these styles need to be in this file because the mat-expansion-panel's body is a seperate
	component and it's styles are encapsulated and cannot be styled directly from one of our components

*/
.term-container-wrapper {
	display: none !important;
}

.mat-expanded, .ng-animating {
	.term-container-wrapper {
		display: flex !important;
	}
}