aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/app.css12
-rw-r--r--web/app/view/BaseMap.js1
-rw-r--r--web/app/view/Devices.js1
-rw-r--r--web/app/view/Map.js1
-rw-r--r--web/app/view/State.js1
-rw-r--r--web/load.js9
6 files changed, 7 insertions, 18 deletions
diff --git a/web/app.css b/web/app.css
index d99324a..cb9d2bc 100644
--- a/web/app.css
+++ b/web/app.css
@@ -8,22 +8,14 @@
background-color: rgba(255, 84, 104, 0.3);
}
-.panel-top-border {
- border-top: 1px solid #cfcfcf !important;
+.toolbar-header-style {
+ background-color: #5fa2dd !important;
}
body.x-border-layout-ct, div.x-border-layout-ct {
background-color: #bbbbbb !important;
}
-.x-toolbar-default {
- background-color: #f5f5f5 !important;
-}
-
-.x-tree-icon {
- display: none !important;
-}
-
#attribution {
position: absolute;
bottom: 10px;
diff --git a/web/app/view/BaseMap.js b/web/app/view/BaseMap.js
index 17d6a49..2e981f0 100644
--- a/web/app/view/BaseMap.js
+++ b/web/app/view/BaseMap.js
@@ -20,7 +20,6 @@ Ext.define('Traccar.view.BaseMap', {
xtype: 'baseMapView',
layout: 'fit',
- bodyCls: 'panel-top-border',
getMap: function () {
return this.map;
diff --git a/web/app/view/Devices.js b/web/app/view/Devices.js
index 3cfd554..1973976 100644
--- a/web/app/view/Devices.js
+++ b/web/app/view/Devices.js
@@ -39,6 +39,7 @@ Ext.define('Traccar.view.Devices', {
selType: 'rowmodel',
tbar: {
+ componentCls: 'toolbar-header-style',
items: [{
xtype: 'tbtext',
html: Strings.deviceTitle,
diff --git a/web/app/view/Map.js b/web/app/view/Map.js
index c5b6210..b9f3498 100644
--- a/web/app/view/Map.js
+++ b/web/app/view/Map.js
@@ -27,6 +27,7 @@ Ext.define('Traccar.view.Map', {
title: Strings.mapTitle,
tbar: {
+ componentCls: 'toolbar-header-style',
items: [{
xtype: 'tbtext',
html: Strings.mapTitle,
diff --git a/web/app/view/State.js b/web/app/view/State.js
index 593c5e6..8f02903 100644
--- a/web/app/view/State.js
+++ b/web/app/view/State.js
@@ -27,6 +27,7 @@ Ext.define('Traccar.view.State', {
store: 'Attributes',
tbar: {
+ componentCls: 'toolbar-header-style',
items: [{
xtype: 'tbtext',
html: Strings.stateTitle,
diff --git a/web/load.js b/web/load.js
index 0e29fc3..f4987ac 100644
--- a/web/load.js
+++ b/web/load.js
@@ -110,13 +110,8 @@
}
addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/locale/locale-' + locale.languages[locale.language].code + '.js');
- if (touchMode) {
- addStyleFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-crisp-touch/resources/theme-crisp-touch-all.css');
- addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-crisp-touch/theme-crisp-touch.js');
- } else {
- addStyleFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-crisp/resources/theme-crisp-all.css');
- addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-crisp/theme-crisp.js');
- }
+ addStyleFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-triton/resources/theme-triton-all.css');
+ addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-triton/theme-triton.js');
addStyleFile('//cdnjs.cloudflare.com/ajax/libs/font-awesome/' + fontAwesomeVersion + '/css/font-awesome.min.css');