diff options
author | Noemi Vanyi <sitbackandwait@gmail.com> | 2016-09-05 23:41:04 +0200 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2016-12-29 23:40:23 +0100 |
commit | 5fa6af648debcdb3e19d58971c5c6dc2f44267e1 (patch) | |
tree | 7dc1dd7a7fd0f1ad4fbdee6aa4320e58fdeb992d /searx/static/themes/oscar/less | |
parent | d08108be6293c8764f0d1d950a7aab283cddffed (diff) | |
download | searxng-5fa6af648debcdb3e19d58971c5c6dc2f44267e1.tar.gz searxng-5fa6af648debcdb3e19d58971c5c6dc2f44267e1.zip |
add own pics modal window
Diffstat (limited to 'searx/static/themes/oscar/less')
-rw-r--r-- | searx/static/themes/oscar/less/logicodev/modal-pic.less | 67 | ||||
-rw-r--r-- | searx/static/themes/oscar/less/logicodev/oscar.less | 2 |
2 files changed, 69 insertions, 0 deletions
diff --git a/searx/static/themes/oscar/less/logicodev/modal-pic.less b/searx/static/themes/oscar/less/logicodev/modal-pic.less new file mode 100644 index 000000000..ffa87043a --- /dev/null +++ b/searx/static/themes/oscar/less/logicodev/modal-pic.less @@ -0,0 +1,67 @@ +.modal-image { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: rgba(0,0,0,0.8); + z-index: 1000000001; + opacity:0 !important; + pointer-events: none; + + button { + display: none; + } + + &:target { + opacity: 1 !important; + pointer-events: auto; + } + + & > div { + margin: 2% auto; + width: 97%; + background: @dim-gray; + border: @gray 0.1rem solid; + } + + @media (min-width: 769px) { + & > div { + max-width: 60.0rem; + } + } + + @media (max-width: 7680px) { + & > div { + position: relative; + } + } + + .image-paging-left { + font-size: 2.2rem; + padding-right: 1.0rem; + } + + .image-paging-right { + font-size: 2.2rem; + padding-left: 1.2rem; + } + + .image-container::before { + display: block; + min-width: 1.0rem; + max-width: 60.0rem; + min-height: 10.0rem; + height: 30.0rem; + content: ""; + } +} + +.modal-close { + position:fixed; + top: 0; + left: 0; + height: 100% !important; + width: 100% !important; + z-index: -1; +} diff --git a/searx/static/themes/oscar/less/logicodev/oscar.less b/searx/static/themes/oscar/less/logicodev/oscar.less index 55181cb9c..ecb3a0799 100644 --- a/searx/static/themes/oscar/less/logicodev/oscar.less +++ b/searx/static/themes/oscar/less/logicodev/oscar.less @@ -19,3 +19,5 @@ @import "cursor.less"; @import "code.less"; + +@import "modal-pic.less"; |