diff options
author | Byron Jones <glob@mozilla.com> | 2015-04-01 05:09:11 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-04-01 05:09:11 +0200 |
commit | ae43a6a2e60c07a474debe60c4a1f08753d42b35 (patch) | |
tree | 7bd2eef9ec1f78f09451c6fc3cbe2672c220cdcb /extensions/BugModal/web/bug_modal.css | |
parent | b527e84a026f0211391f93b487b33009f7cb0bce (diff) | |
download | bugzilla-ae43a6a2e60c07a474debe60c4a1f08753d42b35.tar.gz bugzilla-ae43a6a2e60c07a474debe60c4a1f08753d42b35.tar.xz |
Bug 1146777: use lightbox for images
Diffstat (limited to 'extensions/BugModal/web/bug_modal.css')
-rw-r--r-- | extensions/BugModal/web/bug_modal.css | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css index 75a772d2a..85bae0e9d 100644 --- a/extensions/BugModal/web/bug_modal.css +++ b/extensions/BugModal/web/bug_modal.css @@ -650,3 +650,57 @@ div.ui-tooltip { width: 100%; } +/* lightbox */ + +.lightbox img { + margin-right: 4px; + vertical-align: sub; +} + +#lb_img { + background-color: #fff; + border: 1px solid #666; + -webkit-box-shadow: 0 0 10px #555; + -moz-box-shadow: 0 0 10px #555; + box-shadow: 0 0 10px #555; + padding: 10px; + max-width: 90%; + margin: 20px auto; + cursor: pointer; +} + +#lb_overlay { + position: fixed; + background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5); + width: 100%; + height: 100%; + top: 0px; + left: 0px; + text-align: center; + z-index: 2; +} + +#lb_overlay2 { + position: absolute; + left: 0px; + width: 100%; + text-align: center; + z-index: 2; +} + +#lb_text { + color: #fff; + font-weight: bold; + text-shadow: 1px 1px 1px #000; + position: fixed; + top: 4px; + left: 8px; + z-index: 3; + cursor: default; +} + +#lb_close_btn { + position: fixed; + top: 8px; + right: 8px; +} |