Fixed "Viewing small (image) attachments" (Closes #369)

This commit is contained in:
RainLoop Team 2014-11-06 16:00:36 +04:00
parent eb30a1fe27
commit 96e4741a57
17 changed files with 2827 additions and 178 deletions

View file

@ -129,13 +129,15 @@ button::-moz-focus-inner {
text-decoration: none;
text-align: center;
opacity: 0.65;
filter: alpha(opacity=65);
padding: 0 0 18px 10px;
color: white;
font-style: normal;
font-size: 28px;
font-family: Arial, Baskerville, monospace; }
.mfp-close:hover, .mfp-close:focus {
opacity: 1; }
opacity: 1;
filter: alpha(opacity=100); }
.mfp-close:active {
top: 1px; }
@ -160,6 +162,7 @@ button::-moz-focus-inner {
.mfp-arrow {
position: absolute;
opacity: 0.65;
filter: alpha(opacity=65);
margin: 0;
top: 50%;
margin-top: -55px;
@ -170,7 +173,8 @@ button::-moz-focus-inner {
.mfp-arrow:active {
margin-top: -54px; }
.mfp-arrow:hover, .mfp-arrow:focus {
opacity: 1; }
opacity: 1;
filter: alpha(opacity=100); }
.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
content: '';
display: block;
@ -188,7 +192,8 @@ button::-moz-focus-inner {
top: 8px; }
.mfp-arrow:before, .mfp-arrow .mfp-b {
border-top-width: 21px;
border-bottom-width: 21px; }
border-bottom-width: 21px;
opacity: 0.7; }
.mfp-arrow-left {
left: 0; }
@ -266,6 +271,8 @@ img.mfp-img {
display: block;
font-size: 12px;
line-height: 14px; }
.mfp-figure figure {
margin: 0; }
.mfp-bottom-bar {
margin-top: -36px;
@ -297,14 +304,12 @@ img.mfp-img {
padding-right: 0; }
.mfp-img-mobile img.mfp-img {
padding: 0; }
.mfp-img-mobile .mfp-figure {
/* The shadow behind the image */ }
.mfp-img-mobile .mfp-figure:after {
top: 0;
bottom: 0; }
.mfp-img-mobile .mfp-figure small {
display: inline;
margin-left: 5px; }
.mfp-img-mobile .mfp-figure:after {
top: 0;
bottom: 0; }
.mfp-img-mobile .mfp-figure small {
display: inline;
margin-left: 5px; }
.mfp-img-mobile .mfp-bottom-bar {
background: rgba(0, 0, 0, 0.6);
bottom: 0;
@ -361,4 +366,3 @@ img.mfp-img {
top: 0;
right: 0;
padding-top: 0; }