Skip to content
Snippets Groups Projects
term-container.component.scss 1.64 KiB
Newer Older
Paulina Nogal's avatar
Paulina Nogal committed
@import 'assets/material-theme.scss';

.term-container {
	background-color: #EEF1F3;
	padding: 0;
}

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

.term-header {
	margin: 0;

	h2 {
		margin: 0;
	}

	.mat-icon-button {
		line-height: 20px;
		margin-left: 5px;
		color: #2879A8;
	}
}

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

.cdk-drop-list-dragging {
	position: relative;
	&:after {
		content: 'Add course to term';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background-color: #EEF1F3;
		border: dashed 2px #2879A8;
		color: #2879A8;
		font-weight: bold;
		text-transform: uppercase;
		border-radius: 5px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

.add-new-wrapper {
	border-top: solid #E0E4E7 1px;
	padding: 8px;

	button {
		width: 100%;
		box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .1);
		color: #2879A8;
	}
Paulina Nogal's avatar
Paulina Nogal committed
}

.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 1px white;
    background-color: white;
    border-radius: 5px;
    font-family: "Helvetica Neue", Georgia, Helvetica, Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 10px;

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

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