summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-26 16:39:44 +0100
committerAzul <azul@leap.se>2012-11-26 16:39:44 +0100
commit9afcef0648f34435f40644242e038cafb1dce117 (patch)
tree2c6d2a6b51b60560bee7c32272f743d103c831d3
parent51ba799f98113b7112f2968fc80e4d291924b3bf (diff)
hide buttons in table-hover unless hovered over tr
-rw-r--r--app/assets/stylesheets/application.scss9
1 files changed, 9 insertions, 0 deletions
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;
+}