Merge pull request #1800 from asaadmahmoodspin/ui-improvements
Multiple UI Improvements
Этот коммит содержится в:
@@ -28,7 +28,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;">
|
<td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;">
|
||||||
<h2 style="font-weight: normal; margin-top: 10px;">You can sign-in to your new team from the web address:</h2>
|
<h2 style="font-weight: normal; margin-top: 25px; line-height: 1.5;">You can sign-in to your new team from the web address:</h2>
|
||||||
<a href="{{.Props.TeamURL}}">{{.Props.TeamURL}}</a>
|
<a href="{{.Props.TeamURL}}">{{.Props.TeamURL}}</a>
|
||||||
<p>Mattermost lets you share messages and files from your PC or phone, with instant search and archiving.</p>
|
<p>Mattermost lets you share messages and files from your PC or phone, with instant search and archiving.</p>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ export default class SettingItemMin extends React.Component {
|
|||||||
editButton = (
|
editButton = (
|
||||||
<li className='col-sm-2 section-edit'>
|
<li className='col-sm-2 section-edit'>
|
||||||
<a
|
<a
|
||||||
className='section-edit theme'
|
className='theme'
|
||||||
href='#'
|
href='#'
|
||||||
onClick={this.props.updateSection}
|
onClick={this.props.updateSection}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -101,22 +101,24 @@ export default class TutorialTip extends React.Component {
|
|||||||
<div className={'tip-overlay ' + this.props.overlayClass}>
|
<div className={'tip-overlay ' + this.props.overlayClass}>
|
||||||
<div className='arrow'></div>
|
<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__footer'>
|
||||||
<div className='text-right'>
|
<div className='tutorial__circles'>{dots}</div>
|
||||||
<button
|
<div className='text-right'>
|
||||||
className='btn btn-primary'
|
<button
|
||||||
onClick={this.handleNext}
|
className='btn btn-primary'
|
||||||
>
|
onClick={this.handleNext}
|
||||||
{buttonText}
|
|
||||||
</button>
|
|
||||||
<div className='tip-opt'>
|
|
||||||
{'Seen this before? '}
|
|
||||||
<a
|
|
||||||
href='#'
|
|
||||||
onClick={this.skipTutorial}
|
|
||||||
>
|
>
|
||||||
{'Opt out of these tips.'}
|
{buttonText}
|
||||||
</a>
|
</button>
|
||||||
|
<div className='tip-opt'>
|
||||||
|
{'Seen this before? '}
|
||||||
|
<a
|
||||||
|
href='#'
|
||||||
|
onClick={this.skipTutorial}
|
||||||
|
>
|
||||||
|
{'Opt out of these tips.'}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -229,6 +229,12 @@
|
|||||||
height: 80%;
|
height: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
audio, canvas, progress, video {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.modal-close {
|
.modal-close {
|
||||||
background: url("../images/close.png") no-repeat;
|
background: url("../images/close.png") no-repeat;
|
||||||
@include background-size(100% 100%);
|
@include background-size(100% 100%);
|
||||||
|
|||||||
@@ -299,15 +299,6 @@
|
|||||||
.settings-content {
|
.settings-content {
|
||||||
&.minimize-settings {
|
&.minimize-settings {
|
||||||
display: block;
|
display: block;
|
||||||
.section-edit {
|
|
||||||
position: absolute;
|
|
||||||
top: 7px;
|
|
||||||
right: 0;
|
|
||||||
width: 50px;
|
|
||||||
.fa {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.section-min:hover {
|
.section-min:hover {
|
||||||
background: none;
|
background: none;
|
||||||
@@ -349,6 +340,15 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.settings-content {
|
.settings-content {
|
||||||
|
.section-edit {
|
||||||
|
position: absolute;
|
||||||
|
top: 14px;
|
||||||
|
right: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
.fa {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
}
|
||||||
&.minimize-settings {
|
&.minimize-settings {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
display: none;
|
display: none;
|
||||||
@@ -356,6 +356,9 @@
|
|||||||
padding: 70px 20px 30px;
|
padding: 70px 20px 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.section-min:hover {
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.settings-links {
|
.settings-links {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
@@ -736,6 +739,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 480px) {
|
@media screen and (max-width: 480px) {
|
||||||
|
.tip-overlay.tip-overlay--sidebar {
|
||||||
|
min-height: 350px;
|
||||||
|
}
|
||||||
.modal {
|
.modal {
|
||||||
.modal-body {
|
.modal-body {
|
||||||
max-height: 70%;
|
max-height: 70%;
|
||||||
|
|||||||
@@ -32,6 +32,14 @@
|
|||||||
&.tip-overlay--sidebar {
|
&.tip-overlay--sidebar {
|
||||||
max-width: 75%;
|
max-width: 75%;
|
||||||
margin: 50px 0 0 10px;
|
margin: 50px 0 0 10px;
|
||||||
|
min-height: 310px;
|
||||||
|
.tutorial__footer {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
bottom: 20px;
|
||||||
|
left: 0;
|
||||||
|
padding: 0 20px;
|
||||||
|
}
|
||||||
.arrow {
|
.arrow {
|
||||||
top: 80px;
|
top: 80px;
|
||||||
left: -10px;
|
left: -10px;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user