From c1b8ff9e545c5fe0f45fdbd7f90d1a02873c480d Mon Sep 17 00:00:00 2001 From: lilia Date: Tue, 12 Jul 2016 16:44:45 -0700 Subject: [PATCH] Fix _lightbox.scss // FREEBIE --- stylesheets/_lightbox.scss | 60 +++++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) mode change 120000 => 100644 stylesheets/_lightbox.scss diff --git a/stylesheets/_lightbox.scss b/stylesheets/_lightbox.scss deleted file mode 120000 index c03196d2..00000000 --- a/stylesheets/_lightbox.scss +++ /dev/null @@ -1 +0,0 @@ -../components/lightbox2/dist/css/lightbox.css \ No newline at end of file diff --git a/stylesheets/_lightbox.scss b/stylesheets/_lightbox.scss new file mode 100644 index 00000000..4024520d --- /dev/null +++ b/stylesheets/_lightbox.scss @@ -0,0 +1,59 @@ +.lightbox { + &.modal { + padding: 30px; + text-align: center; + background-color: rgba(0,0,0,0.8); + + .content { + margin: 0; + padding: 0 50px; + max-width: 100%; + height: 100%; + box-shadow: none; + background: transparent; + + img { + display: block; + margin: auto; + max-width: 100%; + max-height: 100%; + } + } + + .controls { + position: absolute; + top: 0; + right: 0; + width: 50px; + } + + a { + background: transparent; + width: 50px; + height: 50px; + margin-bottom: 10px; + + display: inline-block; + cursor: pointer; + border-radius: 50%; + padding: 3px; + + &:before { + content: ''; + display: block; + width: 100%; + height: 100%; + } + + &:hover { + background: $grey; + } + } + + .save { + &:before { + @include color-svg('/images/save.svg', white); + } + } + } +}