Fix various team UI issues

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

@ -269,6 +269,12 @@
cursor: pointer;
margin-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() {
.unselectable_make();
padding: 5px 20px;
padding: 5px 15px;
margin: 15px 0;
cursor: pointer;
height: @variables_bar-height;
line-height: @variables_bar-height - 10px;
.fa, .cptools {
width: 25px;
display: inline-flex;
justify-content: center;
margin-right: 5px;
min-width: 25px;
}
&:hover {
background: rgba(0,0,0,0.05);

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

@ -892,6 +892,7 @@ define([
// Arrow keys to modify the selection
var onWindowKeydown = function (e) {
if (!$content.is(':visible')) { return; }
var $searchBar = $tree.find('#cp-app-drive-tree-search-input');
if (document.activeElement && document.activeElement.nodeName === 'INPUT') { 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 {
padding: 0;
& > .cp-team-chat {
@ -80,6 +83,11 @@
background-color: transparent !important;
}
}
.cp-team-cat-chat {
span.cp-team-chat-notification {
color: red;
}
}
.cp-team-list {
.cp-team-list-container {

Loading…
Cancel
Save