', {id: HEADER_ID, class:'cp-sidebarlayout-element'}).appendTo(APP.$rightside);
addAvatar($header);
var $rightside = $('
', {id: HEADER_RIGHT_ID}).appendTo($header);
addDisplayName($rightside);
addLink($rightside);
addFriendRequest($rightside);
+ addMuteButton($rightside);
addDescription(APP.$rightside);
- addViewButton(APP.$rightside);
+ addViewButton($rightside);
APP.initialized = true;
createLeftside();
}
@@ -409,6 +489,7 @@ define([
refreshLink(data);
refreshDescription(data);
refreshFriendRequest(data);
+ refreshMute(data);
};
var createToolbar = function () {
diff --git a/www/settings/app-settings.less b/www/settings/app-settings.less
index 185b22741..30ff869a0 100644
--- a/www/settings/app-settings.less
+++ b/www/settings/app-settings.less
@@ -184,12 +184,12 @@
&:checked {
& + label {
font-weight: bold;
- background-color: lighten(@colortheme_loading-bg, 20%);
+ background-color: @colortheme_logo-2;
cursor: default;
- border: 1px solid #c1158e;
+ border: 1px solid @colortheme_logo-2;
color: @colortheme_loading-color;
&:hover {
- background-color: lighten(@colortheme_loading-bg, 20%);
+ background-color: @colortheme_logo-2;
}
}
}
@@ -203,10 +203,11 @@
height: 50px;
padding: 5px;
margin: 0 20px;
- border: 1px solid black;
+ color: @colortheme_logo-2;
+ border: 1px solid @colortheme_logo-2;
cursor: pointer;
&:hover {
- background-color: lighten(@colortheme_loading-bg, 10%);
+ background-color: lighten(@colortheme_logo-2, 35%);
}
}
.fa {
@@ -235,6 +236,7 @@
}
input {
width: 70px;
+ padding: 0 5px;
}
select {
width: 100px;
diff --git a/www/teams/inner.js b/www/teams/inner.js
index f11a5e26b..3441fe029 100644
--- a/www/teams/inner.js
+++ b/www/teams/inner.js
@@ -493,8 +493,9 @@ define([
refreshCreate(common, cb);
});
- makeBlock('drive', function (common, cb) {
+ makeBlock('drive', function (common, cb, $div) {
$('div.cp-team-drive').empty();
+ $div.removeClass('cp-sidebarlayout-element'); // Don't apply buttons and input styles from sidebarlayout
var content = [
h('div.cp-app-drive-container', {tabindex:0}, [
h('div#cp-app-drive-tree'),