Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Commit

Permalink
styling Kiosk #179
Browse files Browse the repository at this point in the history
  • Loading branch information
1u committed Nov 18, 2015
1 parent 9943fb6 commit 9b530dc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
5 changes: 4 additions & 1 deletion client/styles/views/misc/kiosk/kiosk.import.less
Expand Up @@ -25,6 +25,10 @@


.calendar_event {
.statingIn{
padding-left: 8px;
background-color: rgba(255, 255, 255, 0.8);
}

.course_event_desc {
& > p {
Expand All @@ -42,7 +46,6 @@
padding-bottom: 10px;
border-bottom: 3px solid @body-bg;


.kiosk_event_home {
text-align: right;
}
Expand Down
8 changes: 6 additions & 2 deletions client/views/misc/kiosk/kiosk.html
Expand Up @@ -69,7 +69,9 @@ <h3>{{mf 'kiosk.future' 'Future events:' NUM=future.count}}</h3>
<template name="kioskEventOngoing">
<a class="kioskEvent" href="{{pathFor 'showEvent'}}">
<div class="calendar_event">
{{mf 'kiosk.started' 'Started'}} {{dateformat_fromnow start}}
<div class="statingIn">
{{mf 'kiosk.started' 'Started'}} {{dateformat_fromnow start}}
</div>
<div class="kiosk_event_header">
<span class="glyphicon glyphicon-time"></span>
{{timeformat start}} - {{timeformat end}}
Expand Down Expand Up @@ -102,7 +104,9 @@ <h3>{{plain this.title}}</h3>
<template name="kioskEventToday">
<a class="kioskEvent" href="{{pathFor 'showEvent'}}">
<div class="calendar_event">
&nbsp;{{dateformat_fromnow start}}<br>
<div class="statingIn">
{{dateformat_fromnow start}}
</div>
<div class="kiosk_event_header">
<div class="kiosk_event_date">
<span class="glyphicon glyphicon-time"></span>
Expand Down
5 changes: 4 additions & 1 deletion client/views/misc/kiosk/kiosk.js
Expand Up @@ -119,8 +119,11 @@ Template.kioskEventFuture.helpers({


Template.kioskEventOngoing.rendered = function() {
this.$('.kiosk_event_home').dotdotdot({
height: 30,
});
this.$('.ellipsis').dotdotdot({
height: 70,
height: 90,
});
};
Template.kioskEventToday.rendered = function() {
Expand Down

0 comments on commit 9b530dc

Please sign in to comment.