Updating tutorials UI
Этот коммит содержится в:
коммит произвёл
JoramWilander
родитель
dedbc122c6
Коммит
4c5c42e374
@@ -64,7 +64,8 @@ export default class SidebarHeader extends React.Component {
|
|||||||
|
|
||||||
screens.push(
|
screens.push(
|
||||||
<div>
|
<div>
|
||||||
<h4><strong>{'Sending Messages'}</strong></h4>
|
<h4>{'Main Menu'}</h4>
|
||||||
|
<p>
|
||||||
{'The '}<strong>{'Main Menu'}</strong>{' is where you can '}
|
{'The '}<strong>{'Main Menu'}</strong>{' is where you can '}
|
||||||
<a
|
<a
|
||||||
href='#'
|
href='#'
|
||||||
@@ -82,8 +83,10 @@ export default class SidebarHeader extends React.Component {
|
|||||||
{'Account Settings'}
|
{'Account Settings'}
|
||||||
</a>
|
</a>
|
||||||
{', and set your '}<strong>{'Theme Color'}</strong>{'.'}
|
{', and set your '}<strong>{'Theme Color'}</strong>{'.'}
|
||||||
<br/><br/>
|
</p>
|
||||||
|
<p>
|
||||||
{'Team administrators can also access their '}{teamSettingsLink}{' from this menu.'}
|
{'Team administrators can also access their '}{teamSettingsLink}{' from this menu.'}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -95,7 +98,7 @@ export default class SidebarHeader extends React.Component {
|
|||||||
ref='tip'
|
ref='tip'
|
||||||
placement='right'
|
placement='right'
|
||||||
screens={screens}
|
screens={screens}
|
||||||
overlayClass='tip-overlay--sidebar'
|
overlayClass='tip-overlay--header'
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ export default class TutorialTip extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='tip-div'>
|
<div className={'tip-div ' + this.props.overlayClass}>
|
||||||
<img
|
<img
|
||||||
className='tip-button'
|
className='tip-button'
|
||||||
src='/static/images/tutorialTip.gif'
|
src='/static/images/tutorialTip.gif'
|
||||||
@@ -93,6 +93,7 @@ export default class TutorialTip extends React.Component {
|
|||||||
target={() => this.refs.target}
|
target={() => this.refs.target}
|
||||||
>
|
>
|
||||||
<div className={'tip-overlay ' + this.props.overlayClass}>
|
<div className={'tip-overlay ' + this.props.overlayClass}>
|
||||||
|
<div className='arrow'></div>
|
||||||
{this.props.screens[this.state.currentScreen]}
|
{this.props.screens[this.state.currentScreen]}
|
||||||
<div className='tutorial__circles'>{dots}</div>
|
<div className='tutorial__circles'>{dots}</div>
|
||||||
<div className='text-right'>
|
<div className='text-right'>
|
||||||
|
|||||||
@@ -179,6 +179,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1140px) {
|
@media screen and (max-width: 1140px) {
|
||||||
|
.tip-overlay {
|
||||||
|
&.tip-overlay--chat {
|
||||||
|
margin: -10px 0 0 -10px;
|
||||||
|
.arrow {
|
||||||
|
right: 15px;
|
||||||
|
left: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.inner__wrap {
|
.inner__wrap {
|
||||||
&.move--left {
|
&.move--left {
|
||||||
.file-overlay {
|
.file-overlay {
|
||||||
@@ -266,6 +275,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 768px) {
|
@media screen and (max-width: 768px) {
|
||||||
|
.tip-div {
|
||||||
|
left: 15px;
|
||||||
|
right: auto;
|
||||||
|
}
|
||||||
|
.tip-overlay {
|
||||||
|
&.tip-overlay--chat {
|
||||||
|
margin-left: 10px;
|
||||||
|
.arrow {
|
||||||
|
left: 32px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.file-details__container {
|
.file-details__container {
|
||||||
display: block;
|
display: block;
|
||||||
.file-details__preview {
|
.file-details__preview {
|
||||||
@@ -482,7 +503,6 @@
|
|||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
display: table;
|
display: table;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
table-layout: fixed;
|
|
||||||
.post-body__cell {
|
.post-body__cell {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
padding-left: 45px;
|
padding-left: 45px;
|
||||||
|
|||||||
@@ -16,38 +16,93 @@
|
|||||||
@include border-radius(3px);
|
@include border-radius(3px);
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
|
|
||||||
|
.arrow {
|
||||||
|
border-width: 10px;
|
||||||
|
position: absolute;
|
||||||
|
display: block;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
border-color: transparent;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.tip-overlay--sidebar {
|
||||||
|
max-width: 75%;
|
||||||
|
margin: 50px 0 0 10px;
|
||||||
|
.arrow {
|
||||||
|
top: 80px;
|
||||||
|
left: -10px;
|
||||||
|
margin-top: -10px;
|
||||||
|
border-left-width: 0;
|
||||||
|
border-right-color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.tip-overlay--header {
|
||||||
|
margin: 10px 0 0 10px;
|
||||||
|
.arrow {
|
||||||
|
top: 15px;
|
||||||
|
left: -10px;
|
||||||
|
border-left-width: 0;
|
||||||
|
border-right-color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.tip-overlay--chat {
|
||||||
|
margin-top: -10px;
|
||||||
|
.arrow {
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -10px;
|
||||||
|
border-bottom-width: 0;
|
||||||
|
border-top-color: #fff;
|
||||||
|
bottom: -10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-size: em(16px);
|
font-size: em(16px);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin: 5px 0 15px;
|
margin: 5px 0 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
background: #cccccc;
|
background: #cccccc;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@include border-radius(3px);
|
@include border-radius(3px);
|
||||||
border: none;
|
border: none;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
&:hover, &:active, &:focus {
|
&:hover, &:active, &:focus {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: none;
|
border: none;
|
||||||
background: #bbb;
|
background: #bbb;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tip-opt {
|
.tip-opt {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
@include opacity(0.5);
|
@include opacity(0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tutorial__circles {
|
.tutorial__circles {
|
||||||
margin: 1.5em 0px -1.7em -4px;
|
margin: 1.5em 0px -1.7em -4px;
|
||||||
|
|
||||||
.circle {
|
.circle {
|
||||||
width: 7px;
|
width: 7px;
|
||||||
height: 7px;
|
height: 7px;
|
||||||
@@ -56,8 +111,11 @@
|
|||||||
background: #000;
|
background: #000;
|
||||||
@include opacity(0.4);
|
@include opacity(0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tip-button {
|
.tip-button {
|
||||||
@@ -72,6 +130,16 @@
|
|||||||
position:absolute;
|
position:absolute;
|
||||||
top:0px;
|
top:0px;
|
||||||
right:0px;
|
right:0px;
|
||||||
|
|
||||||
|
&.tip-overlay--header {
|
||||||
|
top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.tip-overlay--sidebar {
|
||||||
|
left: 0;
|
||||||
|
top: -9px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tutorial-steps__container {
|
.tutorial-steps__container {
|
||||||
|
|||||||
Двоичные данные
web/static/images/tutorialTip.gif
Двоичные данные
web/static/images/tutorialTip.gif
Двоичный файл не отображается.
|
До Ширина: | Высота: | Размер: 12 KiB После Ширина: | Высота: | Размер: 18 KiB |
Ссылка в новой задаче
Block a user