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