Skip to content

Commit

Permalink
Merge 92d0bb3 into 060b9f9
Browse files Browse the repository at this point in the history
  • Loading branch information
asaadmahmood committed Mar 28, 2017
2 parents 060b9f9 + 92d0bb3 commit c009f0b
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 18 deletions.
Expand Up @@ -25,7 +25,7 @@ export default class DeleteIntegration extends DeleteModalTrigger {
get modalMessage() {
return (
<div className='alert alert-warning'>
<i className='fa fa-warning'/>
<i className='fa fa-warning fa-margin--right'/>
<FormattedMessage
id={this.props.messageId}
defaultMessage='This action permanently deletes the integration and breaks any integrations using it. Are you sure you want to delete it?'
Expand Down
4 changes: 2 additions & 2 deletions webapp/sass/base/_typography.scss
Expand Up @@ -37,11 +37,11 @@ body {

.fa {
&.fa-margin--left {
margin-left: 2px;
margin-left: 3px;
}

&.fa-margin--right {
margin-right: 2px;
margin-right: 3px;
}
}

Expand Down
3 changes: 2 additions & 1 deletion webapp/sass/components/_webrtc.scss
Expand Up @@ -348,6 +348,7 @@
}

.search__form {
width: calc(100% - 92px);
margin-left: 5px;
width: calc(100% - 80px);
}
}
18 changes: 10 additions & 8 deletions webapp/sass/layout/_content.scss
Expand Up @@ -6,9 +6,11 @@
.search-bar__container {
display: none;
}

.search-btns {
display: none;
}

.header-list__right {
// the negative margin-right is used
// to prevent the icons in the header from
Expand All @@ -17,22 +19,23 @@
// the below z-index is used to ensure the icons
// stays on the top and don't get hidden by the
// search's input block
position: relative;
z-index: 6;

float: right;
margin-right: -18px;
padding-right: 0px !important;
float: right;
position: relative;
z-index: 6;
}
}

&.move--right {
.search-bar__container {
display: none;
}

.search-btns {
display: none;
}

.header-list__right {
// the negative margin-right is used
// to prevent the icons in the header from
Expand All @@ -41,12 +44,11 @@
// the below z-index is used to ensure the icons
// stays on the top and don't get hidden by the
// search's input block
position: relative;
z-index: 6;

float: right;
margin-right: -18px;
padding-right: 0px !important;
float: right
position: relative;
z-index: 6;
}
}
}
Expand Down
1 change: 1 addition & 0 deletions webapp/sass/layout/_headers.scss
Expand Up @@ -44,6 +44,7 @@
font-weight: normal !important;

&.header-list__right {
white-space: nowrap;
padding-right: 4px;
}
}
Expand Down
4 changes: 4 additions & 0 deletions webapp/sass/layout/_sidebar-right.scss
Expand Up @@ -14,6 +14,10 @@
z-index: 5;
}

&.sidebar--right--expanded {
z-index: 10;
}

.sidebar--right__bg {
@include single-transition(background-color, .5s, ease);
background-color: alpha-color($black, 0);
Expand Down
3 changes: 1 addition & 2 deletions webapp/sass/responsive/_tablet.scss
Expand Up @@ -220,9 +220,8 @@
.sidebar--right__title {
display: inline-block;
max-width: 300px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}

Expand Down
8 changes: 4 additions & 4 deletions webapp/utils/utils.jsx
Expand Up @@ -608,8 +608,8 @@ export function applyTheme(theme) {
changeCss('.app__body .channel-header .heading', 'color:' + theme.centerChannelColor);
changeCss('.app__body .markdown__table tbody tr:nth-child(2n)', 'background:' + changeOpacity(theme.centerChannelColor, 0.07));
changeCss('.app__body .channel-header__info>div.dropdown .header-dropdown__icon', 'color:' + changeOpacity(theme.centerChannelColor, 0.8));
changeCss('.app__body .channel-header #member_popover', 'color:' + changeOpacity(theme.centerChannelColor, 0.8));
changeCss('.app__body .channel-header #pinned-posts-button', 'fill:' + changeOpacity(theme.centerChannelColor, 0.8));
changeCss('.app__body .channel-header #member_popover', 'color:' + changeOpacity(theme.centerChannelColor, 0.6));
changeCss('.app__body .channel-header .pinned-posts-button svg', 'fill:' + changeOpacity(theme.centerChannelColor, 0.6));
changeCss('.app__body .custom-textarea, .app__body .custom-textarea:focus, .app__body .file-preview, .app__body .post-image__details, .app__body .sidebar--right .sidebar-right__body, .app__body .markdown__table th, .app__body .markdown__table td, .app__body .suggestion-list__content, .app__body .modal .modal-content, .app__body .modal .settings-modal .settings-table .settings-content .divider-light, .app__body .webhooks__container, .app__body .dropdown-menu, .app__body .modal .modal-header, .app__body .popover', 'border-color:' + changeOpacity(theme.centerChannelColor, 0.2));
changeCss('.app__body .popover.bottom>.arrow', 'border-bottom-color:' + changeOpacity(theme.centerChannelColor, 0.25));
changeCss('.app__body .search-help-popover .search-autocomplete__divider span, .app__body .suggestion-list__divider > span', 'color:' + changeOpacity(theme.centerChannelColor, 0.7));
Expand Down Expand Up @@ -685,9 +685,9 @@ export function applyTheme(theme) {
}

if (theme.linkColor) {
changeCss('.app__body a, .app__body a:focus, .app__body a:hover, .app__body .btn, .app__body .btn:focus, .app__body .btn:hover', 'color:' + theme.linkColor);
changeCss('.app__body a, .app__body a:focus, .app__body a:hover, .app__body .btn, .app__body .btn:focus, .app__body .btn:hover, .app__body .channel-header #member_popover:hover', 'color:' + theme.linkColor);
changeCss('.app__body .attachment .attachment__container', 'border-left-color:' + changeOpacity(theme.linkColor, 0.5));
changeCss('.app__body .channel-header__links .icon:hover, .app__body .post .flag-icon__container.visible, .app__body .post .comment-icon__container, .app__body .post .post__reply', 'fill:' + theme.linkColor);
changeCss('.app__body .channel-header__links .icon:hover, .app__body .post .flag-icon__container.visible, .app__body .post .comment-icon__container, .app__body .post .post__reply, .app__body .channel-header .pinned-posts-button:hover svg', 'fill:' + theme.linkColor);
changeCss('.app__body .post-reaction.post-reaction--current-user', 'background:' + changeOpacity(theme.linkColor, 0.1));
changeCss('.app__body .post-reaction.post-reaction--current-user', 'border-color:' + changeOpacity(theme.linkColor, 0.4));
changeCss('.app__body .post-reaction.post-reaction--current-user', 'color:' + theme.linkColor);
Expand Down

0 comments on commit c009f0b

Please sign in to comment.