Skip to content

Commit

Permalink
refs #293 : print CSS for planing page - first shot, to be continued
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetitdant committed Apr 8, 2015
1 parent 4d02a5d commit 7fe8a14
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion app/views/Sessions/planning.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,44 @@
<link type="text/css" rel="stylesheet" href="@{'/public/stylesheets/star.less'}">
<style>


@media print {

body {
padding-top: 0px ;
font-size: 12px;
}
h1:before {
content: url(@{'/public/images/mini-mixit.png'});
margin-right: 2em;
}
h1 {
font-size: 24px;
text-align: center;
}
.page-break {
page-break-before: always;
}
.container {
max-width: 1500px;
}
a[href]:after { display:none; }
i.star {display:none;}

.session br {
display:none;
}

.table tbody > tr > td {
padding-bottom: 4px;
padding-top: 4px;
}

footer {
display:none;
}
}

table {
background-color: #{if isAdmin}lightpink#{/if}#{else}white#{/};
}
Expand Down Expand Up @@ -48,6 +86,7 @@
.popover {
width: 500px;
}

</style>
#{/set}

Expand Down Expand Up @@ -234,7 +273,7 @@ <h1>&{'planning.day1'}</h1>
</div>

<div class="col-md-12">
<h1>&{'planning.day2'}</h1>
<h1 class="page-break">&{'planning.day2'}</h1>

<table class="table condensed-table">
<thead>
Expand Down

0 comments on commit 7fe8a14

Please sign in to comment.