From 9afcef0648f34435f40644242e038cafb1dce117 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 26 Nov 2012 16:39:44 +0100 Subject: hide buttons in table-hover unless hovered over tr --- app/assets/stylesheets/application.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 3465431..8dec07d 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -3,3 +3,12 @@ body { padding: 40px; } @import "bootstrap-responsive"; + + +table.table-hover .btn { + opacity: 0; +} + +table.table-hover tr:hover .btn { + opacity: 1; +} -- cgit v1.2.3