Skip to content

Commit 7e2a923

Browse files
authored
Merge pull request #15 from openclassify/mostafa
paddle.js moved to site_widget-extension
2 parents 26a0dfd + 5ae4762 commit 7e2a923

File tree

6 files changed

+39
-4
lines changed

6 files changed

+39
-4
lines changed

resources/css/dark_mode.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ body {
102102
.table td a:hover {
103103
color: {{ setting_value('visiosoft.theme.defaultadmin::dark_links_hover_active_color')}};
104104
}
105+
#Path_21097, #Line_828, #Path_21098 {
106+
fill: {{ setting_value('visiosoft.theme.defaultadmin::dark_text_color') }} !important;
107+
}
105108
.page-info {
106109
background: {{ setting_value('visiosoft.theme.defaultadmin::dark_background_color')}};
107110
color: {{ setting_value('visiosoft.theme.defaultadmin::dark_text_color')}} !important;
@@ -408,4 +411,7 @@ color: {{ setting_value('visiosoft.theme.defaultadmin::dark_background_color') }
408411
}
409412
.help-icon svg #Path_20512, #Path_20511 {
410413
fill: {{ setting_value('visiosoft.theme.defaultadmin::dark_text_color') }};
414+
}
415+
.progress-end-date {
416+
color: {{ setting_value('visiosoft.theme.defaultadmin::dark_text_color') }} !important;
411417
}

resources/css/theme.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,6 @@ body.expand #topbar .topbar-left .logo span {
421421
}
422422
}
423423
#search {
424-
border-bottom: 1px solid #ddd;
425424
padding-top: 8px;
426425
}
427426
.btn-search {
@@ -451,6 +450,10 @@ color: #ddd;
451450
min-width: 15rem;
452451
}
453452

453+
#Path_21097, #Line_828, #Path_21098 {
454+
fill: {{ setting_value('visiosoft.theme.defaultadmin::primary_color') }} !important;
455+
}
456+
454457
@media (max-width: 767px) {
455458
body.expand #search {
456459
display: none;

resources/img/logout.svg

Lines changed: 10 additions & 0 deletions
Loading

resources/img/no-avatar.svg

Lines changed: 3 additions & 0 deletions
Loading

resources/img/view_site.svg

Lines changed: 9 additions & 0 deletions
Loading

resources/views/partials/topbar.twig

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,22 @@
2121
<button class="btn user-action-dropdown dropdown-toggle none-border">
2222
{{ name|raw }}
2323
</button>
24-
{{ img(user().file).width(47).class('rounded-circle')|raw }}
24+
{% if user().file is not empty %}
25+
{{ img(user().file).width(47).class('rounded-circle')|raw }}
26+
{% else %}
27+
{{ img('theme::img/no-avatar.svg').width(47).class('rounded-circle')|raw }}
28+
{% endif %}
2529
</a>
2630
<ul class="dropdown-menu-right dropdown-menu">
2731
<li class="dropdown-item">
2832
<a href="/" target="_blank">
29-
<i class="fa fa-external-link"></i>
33+
{{ img('theme::img/view_site.svg').data|raw }}
3034
{{ trans('theme::control_panel.view_site') }}
3135
</a>
3236
</li>
3337
<li class="dropdown-item">
3438
<a href="/admin/logout">
35-
<i class="fa fa-power-off"></i>
39+
{{ img('theme::img/logout.svg').data|raw }}
3640
{{ trans('theme::control_panel.logout') }}
3741
</a>
3842
</li>

0 commit comments

Comments
 (0)