Fix various team UI issues

pull/1/head
yflory 5 years ago
parent 7a8908c93e
commit db2f233c44

@ -269,6 +269,12 @@
cursor: pointer; cursor: pointer;
margin-left: -5px; margin-left: -5px;
padding-left: 5px; padding-left: 5px;
.fa, .cptools {
display: inline-block;
min-width: 0;
width: 25px;
margin-right: 0px;
}
} }
} }
} }

@ -6,13 +6,16 @@
} }
.leftside-menu-category_main() { .leftside-menu-category_main() {
.unselectable_make(); .unselectable_make();
padding: 5px 20px; padding: 5px 15px;
margin: 15px 0; margin: 15px 0;
cursor: pointer; cursor: pointer;
height: @variables_bar-height; height: @variables_bar-height;
line-height: @variables_bar-height - 10px; line-height: @variables_bar-height - 10px;
.fa, .cptools { .fa, .cptools {
width: 25px; display: inline-flex;
justify-content: center;
margin-right: 5px;
min-width: 25px;
} }
&:hover { &:hover {
background: rgba(0,0,0,0.05); background: rgba(0,0,0,0.05);

@ -38,13 +38,18 @@
} }
&.cp-leftside-narrow { &.cp-leftside-narrow {
transition: width 0.2s; transition: width 0.2s;
width: 50px; width: 55px;
.cp-sidebarlayout-category { .cp-sidebarlayout-category {
display: flex; display: flex;
max-width: 100%; max-width: 100%;
align-items: center; align-items: center;
.fa, .cptools {
margin-right: 0;
flex: 0;
}
span.cp-sidebarlayout-category-name { span.cp-sidebarlayout-category-name {
flex: 1; //margin-left: 5px;
padding-left: 5px;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;

@ -892,6 +892,7 @@ define([
// Arrow keys to modify the selection // Arrow keys to modify the selection
var onWindowKeydown = function (e) { var onWindowKeydown = function (e) {
if (!$content.is(':visible')) { return; }
var $searchBar = $tree.find('#cp-app-drive-tree-search-input'); var $searchBar = $tree.find('#cp-app-drive-tree-search-input');
if (document.activeElement && document.activeElement.nodeName === 'INPUT') { return; } if (document.activeElement && document.activeElement.nodeName === 'INPUT') { return; }
if ($searchBar.is(':focus') && $searchBar.val()) { return; } if ($searchBar.is(':focus') && $searchBar.val()) { return; }

@ -29,6 +29,9 @@
} }
} }
} }
div#cp-sidebarlayout-leftside {
background-color: #e0e0e0;
}
div#cp-sidebarlayout-rightside.cp-rightside-drive { div#cp-sidebarlayout-rightside.cp-rightside-drive {
padding: 0; padding: 0;
& > .cp-team-chat { & > .cp-team-chat {
@ -80,6 +83,11 @@
background-color: transparent !important; background-color: transparent !important;
} }
} }
.cp-team-cat-chat {
span.cp-team-chat-notification {
color: red;
}
}
.cp-team-list { .cp-team-list {
.cp-team-list-container { .cp-team-list-container {

Loading…
Cancel
Save