Multiple UI improvements
Этот коммит содержится в:
@@ -75,10 +75,12 @@ export default class Analytics extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let loading = (
|
let loading = (
|
||||||
<FormattedMessage
|
<h5>
|
||||||
id='admin.analytics.loading'
|
<FormattedMessage
|
||||||
defaultMessage='Loading...'
|
id='admin.analytics.loading'
|
||||||
/>
|
defaultMessage='Loading...'
|
||||||
|
/>
|
||||||
|
</h5>
|
||||||
);
|
);
|
||||||
|
|
||||||
let firstRow;
|
let firstRow;
|
||||||
|
|||||||
@@ -419,7 +419,7 @@ export default class ChannelHeader extends React.Component {
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<OverlayTrigger
|
<OverlayTrigger
|
||||||
trigger={['hover', 'focus']}
|
trigger={'click'}
|
||||||
placement='bottom'
|
placement='bottom'
|
||||||
overlay={popoverContent}
|
overlay={popoverContent}
|
||||||
ref='headerOverlay'
|
ref='headerOverlay'
|
||||||
|
|||||||
@@ -12,37 +12,37 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
&.white {
|
&.white {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
> .container-fluid {
|
> .container-fluid {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.inner__wrap {
|
.inner__wrap {
|
||||||
> .row.content {
|
> .row.content {
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
margin-bottom: -89px;
|
margin-bottom: -89px;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.inner__wrap {
|
.inner__wrap {
|
||||||
|
height: 100%;
|
||||||
|
> .row.main {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
> .row.main {
|
position: relative;
|
||||||
height: 100%;
|
}
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-fluid {
|
.container-fluid {
|
||||||
@include legacy-pie-clearfix;
|
@include legacy-pie-clearfix;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.channel-view {
|
.channel-view {
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
@@ -65,7 +65,9 @@ img {
|
|||||||
background: rgba(black, 0.05);
|
background: rgba(black, 0.05);
|
||||||
}
|
}
|
||||||
.popover-content {
|
.popover-content {
|
||||||
white-space: pre-wrap;
|
p:last-child {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -105,8 +107,8 @@ a:focus, a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nopadding {
|
.nopadding {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-danger, a.text-danger {
|
.text-danger, a.text-danger {
|
||||||
|
|||||||
@@ -298,8 +298,13 @@
|
|||||||
height: 30px;
|
height: 30px;
|
||||||
width: 24px;
|
width: 24px;
|
||||||
line-height: 26px;
|
line-height: 26px;
|
||||||
margin-right: 10px;
|
margin-right: 9px;
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
|
.channel__wrap.move--left & {
|
||||||
|
position: absolute;
|
||||||
|
right: -400px;
|
||||||
|
top: 14px;
|
||||||
|
}
|
||||||
> a {
|
> a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|||||||
@@ -283,8 +283,8 @@ body.ios {
|
|||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 50px;
|
bottom: 0;
|
||||||
right: 5px;
|
left: 10px;
|
||||||
z-index: 50;
|
z-index: 50;
|
||||||
@include opacity(0);
|
@include opacity(0);
|
||||||
@include single-transition(all, 0.3s);
|
@include single-transition(all, 0.3s);
|
||||||
|
|||||||
@@ -60,6 +60,11 @@
|
|||||||
|
|
||||||
&.move--left {
|
&.move--left {
|
||||||
@include translateX(0);
|
@include translateX(0);
|
||||||
|
|
||||||
|
.search-bar__container {
|
||||||
|
padding-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -68,6 +73,13 @@
|
|||||||
|
|
||||||
&.move--left {
|
&.move--left {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
|
|
||||||
|
.channel-header__links {
|
||||||
|
position: relative;
|
||||||
|
right: auto;
|
||||||
|
top: auto;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,14 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
#channel-header .search-bar__container {
|
#channel-header .search-bar__container {
|
||||||
padding: 0 8px 0 3px;
|
padding: 0 9px 0 3px;
|
||||||
}
|
}
|
||||||
.search-bar__container {
|
.search-bar__container {
|
||||||
padding: 12px 8px 0 0;
|
padding: 12px 8px 0 0;
|
||||||
@include flex(0 0 56px);
|
@include flex(0 0 56px);
|
||||||
|
.sidebar--right.move--left & {
|
||||||
|
padding-right: 42px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.search__clear {
|
.search__clear {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user