Merge pull request #2086 from asaadmahmoodspin/ui-improvements

Multiple UI improvements
Этот коммит содержится в:
Joram Wilander
2016-02-05 10:07:57 -05:00
родитель 8e79f12f3c c10b60e95f
Коммит 535abbf2ac
7 изменённых файлов: 149 добавлений и 125 удалений

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

@@ -75,10 +75,12 @@ export default class Analytics extends React.Component {
} }
let loading = ( let loading = (
<h5>
<FormattedMessage <FormattedMessage
id='admin.analytics.loading' id='admin.analytics.loading'
defaultMessage='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'

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

@@ -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;
}
} }
} }

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

@@ -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;