Skip to content

Commit 0b85ee5

Browse files
mostafa
1 parent aa63142 commit 0b85ee5

File tree

2 files changed

+53
-9
lines changed

2 files changed

+53
-9
lines changed

resources/css/theme.css

Lines changed: 52 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ body.expand #topbar .topbar-left .logo span {
418418
}
419419
}
420420
#search {
421-
border-bottom: 1px solid {{ setting_value('visiosoft.theme.defaultadmin::background_color') }};
422-
padding-top: 8px;
421+
border-bottom: 1px solid #ddd;
422+
padding-top: 8px;
423423
}
424424
.btn-search {
425425
display: inline-block;
@@ -428,7 +428,7 @@ padding-top: 8px;
428428
padding: 0 !important;
429429
margin-top: 5px;
430430
background-color: inherit;
431-
color: {{ setting_value('visiosoft.theme.defaultadmin::background_color') }};
431+
color: #ddd;
432432
}
433433
.dropdown-menu {
434434
z-index: 9999;
@@ -658,7 +658,7 @@ select + .select2 {
658658
margin-right: 0 !important;
659659
}
660660
.topbar-breadcrumb {
661-
padding: 10px 0 !important;
661+
padding: 0px 0 !important;
662662
}
663663
}
664664
@media (max-width: 767px) {
@@ -3023,9 +3023,6 @@ margin-right: 1rem !important;
30233023
.user-action-dropdown {
30243024
background: #fff !important;
30253025
}
3026-
#search .search-bar::placeholder {
3027-
color: {{ setting_value('visiosoft.theme.defaultadmin::text_color')}};
3028-
}
30293026
#topbar .button-menu .button-menu-mobile {
30303027
color: {{ setting_value('visiosoft.theme.defaultadmin::links_color')}};
30313028
}
@@ -3335,7 +3332,7 @@ background-color: inherit !important;
33353332
opacity: 0.5;
33363333
}
33373334
#search .search-bar::placeholder {
3338-
color: {{ setting_value('visiosoft.theme.defaultadmin::background_color') }} !important;
3335+
color: #aaa !important;
33393336
}
33403337

33413338
.login-form-block {
@@ -3405,3 +3402,50 @@ color: #4764a4 !important;
34053402
opacity: 0.3;
34063403
font-size: 0.7rem;
34073404
}
3405+
3406+
3407+
3408+
@media (max-width: 991px) {
3409+
.top-bar {
3410+
background: {{ setting_value('visiosoft.theme.defaultadmin::secondary_color')}};
3411+
width: calc(100% - 60px);
3412+
}
3413+
3414+
.top-bar .user-action-dropdown {
3415+
background: {{ setting_value('visiosoft.theme.defaultadmin::secondary_color')}} !important;
3416+
color: {{ setting_value('visiosoft.theme.defaultadmin::background_color')}} !important;
3417+
}
3418+
3419+
.help-icon svg #Path_20512, #Path_20511 {
3420+
fill: {{ setting_value('visiosoft.theme.defaultadmin::background_color') }};
3421+
}
3422+
3423+
.help-icon svg {
3424+
width: 20px;
3425+
height: 20px;
3426+
}
3427+
3428+
.top-bar {
3429+
height: 53px;
3430+
}
3431+
.top-bar #search {
3432+
padding-top: 0;
3433+
}
3434+
.top-bar #search .search-bar {
3435+
display: block;
3436+
position: relative;
3437+
}
3438+
.top-bar #search .btn-search {
3439+
display: none;
3440+
}
3441+
.topbar-breadcrumb {
3442+
padding-top: 0;
3443+
}
3444+
#main {
3445+
padding-top: 45px !important;
3446+
}
3447+
.menu-action {
3448+
text-align: left;
3449+
padding-left: 14px;
3450+
}
3451+
}

resources/views/partials/topbar.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</li>
1717
{% endfor %}
1818
{{ addBlock('admin/topbar')|raw }}
19-
<li class="nav-item dropdown floatright">
19+
<li class="nav-item dropdown floatright user-info">
2020
<a href="javascript:void(0);" data-toggle="dropdown">
2121
<button class="btn user-action-dropdown dropdown-toggle none-border">
2222
{{ name|raw }}

0 commit comments

Comments
 (0)