theme fixes
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -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(' ').hide().insertAfter($container);
|
||||
var $record = this.getView('record').$el;
|
||||
|
||||
@@ -19,8 +19,6 @@ body > .content {
|
||||
margin-left: @navbarWidth;
|
||||
}
|
||||
|
||||
|
||||
|
||||
body {
|
||||
padding-top: @topBarHeight;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user