From 32b5bd33521c90aac8900dce8aa9ba12485b2bf8 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 18 Apr 2013 14:41:58 +0200 Subject: [PATCH] Improved css for task manager. --- app/assets/javascripts/app/views/task_widget.jst.eco | 4 ++-- app/assets/stylesheets/zzz.css | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/views/task_widget.jst.eco b/app/assets/javascripts/app/views/task_widget.jst.eco index 41689389e..e90ae8b54 100644 --- a/app/assets/javascripts/app/views/task_widget.jst.eco +++ b/app/assets/javascripts/app/views/task_widget.jst.eco @@ -1,5 +1,5 @@ -
+
<% for item in @item_list: %> - <%= item.data.title %> + <%= item.data.title %> <% end %>
diff --git a/app/assets/stylesheets/zzz.css b/app/assets/stylesheets/zzz.css index 10c54487f..2150d408e 100644 --- a/app/assets/stylesheets/zzz.css +++ b/app/assets/stylesheets/zzz.css @@ -47,6 +47,14 @@ table th, table td { white-space: nowrap; } +.taskbar { + position: fixed; + top: 40px; + width: 100%; + padding: 5px; + z-index: 990; +} + .task { display: inline-block; max-width: 120px; @@ -54,7 +62,9 @@ table th, table td { text-overflow: ellipsis; white-space: nowrap; } +.task > a, .task > a:hover { + color: #ffffff; text-decoration: none; }