Skip to content

Commit b0e60ae

Browse files
author
Dmytro Lukianenko
committed
[UPD] update left menu
1 parent 6233553 commit b0e60ae

2 files changed

Lines changed: 15 additions & 7 deletions

File tree

manager/media/style/default/css/tree.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#treeMenu .treeButton:hover:not(.disabled) { background-color: rgba(255, 255, 255, .5); cursor: pointer; -webkit-transition-duration: 0s; transition-duration: 0s }
1010
#treeMenu .treeButton:not(.disabled):active { background-color: #d5d5d5 }
1111
#treeMenu .treeButton .fa { display: block; width: 1rem; height: 1rem; margin: 0; line-height: 1rem; font-size: 1rem; }
12-
#treeMenu .treeButton svg { display: block; width: 1rem; height: 1rem; }
12+
#treeMenu .treeButton svg { display: block; width: 18px; height: 18px; }
1313
#treeMenu .treeButton.disabled { color: #777; opacity: 0.5 }
1414
#treeHolder { position: relative; z-index: 1; cursor: default; overflow: auto; height: 100%; max-height: calc(100% - 30px); white-space: nowrap; padding-bottom:10px; }
1515
#treeHolder .rootNode { position: relative; }

manager/views/page/2.blade.php

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@
88
margin: 0 auto 0.5rem auto;
99
}
1010
.widgets .card-header svg {
11-
width: 1em;
12-
height: 1em;
11+
width: 18px;
12+
height: 18px;
1313
vertical-align: middle;
1414
margin-right: 0.25em;
1515
}
16+
.widgets .card-header i {
17+
font-size: 18px;
18+
line-height: 18px;
19+
}
1620
</style>
1721
<?php /*include_once evolutionCMS()->get('ManagerTheme')->getFileProcessor("actions/welcome.static.php");*/
1822
unset($_SESSION['itemname'], $_SESSION['itemaction']); // clear this, because it's only set for logging purposes
@@ -38,6 +42,10 @@
3842
$_style['icon_lock'] = svg('tabler-lock')->toHtml();
3943
$_style['icon_logout'] = svg('tabler-logout')->toHtml();
4044
$_style['icon_home'] = svg('tabler-home')->toHtml();
45+
$_style['icon_users'] = svg('tabler-users')->toHtml();
46+
$_style['icon_pencil'] = svg('tabler-pencil')->toHtml();
47+
$_style['icon_rss'] = svg('tabler-rss')->toHtml();
48+
$_style['icon_alert_triangle'] = svg('tabler-alert-triangle')->toHtml();
4149
4250
// set placeholders
4351
$ph = $_lang;
@@ -424,7 +432,7 @@
424432
'menuindex' => '20',
425433
'id' => 'onlineinfo',
426434
'cols' => 'col-lg-6',
427-
'icon' => 'fa-user',
435+
'icon' => 'tabler-users',
428436
'title' => '[%onlineusers_title%]',
429437
'body' => '<div class="userstable">[+OnlineInfo+]</div>',
430438
'hide' => '0',
@@ -433,7 +441,7 @@
433441
'menuindex' => '30',
434442
'id' => 'recent_widget',
435443
'cols' => 'col-sm-12',
436-
'icon' => 'fa-pencil-square-o',
444+
'icon' => 'tabler-pencil',
437445
'title' => '[%activity_title%]',
438446
'body' => '<div class="widget-stage">[+RecentInfo+]</div>',
439447
'hide' => '0',
@@ -443,7 +451,7 @@
443451
'menuindex' => '40',
444452
'id' => 'news',
445453
'cols' => 'col-sm-6',
446-
'icon' => 'fa-rss',
454+
'icon' => 'tabler-rss',
447455
'title' => '[%modx_news_title%]',
448456
'body' => '<div style="max-height:200px;overflow-y: scroll;padding: 1rem .5rem">[+evo_news_content+]</div>',
449457
'hide' => '0',
@@ -454,7 +462,7 @@
454462
'menuindex' => '50',
455463
'id' => 'security',
456464
'cols' => 'col-sm-6',
457-
'icon' => 'fa-exclamation-triangle',
465+
'icon' => 'tabler-alert-triangle',
458466
'title' => '[%security_notices_title%]',
459467
'body' => '<div style="max-height:200px;overflow-y: scroll;padding: 1rem .5rem">[+evo_security_notices_content+]</div>',
460468
'hide' => '0',

0 commit comments

Comments
 (0)