diff --git a/core/page/desktop/desktop.html b/core/page/desktop/desktop.html
index 43ee4236b7..35d5072f32 100644
--- a/core/page/desktop/desktop.html
+++ b/core/page/desktop/desktop.html
@@ -1,6 +1,6 @@
-
diff --git a/core/page/desktop/desktop.js b/core/page/desktop/desktop.js
index 7038d89761..c8685c8b59 100644
--- a/core/page/desktop/desktop.js
+++ b/core/page/desktop/desktop.js
@@ -101,7 +101,5 @@ wn.core.pages.desktop.show_pending_notifications = function() {
pscript.onload_desktop = function(wrapper) {
// load desktop
wn.core.pages.desktop.refresh();
- $(wrapper).css({"background-color": "transparent", "box-shadow":"none"});
-
}
diff --git a/public/css/common.css b/public/css/common.css
index 4524e03197..c04f94e28d 100644
--- a/public/css/common.css
+++ b/public/css/common.css
@@ -1,6 +1,6 @@
body {
margin: 0px;
- padding-top: 60px;
+ padding-top: 50px;
padding-bottom: 50px;
}
@@ -161,15 +161,13 @@ div#freeze {
/* appframe header */
.appframe {
- background-color: #fff;
border-radius: 5px;
- border: 3px solid #c7c7c7;
overflow: hidden;
}
.appframe-header {
margin-bottom: 20px;
- border-bottom: 1px solid #c7c7c7;
+ border-bottom: 3px solid #c7c7c7;
/*background-color: #f7f7f7;*/
/*box-shadow: 0px 2px 4px rgba(0,0,0,0.2);*/
}
@@ -239,6 +237,7 @@ div#freeze {
margin-right: 4px;
color: #888;
cursor: pointer;
+ font-size: 16px;
}
.appframe .mini-bar i:hover {
@@ -254,6 +253,11 @@ div#freeze {
color: orange;
}
+.appframe .mini-bar-1 {
+ float: right;
+ margin-top: 15px;
+}
+
.appframe .title-icon {
cursor: pointer;
display: inline-block;
diff --git a/public/js/wn/app.js b/public/js/wn/app.js
index 2283e9db32..a897b1676c 100644
--- a/public/js/wn/app.js
+++ b/public/js/wn/app.js
@@ -73,11 +73,8 @@ wn.Application = Class.extend({
},
set_user_display_settings: function() {
- if(wn.boot.profile.background_image) {
+ if(wn.boot.profile.background_image)
wn.ui.set_user_background(wn.boot.profile.background_image);
- } else {
- $("body").css("background-color", "#F5EFE6")
- }
},
load_bootinfo: function() {
diff --git a/public/js/wn/form/control.js b/public/js/wn/form/control.js
index 02f8017d04..4bf249e0c8 100644
--- a/public/js/wn/form/control.js
+++ b/public/js/wn/form/control.js
@@ -491,6 +491,7 @@ wn.ui.form.ControlButton = wn.ui.form.ControlData.extend({
me.onclick();
});
this.input = this.$input.get(0);
+ this.set_input_attributes();
this.has_input = true;
},
onclick: function() {
diff --git a/public/js/wn/misc/user.js b/public/js/wn/misc/user.js
index 54920f6408..4eedf81fee 100644
--- a/public/js/wn/misc/user.js
+++ b/public/js/wn/misc/user.js
@@ -31,9 +31,15 @@ wn.avatar = function(user, large, title) {
}
wn.ui.set_user_background = function(src) {
- wn.dom.set_style(repl('body { background: url("%(src)s") no-repeat center center fixed; \
+ wn.dom.set_style(repl('#page-desktop { \
+ position: fixed;\
+ top: 0px; left: 0px; min-width: 100%; height: 100%; overflow: auto;\
+ padding-top: 50px; \
+ background: url("%(src)s") no-repeat center center fixed; \
-webkit-background-size: cover; -moz-background-size: cover; \
- -o-background-size: cover; background-size: cover;}', {src:src}))
+ -o-background-size: cover; \
+ background-size: cover;\
+ }', {src:src}))
}
wn.provide('wn.user');
diff --git a/public/js/wn/ui/appframe.js b/public/js/wn/ui/appframe.js
index 5062091202..02be3be4e5 100644
--- a/public/js/wn/ui/appframe.js
+++ b/public/js/wn/ui/appframe.js
@@ -9,18 +9,17 @@ wn.ui.AppFrame = Class.extend({
this.buttons = {};
this.fields_dict = {};
- this.$w = $('