Merge pull request #2255 from asaadmahmoodspin/ui-improvements
Multiple UI Improvements
Этот коммит содержится в:
@@ -229,7 +229,6 @@ export default class RenameChannelModal extends React.Component {
|
|||||||
let readOnlyHandleInput = false;
|
let readOnlyHandleInput = false;
|
||||||
if (this.state.channelName === Constants.DEFAULT_CHANNEL) {
|
if (this.state.channelName === Constants.DEFAULT_CHANNEL) {
|
||||||
handleInputLabel += formatMessage(holders.defaultError);
|
handleInputLabel += formatMessage(holders.defaultError);
|
||||||
handleInputClass += ' disabled-input';
|
|
||||||
readOnlyHandleInput = true;
|
readOnlyHandleInput = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -737,7 +737,7 @@ export function applyTheme(theme) {
|
|||||||
changeCss('.post:hover, .modal .more-table tbody>tr:hover td, .settings-modal .settings-table .settings-content .section-min:hover', 'background:' + changeOpacity(theme.centerChannelColor, 0.07), 1);
|
changeCss('.post:hover, .modal .more-table tbody>tr:hover td, .settings-modal .settings-table .settings-content .section-min:hover', 'background:' + changeOpacity(theme.centerChannelColor, 0.07), 1);
|
||||||
changeCss('.date-separator.hovered--before:after, .date-separator.hovered--after:before, .new-separator.hovered--after:before, .new-separator.hovered--before:after', 'background:' + changeOpacity(theme.centerChannelColor, 0.07), 1);
|
changeCss('.date-separator.hovered--before:after, .date-separator.hovered--after:before, .new-separator.hovered--after:before, .new-separator.hovered--before:after', 'background:' + changeOpacity(theme.centerChannelColor, 0.07), 1);
|
||||||
changeCss('.command-name:hover, .mentions-name:hover, .suggestion--selected, .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover, .bot-indicator', 'background:' + changeOpacity(theme.centerChannelColor, 0.15), 1);
|
changeCss('.command-name:hover, .mentions-name:hover, .suggestion--selected, .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover, .bot-indicator', 'background:' + changeOpacity(theme.centerChannelColor, 0.15), 1);
|
||||||
changeCss('code', 'background:' + changeOpacity(theme.centerChannelColor, 0.1), 1);
|
changeCss('code, .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control', 'background:' + changeOpacity(theme.centerChannelColor, 0.1), 1);
|
||||||
changeCss('@media(min-width: 960px){.post.current--user:hover .post__body ', 'background: none;', 1);
|
changeCss('@media(min-width: 960px){.post.current--user:hover .post__body ', 'background: none;', 1);
|
||||||
changeCss('.sidebar--right', 'color:' + theme.centerChannelColor, 2);
|
changeCss('.sidebar--right', 'color:' + theme.centerChannelColor, 2);
|
||||||
changeCss('.search-help-popover .search-autocomplete__item:hover, .settings-modal .settings-table .settings-content .appearance-section .theme-elements__body', 'background:' + changeOpacity(theme.centerChannelColor, 0.05), 1);
|
changeCss('.search-help-popover .search-autocomplete__item:hover, .settings-modal .settings-table .settings-content .appearance-section .theme-elements__body', 'background:' + changeOpacity(theme.centerChannelColor, 0.05), 1);
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
}
|
}
|
||||||
.more-table {
|
.more-table {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
table-layout: fixed;
|
|
||||||
p {
|
p {
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -57,12 +56,8 @@
|
|||||||
&.td--action {
|
&.td--action {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding: 8px 15px 8px 8px;
|
padding: 8px 15px 8px 8px;
|
||||||
width: 80px;
|
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
position: relative;
|
position: relative;
|
||||||
&.lg {
|
|
||||||
width: 110px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -225,9 +225,6 @@ body.ios {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
&::-webkit-scrollbar {
|
|
||||||
width: 0px !important;
|
|
||||||
}
|
|
||||||
&.active {
|
&.active {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
@@ -383,6 +380,10 @@ body.ios {
|
|||||||
min-height: 25px;
|
min-height: 25px;
|
||||||
display: block;
|
display: block;
|
||||||
@include opacity(0.7);
|
@include opacity(0.7);
|
||||||
|
white-space: nowrap;
|
||||||
|
width: 80%;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -75,8 +75,7 @@
|
|||||||
min-width: 1px;
|
min-width: 1px;
|
||||||
display: block;
|
display: block;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
max-width: 200px;
|
max-width: 230px;
|
||||||
@include clearfix;
|
|
||||||
}
|
}
|
||||||
.post-create-footer {
|
.post-create-footer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user