diff --git a/app/assets/stylesheets/osem.css b/app/assets/stylesheets/osem.css index 338157e3..f7cd13fa 100644 --- a/app/assets/stylesheets/osem.css +++ b/app/assets/stylesheets/osem.css @@ -151,4 +151,21 @@ div.dataTables_scrollBody tbody tr:first-child td { div.dataTables_scrollFoot table { border-top: none; +} + +.event { +background-image: linear-gradient(bottom, rgb(247,250,242) 24%, rgb(194,232,190) 97%, rgb(194,232,190) 100%); +background-image: -o-linear-gradient(bottom, rgb(247,250,242) 24%, rgb(194,232,190) 97%, rgb(194,232,190) 100%); +background-image: -moz-linear-gradient(bottom, rgb(247,250,242) 24%, rgb(194,232,190) 97%, rgb(194,232,190) 100%); +background-image: -webkit-linear-gradient(bottom, rgb(247,250,242) 24%, rgb(194,232,190) 97%, rgb(194,232,190) 100%); +background-image: -ms-linear-gradient(bottom, rgb(247,250,242) 24%, rgb(194,232,190) 97%, rgb(194,232,190) 100%); + +background-image: -webkit-gradient( + linear, + left bottom, + left top, + color-stop(0.24, rgb(247,250,242)), + color-stop(0.97, rgb(194,232,190)), + color-stop(1, rgb(194,232,190)) +); } \ No newline at end of file diff --git a/app/views/schedule/index.html.erb b/app/views/schedule/index.html.erb index 5f8c240b..64808b9d 100644 --- a/app/views/schedule/index.html.erb +++ b/app/views/schedule/index.html.erb @@ -39,27 +39,31 @@ <% if !event.empty? %> <% span[room.id] = event[0].event_type.length / 15 %> -
+