PLT-318 - Updating files overlay design

Этот коммит содержится в:
Asaad Mahmood
2015-10-20 18:31:34 +05:00
родитель 460a82878a
Коммит e48614d6ce
6 изменённых файлов: 64 добавлений и 16 удалений

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

@@ -12,9 +12,19 @@ export default class FileUploadOverlay extends React.Component {
return ( return (
<div className={overlayClass}> <div className={overlayClass}>
<div> <div className='overlay__circle'>
<i className='fa fa-upload'></i> <img
<span>Drop a file to upload it.</span> className='overlay__files'
src='/static/images/filesOverlay.png'
alt='Files'
/>
<span><i className='fa fa-upload'></i>{'Drop a file to upload it.'}</span>
<img
className='overlay__logo'
src='/static/images/logoWhite.png'
width='100'
alt='Logo'
/>
</div> </div>
</div> </div>
); );

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

@@ -119,20 +119,52 @@ body.ios {
background-color: rgba(0, 0, 0, 0.6); background-color: rgba(0, 0, 0, 0.6);
text-align: center; text-align: center;
color: #FFF; color: #FFF;
display: table; font-size: em(20px);
font-size: 1.7em;
font-weight: 600; font-weight: 600;
z-index: 6; z-index: 6;
> div { &.right-file-overlay {
display: table-cell; font-size: em(18px);
vertical-align: middle; .overlay__circle {
width: 300px;
height: 300px;
margin: -150px 0 0 -150px;
}
.overlay__files {
margin: 60px auto 15px;
width: 150px;
}
}
.overlay__circle {
background: #111;
background: rgba(black, 0.7);
width: 370px;
height: 370px;
margin: -185px 0 0 -185px;
@include border-radius(500px);
position: absolute;
top: 50%;
left: 50%;
}
.overlay__files {
display: block;
margin: 75px auto 20px;
}
.overlay__logo {
position: absolute;
left: 50%;
bottom: 30px;
margin-left: -50px;
@include opacity(0.3);
} }
.fa { .fa {
display: block; display: inline-block;
font-size: 2em; font-size: 1.1em;
margin: 0 0 0.3em; margin-right: 8px;
} }
} }

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

@@ -199,9 +199,6 @@
} }
@media screen and (max-width: 960px) { @media screen and (max-width: 960px) {
.center-file-overlay {
font-size: 1.5em;
}
.post { .post {
.post-header .post-header-col.post-header__reply { .post-header .post-header-col.post-header__reply {
.comment-icon__container__hide { .comment-icon__container__hide {
@@ -278,8 +275,17 @@
display: block; display: block;
} }
} }
.center-file-overlay { .file-overlay {
font-size: 1.3em; font-size: em(18px);
.overlay__circle {
width: 300px;
height: 300px;
margin: -150px 0 0 -150px;
}
.overlay__files {
margin: 60px auto 15px;
width: 150px;
}
} }
.date-separator, .new-separator { .date-separator, .new-separator {
&.hovered--after { &.hovered--after {

Двоичные данные
web/static/images/filesOverlay.png Обычный файл

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 8.2 KiB

Двоичные данные
web/static/images/logo-email copy.png Обычный файл

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 10 KiB

Двоичные данные
web/static/images/logoWhite.png Обычный файл

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 5.7 KiB