theme fixes

This commit is contained in:
yuri
2015-08-04 15:53:38 +03:00
parent 3578cc9523
commit cdc980c2b6
5 changed files with 7 additions and 7 deletions
@@ -532,6 +532,8 @@
}
},
"themes": {
"Espo": "Espo"
"Espo": "Espo",
"Sacura": "Sacura",
"EspoVertical": "Espo Vertical"
}
}
@@ -242,7 +242,7 @@
"theme": {
"type": "enum",
"view": "Settings.Fields.Theme",
"translation": "themes"
"translation": "Global.themes"
}
}
}
@@ -2,6 +2,6 @@
"stylesheet": "client/css/espo-vertical.css",
"navbarIsVertical": true,
"navbarStaticItemsHeight": 44,
"recordTopButtonsStickTop": 26,
"recordTopButtonsStickTop": 61,
"recordTopButtonsBlockHeight": 21
}
+2 -2
View File
@@ -144,8 +144,8 @@ Espo.define('Views.Record.Detail', 'Views.Record.Base', function (Dep) {
var theme = this.getConfig().get('theme');
var themeDefs = this.getMetadata().get('themes.' + theme) || {};
var stickTop = 62 ;themeDefs.stickTop || 62;
var blockHeight = 21;themeDefs.blockHeight || 21;
var stickTop = themeDefs.stickTop || 62;
var blockHeight = themeDefs.blockHeight || 21;
var $block = $('<div>').css('height', blockHeight + 'px').html('&nbsp;').hide().insertAfter($container);
var $record = this.getView('record').$el;
-2
View File
@@ -19,8 +19,6 @@ body > .content {
margin-left: @navbarWidth;
}
body {
padding-top: @topBarHeight;
}