From 7359fc16eec3f3daa2be48305430479a9e0d68c5 Mon Sep 17 00:00:00 2001 From: James Allen Date: Mon, 2 Nov 2015 13:57:50 +0000 Subject: [PATCH] Add in show-on-hover CSS classes --- services/web/public/stylesheets/components/hover.less | 11 +++++++++++ services/web/public/stylesheets/style.less | 1 + 2 files changed, 12 insertions(+) create mode 100644 services/web/public/stylesheets/components/hover.less diff --git a/services/web/public/stylesheets/components/hover.less b/services/web/public/stylesheets/components/hover.less new file mode 100644 index 0000000000..8bb9190a49 --- /dev/null +++ b/services/web/public/stylesheets/components/hover.less @@ -0,0 +1,11 @@ +.hover-container { + .show-on-hover { + display: none; + } + + &:hover { + .show-on-hover { + display: initial; + } + } +} \ No newline at end of file diff --git a/services/web/public/stylesheets/style.less b/services/web/public/stylesheets/style.less index 5613671db9..be7367a08b 100755 --- a/services/web/public/stylesheets/style.less +++ b/services/web/public/stylesheets/style.less @@ -40,6 +40,7 @@ // @import "components/wells.less"; @import "components/close.less"; @import "components/fineupload.less"; +@import "components/hover.less"; // Components w/ JavaScript @import "components/modals.less";