Multiple UI Improvements
* Fixing backstage scrolling and link issue * Fixing system console and color picker css * Changing the toggleclass
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
26ccc478e1
Коммит
c12d997f24
@@ -1,6 +1,8 @@
|
|||||||
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
|
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
|
||||||
// See License.txt for license information.
|
// See License.txt for license information.
|
||||||
|
|
||||||
|
import $ from 'jquery';
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import TeamStore from 'stores/team_store.jsx';
|
import TeamStore from 'stores/team_store.jsx';
|
||||||
@@ -21,10 +23,12 @@ export default class BackstageNavbar extends React.Component {
|
|||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
TeamStore.addChangeListener(this.handleChange);
|
TeamStore.addChangeListener(this.handleChange);
|
||||||
|
$('body').addClass('backstage');
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
TeamStore.removeChangeListener(this.handleChange);
|
TeamStore.removeChangeListener(this.handleChange);
|
||||||
|
$('body').removeClass('backstage');
|
||||||
}
|
}
|
||||||
|
|
||||||
handleChange() {
|
handleChange() {
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
@charset 'UTF-8';
|
@charset 'UTF-8';
|
||||||
|
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
|
|
||||||
|
&.colorpicker {
|
||||||
|
z-index: 2500;
|
||||||
|
}
|
||||||
|
|
||||||
.divider {
|
.divider {
|
||||||
@include opacity(.15);
|
@include opacity(.15);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
@charset 'UTF-8';
|
@charset 'UTF-8';
|
||||||
|
|
||||||
.footer-pane {
|
.footer-pane {
|
||||||
background: $light-gray;
|
background: $bg--gray;
|
||||||
padding-bottom: 1em;
|
padding-bottom: 1em;
|
||||||
|
|
||||||
.footer-link {
|
.footer-link {
|
||||||
|
|||||||
@@ -36,6 +36,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1258px) {
|
||||||
|
.backstage-content {
|
||||||
|
margin: 46px 46px 46px 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1140px) {
|
@media screen and (max-width: 1140px) {
|
||||||
.tip-overlay {
|
.tip-overlay {
|
||||||
&.tip-overlay--chat {
|
&.tip-overlay--chat {
|
||||||
@@ -48,11 +54,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.backstage-content {
|
|
||||||
margin: 46px 46px 46px 150px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.inner-wrap {
|
.inner-wrap {
|
||||||
&.move--left {
|
&.move--left {
|
||||||
.file-overlay {
|
.file-overlay {
|
||||||
|
|||||||
@@ -87,7 +87,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
> h4 {
|
> h4 {
|
||||||
background: #333;
|
background: alpha-color($white, .15);
|
||||||
|
color: $white;
|
||||||
margin: 1px 0 0;
|
margin: 1px 0 0;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,24 @@
|
|||||||
|
body {
|
||||||
|
&.backstage {
|
||||||
|
height: auto;
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
.sidebar--right {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inner-wrap {
|
||||||
|
&:before {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.backstage-content {
|
.backstage-content {
|
||||||
background-color: $bg--gray;
|
background-color: $bg--gray;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user