_course-info.scss 2.92 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
.course-info {
	h2 {
		margin-bottom: 24px;
		font-size: 22px;
		font-weight: 300;
	}

	.course-info-wrapper {
		display: table;
		width: 100%;
Tom Giannattasio committed
11
		clear: both;
12 13 14 15 16 17 18
	}

	.main-column,
	.course-handouts {
		float: none;
		display: table-cell;
	}
Tom Giannattasio committed
19 20 21 22 23

	.main-column {
		border-radius: 3px 0 0 3px;
		border-right-color: $mediumGrey;
	}
24 25 26 27 28 29

	.CodeMirror {
    border: 1px solid #3c3c3c;
    background: #fff;
    color: #3c3c3c;
  }
30 31
}

32 33
.course-updates {
	padding: 30px 40px;
34
	margin: 0;
35

36
	.update-list > li {
37
		padding: 34px 0 42px;
38
		border-top: 1px solid #cbd1db;
39 40 41 42 43 44 45 46 47 48 49 50 51

		&.editing {
			position: relative;
			z-index: 1001;
			padding: 0;
			border-top: none;
			border-radius: 3px;
			background: #fff;

			.post-preview {
				display: none;
			}
		}
52

53 54 55 56 57
		h1 {
			float: none;
			font-size: 24px;
			font-weight: 300;
		}
58

59 60 61 62 63 64 65 66 67
		h2 {
			margin-bottom: 18px;
			font-size: 14px;
			font-weight: 700;
			line-height: 30px;
			color: #646464;
			letter-spacing: 1px;
			text-transform: uppercase;
		}
68

69 70 71 72 73
		h3 {
			margin: 34px 0 11px;
			font-size: 16px;
			font-weight: 700;
		}
74
	}
75

76
	.update-contents {
77
		p {
78 79
			font-size: 16px;
			line-height: 25px;
80 81 82
		}

		p + p {
83 84 85 86 87 88 89
			margin-top: 25px;
		}

		.primary {
			border: 1px solid #ddd;
			background: #f6f6f6;
			padding: 20px;
90
		}
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124

		ol, ul {
		  margin: 1em 0;
		  padding: 0 0 0 1em;
		  color: $baseFontColor;

		  li {
		    margin-bottom: 0.708em;
		  }
		}

		ol {
		  list-style: decimal outside none;
		}

		ul {
		  list-style: disc outside none;
		}

		pre {
		  margin: 1em 0;
		  color: $baseFontColor;
		  font-family: monospace, serif;
		  font-size: 1em;
		  white-space: pre-wrap;
		  word-wrap: break-word;
		}

		code {
		  color: $baseFontColor;
		  font-family: monospace, serif;
		  background: none;
		  padding: 0;
		}
125 126 127
	}

	.new-update-button {
128
		@include blue-button;
129 130
		display: block;
		text-align: center;
131
		padding: 18px 0;
132 133 134 135 136 137
		margin-bottom: 28px;
	}

	.new-update-form {
		@include edit-box;
		margin-bottom: 24px;
138
		padding: 30px;
139
		border: none;
140 141 142 143 144

		textarea {
			height: 180px;
		}
	}
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163

	.post-actions {
		float: right;

		.edit-button,
		.delete-button{
			float: left;
			@include white-button;
	    padding: 3px 10px 4px;
	    margin-left: 7px;
	    font-size: 12px;
	    font-weight: 400;

	    .edit-icon,
	    .delete-icon {
	      margin-right: 4px;
	    }
		}
	}
164 165 166
}

.course-handouts {
167
	width: 30%;
168
	padding: 20px 30px;
169 170 171 172 173 174 175 176 177
	margin: 0;
	border-radius: 0 3px 3px 0;
	border-left: none;
	background: $lightGrey;

	h2 {
		font-size: 18px;
		font-weight: 700;
	}
178

179 180 181 182 183 184 185 186 187 188 189 190
	.edit-button {
		float: right;
		@include white-button;
    padding: 3px 10px 4px;
    margin-left: 7px;
    font-size: 12px;
    font-weight: 400;

    .edit-icon,
    .delete-icon {
      margin-right: 4px;
    }
191 192
	}

193
	.handouts-content {
194 195 196
		font-size: 14px;
	}

197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
	.treeview-handoutsnav li {
		margin-bottom: 12px;
	}
}

.edit-handouts-form {
	@include edit-box;
	position: absolute;
	right: 0;
	z-index: 10001;
	width: 800px;
	padding: 30px;

	textarea {
		height: 300px;
212 213
	}
}