Skip to content

Commit ed3d3a5

Browse files
committed
search-box added
1 parent e9209ce commit ed3d3a5

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

resources/css/theme.css

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,14 @@ color: {{ setting_value('visiosoft.theme.defaultadmin::background_color') }};
480480
}
481481

482482
.top-bar {
483-
background-color: {{ setting_value('visiosoft.theme.defaultadmin::block_background_color') }};
484-
height:70px;
485-
display: table;
486-
width:100%;
483+
background-color: {{ setting_value('visiosoft.theme.defaultadmin::block_background_color') }};
484+
height:70px;
485+
display: table;
486+
width: calc(100% - 240px);
487+
position: fixed;
488+
right:0;
489+
top:0;
490+
z-index: 9999;
487491
}
488492
.topbar-breadcrumb {
489493
display: table-cell;
@@ -629,9 +633,6 @@ select + .select2 {
629633
width: 0;
630634
transition: none;
631635
}
632-
.top-bar {
633-
padding-top: 50px;
634-
}
635636
.logo-bar {
636637
width: 100%;
637638
height: 50px;

resources/views/layouts/default.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{% include "visiosoft.theme.defaultadmin::partials/logo" %}
1919
{% include "visiosoft.theme.defaultadmin::partials/sidebar" %}
2020
{% include "visiosoft.theme.defaultadmin::partials/menu" %}
21-
<main id="main" style="min-height: 1500px;">
21+
<main id="main" style="min-height: 1500px; padding-top: 70px;">
2222
{% include "visiosoft.theme.defaultadmin::partials/topbar" %}
2323
<div class="topbar-breadcrumb">{{ breadcrumb() }}</div>
2424
{% if trans('module::addon.info') != 'module::addon.info' %}

0 commit comments

Comments
 (0)