Permalink
Browse files

Added noon-line for thumbnails. Removed border-radius for thumbnail c…

…lasses to improve performance
  • Loading branch information...
1 parent 92bcd53 commit c1289c15335b888a0a63039c2c6a800a30674214 Jeff Hui committed Mar 19, 2012
@@ -1002,25 +1002,20 @@ header .alpha {
padding: 1px; }
#thumbnails .row {
height: 6px;
- border-bottom: 1px solid #aeaeae;
- /*
- &.noon {
- background: #d0d0d0;
- }
- */ }
+ border-bottom: 1px solid #aeaeae; }
#thumbnails .row:first-child {
border-top: 1px solid #aeaeae;
border-bottom: 1px solid #aeaeae;
height: 7px; }
#thumbnails .row:last-child {
border-bottom: 1px solid #aeaeae; }
+ #thumbnails .row.prenoon {
+ border-bottom: 1px solid #666; }
#thumbnails .class {
display: block;
position: relative;
z-index: 1000;
- border-radius: 2px;
- -moz-border-radius: 2px;
- -webkit-border-radius: 2px; }
+ /*@include border-radius(2px);*/ }
#thumbnails .class.color1 {
background: #b59696;
border-color: #9a7171; }
@@ -1112,19 +1112,16 @@ header {
&:last-child {
border-bottom: 1px solid $bcolor;
}
- /*
- &.noon {
- background: #d0d0d0;
+ &.prenoon {
+ border-bottom: 1px solid #666;
}
- */
-
}
.class {
display: block;
position: relative;
z-index: 1000;
- @include border-radius(2px);
+ /*@include border-radius(2px);*/
$darken: #222;
&.color1 {
@@ -116,7 +116,7 @@ <h2 class="dow"><%- dow %></h2>
<% for(var j=0, l2=dows.length; j<l2; ++j){ var dow = dows[j]; var secsforday = secmap[dow]; %>
<div class="day">
<% for(var k=0, l3=time_range.length; k<l3; ++k) { var hour = time_range[k]; var period = secsforday && secsforday[hour]; %>
- <div class="row <%- (hour === 12) ? 'noon' : '' %>">
+ <div class="row <%- (hour === 11) ? 'prenoon' : '' %> <%- (hour === 12) ? 'noon' : '' %> <%- (hour > 12) ? 'afternoon': '' %>">
<% if(period) {
var section = sections.get(period.get('section_id')),
course = courses.get(section.get('course_id')),

0 comments on commit c1289c1

Please sign in to comment.