Skip to content

Commit 5d5a189

Browse files
committed
Sets the font weight to normal for the professor's name in class cards. The name was hard to read before and this cleans it up. This is applied to the browse, courseselect, and search templates.
1 parent 1cf1dc3 commit 5d5a189

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

assets/src/modules/sm/App/styles/global.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,10 @@ form {
323323
cursor: pointer;
324324
}
325325

326+
.label-professor {
327+
font-weight: normal;
328+
}
329+
326330
/* NEW SCHEDULES */
327331

328332
div[schedule] .canvas-cont {
@@ -361,7 +365,6 @@ div[schedule] .schedule-loading {
361365
}
362366
}
363367

364-
365368
/* BOOTSTRAP EXTENSIONS */
366369
.btn {
367370
transition: background-color .25s ease, box-shadow .125s ease;

assets/src/modules/sm/Browse/templates/browse.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h4 class="list-group-item-heading">{{course | courseNum}}</h4>
7676
<h4 class="list-group-item-heading">{{$index + 1}}. {{course | courseNum}}-{{section.section}}</h4>
7777
<small>{{section.title}}</small>
7878
<p class="list-group-item-text label-line ">
79-
<span class="label label-default" ng-bind-html="section.instructor | RMPUrl"></span>
79+
<span class="label label-default label-professor" ng-bind-html="section.instructor | RMPUrl"></span>
8080
</p>
8181
<div ng-init="parsedTimes = (section.times | parseSectionTimes:true)">
8282
<div ng-repeat="time in parsedTimes" style="font-size: small">

assets/src/modules/sm/Generate/templates/courseselect.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<h4 class="list-group-item-heading"><span course-detail-popover="section.id">{{$index + 1}}. {{section.courseNum}}</span></h4>
3535
<small>{{section.title}}</small>
3636
<p class="list-group-item-text label-line ">
37-
<span class="label label-default" ng-bind-html="section.instructor | RMPUrl"></span>
37+
<span class="label label-default label-professor" ng-bind-html="section.instructor | RMPUrl"></span>
3838
</p>
3939
<div ng-init="parsedTimes = (section.times | parseSectionTimes)">
4040
<div ng-repeat="time in parsedTimes" style="font-size:small">{{time.days}} <span style="white-space:nowrap">{{time.start | formatTime}}-{{time.end | formatTime}}</span></div>

assets/src/modules/sm/Search/templates/search.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ <h2 class="panel-title control-label pull-left">Search Courses</h2>
189189
<h4 class="list-group-item-heading"><span course-detail-popover="section.id">{{($index + 1) + (searchPagination.currentPage*searchPagination.pageSize)}}. {{section.courseNum}}</span></h4>
190190
<small>{{section.title}}</small>
191191
<p class="list-group-item-text label-line ">
192-
<span class="label label-default" ng-bind-html="section.instructor | RMPUrl"></span>
192+
<span class="label label-default label-professor" ng-bind-html="section.instructor | RMPUrl"></span>
193193
</p>
194194
<div ng-init="parsedTimes = (section.times | parseSectionTimes:true)">
195195
<div ng-repeat="time in parsedTimes" style="font-size: small">

0 commit comments

Comments
 (0)