Permalink
Browse files

fixed css issue and formatting, added truncate to tile title

  • Loading branch information...
1 parent 4898525 commit ad8069b50b332a5e4b1bc65d5e9658acea637ac1 @pedelman pedelman committed Dec 10, 2012
Showing with 12 additions and 6 deletions.
  1. +11 −6 lib/public/css/site-styles.css
  2. +1 −0 lib/views/looking_glass/tile.haml
@@ -268,6 +268,9 @@ background: #f2f2f2;
width: 110px;
position: abolsute;
top: 90px;
+overflow: hidden;
+text-overflow: ellipsis;
+white-space: nowrap;
}
.window-pane p {
@@ -753,16 +756,18 @@ bottom:14px;
.sports.element.large .event-date { border-bottom: 0px; }
.sports.large .window-pane-buttons { border-bottom: 7px solid red; }
-.school.element.large .event-date { border-bottom: darkolivegreen; }
-.school.element .event-date { border-bottom: 4px solid #00A3D9; }
+.school.element .event-date { border-bottom: 4px solid darkolivegreen; }
+.school.element.large .event-date { border-bottom: 0px; }
.school.large .window-pane-buttons { border-bottom: 7px solid darkolivegreen; }
-.political.element.large .event-date { border-bottom: deepskyblue; }
-.political.element .event-date { border-bottom: 4px solid #00A3D9; }
+.political.element .event-date { border-bottom: 4px solid deepskyblue; }
+.political.element.large .event-date { border-bottom: 0px; }
.political.large .window-pane-buttons { border-bottom: 7px solid deepskyblue; }
-.charity.element.large .event-date { border-bottom: darkorange; }
-.charity.element .event-date { border-bottom: 4px solid #00A3D9; }
+.charity.element .event-date { border-bottom: 4px solid darkorange; }
+.charity.element.large .event-date { border-bottom: 0px; }
.charity.large .window-pane-buttons { border-bottom: 7px solid darkorange; }
+.eventful.element .event-date { border-bottom: 4px solid purple; }
+.eventful.element.large .event-date { border-bottom: 0px; }
.eventful.large .window-pane-buttons { border-bottom: 7px solid purple; }
@@ -10,6 +10,7 @@
%h1.window-pane= map[:eventful_event]["title"]
.row
%h4.name= "eventful"
+ %p.event-date= map[:eventful_event]["start_time"].strftime("%m/%d/%Y")
-#%p.event-date= map[:eventful_event][:event_time]
.row-fluid.window-pane-buttons
#event-btns.btn-group

0 comments on commit ad8069b

Please sign in to comment.