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;
|
||||
if (this.state.channelName === Constants.DEFAULT_CHANNEL) {
|
||||
handleInputLabel += formatMessage(holders.defaultError);
|
||||
handleInputClass += ' disabled-input';
|
||||
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('.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('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('.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);
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
}
|
||||
.more-table {
|
||||
margin: 0;
|
||||
table-layout: fixed;
|
||||
p {
|
||||
font-size: 0.9em;
|
||||
overflow: hidden;
|
||||
@@ -57,12 +56,8 @@
|
||||
&.td--action {
|
||||
text-align: right;
|
||||
padding: 8px 15px 8px 8px;
|
||||
width: 80px;
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
&.lg {
|
||||
width: 110px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -225,9 +225,6 @@ body.ios {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
&::-webkit-scrollbar {
|
||||
width: 0px !important;
|
||||
}
|
||||
&.active {
|
||||
display: inline;
|
||||
}
|
||||
@@ -383,6 +380,10 @@ body.ios {
|
||||
min-height: 25px;
|
||||
display: block;
|
||||
@include opacity(0.7);
|
||||
white-space: nowrap;
|
||||
width: 80%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,8 +75,7 @@
|
||||
min-width: 1px;
|
||||
display: block;
|
||||
height: 20px;
|
||||
max-width: 200px;
|
||||
@include clearfix;
|
||||
max-width: 230px;
|
||||
}
|
||||
.post-create-footer {
|
||||
width: 100%;
|
||||
|
||||
Ссылка в новой задаче
Block a user