Этот коммит содержится в:
Asaad Mahmood
2016-04-14 18:24:58 +05:00
коммит произвёл Joram Wilander
родитель 4b3d81441b
Коммит c3c49e49b4
6 изменённых файлов: 42 добавлений и 24 удалений

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

@@ -37,7 +37,9 @@ class ChannelInfoModal extends React.Component {
onHide={this.props.onHide} onHide={this.props.onHide}
> >
<Modal.Header closeButtton={true}> <Modal.Header closeButtton={true}>
<Modal.Title>
{channel.display_name} {channel.display_name}
</Modal.Title>
</Modal.Header> </Modal.Header>
<Modal.Body ref='modalBody'> <Modal.Body ref='modalBody'>
<div className='row form-group'> <div className='row form-group'>

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

@@ -527,7 +527,7 @@ export default class PostsView extends React.Component {
onClick={this.scrollToBottomAnimated} onClick={this.scrollToBottomAnimated}
hidden={!this.state.showUnreadMessageAlert} hidden={!this.state.showUnreadMessageAlert}
> >
<i className='fa fa-arrow-circle-o-down'></i> <i className='fa fa-angle-down'></i>
&nbsp; &nbsp;
<FormattedMessage <FormattedMessage
id='posts_view.newMsg' id='posts_view.newMsg'

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

@@ -18,6 +18,10 @@
&.btn-danger { &.btn-danger {
color: $white; color: $white;
.app__body & {
color: $white;
}
&:hover, &:hover,
&:focus, &:focus,
&:active { &:active {

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

@@ -20,8 +20,8 @@
overflow: visible; overflow: visible;
.custom-textarea { .custom-textarea {
min-height: 8em;
max-height: 60vh; max-height: 60vh;
min-height: 8em;
} }
.suggestion-list__content { .suggestion-list__content {

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

@@ -170,25 +170,35 @@ body.ios {
} }
} }
.post-list__new-messages-below{ .post-list__new-messages-below {
background-color: #9fa5ad; @include single-transition(bottom .5s cubic-bezier(86, 0, 07, 1));
@include opacity(.9);
background-color: $black;
border-radius: 1em; border-radius: 1em;
bottom: 0; bottom: 10px;
color: white; color: $white;
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
left: 50%; left: 50%;
padding: .25em .75em; padding: .3em .75em;
position: absolute; position: absolute;
transform: translateX(-50%); transform: translateX(-50%);
transition: bottom .5s cubic-bezier(0.86, 0, 0.07, 1);
&[hidden]{ &[hidden] {
bottom: -30px; bottom: -30px;
} }
.fa {
font-size: 17px;
font-weight: bold;
margin-right: 1px;
position: relative;
top: 1px;
}
} }
.file-overlay { .file-overlay {
color: #ffffff; color: $white;
font-size: em(20px); font-size: em(20px);
font-weight: 600; font-weight: 600;
height: 100%; height: 100%;

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

@@ -674,6 +674,7 @@ export function applyTheme(theme) {
changeCss('.app__body .attachment__content', 'background:' + theme.centerChannelBg, 1); changeCss('.app__body .attachment__content', 'background:' + theme.centerChannelBg, 1);
changeCss('body.app__body', 'scrollbar-face-color:' + theme.centerChannelBg, 2); changeCss('body.app__body', 'scrollbar-face-color:' + theme.centerChannelBg, 2);
changeCss('body.app__body', 'scrollbar-track-color:' + theme.centerChannelBg, 2); changeCss('body.app__body', 'scrollbar-track-color:' + theme.centerChannelBg, 2);
changeCss('.app__body .post-list__new-messages-below', 'color:' + theme.centerChannelBg, 1);
} }
if (theme.centerChannelColor) { if (theme.centerChannelColor) {
@@ -730,6 +731,7 @@ export function applyTheme(theme) {
changeCss('body', 'scrollbar-arrow-color:' + theme.centerChannelColor, 4); changeCss('body', 'scrollbar-arrow-color:' + theme.centerChannelColor, 4);
changeCss('.app__body .modal .about-modal .about-modal__logo svg, .app__body .post .post__img svg', 'fill:' + theme.centerChannelColor, 1); changeCss('.app__body .modal .about-modal .about-modal__logo svg, .app__body .post .post__img svg', 'fill:' + theme.centerChannelColor, 1);
changeCss('.app__body .scrollbar--horizontal, .app__body .scrollbar--vertical', 'background:' + changeOpacity(theme.centerChannelColor, 0.5), 2); changeCss('.app__body .scrollbar--horizontal, .app__body .scrollbar--vertical', 'background:' + changeOpacity(theme.centerChannelColor, 0.5), 2);
changeCss('.app__body .post-list__new-messages-below', 'background:' + changeColor(theme.centerChannelColor, 0.5), 2);
} }
if (theme.newMessageSeparator) { if (theme.newMessageSeparator) {