From 3e8b34be2fdeccf16c8b46f1ee518f970853768d Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Tue, 24 Oct 2017 16:59:48 -0400 Subject: Adding in materialize source and templates --- .../materialize/sass/components/_materialbox.scss | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 app/dispatch/static/materialize/sass/components/_materialbox.scss (limited to 'app/dispatch/static/materialize/sass/components/_materialbox.scss') diff --git a/app/dispatch/static/materialize/sass/components/_materialbox.scss b/app/dispatch/static/materialize/sass/components/_materialbox.scss new file mode 100644 index 0000000..3027667 --- /dev/null +++ b/app/dispatch/static/materialize/sass/components/_materialbox.scss @@ -0,0 +1,43 @@ +.materialboxed { + &:hover { + &:not(.active) { + opacity: .8; + } + } + + display: block; + cursor: zoom-in; + position: relative; + transition: opacity .4s; + -webkit-backface-visibility: hidden; + + &.active { + cursor: zoom-out; + } +} + +#materialbox-overlay { + position:fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + background-color: #292929; + z-index: 1000; + will-change: opacity; +} + +.materialbox-caption { + position: fixed; + display: none; + color: #fff; + line-height: 50px; + bottom: 0; + left: 0; + width: 100%; + text-align: center; + padding: 0% 15%; + height: 50px; + z-index: 1000; + -webkit-font-smoothing: antialiased; +} \ No newline at end of file -- cgit v1.2.3