MM-2123 and MM-2124 - UI changes

Этот коммит содержится в:
Asaad Mahmood
2015-09-07 23:08:55 +05:00
родитель 30cfc99fe7
Коммит c4fac97242

Просмотреть файл

@@ -243,6 +243,23 @@
} }
} }
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.file-details__container {
display: block;
.file-details__preview {
display: block;
width: 100%;
height: 150px;
border-right: none;
border-bottom: 1px solid #ddd;
img {
width: 64px;
height: 64px;
}
}
.file-details {
height: auto;
}
}
.center-file-overlay { .center-file-overlay {
font-size: 1.3em; font-size: 1.3em;
} }
@@ -405,23 +422,23 @@
margin-top: 0; margin-top: 0;
} }
.remove-preview { .remove-preview {
width: 50px; width: 28px;
height: 50px; height: 28px;
left: 50%; left: auto;
top: 50%; right: 0;
top: 0;
background: #444; background: #444;
margin: -25px 0 0 -25px; background: rgba(#000, 0.5);
@include border-radius(50px);
text-align: center; text-align: center;
&:after { &:after {
display: none; display: none;
} }
i { i {
line-height: 50px; line-height: 29px;
top: auto; top: auto;
right: auto; right: auto;
position: relative; position: relative;
font-size: 28px; font-size: 16px;
} }
} }
} }